You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marco Struck <M....@PopNet.de> on 2001/05/04 11:41:27 UTC
Problem with SCRIPT and DEPENDENCIES
ok, I have 4 targets
prepare <- prepareImport <- createImportableStructure
<- createRepository
the target "createRepository" use SCRIPT to check some directories
and call "createImportableStructure".
I have thought that Ant is able to figure out which targets have been
already called,
but it does not work:
my buildfile:
<target name="createRepository" depends="prepareImport">
<script language="javascript" src="${basedir}/build.js"> <![CDATA[
mytask.executeTarget("createImportableStructure");
...
the result:
Searching for build.xml ...
Buildfile: D:\ant1.3\test\www\build.xml
prepare:
prepareImport:
createRepository:
prepare:
prepareImport:
createImportableStructure:
what is the problem ?
--
Marco Struck
Software Development
PopNet Kommunikation GmbH & Co KG
Medienpark Kampnagel
Barmbeker Str.10
D-22303 Hamburg
http://www.popnet.de
Telefon: +49 (0)40 - 27 8 27 - 116
Fax: +49 (0)40 - 27 8 27 - 199
mailto:mstruck@popnet.de