I'm trying to get into the struts game, which means I'm simultaneously trying to come up to speed on at least three Apache projects: tomcat, ant, and struts. Plus servlets and jsps. I'm sorry if this is a basic question, but I'm a little flustered.

Ant seems to expect a certain directory structure under the build.xml. I'm not sure if this it *has* to be this way or if the underlying directory structure is configurable. As far as I can tell, ant wants something like:

./build.xml
./build.properties
./src: (all java files go here, under something like com.mycompany.whatever )
./web:
./web/WEB-INF:

But the example mailreader application looks like this: (some stuff ommitted)

./WEB-INF:
./WEB-INF/classes:
./WEB-INF/classes/*:
./WEB-INF/entities:
./WEB-INF/lib:
./WEB-INF/src:
./WEB-INF/src/java:
./WEB-INF/src/java/*:  all java files are here

So my question is, what am I missing? Surely ant must be able to compile the default struts applications, which probably means I need a different build.xml file. However, I haven't found any guidance on this matter by searching the apache site.

Any help is appreciated!




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to