Thanks Josh.

I had fixed it but in the wrong copy of the source :-(

Conor

----- Original Message -----
From: "Josh Lucas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 9:12 AM
Subject: [PATCH] WeblogicTOPLinkDeploymentTool


> 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;
>      }
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to