ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hackel <thomas.hac...@bi-so.com>
Subject Re: AW: AntBuildLib with generic targets possible ?
Date Thu, 19 Aug 2004 10:17:03 GMT
Hi!

Thanks for your advice but i allready use the import task.

i give you an stupid example which shows that this does not work!

--- begin build.xml ---
<project name="project" default="default">
     <target name="default">
         <antcall target="init-props" />
         <echo>p1: ${p1}</echo>
     </target>
	<import file="common.xml"/>
</project>
--- end build.xml ---

--- begin common.xml ---
<project name="common" default="init-props">
     <target name="init-props">
     	<property name="p1" value="value1" />
     </target>
</project>
--- end common.xml ---

Bye
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message