ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunil <>
Subject using mapper element to make a file name proper case
Date Wed, 27 Dec 2006 22:28:46 GMT
I am trying to make a java file name Proper case without inputting the file names

ex: to

The below code takes all the .java files and converts the entire filename to upper case.

    <move todir="${BLD_TOP}/sample/">
    <fileset dir="${BLD_TOP}/sample/">
        <include name="**/*.java"/>
    <scriptmapper language="javascript">


    <pathelement location="c:/j2sdk1.4.2_12/bin/bsf.jar"/>
    <pathelement path="${java.class.path}"/>

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message