Localize taskdef shouldn't compile

Shawn Wilson <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
I would like to make a change to the Barracuda Localize taskdef 
(org.enhydra.barracuda.taskdefs.Localize) that could affect any users 
who might be using it in their build.xml files.

Basically I'd like to remove the lines that invoke the Javac compiler, 
for a few reasons:

    1. Localize extends Xmlc taskdef which already provides an option to 
compile classes (though it is noted it should normally not be used).
    2. There is no way to tell Localize NOT to compile classes.
    3. There is no way to pass options to the compiler that Localize 
uses (or to use a different compiler).
    4. There already exists the fully-functional <javac> taskdef as part 
of the core Ant distribution that alleviates problems 2 and 3 above.

Rather than Localize trying to do everything I think we should limit it 
to just taking care of localization and XMLC processing and leave the 
compiling to a separate <javac> task in the build.xml.

As long as everyone is okay with this, I can make the necessary changes 
to Localize.java and the Barracuda and BarracudaDiscRack build.xml files.

Thanks,
-shawn
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.