Manually Start ANT Task -


For various reasons that I will not go in (I promise that this current code is necessary to do with the base ; I know this is unwise), I want to execute the goal twice in the same build work.

For example, I want to execute the foo target, then times , then foo again this I have already tried a simple version of it:

  & lt; Target name = "foo" & gt; ... & lt; / Target & gt; & Lt; Target name = "bar" dependent = "foo" & gt; ... & lt; / Target & gt; & Lt; Target name = "project" dependent = "foo, bar" & gt; ... & lt; / Target & gt; When executing the  

project target, foo ran only once. Dependance of the project attribute "foo, bar, foo" , but the dependent attribute on the bar target, but Still have the same results.

Is there any way to force the work to execute, even if it has already been successfully completed? Or is there a better way to go about it?

Allows you to explicitly make a target call. / P>

I think that using a dependent mechanism is a better solution than what you have identified, determines what is already going on. Antcall tells the goal of running whether it is being run first or not.

You can customize the call to make each call.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -