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 16:50:30 GMT
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