ace-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmytro Pishchukhin <dmytro.pishchuk...@gmail.com>
Subject Re: How to specify target id and discovery URL in ACE v1.0.0
Date Thu, 07 Nov 2013 14:43:11 GMT
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 <
damien.martin-guillerez@iqspot.fr> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message