[ http://nagoya.apache.org/jira/browse/CACTUS-99?page=history ]

Vincent Massol reassigned CACTUS-99:
------------------------------------

    Assign To:     (was: Cactus Developers Mailing List)

> System Property not set when passed in as <jvmarg>
> --------------------------------------------------
>
>          Key: CACTUS-99
>          URL: http://nagoya.apache.org/jira/browse/CACTUS-99
>      Project: Cactus
>         Type: Bug
>   Components: Framework
>     Versions: 1.5
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Aaron
>      Fix For: 1.7

>
> Passing in a jvmarg as a nested element inside the cactus ant task i.e.:
> <cactus warfile= ...>
>     <jvmarg value="-Dfoo=bar"/>
>   ....
> </cactus>
> The Ant task passes it to the runtime:
>    [cactus] Executing 'C:\j2sdk1.4.1_01\jre\bin\java.exe' with arguments:
>    [cactus] '-Dfoo=bar'
>    [cactus] '-Dcactus.filterRedirectorName=FilterRedirector'
>    [cactus] '-Dcactus.servletRedirectorName=ServletRedirector'
>    [cactus] '-Dcactus.contextURL=http://localhost:8081/prototype-test'
> But, a System.getProperty(foo); in a test that extends ServletTestCase returns 
> null.  I also notice that when enumerating through the system properties in my 
> test case, both cactus.filterRedirectorName and cactus.servletRedirectorName 
> no longer are set.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to