ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1478] New - EJBC - Wildcard Resolution
Date Tue, 24 Apr 2001 15:53:17 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1478

*** shadow/1478	Tue Apr 24 08:53:17 2001
--- shadow/1478.tmp.16239	Tue Apr 24 08:53:17 2001
***************
*** 0 ****
--- 1,67 ----
+ +============================================================================+
+ | EJBC - Wildcard Resolution                                                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1478                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Major                    OS/Version:                         |
+ |     Priority:                           Component: Optional Tasks          |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: mark.wittling@air2web.com                                    |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I believe I've resolved this problem.  In Mark's case at least, it appears that 
+ wildcard resolution is faulty for a fileset like this:
+ 
+ <target name="ejbc" depends="compile">
+     <ejbjar srcdir="${compile.home}"
+ 		destdir="${build.ear}"
+ 		descriptordir="${compile.home}/META-INF" >     		
+ 		<weblogic destdir="${build.ear}"
+ 			classpath="${app.classpath}"
+ 			keepgeneric="false"
+ 			suffix=".jar"/>    		
+ 		<include name="**/*ejb-jar.xml" />
+ 		<exclude name="**/*weblogic-ejb-jar.xml, **/*weblogic-cmp-
+ rdbmsjar.xml" />
+     </ejbjar>
+ </target>
+ 
+ 
+ but is ok for a fileset like this:
+ 
+ 
+ <target name="ejbc" depends="compile">
+     <ejbjar srcdir="${compile.home}"
+ 		destdir="${build.ear}"
+ 		descriptordir="${compile.home}/META-INF" >     		
+ 		<weblogic destdir="${build.ear}"
+ 			classpath="${app.classpath}"
+ 			keepgeneric="false"
+ 			suffix=".jar"/>    		
+ 		<include name="**/*ejb-jar.xml" />
+ 		<exclude name="**/*weblogic-ejb-jar.xml" />
+     </ejbjar>
+ </target>
+ 
+ 
+ In the former target, some beans attempt to compile from the weblogic-ejb-jar, 
+ hence they compile incorrectly.  I checked many versions of jdk and Ant under 
+ both bash and DosPrompt on Mark's system, and I can only assume that this 
+ problem is Windows 2000 related.  I've never experienced it on my 2 NT systems 
+ with various versions of JDK and Ant.  I've checked in new build files, so 
+ everyone should update his CVS and be cognizant of this when you work with 
+ makefiles.
+ 
+ Spencer
+ 
+ A few people have had some odd problems compiling common60 and cscommon using 
+ ant.  Mark W. will get compilation errors for no good reason.  Collin G. will 
+ compile things up fine but they won't deploy right.  
+ 
+ I'm not sure these 2 items are related.  I have been exhaustively looking into 
+ Mark's issues, and I see no choice but to debug the Ant code, which is 
+ available.

Mime
View raw message