ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Arentz <stefan.are...@soze.com>
Subject problem with JARing an EJB
Date Wed, 12 Apr 2000 20:06:26 GMT
I'm using Ant to build an EJB and I have a weird problem with
the layout of the JAR file which confuses the app server.

Ant builds this directory structure:

.../deploy.home:
  drwxr-xr-x   2 stefan   stefan       4096 Apr 12 21:58 META-INF/
    -rw-r--r--   1 stefan   stefan       1614 Apr 12 21:58 ejb-inprise.xml
    -rw-r--r--   1 stefan   stefan       1536 Apr 12 21:58 ejb-jar.xml
  drwxr-xr-x   2 stefan   stefan       4096 Apr 12 21:58 cmp/
    -rw-r--r--   1 stefan   stefan        503 Apr 12 21:58 Customer.class
    -rw-r--r--   1 stefan   stefan       1940 Apr 12 21:58 CustomerBean.class
    -rw-r--r--   1 stefan   stefan        626 Apr 12 21:58 CustomerHome.class
    -rw-r--r--   1 stefan   stefan        459 Apr 12 21:58 CustomerPK.class

However the jar file looks like this:

     0 Wed Apr 12 21:58:18 CEST 2000 META-INF/
    22 Wed Apr 12 21:58:18 CEST 2000 META-INF/MANIFEST.MF
     0 Wed Apr 12 21:58:18 CEST 2000 cmp/
  1536 Wed Apr 12 21:58:18 CEST 2000 META-INF/ejb-jar.xml
  1614 Wed Apr 12 21:58:18 CEST 2000 META-INF/ejb-inprise.xml
   503 Wed Apr 12 21:58:18 CEST 2000 cmp/Customer.class
  1940 Wed Apr 12 21:58:18 CEST 2000 cmp/CustomerBean.class
   626 Wed Apr 12 21:58:18 CEST 2000 cmp/CustomerHome.class
   459 Wed Apr 12 21:58:18 CEST 2000 cmp/CustomerPK.class

The META-INF/ en cmp/ entries seem to be a problem. Has anyone run into
this problem?

  Stefan



Mime
View raw message