ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: Are you using ANT to build J2EE projects?
Date Mon, 11 Sep 2000 14:23:09 GMT
>do you put your EJBs and servlets in separate root directories or are they 
>combined under a common package hierarchy? 

I would always recommend that they always go under a common source
directory and you use include/exclude to remove stuff you don't want
compiled/jarred etc.

>How do you ensure that classes that are common to the EJB interface and
>layers don't get included in both the webapp and EJB JAR to avoid the
>ClassCastException problem?

It is easy enough to seperate them out. Have a look at the Avalon build
file. It builds four or five jars from a single source tree and does it
easily :P

is a good example (except for some of doc building) of stuff that you can do.



| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |

View raw message