Lenard,

Your question can be rephrased as 'What files are being copied which do
not have a .java or .class extension?' ... which means all the other
files in the source folders (typically images / property files).

HTH.

David

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan
Steiniger
Sent: October 25, 2006 1:06 PM
To: List for discussion of JPP development and use.;
[EMAIL PROTECTED]
Subject: [jump-devel] Re: [JPP-Devel] Question on build.xml for
JUMP/OpenJUMP

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
> 
> 
_______________________________________________
jump-devel mailing list
[EMAIL PROTECTED]
http://lists.refractions.net/mailman/listinfo/jump-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