The simplest way to scale to a large project is to organize your directories in a fashion
similar to this:
project
build.xml
- src
(all package sources)
- classes
(where all class files will end up.)
- lib
(where all third party jar files live)
- deploy
( where you put the deployable files )
Then your build.xml can contain things like:
<path id="base.path">
<pathelement location="./classes"/>
<fileset dir="./lib">
<include name="**/*.jar"/>
</fileset>
</path>
<javac destdir="./classes">
srcdir="./src">
<classpath refid="base.path"/>
</javac>
Javac will compile everything under the source directory. You are free to add packages and refactor
classes as you see fit.
Erik Husby
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Scaling to large projects Tim Singletary
- RE: Scaling to large projects M. Erik Husby
- RE: Scaling to large projects David McTavish
- RE: Scaling to large projects Tim Singletary
- Re: Scaling to large projects Steve Loughran
- RE: Scaling to large projects David McTavish
- Re: Scaling to large projects Steve Loughran
