ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Need clarifications about the Core Ant Task (javac)
Date Thu, 12 Apr 2007 07:39:07 GMT
Maybe the Tutorial "Hello World with Ant" [1] would also help.
If you need more information in that tutorial, let me know ;-)



>-----Urspr√ľngliche Nachricht-----
>Von: Martin Gainty [] 
>Gesendet: Freitag, 6. April 2007 19:13
>An: Ant Users List
>Betreff: Re: Need clarifications about the Core Ant Task (javac)
>Hello Aviator--
>99% of ant builds configure their srcdir using FileSet selector..
>FileSet identifies 1 base folder , optional subfolders and 
>optional file 
>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 
>This email message and any files transmitted with it contain 
>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" <>
>To: <>
>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:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message