RE: Localize taskdef shouldn't compile

"Christian Cryder" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
+1 from me...

----------------------------------------------
Christian Cryder
Internet Architect, ATMReports.com
Project Chair, BarracudaMVC - http://barracudamvc.org
----------------------------------------------
"Coffee? I could quit anytime, just not today" 


> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Shawn Wilson
> Sent: Monday, September 08, 2003 1:04 PM
> To: [email protected]
> Subject: [Barracuda] Localize taskdef shouldn't compile
> 
> 
> 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
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.