-
1. Re: How do I make a ejb-jar.jar fil with ant
adrian.brock Sep 2, 2003 7:59 AM (in response to markymarc)What is wrong with one of ant's optional tasks.
Regards,
Adrian -
2. Re: How do I make a ejb-jar.jar fil with ant
markymarc Sep 2, 2003 8:12 AM (in response to markymarc)I have made this target :
But it do not put the AccountException.class in my .jar fil. It only takes what is in the ejb-jar.xml.
Thats my problem. -
3. Re: How do I make a ejb-jar.jar fil with ant
adrian.brock Sep 2, 2003 8:24 AM (in response to markymarc)includesfile is attribute not an element.
or something like that.
You should use if you want it nested.
Regards,
Adrian -
4. Re: How do I make a ejb-jar.jar fil with ant
markymarc Sep 2, 2003 8:37 AM (in response to markymarc)
Now I have this target, and it still only puts the 12 files I got in my ejb-jar.xml. It is not putting the AccountException.class in the .jar fil. -
5. Re: How do I make a ejb-jar.jar fil with ant
adrian.brock Sep 2, 2003 8:44 AM (in response to markymarc)Use ant -v so you can see what it is doing or not doing. :-)
Regards,
Adrian -
6. Re: How do I make a ejb-jar.jar fil with ant
markymarc Sep 2, 2003 8:52 AM (in response to markymarc)Don that, this is what it says to that target:
distEJB
ejbjar
1 deployment descriptors located.
Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN, systemId: http://java.sun.com/dtd/ejb-jar_2_0.dtd) to a local entity
dependent class: ejb.HelloLocalHome - /opt/java/fam/build/ejb/ejb/HelloLocalHome.class
dependent class: ejb.HelloBean - /opt/java/fam/build/ejb/ejb/HelloBean.class
dependent class: ejb.Hello - /opt/java/fam/build/ejb/ejb/Hello.class
dependent class: ejb.Account - /opt/java/fam/build/ejb/ejb/Account.class
dependent class: ejb.AccountPK - /opt/java/fam/build/ejb/ejb/AccountPK.class
dependent class: ejb.LocalAccount - /opt/java/fam/build/ejb/ejb/LocalAccount.class
dependent class: ejb.HelloLocal - /opt/java/fam/build/ejb/ejb/HelloLocal.class
dependent class: ejb.AccountHome - /opt/java/fam/build/ejb/ejb/AccountHome.class
dependent class: ejb.HelloHome - /opt/java/fam/build/ejb/ejb/HelloHome.class
dependent class: ejb.LocalAccountHome - /opt/java/fam/build/ejb/ejb/LocalAccountHome.class
dependent class: ejb.AccountBean - /opt/java/fam/build/ejb/ejb/AccountBean.class
Build needed because /opt/java/fam/build/ejb/ejb/AccountPK.class is out of date
building ejb-generic.jar with 12 files
adding file 'ejb/AccountPK.class'
adding file 'ejb/HelloHome.class'
adding file 'ejb/AccountBean.class'
adding file 'ejb/LocalAccount.class'
adding file 'ejb/Hello.class'
adding file 'ejb/AccountHome.class'
adding file 'ejb/HelloLocalHome.class'
adding file 'ejb/Account.class'
adding file 'ejb/HelloLocal.class'
adding file 'ejb/HelloBean.class'
adding file 'META-INF/ejb-jar.xml'
adding file 'ejb/LocalAccountHome.class' -
7. Re: How do I make a ejb-jar.jar fil with ant
adrian.brock Sep 2, 2003 8:58 AM (in response to markymarc)Although is a it doesn't explicitly say
it supports "includesfile".
Try using a nested
Regards,
Adrian -
8. Re: How do I make a ejb-jar.jar fil with ant
juha Sep 11, 2003 7:06 AM (in response to markymarc)I've found the plain old task much more useful for ejbs. I do use the and tasks though
-- Juha