Note about this patch, especially to Tim Fennel. The code in this patch would not compile under JDK 1.1. I had a quick look at trying to change it so that it would (Iterators -> Enumerations, etc) but there is some Jar manipulation that is done using the new java.util.jar classes. Rather than push ahead, I decided to exclude this task unless a given property is set. If you have JDK1.2 you can remove this exclude element and this class will always compile, otherwise you must set this property. See the comment below. I don't have a copy of Weblogic 5.1 to test this, so let me know if there are any issues.
If anyone has a better solution, please let me know. Conor > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, July 14, 2000 11:50 PM > To: [EMAIL PROTECTED] > Subject: cvs commit: > jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb > EjbJar.java > > > conor 00/07/14 06:50:27 > > Modified: . build.xml > src/main/org/apache/tools/ant/taskdefs defaults.properties > Added: src/main/org/apache/tools/ant/taskdefs/optional/ejb > EjbJar.java > Log: > Task to build EJB 1.1 jars. Currently this task supports the Weblogic > server but it is envisaged that it can be expanded to cover other app > servers. > > Note that to build this task you need to define the property ejb.build. > You can do that with > > ant -Dejb.build=1 > > Submitted by: Tim Fennell <[EMAIL PROTECTED]> > > Revision Changes Path > 1.39 +1 -0 jakarta-ant/build.xml >
