Hi all,

I'm trying to set the windows PATH variable for my test execution. It 
seems that including <ENVIRONMENT><PATH> nodes doesn't work correctly. 
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
                <environmentVariables>
                        <PATH>${env.Path}</PATH>
                        <HOME>${env.HOME}</HOME>
                </environmentVariables>
        </configuration> 
        </plugin>

Why not just exclude it then? I currently have to add a value to the 
windows path variable to execute certain tests.  I would like to avoid 
this by modifying the PATH variable at runtime e.g. 
<PATH>${env.Path};new_path_var</PATH>  thus reducing the amount of 
environment setup.

There seems to be a related JIRA: 
http://jira.codehaus.org/browse/SUREFIRE-308

Thanks,
Nathan

---

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional 
EU corporate and regulatory disclosures.

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

Reply via email to