Browse Source

avoid breaking backward comatability

The weblogicDTD attribute in ant 1.2 was used to give the location
Af the weblogic version of the generic ejb-jar DTD. In recent 1.3alpha builds
this role was taken by ejbdtd and the weblogicdtd attribute was now used to
locate the weblogic deployment descriptor's DTD. Whilst sensible, this breaks
backward comatability.

Therefore, I have reverted the weblogicDTD attribute to work as it did in ant
1.2 and it is now a synonym for ejbdtd. A new attribute wldtd is used to locate
the weblogic DTD.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268408 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
58f8db35ee
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java

+ 10
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java View File

@@ -156,11 +156,20 @@ public class WeblogicDeploymentTool extends GenericDeploymentTool {
/**
* Setter used to store the location of the weblogic DTD. This can be a file on the system
* Setter used to store the location of the ejb-jar DTD. This can be a file on the system
* or a resource on the classpath.
* @param inString the string to use as the DTD location.
*/
public void setWeblogicdtd(String inString) {
this.ejbDTD = inString;
}

/**
* Setter used to store the location of the weblogic DTD. This can be a file on the system
* or a resource on the classpath.
* @param inString the string to use as the DTD location.
*/
public void setWLdtd(String inString) {
this.weblogicDTD = inString;
}



Loading…
Cancel
Save