I've been using ant for a while with struts and tomcat. Now I'm starting
an EJB project and am learning more about ant so I can use it here too.
I'm used to having my java classes in the "src" subdirectory. Yet I was
reading an old post "J2EE config/build best practices" from Drew Davison
recommending calling the source code dir "java" - which is more common?
Also the struts-originated build.xmls hard-coded the directory name in,
but wouldn't it be better to have it in the build.properties?
Instead of
<javac srcdir="src"
destdir="${build.home}/classes"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}">
<classpath refid="compile.classpath"/>
</javac>
have this:
<javac srcdir="${src}" ....
Thanks for any advice!
Adam
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: ant for dummies question Adam Hardy
- Re: ant for dummies question Erik Hatcher
- RE: ant for dummies question David McTavish
- RE: ant for dummies question Dominique Devienne
- Re: ant for dummies question Adam Hardy
- RE: ant for dummies question Dominique Devienne
- RE: ant for dummies question David McTavish