Hi, I am facing the following problem when using ejbjar for websphere on unix. It works fine on NT. On the unix system I am able to create the same directory manually without problem. All files are owned by the user that I am running the build as.
[ejbdeploy] [ejbdeploy] Starting workbench. [ejbdeploy] [ejbdeploy] Shutting down workbench. [ejbdeploy] Error starting EJBDeploy environment: Cannot create directory ./build/ejbjar/_.ejb.jar._.. [ejbdeploy] java.io.IOException: Cannot create directory ./build/ejbjar/_.ejb.jar._. [ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.TempDirectory.<init>(TempDirectory.java: 36) [ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.cleanWorkingDir(BatchDeploy. java:47) [ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.startup(BatchDeploy.java:166 ) [ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.startup(EJBDeploy.java:309) [ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:65) [ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:248) [ejbdeploy] Java Result: 1 [ejbjar] deleting generic jar /opt/cmauto/sg/src/apps/grEJB/build/ejbModule/META-INF/ejb-generic.jar Here is my target: <!-- =========================================================== --> <!-- Ejb target. Recompiles any out-of-date ejbs. --> <!-- =========================================================== --> <target name="ejb" depends="compile, jar"> <ejbjar srcdir="${grEJB.build}/classes" descriptordir="${grEJB.home}"> <include name="**/ejb-jar.xml"/> <websphere dbvendor="ORACLE_V8" ejbdeploy="true" oldCMP="false" quiet="false" tempdir="${grEJB.buildjardir}" destdir="${grEJB.build}"> <wasclasspath> <pathelement location="${websphere.home}/deploytool/itp/plugins/org.eclipse.core.boot/boo t.jar"/> <pathelement location="${websphere.home}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/ runtime/batch.jar"/> <pathelement location="${websphere.home}/lib/xerces.jar"/> <pathelement location="${websphere.home}/lib/ivjejb35.jar"/> <pathelement location="${websphere.home}/lib/j2ee.jar"/> <pathelement location="${websphere.home}/lib/vaprt.jar"/> </wasclasspath> <classpath> <pathelement path="${grEJB.sg.root.src}/deploy/grEJB.jar"/> <path refid="grEJB.classpath"/> </classpath> </websphere> <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" location="${gr.lib}/dtd/ejb-jar_1_1.dtd"/> </ejbjar> </target> Thanks, Mike This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>