I also tried...

${systemScope.setProperty('swt.fragmentid','win32.win32.x86')}

At the top level maven.xml, this works however, I need it at a particular project. A dependency location is dependent on this value however if I move this into that projects maven.xml the project.xml is parsed first and fails since the property has not been set yet. Is there a way around this?

Sachin Patel wrote:
How can I set a system property using jelly in a parent maven.xml so that the project.properties can reference it? I tried the following setting the ant property as well as var, but neither of them were picked up by the project.properties.

<j:set var="os" value="${os.name}"/>
       <if test="${os.startsWith('Windows')}">
         <ant:property name="swt.fragmentid" value="win32.win32.x86"/>
         <j:set var="swt.fragmentid" value="win32.win32.x86"/>
</if> Thanks.

Sachin

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



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

Reply via email to