ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Lucas <j...@stonecottage.com>
Subject [PATCH] WeblogicTOPLinkDeploymentTool
Date Thu, 25 Jan 2001 22:12:53 GMT
I was getting a compiler error when trying to build the latest source
and it looks like this file was calling the wrong method.

josh


Index: WeblogicTOPLinkDeploymentTool.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicTOPLinkDeploymentTool.java,v
retrieving revision 1.3
diff -u -r1.3 WeblogicTOPLinkDeploymentTool.java
--- WeblogicTOPLinkDeploymentTool.java  2001/01/25 14:39:17     1.3
+++ WeblogicTOPLinkDeploymentTool.java  2001/01/25 22:10:06
@@ -89,11 +89,9 @@
     protected DescriptorHandler getDescriptorHandler(File srcDir) {
         DescriptorHandler handler = super.getDescriptorHandler(srcDir);
         if (toplinkDTD != null) {
-            handler.registerResourceDTD("-//The Object People,
Inc.//DTD TOPLink for WebLogic CMP 2.5.1//EN",
-                                        toplinkDTD);
+            handler.registerDTD("-//The Object People, Inc.//DTD
TOPLink for WebLogic CMP 2.5.1//EN", toplinkDTD);
         } else {
-            handler.registerResourceDTD("-//The Object People,
Inc.//DTD TOPLink for WebLogic CMP 2.5.1//EN",
-                                        TL_DTD_LOC);
+            handler.registerDTD("-//The Object People, Inc.//DTD
TOPLink for WebLogic CMP 2.5.1//EN", TL_DTD_LOC);
         }
         return handler;                                    
     }

Mime
View raw message