Hello Aviator--
99% of ant builds configure their srcdir using FileSet selector..
http://ant.apache.org/manual/CoreTypes/fileset.html
FileSet identifies 1 base folder , optional subfolders and optional file
extensions
The one folder fits all scenario Ive seen in the real world where everyone
dumps their source, classes, web.xml and tlds to the same folder
The build.xml targets can easily rectify this by identifying the source
folder via Source Control (source control identifies that source folder with
en var CVS_ROOT)
The location of destdir should be dependent on the where the input folder
for the utility (typically jar) which will war the classes/web.xml and tlds
together0
HTH
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Java aviator" <[EMAIL PROTECTED]>
To: <user@ant.apache.org>
Sent: Friday, April 06, 2007 1:03 AM
Subject: Need clarifications about the Core Ant Task (javac)
Hi Friends,
I am brand new to Ant though i have been working in Java for a while. Can
anybody clarify me about these lines taken from Ant user manual.
" The source and destination directory will be recursively scanned for
Java
source files to compile "
To understand the above mentioned statement, I have developed a build file
<project default="compile">
<target name="compile">
<javac srcdir="source" destdir="destination"/>
</target>
</project>
I observed that only the java files present in the srcdir are getting
compiled and not the one present in destdir.
Thanks in Advance!
dinesh.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]