title: Weblogic Ant JWSC task to generate a webservice war file
body: <p>I am running a jwsc ant task to generate a war file. It is working fine for me if I add the weblogic.jar to classpath before running the ant script (CLASSPATH=/opt/bea/weblogic91/server/lib/weblogic.jar export CLASSPATH)</p>
  
  <p>But is is not working if I add this in my build.xml as follows:</p>
  
  <pre><code>&lt;target name="GenerateWarFiles"&gt;   
  &lt;path id="lib.jwsc.id"&gt;  
  &lt;pathelement path="/opt/bea/weblogic91/server/lib/weblogic.jar"/&gt;  
  &lt;/path&gt;  
  &lt;taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" classpathref="lib.jwsc.id"/&gt;  
  &lt;jwsc srcdir="${src.java.dir}" destdir="${build.war.file.dir}" verbose="on" debug="on" classpathref="lib.jwsc.id"&gt;  
  &lt;jws file="sep/com/bt/prf/jws/TypeImpl.java" compiledWsdl="${ivy.lib.dir}/WSDLC/Jwslib-8.0.jar" /&gt;  
  &lt;/jwsc&gt;   
  &lt;/target&gt;
  </code></pre>
  
  <p>I am getting the following error.</p>
  
  <pre><code>[AntUtil.deleteDir] Deleting directory /var/tmp/_927vxb
  
  BUILD FAILED
  /wls_domains/CIT/cruisecontrol-bin-2.8.3/util/Ivy/build.xml:231: Deployment descriptor: /var/tmp/_927vxb/web.xml does not exist.
  at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
  at org.apache.tools.ant.Task.perform(Task.java:348)
  at org.apache.tools.ant.Target.execute(Target.java:357)
  at org.apache.tools.ant.Target.performTasks(Target.java:385)
  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
  at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
  at org.apache.tools.ant.Main.runBuild(Main.java:698)
  at org.apache.tools.ant.Main.startAnt(Main.java:199)
  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
  Caused by: Deployment descriptor: /var/tmp/_927vxb/web.xml does not exist.
  at org.apache.tools.ant.taskdefs.War.setWebxml(War.java:95)
  at weblogic.wsee.tools.anttasks.JwscTask.jar(JwscTask.java:397)
  at weblogic.wsee.tools.anttasks.JwscTask.pkg(JwscTask.java:331)
  at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:166)
  ... 17 more
  --- Nested Exception ---
  Deployment descriptor: /var/tmp/_927vxb/web.xml does not exist.
  at org.apache.tools.ant.taskdefs.War.setWebxml(War.java:95)
  at weblogic.wsee.tools.anttasks.JwscTask.jar(JwscTask.java:397)
  at weblogic.wsee.tools.anttasks.JwscTask.pkg(JwscTask.java:331)
  at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:166)
  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
  at org.apache.tools.ant.Task.perform(Task.java:348)
  at org.apache.tools.ant.Target.execute(Target.java:357)
  at org.apache.tools.ant.Target.performTasks(Target.java:385)
  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
  at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
  at org.apache.tools.ant.Main.runBuild(Main.java:698)
  at org.apache.tools.ant.Main.startAnt(Main.java:199)
  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
  
  Total time: 1 minute 3 seconds
  </code></pre>
  
  <p>I am running weblogic91 in Solaris.</p>