You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kyle Adams <ka...@gfs.com> on 2001/10/12 16:05:44 UTC

EJB jar and unwanted files

We're finding that some unexpected classes are popping up in 
our EJB jars.  Ant's <ejbjar> task sucks in more classes then the old build system (using make files, batch scripts and such) did.  The classpaths are the same, the deployment descriptors are the same.  Has anyone seen something similair to this before?  It seems to be similair to the following thread at http://marc.theaimsgroup.com/?l=ant-user&m=100048164004231&w=2 but I wasn't able to find enough info there to help me.

We're using Ant 1.4, Weblogic 5.1, service pack 10.  Here are the specifics:

Directory Structure:

component
  PROJECT_NAME
    dao
    detail
    ejb
    exception
    interfaces
    test

The problem comes in that interfaces for EJB classes (which reside in the interfaces package) were not included in the EBJ JAR under the old scripts (which utilized Weblogic's ejbc utility).  Now (using Ant) they are getting pulled in, which causes problems since they are also included in the WLS class path.  Is this a problem with our design, or a problem with Ant?  If it's not a problem with Ant, why did Weblogic's ejbc utility not include these classes?

Kyle