tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Moore" <tmo...@blackboard.com>
Subject RE: Classes not being found in app's WEB-INF directory.
Date Fri, 17 Jan 2003 18:21:45 GMT
> -----Original Message-----
> From: Erik Price [mailto:eprice@ptc.com] 
> Sent: Friday, January 17, 2003 1:07 PM
> To: Tomcat Users List
> Subject: Re: Classes not being found in app's WEB-INF directory.
> 
> 
> 
> 
> Raible, Matt wrote:
> > Use Ant to build everything - and tell it where you want 
> your compiled 
> > classes to end up.
> 
> That's a good idea.  I am using Ant currently, but hadn't thought of 
> doing this.  The only problem is that I use NetBeans, which requires 
> that the source code be stored in the proper package 
> directory structures.
> 
> But, now that I think of it, I can use Ant to rearrange the 
> source files 
> to the appropriate directory structure upon checkout, so that 
> I can work 
> with them.  In other words, a target that builds the package 
> directory 
> structure and copies the files to their appropriate places.
> 
> Can Ant read the package declarations of the source files to 
> determine 
> where they should be placed, or will I have to hard code the 
> paths into 
> the <Copy> tasks?

It wouldn't be hard to write a custom task to do that.

Seems like it would be better to fix the source tree structure in CVS,
though. It's kind of a PITA, but once it's done, it's done.

-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863

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


Mime
View raw message