I am trying to make a java file name Proper case without inputting the file 
names

ex: test.java to Test.java

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"/>
    </fileset>
    <scriptmapper language="javascript">
    

 self.addMappedName(source.toUpperCase());
  self.addMappedName(source.toLowerCase());
    
  

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

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to