Hi Andrew, I guess you mean pax-provision when you mean maven-pax-plugin ? Have you had a look at this http://www.ops4j.org/projects/pax/construct/help/provision.html ?
You can pass pax runner arguments like so: -Dargs=*filename-or-url* * * this file then can contain something like --vmOptions="-Dfelix.fileinstall.dir=/mydir" Have you tried this ? Toni On Sat, Sep 26, 2009 at 6:56 PM, Andrew Woods <[email protected]>wrote: > Hello All, > I am using the "maven-pax-plugin" to run an equinox container, > containing a war bundle and the felix.fileinstall.bundle (among > others). The issue that I am running into is an inability to push a > system property (-Dfelix.fileinstall.dir=/mydir) into the vm of the > container initiated by PAX-Runner from the maven plugin. > > The ability to pass along system properties seems possible: > http://paxrunner.ops4j.org/display/paxrunner/Java+runtime+options > > ...but my use of either an <args>myconfigfile</args> element or > <param>--vmOptions="-Dfelix.fileinstall.dir=/mydir"</param> element in > the plugin configuration in my pom.xml has been ineffective. > > PAX-Exam accomplishes this with its: > pax-exam/src/main/java/org/ops4j/pax/exam/options/SystemPropertyOption.java > > Any help would be appreciated. > Thanks, > Andrew > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com [email protected] http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
