Indeed when using profiles there is no current way to avoid internet connections.Only if you have the profiles that you use (maven like artifacts) locally and you use the --profilesRepository option. Read more about profiles here: http://wiki.ops4j.org/x/6ACy
I was planning to also cache the profiles locally, same way as for bundle, but I run out of time for this release. Also, my plan was to have it like now and if people ask to implement it asap.And to implement it I want first to implement the cache: protocol handler. See here: PAXURL-41<http://issues.ops4j.org/browse/PAXURL-41> So, please add a jira issue if you would like to also cache the profiles. On Fri, Apr 17, 2009 at 3:19 PM, Roman Roelofsen < [email protected]> wrote: > PAX runner seems to require a connection as soon as e.g. mvn artifacts > have been installed. This happens when I use profiles: > > pax-run.sh --profiles=web ..... > > > 2009/4/17 Roman Roelofsen <[email protected]>: > > 2009/4/16 Alin Dreghiciu <[email protected]>: > >> You mean that after the files are in the local cache or Pax Runner from > a > >> previous run or that the files are already in the maven local > repository? > > > > All of these use cases are valid and I would be happy if at least one > > of them would work. > > > >> Can you give me an example, so I can see what you mean. > > > > In my particular case I meant to start pax runner after a previous > > run, using the current cache. E.g. > > > > (network on) > > cd somedir > > pax-run.sh --p=e ... # works > > > > (next run, network off, runner dir exists, etc.) > > cd somedir > > pax-run.sh --p=e ... # error -> no connection > > > > > >> Then I may give some tips about the subject. > > > > Listening... :-) > > > >> On Thu, Apr 16, 2009 at 5:58 PM, Roman Roelofsen > >> <[email protected]> wrote: > >>> > >>> Hi all, > >>> > >>> is it possible to use pax runner without a network connection? It > >>> seems that it always try to connect even if all required artifacts > >>> have already been downloaded. > >>> > >>> Cheers, > >>> > >>> Roman > >>> > >>> _______________________________________________ > >>> general mailing list > >>> [email protected] > >>> http://lists.ops4j.org/mailman/listinfo/general > >> > >> > >> > >> -- > >> Alin Dreghiciu > >> http://www.ops4j.org - New Energy for OSS Communities - Open > Participation > >> Software. > >> http://www.qi4j.org - New Energy for Java - Domain Driven Development. > >> Looking for a job. > >> Sent from Cluj-Napoca, CJ, Romania > >> _______________________________________________ > >> general mailing list > >> [email protected] > >> http://lists.ops4j.org/mailman/listinfo/general > >> > >> > > > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. Looking for a job. Sent from Cluj-Napoca, CJ, Romania
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
