ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rogers" <jason.rog...@tumbleweed.com>
Subject RE: Looking for Ant references/examples
Date Fri, 05 Oct 2001 17:43:41 GMT
    > Ok here it comes.
    > 
    > 1. I want one buildfile which is on a central place
    >    which I can use for each package. Not one buildfile
    >    in each folder. So I just have to maintain one
    > file.

Take the following for example:

/Working
  \__ProjectFoo
      \__src           all the source for the distributed project
         \__[...]
      \__lib           External libraries needed
         \__[...]
             \__[...]
      \__build         where my build will build to
         \__classes    compiled classes from the <javac> task
             \__[...]
         \__lib        jars from the <jar> task
             \__[...]
      \__docs          any sort of documentation you want
         \__manuals    non-generated docs (?)
             \__[...]
         \__javadoc    generated docs
             \__[...]
      \__samples       sample applications for the system
         \__[...]
      \__tests         unit and acceptance tests
         \__[...]
    
At ProjectFoo place your build.xml (or whatever you want to call it).  It
will be written in such a way as that it will build and package everything
within it properly.  One build file, several packages.  Yes?
 
    > 2. A buildfile which compiles the whole application
    >    down from com. But this one should exlude all 
    >    folders named test and junit.

I like to split my tests out from my source.  So, the attached build file
will represent that.

    > 3. How to automate testing with JUnit.

I am not sure of this.  We do our automated testing within VAJ.  Anyone else
want to chime in?

HTH.
-Jason


Mime
View raw message