Thanks for the response, Toni.
Actually, by "maven-pax-plugin", I meant:
http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/provision-mojo.html
It provides for an <args> config element. My plugin configuration
looks like this in my pom.xml:
<plugin>
<groupId>org.ops4j</groupId>
<artifactId>maven-pax-plugin</artifactId>
<version>1.4</version>
<configuration>
<args>file://${basedir}/pax-runner-args.txt</args>
<framework>equinox</framework>
</configuration>
</plugin>
The "pax-runner-args.txt" contains the single line:
--vmOptions="-Dfelix\.fileinstall\.dir=/tmp"
This is my set up and the starting point of my initial email.
Are you seeing something I am missing?
Thanks,
Andrew
On Sat, Sep 26, 2009 at 1:19 PM, Toni Menzel <[email protected]> wrote:
> 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
>
>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general