You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Russell Gold <ru...@acm.org> on 2000/07/19 16:15:55 UTC
Style task
Does the style task check its targets to see if it has already run? It
seems to be generating its results over and over for me.
Re: Style task (Mea culpa)
Posted by Russell Gold <ru...@acm.org>.
At 10:42 AM 7/19/00 -0400, I wrote:
>Will the style task handle directory trees? I could just place the .xml
>into the appropriate directory...
And the answer is, yes, it does - if the target directory exists. So the
next question is either: how do I duplicate a directory structure, or can
the style task automatically ensure that the directories it needs exist,
creating them as needed (as javac does)?
Re: Style task (Mea culpa)
Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "RG" == Russell Gold <ru...@acm.org> writes:
RG> Will the style task handle directory trees? I could just place
RG> the .xml into the appropriate directory...
Sooner or later ... Depends on how long it takes somebody to submit a
patch.
Stefan
Re: Style task (Mea culpa)
Posted by Russell Gold <ru...@acm.org>.
At 10:15 AM 7/19/00 -0400, you wrote:
>Does the style task check its targets to see if it has already run? It
>seems to be generating its results over and over for me.
Oops - I blamed the wrong task. The style task is behaving correctly.
The problem I am having is a bit different. I am using the style task to
generate a java file, which I then compile. The problem is that that file
is being recompiled over and over again, even thought STYLE is correctly
not generating it.
Now as I am using it, I understand why the recompilation is happening - the
generated java file has a package statement, but Style doesn't know to
place it in the appropriate directory, so javac thinks it needs to
recompile it.
Will the style task handle directory trees? I could just place the .xml
into the appropriate directory...