Ant: how to define java properties
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, December 17, 2007 01:31 PM

Hi, i know this should be simple but it isn't working out: On the console i write: java -Djava.library.path=./libs/sensors/outlook -jar libs/osgi/concierge-1.0_RC2.jar and everything is fine. In Ant i tried it with: But it does not work. The jar is started but the effect of the library path is not evident. I also tried and but also without success. Any idea what i am doing wrong, or how to translate properly the command line? Thanks Chris    More>>

Hi, i know this should be simple but it isn't working out:


On the console i write:


java -Djava.library.path=./libs/sensors/outlook -jar libs/osgi/concierge-1.0_RC2.jar


and everything is fine. In Ant i tried it with:









But it does not work. The jar is started but the effect of the library path is not evident.

I also tried and but also without success.

Any idea what i am doing wrong, or how to translate properly the command line?

Thanks Chris

   <<Less
About | Sitemap | Contact