> -----Original Message----- > From: Erik Price [mailto:[EMAIL PROTECTED]] > 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
