Hi, My project was originally running on WAS and Portal 5.1 environment with ejb2.0.But recently there is a migration activity started in which I had migrated the ejb module from 2.0 to 2.1 using RAD(7.5) migration Wizard. I am trying to build my ejb(2.1)module using the same build script that worked for ejb2.0 through ant(Apache ANT 1.6.1)on WAS6.1. I'm getting the following error: Unable to parse setupCmdLine: null\bin\setupCmdLine.bat (The system cannot find the path specified.) at com.ibm.ws.ant.utils.ProjectUtils.reportError(ProjectUtils.java:30) at com.ibm.ws.ant.utils.WasUtils.parseScriptFile(WasUtils.java:257) at com.ibm.ws.ant.utils.WasUtils.parseProfileScriptFile(WasUtils.java:13 6) at com.ibm.ws.ant.utils.WasUtils.parseSetupCmdLine(WasUtils.java:115) at com.ibm.websphere.ant.tasks.WsEjbDeploy.execute(WsEjbDeploy.java:519) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) My build script is as follows: <!-- load environment specific settings --> <!-- init parameters--> <!-- May be any initialization task could be performed --> <!-- Make the directory structure needed for the build. --> <!-- Compile the classes --> <!-- Build EJB jar --> <!-- <copy todir="${build.classes.dir}/lib"> <fileset dir="${libraries}"> <include name="AviationPOCCommon.jar"/> </fileset> </copy> --> wsejbdeploy on ${JAR.name} after task defff1244 %${global.temp.dir}/${NonDeployEJB.name}% %${global.temp.dir}% %project.class.path% %${was5.home.dir}% ${dist.dir}/${JAR.name} end <!-- Create client JAR from EJB JAR --> <!-- Copy the generated JAR in other project's library folder --> Please do let me know if anyone came across this issue and solved it successfully.