> Tim's workaround will always work, but it's really just a "workaround"
> because sometimes I do not want dependency-chains! Look at this one:
> 
> Targets:
> cleanclassesdir
> compile
> buildall
> 
> I do not want <compile> to depend on <cleanclassesdir> but when I 
> execute <buildall> then first <cleanclassesdir> and then <compile>
> shlould be executed! 

I agree, but there are solutions
One solution is to add a new target than is "compileclean"

<target name="compileclean" depends="cleanclassesdir">
        <antcall target="compile">
</target>

<target buildall depends="compileclean">
        ...
</target>

Reply via email to