ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: calling tasks per directory?
Date Thu, 12 Sep 2002 16:22:00 GMT
Sure is in some cases, but what surprises me here is that you cannot tell to
jsp compiler (or whatever converts .jsp to .java) which package the Java
sources generated should belong to!!!

And also, why foo/main_java.cpp would belong to the org.apache.jsp package?
Since the source file location is not consistent with the package name, it
will always be recompiled by <javac>!!!

I'm JSP ignorant, so maybe that's why I'm surprised by the above... --DD

-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
Sent: Thursday, September 12, 2002 11:17 AM
To: Ant Users List
Subject: Re: calling tasks per directory?

<foreach> is your friend!

That's what I think, anyway...

-Matt

--- M <martin.sillence@prnewswire.co.uk> wrote:
> Hi,
> 
> Requirements:
> 1/ Compile all java files in a directory tree
> 2/ Call the compiler per directory
> 
> The reason for the second requirement is we're
> compiling jsp to java and
> when you call javac with arguments:
> javac foo/main_jsp.java bar/main_jsp.java
> foo/bar/main_jsp.java
> 
> You get the error "duplicate class:
> org.apache.jsp.main_jsp"
> 
> Am I right in deducing from the list ant can't do
> this, as a feature?
> 
> If it helps its:
> ant 1.5, java 1.4.0, tomcat 4.1.10
> 
> PS.
> I'm not looking to script with a static list of the
> 100 or so
> directories which may change at the whim of the web
> team.
> 
> -- 
> Regards,
> M
> 
> Martin Sillence
> PR Newswire
> 
> DL +44 (0)1865 78 5065
> F  +44 (0)1865 78 5100
> W  www.prnewswire.eu.com
> ---------------------------------------
> Any views or opinions are solely those of the author
> and do not
> necessarily represent those of PR Newswire Europe.
> The e-mail
> contents are intended only for addressee and may
> contain
> confidential and/or privileged material. If you are
> not the
> intended recipient, please do not read, copy, use or
> disclose
> this communication and notify the sender.
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message