*** WeblogicDeploymentTool.java	Fri Mar  2 23:46:36 2001
--- WeblogicDeploymentTool.java.new	Mon Mar 12 23:32:28 2001
***************
*** 97,104 ****
      /** Instance variable that stores the location of the ejb 1.1 DTD file. */
      private String ejb11DTD;
          
      /** Instance variable that determines whether generic ejb jars are kept. */
! 
      private boolean keepgenerated = false;
  
      private String additionalArgs = "";
--- 97,108 ----
      /** Instance variable that stores the location of the ejb 1.1 DTD file. */
      private String ejb11DTD;
          
+     /** Instance variable that stores the fully qualified classname of the weblogic EJBC compiler */
+     
+     private String ejbcClass = "weblogic.ejbc";
+     
      /** Instance variable that determines whether generic ejb jars are kept. */
!     
      private boolean keepgenerated = false;
  
      private String additionalArgs = "";
***************
*** 215,220 ****
--- 219,234 ----
          this.newCMP = !oldCMP;
      }
      
+     public void setEjbcClass(String inString)
+     {
+         this.ejbcClass = inString;
+     }
+     
+     public String getEjbcClass()
+     {
+         return this.ejbcClass;
+     }
+     
      /**
       * Set the value of the newCMP scheme. The old CMP scheme locates the 
       * weblogic CMP descriptor based on the naming convention where the 
***************
*** 371,377 ****
              
              javaTask = (Java) getTask().getProject().createTask("java");
              javaTask.setTaskName("ejbc");
!             javaTask.setClassname("weblogic.ejbc");
              Commandline.Argument arguments = javaTask.createArg();
              arguments.setLine(args);
              Path classpath = wlClasspath;
--- 385,391 ----
              
              javaTask = (Java) getTask().getProject().createTask("java");
              javaTask.setTaskName("ejbc");
!             javaTask.setClassname(getEjbcClass());
              Commandline.Argument arguments = javaTask.createArg();
              arguments.setLine(args);
              Path classpath = wlClasspath;
***************
*** 388,394 ****
              }
              
  
!             log("Calling weblogic.ejbc for " + sourceJar.toString(),
                            Project.MSG_VERBOSE);
  
              javaTask.execute();
--- 402,408 ----
              }
              
  
!             log("Calling " + getEjbcClass() + " for " + sourceJar.toString(),
                            Project.MSG_VERBOSE);
  
              javaTask.execute();

