Re: Localize taskdef shouldn't compile
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
I'm ok with the change. I'd certainly like to see the resulting mod to the build.xml files. The same changes need to be made to the contrib project build.xml files. Jake At 11:04 AM 9/8/2003 -0600, you wrote: >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 > >_______________________________________________ >Barracuda mailing list >[email protected] >http://barracudamvc.org/lists/listinfo/barracuda