Hi I've tested <import> for using in my build file and don't
understood some thing
if i have
<project name="import-test" default="main" basedir=".">
<import file="imported.xml"/>
<target name="main">
<echo message="In main"/>
<antcall target="imported"/>
</target>
<target name="test">
<echo message="target 'test' in import-test progect" />
</target>
</project>
<project name="imported-test" default="imported" basedir=".">
<target name="imported" depends="test" >
<echo message="In imported target" />
</target>
<target name="test">
<echo message="target 'test' in imported-test progect" />
</target>
</project>
I have output
Buildfile: import.xml
main:
[echo] In main
test:
[echo] target 'test' in import-test progect
imported:
[echo] In imported target
But I need if target name="imported" depends="test" to be executed
"test" from file where demends where declared,... not having
overloading target.
How to do that? or import is simply include and not more?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]