i am not sure without seeing the whole script, but it might be that you 
have already the stuff in the directory -- because the javac command 
puts the stuff there??? (see destdir=..)

so you do not have to copy what you already have

stefan

Sunburned Surveyor schrieb:
> I had some time to look at the Ant build file for JUMP/OpenJUMP again
> today at lunch. I had a question about the "compile" target. Here is a
> snippet of the target from the build file:
> 
> <target name="compile" depends="prepare">
>    <!-- Create the /build/classes directory to store the class files resulting
>    from the compilation process. The Sunburned Surveyor 2006-10-25] -->
>    <mkdir dir="${build.classes}"/>
>    <!-- Execute the "javac" task with properties defined previously in the
>    build script.  The Sunburned Surveyor 2006-10-25] -->
>    <javac srcdir="${src.dir}" destdir="${build.classes}" debug="${debug}"
>    deprecation="${deprecation}" optimize="${optimize}">
>       <classpath refid="base.classpath"/>
>    </javac>
>    <copy todir="${build.classes}">
>       <fileset dir="${src.dir}" excludes="**/*.java,**/*.class"/>
>    </copy>
> </target>
> 
> Why do we exclude Java Class files from the copy task in this target?
> Isn't that the very thing that we want to copy? If we aren't copying
> the Java Class files in this task, what are we copying?
> 
> Thanks for the clarification.
> 
> The Sunburned Surveyor
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to