Re: Localize taskdef shouldn't compile

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
At 03:11 PM 9/8/2003 -0600, you wrote:
>Jake, I thought the same thing but a quick search in Localize.java shows 
>that the destdir is being used for something else in addition to the javac 
>target. I think it was some sort of out-of-date check?

Yeah, actually the destdir attribute doesn't seem to be as innocuous as I 
made it out to be.  It does do some sort of out-of-date checking.  It can 
live without it, but then it sometimes ends up re-generating the XMLC 
source for some markup documents.  For Diez' build, when it was removed, it 
kept on re-processing the FileUpload.html file.  When I put the destdir 
attribute back, it skipped re-processing (as it rightly should have since 
it hadn't changed).  Looks like it needs to stay there, or maybe the Xmlc 
taskdef in the XMLC project needs to be made so it doesn't require the 
"destdir" attribute to work properly when simply generating source.

BTW, the source of the XMLC-2.2 taskdef can be gotten at the XMLC project at:
http://forge.objectweb.org/projects/xmlc

Jake
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.