Hi Damien, use java system properties convention
java -Ddiscovery=http://test:9090 -Didentification=test -jar target.jar -- Best regards, Dmytro Pishchukhin On Thu, Nov 7, 2013 at 3:36 PM, Damien Martin-Guillerez < [email protected]> wrote: > Hello all, > > I'm just starting with Apache ACE. I discover it yesterday and it seems > really the good tools for me. > > I downloaded the binary distribution of Apache ACE 1.0.0 yesterday and > tried to run the target.jar with the identification specified in command > line but it doesn't seems to apply: > $ java -jar target.jar identification=test discovery=http://test:8080 > ____________________________ > Welcome to Apache Felix Gogo > > g! Started management agent. > Target ID : defaultTargetID > Server : http://localhost:8080 > Sync interval: 2000 ms > Unaffected bundles will not be stopped during deployment. > > Using the archive, I downloaded the org.apache.ace.launcher and run it the > same way, it worked. Looking at the source code, it seems that the v1.0.0 > package use something called aQute.launcher and there is probably a new way > to specify those parameters but I can seem to find it in the documentation. > > So the question is simple: How can I specify the id and discovery with the > v1.0.0 target jar ? > > Regards, > -- Damien Martin-Guillerez
