| [news.eclipse.technology.cosmos] Re: Failed trying to regenerate the samples - some handholding required... |
Michael Moser wrote:
"David Whiteman" <david_whiteman@xxxxxxxxxx> wrote in message news:f98aa9$uiq$1@xxxxxxxxxxxxxxxxxxxx
>...
> Try setting the value of derby.system.home on the command line of the
> Ant launch script to the location of your derby database directory. For
> example:
>
> -Dderby.system.home=C:\apache-tomcat-5.5.23\webapps\database
I was actually trying to run these scripts from within eclipse (i.e. right-clicking on them in the Package explorer and then Run as... => ANT build), not on the command line.
So I first tried the corresponding equivalent of the above definition and added "derby.system.home" as an additional ANT property (using Windows => Preferences => Ant => Runtime => Properties tab). Alas, that didn't change anything.
I run them within Eclipse too, but when you run an Ant script there, it shows up as a launch configuration. So I edit the launch configuration on the Run... menu to set any command line arguments. I'm not convinced setting it as an Ant property is the same as setting a command line argument.
Where exactly do you enter these?
So where whould this be entered???
Michael