[jdom-interest] Re: fixing line endings

Jason Hunter jhunter at collab.net
Thu Sep 14 02:43:03 PDT 2000


Added the patch.  I presume the fixcrlf behavior is recursive?

-jh-

Alex Chaffee wrote:
> 
> The following patch should fix things so .bat files and .sh files get
> the "right" line endings no matter which platform the jar is built on.
> 
> --
> Alex Chaffee                       mailto:alex at jguru.com
> jGuru - Java News and FAQs         http://www.jguru.com/alex/
> Creator of Gamelan                 http://www.gamelan.com/
> Founder of Purple Technology       http://www.purpletech.com/
> Curator of Stinky Art Collective   http://www.stinky.com/
> 
> Index: build.xml
> ===================================================================
> RCS file: /home/cvspublic/jdom/build.xml,v
> retrieving revision 1.12
> diff -u -r1.12 build.xml
> --- build.xml   2000/09/06 22:20:24     1.12
> +++ build.xml   2000/09/14 09:32:09
> @@ -158,6 +158,8 @@
>    <!-- Creates the class package                                           -->
>    <!-- =================================================================== -->
>    <target name="package" depends="compile">
> +    <fixcrlf srcdir="." includes="*.bat" cr="add"/>
> +    <fixcrlf srcdir="." includes="*.sh" cr="remove"/>
>      <jar jarfile="${build.dir}/${name}.jar"
>           basedir="${build.dest}"
>           includes="org/**"/>



More information about the jdom-interest mailing list