Most of us consider this a feature! :)
-- Don
--- Ronny_Nęss <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I think I might have found a bug.
>
> I have made several targets in our build.xml file and several targets
> that
> depends on other targets.
>
> The problem seems to be that no target can be run twice or more
> within one
> execution or one build if you prefer.
>
> Example.
>
> <target name="wed" depends="war,ear,deploy"...
>
> Since war and ear both uses the /build dir i need to do some
> cleaning,
> meaning that the build dir must be deleted.
>
> This could be done like this(at least I thought):
> <target name="wed" depends="war,clean,ear,clean,deploy,clean"...
>
> The problem is that clean is only executed once. There is no change
> if i
> include the clean as an dependency within the targets war and/or ear.
>
> It executes only the first time, regardless of what i do!
>
> Help please :-)
>
> Thanks
> -Ronny
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/