ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: New custom task t generate Property Resource Bundles
Date Tue, 21 Oct 2003 05:40:20 GMT
Added in CVS.

Jan

> -----Original Message-----
> From: Martin Newstead [mailto:mseries1965@hotmail.com]
> Sent: Monday, October 20, 2003 11:08 PM
> To: user@ant.apache.org
> Subject: New custom task t generate Property Resource Bundles
> 
> 
> I have open sourced a custom task that I have written for use on my 
> projects. It will generate a Java source file from a .properties file 
> containing name=value pairs of strings. Once generated the 
> source can be 
> compile like another in your project. Managing static 
> properties, such as 
> localisation strings, in this way can help improve performance as the 
> intermediate class is not geberated on the fly at execution time.
> 
> 
> I have produced a fragment of XML for inclusion on the 
> Externals Tool and 
> Tasks page. I'd be grateful if this could be included.
> 
> <subsection name="PRes">
>   <p>PRes is short for Property Resources and will generate a 
> Java source 
> file from name=value pair .property files which can be 
> compiled like any 
> other class.</p>
> <table class="externals">
> <tr>
>   <th>Compatibility:</th>
>   <td>Ant 1.5 and later (may work with earlier)</td>
>   </tr>
> <tr>
>   <th>URL:</th>
> <td>
>   <a 
> href="http://mseries.sourceforge.net">http://mseries.sourcefor
> ge.net</a>
>   </td>
>   </tr>
> <tr>
>   <th>Contact:</th>
> <td>
>   <a href="http://web.ukonline.co.uk/mseries/contact.html">MSeries</a>
>   </td>
>   </tr>
> <tr>
>   <th>License:</th>
>   <td>LGPL</td>
>   </tr>
>   </table>
>   </subsection>
> 
> _________________________________________________________________
> Sign-up for a FREE BT Broadband connection today! 
> http://www.msn.co.uk/specials/btbroadband
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message