2009/4/23 Stéphane Jeanjean <stephane.jeanj...@softeam.com> > "Stuart McCulloch" <mccu...@gmail.com> a écrit : > > 2009/4/23 Stéphane Jeanjean <stephane.jeanj...@softeam.com> >> >> I would like to set an OBR Repository for Felix. >>> So I tried to put a file in args, but an error occured : >>> java.lang.RuntimeException: >>> org.ops4j.pax.runner.provision.MalformedSpecificationException: Invalid >>> url >>> >>> Extract from my pom >>> <plugin> >>> <groupId>org.ops4j</groupId> >>> <artifactId>maven-pax-plugin</artifactId> >>> <version>1.4</version> >>> <configuration> >>> <runner>0.17.2</runner> >>> <profiles>war,obr</profiles> >>> <args>src/test/resources/paxrunner-params.txt</args> >>> </configuration> >>> </plugin> >>> >>> I tried to change the args value without success :( >>> >> >> Pax-Runner expects a URL, so try: >> >> <args>file:src/test/resources/paxrunner-params.txt</args> >> >> that should work >> >> I ever tried that, same error :(
actually I just ran a local test here, and <args> worked ok with and without "file:" ( one slight difference - when I omit the "file:" it assumes it is a local file and uses the absolute/canonical path, whereas with the "file:" it leaves it relative - but this shouldn't affect things ) could you past the content of "paxrunner-params.txt" ? I'm wondering if it is finding the file, but the contents contain an incorrect option you might also want to use "mvn pax:provision -X" to turn on extra debugging - there'll be lots of Maven debug, but just at the end it should print out all the parameters passed to Pax-Runner, one of which should be "--args" HTH > >> Have you an idea to do that ? >>> >>> Thanks >>> >> -- Cheers, Stuart
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general