ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <>
Subject RE: EJB helpers...
Date Tue, 11 Mar 2003 17:15:59 GMT
I'm using ant 1.5.2, and now I understand that it's not my fault.  

What's the word on the fix or error (I may be able to fix it)?

-----Original Message-----
From: Casey Daniell []
Sent: Tuesday, March 11, 2003 12:14 PM
To: 'Ant Users List'
Subject: RE: EJB helpers...

Are you using winzip to view your jar files? If so there is a bug in ANT
1.5.1 that you can't see the contents of jars when using winzip. Try
upgrading to ANT 1.5.2 or using a nightly build.


-----Original Message-----
From: Ciramella, EJ []
Sent: Tuesday, March 11, 2003 10:51 AM
To: 'Ant Users List'
Subject: RE: EJB helpers...

That's what I thought, bummer. 

My other option is to list all the ejbs and make a task that uses <ant>
against another xml file, once for each ejb utilizing the jar or zip task -
but I haven't had much luck with either.  The resulting jar file says it's
14kb but when I open it, it doesn't have anything inside it!


-----Original Message-----
From: []
Sent: Tuesday, March 11, 2003 11:03 AM
Subject: AW: EJB helpers...

How many jars do you want to have? One per EJB or one for all EJBs?

One for all:  
The <support> must get all Helper classes, because they are needed.

One per EJB:
I think you have to define a fileset for each EJB. Because you have to
write one <ejbtask> for each bean. And there you have to choose the
MyEJB1 -->  **/myejb1/Helper/*.class
MyEJB2 -->  **/SharedHelper/*.class

Jan Matèrne

-----Ursprüngliche Nachricht-----
Von: Ciramella, EJ []
Gesendet am: Dienstag, 11. März 2003 16:38
An: 'Ant Users List'
Betreff: EJB helpers...

I'm having problems including helper classes in my ejbs.  

Here's the scenario, some (but not all) of our EJBS have a "helper"
subdirectory (some have a "SharedHelper" directory), how do I include this
directory's contents in the individual ejbs?

The <support> element is great if there is a single location for the shared
items, but this is not the case.  And if I use support and include something
like **/Helper/*.class, I get all the other ejb's helpers too.

Please help!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message