[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.cosmos] Re: Failed trying to regenerate the samples - some handholding required...

Michael Moser wrote:

Where exactly do you enter these?

To test your suggestion I removed my prior modification in the build.xml and then entered
"-Dderby.system.home=C:\Tomcat_5.5\webapps\database" (which is the path on my system)


first, on the ant launch config's Main tab (under Arguments) - that did not work - and
then I tried on the JRE tab (under VM arguments) - that did not work either - and
lastly I tried on the Environment tab and added the above as an environment variable. No success either.


So where whould this be entered???

Michael

Since it's an Ant script referring to a variable, I would expect you could enter it in the Arguments field on the Main tab. I created a simple Ant script where I echo'd a variable "foo" and in the launch config passed its value in the Arguments field as "-dfoo=bar" and the value printed was "bar". So I was expecting something similar to work for you, since the Ant script you're running uses ${derby.system.home}.


I know that I needed to do that when I created the OSG debug environment launch configuration described in the End-to-End scenario documentation on the wiki.

David