DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19037>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19037

The 'jar' and 'war' tasks should accept the 'srcdir' attribute





------- Additional Comments From [EMAIL PROTECTED]  2003-04-22 10:05 -------
Our build file is NOT 'normal' :

We use 'WorkAreas' pointing to 'Baselines' (see bug 19006).

In this context, Java dependencies are NOT currently supported by ANT (I will 
create a bug report specifically for Java dependencies, but that is much work), 
so we do NOT use the 'depend' and 'javac' tasks of ANT :

-  We first compile 'java' files into 'class' files with a PERL script which 
completely handles Java dependencies (using the '-verbose' option of 'javac').

-  We then generate 'jar' files with a PERL script which automatically verifies 
that each 'java' file corresponding to an 'includes' attribute such as  
'*.class' has a corresponding up-to-date 'class' file.

-  We finally use ANT to generate the 'war' files.

Our goal is to replace our proprietary PERL scripts by 'build.xml' files, but 
that will be done step by step only after ANT fully supports the concepts of 
'WorkAreas' pointing to 'Baselines'.

In the meantime, the verification that I suggest would be of great help.

I would like to add a detail :
The 'jar' or 'war' task should verify the presence of an up-to-date 'class' 
file 
for 'java' files found in the path given as value to the 'srcdir' attribute 
only 
for 'java' files corresponding to an 'includes' attribute such as '*.class'.

Reply via email to