I have no problem running this on the javac cmd format outside of ant.

Sorry but I cannot seem to find out where I set a java compiler option. I just need to add *Xlint=unchecked*. Have tried; just adding this:

  <compilerarg >
  -Xlint="unchecked"
  </compilerarg>

What is this he correct format or do I have to nest it  with in this:

<javac srcdir="${src}" destdir="classes" >
</javac>


Here is my build file:

 </target>
 <target name="compile" depends="init" description="compile the source " >
     <!-- Compile the java code from ${src} into ${build} -->
            <!-- -Xlint:unchecked  -->

     <javac srcdir="${src}"
                        destdir="classes" >
     </javac>
       <copy todir="classes/org/weconsultants/jmanager/images">
        <fileset dir="${src}">
            <include name="*.gif"/>
            <include name="*.png"/>
        </fileset>
     </copy>
 </target>

 <target name="dist" depends="compile"
       description="generate the distribution" >
   <!-- Create the distribution directory -->
   <mkdir dir="${dist}/lib"/>

<!-- Put everything in ${build} into the JHackerManager.jar file -->
<!-- <jar jarfile="${dist}/lib/JManager.jar" basedir="${build}"/> -->
<jar jarfile="${dist}/lib/JManager.jar" basedir="classes"/>
</target>


 <target name="clean"
       description="clean up" >
   <!-- Delete the ${build} and ${dist} directory trees -->
   <delete dir="${build}"/>
   <delete dir="${dist}"/>
 </target>
</project>
--


Thanks in Advance... IchBin __________________________________________________________________________

'The meeting of two personalities is like the contact of two chemical substances: if there is any reaction, both are transformed.'
- Carl Gustav Jung, (1875-1961), psychiatrist and psychologist


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to