ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Getting around JspC re-precompiling
Date Wed, 12 Sep 2001 21:34:13 GMT
I replied. I suggested you look at the <apply> task. That suggestion still
stands.

Diane

--- dhay@lexmark.com wrote:
> 
> 
> Hello,
> 
> As I had no replies to my previous post about JspC re-pre-compiling
> files even
> if they haven't changed, I am trying to figure out a way around it...
> 
> I basically need to check if each pre-compiled file in my build
> directory has a
> timestamp earlier than it's corresponding jsp.  If so, I want to
> pre-compile it
> again.
> 
> How do I do this?!  I realise I can use the uptodate task to check one
> or more
> files against a single file, but how do I loop through all the files in
> a
> directory, get the file name, and check each .jsp file with the
> corresponding
> .java file?  Would it be best to then more each jsp that needs
> re-pre-compiling
> to another directory, and then use the JspC webapp attribute?
> 
> Would really appreciate some help!
> 
> Many thanks,
> 
> Dave
> 
> 
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Mime
View raw message