> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Venkatesh Prasad
> Ranganath
> 
> Following is a snippet of the ant script that is being executed.
> The main issue is that jars.dir is a property in main-build.xml.
However,
> this property is not being propagated to sub builds.  Any idea why?
> 
> main-build.xml:
> 
>       <subant target="debugBuild" inheritAll="false"
>          inheritRefs="true">
>             <property file="${test.root.dir}/build.properties"/>
<property
>             file="${test.root.dir}/localbuild.properties"/>
<propertyset>
>                 <propertyref prefix="bandera"/>
>                 <propertyref prefix="clover"/>
>                 <propertyref prefix="build.compiler"/> <propertyref
>                 prefix="jars"/>
>             </propertyset>
>             <filelist refid="buildfiles"/>
>       </subant>

Try putting <property file="${test.root.dir}/build.properties"/>
outside <subant>. <propertyset> works off the properties in the project,
and I suspect having the <property file> inside <subant> never puts
these properties in the project (only the subproject). --DD


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

Reply via email to