Problem with Exported ant build script(WLS 8.1SP4) working with IBMJDK1.4.2

Hi,
I am trying to use the exported ant script from wls workshop for building the process application.But i am using IBM JDK 1.4.2 in AIX 5.2 box.
IBM has disintegrated the rt.jar by SUN into a number of other jar files.When i run the ant script, i have a problem like,
<b>classpath error:unable to find required rt.jar</b>
error and the build fails with
<b>noClassDefFoundError:org.apache/crimson/tree/XmlDocument</b>
I tried adding <b>rt.jar</b> into the classpath forcibly but it did not work out.
The ear file is built and packaged but the build fails.+
Do we have a fix for this either by bea or IBM?
Thanks,
Vijay

Hi
This is a known issue addressed by CR205204
As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
Thanks
Vimala

Similar Messages

  • Problem with exported ant build scripts of a  WebService Project

    Hi All,
    My current task is a migration of working application (from Weblogic 8.1 to Weblogic 10.2).
    We have several independent projects and an EAR type of project in the workshop.
    When running ant from the command line, I am getting the following build error:
    BUILD FAILED
    D:\HPRA2\Services\BuildScripts\build.xml:388: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:125: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:125: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 12 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 21 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 29 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing
    this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:380)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 37 more
    Caused by: jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while
    executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:380)
    at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
    at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
    at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
    at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    ... 45 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing
    this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:408)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    ... 55 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:408)
    at com.bea.workshop.cmdline.antlib.AntCallExTask.execute(AntCallExTask.java:118)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:406)
    ... 69 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:406)
    ... 77 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 85 more
    Caused by: java.lang.NullPointerException
    at weblogic.wsee.tools.jws.decl.WebTypeDecl.getTargetNamespace(WebTypeDecl.java:213)
    at weblogic.wsee.tools.jws.decl.WebTypeDecl.<init>(WebTypeDecl.java:84)
    at weblogic.wsee.tools.jws.decl.WebResultDecl.<init>(WebResultDecl.java:22)
    at weblogic.wsee.tools.jws.decl.WebMethodDecl.<init>(WebMethodDecl.java:68)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.buildMethod(WebServiceSEIDecl.java:317)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.initMethods(WebServiceSEIDecl.java:303)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:95)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:68)
    at weblogic.wsee.tools.jws.decl.WebServiceDeclFactory.newInstance(WebServiceDeclFactory.java:54)
    at weblogic.wsee.tools.anttasks.JwsModule.buildAndValidate(JwsModule.java:463)
    at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:454)
    at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:306)
    at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:226)
    at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:174)
    ... 93 more
    I really dont know what exactly the problem is?
    Any assistance would be highly appreciated.
    Thanks,
    Nirmal

    Hi...
    Actually the build.xml is created by the workshop itself when we use export ant scripts.
    And this build.xml contains the following target:
    &lt;target name="webservice.build" depends="init,generated.root.init"&gt;
    &lt;path id="jwsc.srcpath"&gt;
    &lt;path path="${java.sourcepath}" /&gt;
    &lt;pathelement path="build/assembly/.src" /&gt;
    &lt;/path&gt;
    &lt;taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" &gt;
    &lt;classpath&gt;
    &lt;path refid="weblogic.jar.classpath" /&gt;
    &lt;/classpath&gt;
    &lt;/taskdef&gt;
    &lt;property name="jwsc.module.root" value="${project.dir}/build/weboutput"/&gt;
    &lt;property name="jwsc.contextpath" value="TransformationWS"/&gt;
    &lt;property name="jwsc.srcpath.prop" refid="jwsc.srcpath"/&gt;
    &lt;path id="jwsc.classpath"&gt;
    &lt;path refid="weblogic.jar.classpath" /&gt;
    &lt;path refid="java.classpath" /&gt;
    &lt;pathelement path="${java.outpath}" /&gt;
    &lt;/path&gt;
    *&lt;jwsc*
    *destdir="${project.dir}/build"*
    *classpathref="jwsc.classpath"*
    *&gt;*
    &lt;module name="weboutput" explode="true" contextPath="${jwsc.contextpath}"&gt;
    &lt;jwsFileSet srcdir="${jwsc.srcpath.prop}"&gt;
    &lt;include name="**/*.java"/&gt;
    &lt;/jwsFileSet&gt;
    &lt;descriptor file="${jwsc.module.root}/WEB-INF/web.xml" /&gt;
    &lt;descriptor file="${jwsc.module.root}/WEB-INF/weblogic.xml" /&gt;
    &lt;/module&gt;
    &lt;/jwsc&gt;
    &lt;/target&gt;
    I never touch this build.xml as for rest of the services this gives no error.
    But for one of the services it gives the the error mentioned above.....
    Moreover the property "*jwsc.classpath*" is not set in the script.
    Although it seems that build script tries to set this property. How can I manually set this property as to run the script successfully.
    Thanks
    Nirmal...
    Edited by: nirmal_kumar on Jan 4, 2009 11:02 PM
    Edited by: nirmal_kumar on Jan 4, 2009 11:05 PM

  • Error in Ant APT task when using exported WLP 10.3 Ant build scripts

    Hi -
    I'm trying to run the exported ANT build scripts for a default portal web app from the command line (either a windows shell or a cygwin shell) and I get the following error on both occasions :
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
    More details :
    $ ant -v -Dworkspace=C:\\BEA\\Workspaces\\PortalTutorials\\workspace.xml
    Apache Ant version 1.7.1 compiled on June 27 2008
    Buildfile: build.xml
    Detected Java version: 1.6 in: c:\BEA_10.3\jdk160_05\jre
    Detected OS: Windows XP
    parsing buildfile c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml with URI = file:/c:/BEA/Projects/PortalTutorials/tutorial-portal-web/build.xml
    Project base dir set to: c:\BEA\Projects\PortalTutorials\tutorial-portal-web
    [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
    Build sequence for target(s) `build' is [init.env, check.params, check.versions, init.typedefs, init, build]
    Complete build sequence is [init.env, check.params, check.versions, init.typedefs, init, build, stage, archive, clean, clean.all, assemble, generated.root.init, assembly, stage.to.ear, ]
    init.env:
    [property] Loading Environment env.
    check.params:
    Property "env.WORKSHOP_WORKSPACE" has not been set
    check.versions:
    init.typedefs:
    [echo] Using Workshop Libraries located in the "C:\BEA\Workspaces\PortalTutorials\workshop-lib" directory.
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml
    Trying to override old definition of task apt
    [macrodef] creating macro structselector
    [presetdef] defining preset resolve
    [macrodef] creating macro for-each-java-src-path
    [macrodef] creating macro for-each-resource-path
    [macrodef] creating macro for-each-referenced-component
    [macrodef] creating macro for-each-referenced-project
    [macrodef] creating macro for-each-project-in-build-order
    parsing buildfile jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml with URI = jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-wls-antlib.jar!/com/bea/workshop/wls/antlib/antlib.xml
    Trying to override old definition of task jspc
    init:
    Property "patch.home" has not been set
    build:
    [mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\.apt_src because it already exists.
    [available] Found: src\main\java
    [mkdir] Skipping c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build\classes because it already exists.
    [apt] [web.content.root]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/webapp]
    [apt] [web.source.roots]|[c:\BEA\Projects\PortalTutorials\tutorial-portal-web/src/main/java]
    BUILD FAILED
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:106: The following error occurred while executing this line:
    jar:file:/C:/BEA/Workspaces/PortalTutorials/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:54: The following error occurred while executing this line:
    c:\BEA\Projects\PortalTutorials\tutorial-portal-web\build.xml:122: Apt task requires Java 1.5+
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    I tried using a lower JDK 1.5.x - but that failed as well (complaining that 1.6 was needed).
    Any help will be appreciated.
    Rgds/Deepak

    Hi,
    Have you find a solution for this problem?
    I have exactly the same one. I must build my web-services with some dependence compiled on java 1.6 so I need to use the APT task with a java 1.6 but the problem "Apt task requires Java 1.5+" appear.
    Thanks in advance for your answer.

  • Problems deploying ear file created with ant build script

    Hi All,
    I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any Weblogic Server.
    I created my ant build script and it compiles/builds fine - the .ear file looks good. However, when I attempt to deploy it, it fails with
    javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         Truncated. see log file for complete stacktrace
    >
    <Nov 2, 2011 2:43:43 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320266599219' for task '3'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "###"
    I am not sure how to tell weblogic where to find the classes needed. I have a pretty huge classpath used when compiling - should I be putting the classpath in the manifest (?) - I don't think I should need to include the .jar files manually in the .ear file - since all the libraries should already be available in weblogic - or is that a misconception?
    Please help!!

    I answered my own question -
    I had to manually add the following to the WEB-INF/lib to get the error to go away:
    ${ORACLE_HOME}/modules/javax.jsf_1.1.0.0_1-2.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar
    that solved my problem. However, I think it'd be great if I could somehow just specify (in the weblogic-application.xml maybe?) that my application is using the above modules without having to copy the jar files into my WEB-INF/lib - any suggestions?
    Thanks

  • Problem building WLI 10.2 applications with exported ant build files

    Hello,
    I'm trying to build a WLI application without the workshop IDE. To accomplish this I exported ant build files, workspace.xml and the workspace libraries.
    When I run the build, I get the following (part of the) stacktrace:
    [apt] Compiling 8 source files to C:\development\BuildOFOP\workspace\ContractAccountService-Web\build\classes
    [apt] warning: Annotation types without processors: [com.bea.wli.transform.XQueryTransform.SchemaValidate]
    [apt] java.io.FileNotFoundException: File not found
    [apt] at java.util.zip.ZipFile.open(Native Method)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:76)
    [apt] at com.bea.wli.bpm.bean.codegen.JarHelper.unJar(JarHelper.java:31)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:749)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:704)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generateBeans(JpdAnnotationProcessor.java:343)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generate(JpdAnnotationProcessor.java:56)
    [apt] at com.bea.wli.knex.ap.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:103)
    [apt] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
    [apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
    [apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:938)
    [apt] at com.sun.tools.apt.Main.processing(Main.java:95)
    [apt] at com.sun.tools.apt.Main.process(Main.java:43)
    [apt] at com.sun.tools.apt.Main.main(Main.java:34)
         [apt] Problem encountered during annotation processing;
    [apt] see stacktrace below for more information.
    [apt] java.lang.IllegalStateException: Error customizing project beans; could not locate weblogic home null
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:769)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:704)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generateBeans(JpdAnnotationProcessor.java:343)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generate(JpdAnnotationProcessor.java:56)
    [apt] at com.bea.wli.knex.ap.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:103)
    [apt] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
    [apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
    [apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:938)
    [apt] at com.sun.tools.apt.Main.processing(Main.java:95)
    [apt] at com.sun.tools.apt.Main.process(Main.java:43)
    [apt] at com.sun.tools.apt.Main.main(Main.java:34)
    [apt] Caused by: java.io.FileNotFoundException: File not found
    [apt] at java.util.zip.ZipFile.open(Native Method)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:76)
    [apt] at com.bea.wli.bpm.bean.codegen.JarHelper.unJar(JarHelper.java:31)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:749)
    [apt] ... 12 more
    Anyone got any idea what might be the problem here? I did followed the BEA instructions for exporting the ant build files.
    Grtz, Jaco

    Hi
    This is a known issue addressed by CR205204
    As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
    IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
    You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
    Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
    Thanks
    Vimala

  • Error while running ant build script from cmd line -ORABPEL-01005

    Hi to all,
    I am newbie to BPEL, I did a sample application SyncHelloWorldBPEL application in Jdev and I deployed it application server everything looks good.
    When I ran the same ant build script from command line it throw me bunch of complation error.
    Anyone please help me out
    bpel.init:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Intializing BPEL Process....      
    [echo] --------------------------------------------------------------
    [echo]
    [echo] ----------------------------------------
    [echo] | Loading Dependency Jar Files : C:\Oracle\JDeveloper\integration\lib\orabpel-ant.jar;C:\Oracle\JDeveloper\integration\lib\orabpel.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-thirdparty.jar;C:\Oracle\JDeveloper\integration\lib\oracle_http_client.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-common.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-exts.jar;C:\Oracle\JDeveloper\integration\lib\connector15.jar;C:\Oracle\JDeveloper\integration\lib\commons-codec-1.3.jar;C:\Oracle\JDeveloper\lib\xmlparserv2.jar;C:\Oracle\JDeveloper\lib\xml.jar;C:\Oracle\JDeveloper\webservices\lib\orawsdl.jar
    [echo] ----------------------------------------
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating BPEL workflow
    [echo] --------------------------------------------------------------
    [echo]
    [validateTask] Validation of workflow task definitions is completed without errors
    compile.bpel:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Compiling bpel process SyncHelloWorld, revision 2.0
    [echo] | Class Path : C:\Oracle\JDeveloper\integration\lib\orabpel-ant.jar;C:\Oracle\JDeveloper\integration\lib\orabpel.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-thirdparty.jar;C:\Oracle\JDeveloper\integration\lib\oracle_http_client.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-common.jar;C:\Oracle\JDeveloper\integration\lib\orabpel-exts.jar;C:\Oracle\JDeveloper\integration\lib\connector15.jar;C:\Oracle\JDeveloper\integration\lib\commons-codec-1.3.jar;C:\Oracle\JDeveloper\lib\xmlparserv2.jar;C:\Oracle\JDeveloper\lib\xml.jar;C:\Oracle\JDeveloper\webservices\lib\orawsdl.jar
    [echo] --------------------------------------------------------------
    [echo]
    [bpelc] validating "C:\AMG\CI_Project\SyncHelloWorldBPEL\.\bpel\SyncHelloWorld.bpel" ...
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:51: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpws", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:52: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xp20", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.Xpath20");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:53: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns1", "http:\/\/xmlns.oracle.com\/bpel\/workflow\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:54: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ldap", "http:\/\/schemas.oracle.com\/xpath\/extension\/ldap");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:55: Invalid escape character.
    [bpelc] __NSPrefixMap.put("xsd", "http:\/\/www.w3.org\/2001\/XMLSchema");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:56: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns3", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.esb.server.headers.ESBHeaderFunctions");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:57: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ns2", "http:\/\/xmlns.oracle.com\/bpel\/services\/IdentityService\/xpath");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:58: Invalid escape character.
    [bpelc] __NSPrefixMap.put("bpelx", "http:\/\/schemas.oracle.com\/bpel\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
    [bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
    [bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:59: Invalid escape character.
    [bpelc] __NSPrefixMap.put("client", "http:\/\/xmlns.oracle.com\/SyncHelloWorld");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:60: Invalid escape character.
    [bpelc] __NSPrefixMap.put("ora", "http:\/\/schemas.oracle.com\/xpath\/extension");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
    [bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
    [bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
    [bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
    [bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
    [bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:61: Invalid escape character.
    [bpelc] __NSPrefixMap.put("orcl", "http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
    [bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
    [bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
    [bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
    [bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
    [bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
    [bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:62: Invalid escape character.
    [bpelc] __NSPrefixMap.put("", "http:\/\/schemas.xmlsoap.org\/ws\/2003\/03\/business-process\/");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
    [bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
    [bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:78: Invalid escape character.
    [bpelc] __pl.put("partnerLinkType", new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
    [bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
    [bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:115: Invalid escape character.
    [bpelc] __initiatePartnerLinkQNames[0] = new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client" );
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
    [bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
    [bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:146: Invalid escape character.
    [bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
    [bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
    [bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:151: Invalid escape character.
    [bpelc] return new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld", "client");
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
    [bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
    [bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:192: Invalid escape character.
    [bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldRequestMessage", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
    [bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
    [bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:196: Invalid escape character.
    [bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessRequest", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:203: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessRequest xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\"\/>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
    [bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
    [bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:211: Invalid escape character.
    [bpelc] msgVar.setMessageType(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldResponseMessage", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
    [bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
    [bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:215: Invalid escape character.
    [bpelc] part.setElement(new javax.xml.namespace.QName("http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorldProcessResponse", "client"));
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:222: Invalid escape character.
    [bpelc] xml = "<SyncHelloWorldProcessResponse xmlns=\"http:\/\/xmlns.oracle.com\/SyncHelloWorld\">\r\n <result\/>\r\n<\/SyncHelloWorldProcessResponse>\r\n";
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
    [bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
    [bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
    [bpelc] ^
    [bpelc] C:\AMG\CI_Project\SyncHelloWorldBPEL\.\deploy\temp\bpelc38101.tmp\BPEL-INF\src\bpel\synchelloworld\BPEL_BIN.java:234: Invalid escape character.
    [bpelc] __pl.setPartnerLinkType(new javax.xml.namespace.QName( "http:\/\/xmlns.oracle.com\/SyncHelloWorld", "SyncHelloWorld" ) );
    [bpelc] ^
    [bpelc] Too many errors. (The limit on reported errors is 100.)
    [bpelc] 126 errors
    [bpelc] ORABPEL-01005
    [bpelc]
    [bpelc] Failed to compile classes.
    [bpelc] Failed to compile the generated BPEL classes for "SyncHelloWorld".
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.compileGeneratedClasses(CubeProcessor.java:972)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:572)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:457)
    [bpelc]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [bpelc]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [bpelc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [bpelc]      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    [bpelc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [bpelc]      at java.lang.reflect.Method.invoke(Method.java:585)
    [bpelc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [bpelc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [bpelc]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [bpelc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [bpelc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [bpelc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [bpelc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [bpelc]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [bpelc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [bpelc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [bpelc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    BUILD FAILED
    C:\AMG\CI_Project\SyncHelloWorldBPEL\build.xml:127: ORABPEL-01005

    More precisely its porblem with commons-lang package
    I am using commons-lang 2.4.jar file due to this it generated above error.
    I reverted it back to earlier version now its working with apache ant 1.7.0

  • Running ant build scripts from cmd fails on Windows Server

    Hi all!
    I'm trying to build and package ME on a Windows Server calling the ant build script targets from cmd. This works fine on a Windows XP machine. On a Windows Server machine however the ant internal calls to nwcetool.bat are failing because -files are not found in DEPLOYARCHIVES. And these files are really not there although they should have been created by nwcetool.
    Does anyone have a clue why calling ant build script in cmd on a Windows XP machine will work but fails on Window Server?
    Thanks a lot!

    And this is part 2 :
    package.sca.impl:
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\create.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\create.application.xml
         echo 2011-04-07 09:33:45 Creating application descriptor.
         xslt Processing C:\SAP\SAPME\SDK\extension\META-INF\application.xml to C:\SAP\SAPME\SDK\build\results\server\create.application.xml\application.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\create-application-xml.xslt
         xslt ejbModule=
         xslt webModule=salt-webservice
         copy Copying 1 file to C:\SAP\SAPME\SDK\extension\META-INF
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
         echo 2011-04-07 09:33:45 Merging application descriptor "C:\SAP\SAPME\SDK\extension\META-INF/application.xml" with "C:\SAP\SAPME\SDK\build\results\server\master\resources\xml/application.xml".
         xslt Processing C:\SAP\SAPME\SDK\build\results\server\master\resources\xml\application.xml to C:\SAP\SAPME\SDK\build\results\server\merge.application.xml\merged.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\jee-application-merge.xslt
         xslt jee-application-merge: file to merge is C:\SAP\SAPME\SDK\extension\META-INF/application.xml
         xslt jee-application-merge: checking for module conflicts...
         xslt jee-application-merge: Base EJBs=me.activity.ejb-5.2.5.3-Base.jar m
    e.alarm.ejb-5.2.5.3-Base.jar me.appconfig.ejb-5.2.5.3-Base.jar me.backgroundproc
    ess.ejb-5.2.5.3-Base.jar me.browse.ejb-5.2.5.3-Base.jar me.common.frame.ejb-5.2.
    5.3-Base.jar me.container.ejb-5.2.5.3-Base.jar me.correctiveaction.ejb-5.2.5.3-B
    ase.jar me.customdata.ejb-5.2.5.3-Base.jar me.datacollection.ejb-5.2.5.3-Base.ja
    r me.dbsequence.ejb-5.2.5.3-Base.jar me.defaultvalue.ejb-5.2.5.3-Base.jar me.dem
    and.ejb-5.2.5.3-Base.jar me.integration.xml.ejb-5.2.5.3-Base.jar me.inventory.ej
    b-5.2.5.3-Base.jar me.nonconformance.ejb-5.2.5.3-Base.jar me.productdefinition.e
    jb-5.2.5.3-Base.jar me.production.ejb-5.2.5.3-Base.jar me.status.ejb-5.2.5.3-Bas
    e.jar me.numbering.ejb-5.2.5.3-Base.jar me.diagnostics.ejb-5.2.5.3-Base.jar me.d
    ocument.ejb-5.2.5.3-Base.jar me.httpserver.ejb-5.2.5.3-Base.jar me.integration.c
    nc.ejb-5.2.5.3-Base.jar me.integration.collaboration.ejb-5.2.5.3-Base.jar me.int
    egration.sap.ejb-5.2.5.3-Base.jar me.labor.ejb-5.2.5.3-Base.jar me.user.ejb-5.2.
    5.3-Base.jar me.ods.ejb-5.2.5.3-Base.jar me.plant.ejb-5.2.5.3-Base.jar me.produc
    tiondate.ejb-5.2.5.3-Base.jar me.reasoncode.ejb-5.2.5.3-Base.jar me.reporting.ej
    b-5.2.5.3-Base.jar me.rtw.ejb-5.2.5.3-Base.jar me.script.ejb-5.2.5.3-Base.jar me
    .security.ejb-5.2.5.3-Base.jar me.solutionverification.ejb-5.2.5.3-Base.jar me.t
    imegranularity.ejb-5.2.5.3-Base.jar me.tooling.ejb-5.2.5.3-Base.jar
         xslt jee-application-merge: SSP EJBs=
         copy Copying 1 file to C:\SAP\SAPME\SDK\build\results\server\sda\META-INF
         copy Copying 163 files to C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
          jar Building jar: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES\me.ear
         echo 2011-04-07 09:33:45 nwce.tool=C:\SAP\SAPME\SDK\build\tools\ceclt\nwcetool\nwcetool.bat, nwce.tool.lib=C:\SAP\SAPME\SDK\build\tools\ceclt\lib, CECLT JDK=C:Program Files (x86)Javajdk1.5.0_22
         echo 2011-04-07 09:33:45 Executing CECLT with the following arguments:
    -c "createsda -n me/ear -v sap.com -l local -type J2EE -counter 5.2.5.3.330 -scn
    ME -scv sap.com -deps sap.com:me/security/loginmodule BUILDARCHIVES\me.ear DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base" -e
         exec The filename, directory name, or volume label syntax is incorrect.
         exec Result: 1
    BUILD FAILED
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1665: The following error occurred while executing this line:
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1723: Warning: Could not find file C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base.ear to copy.

  • ANT build script to deploy .EAR file SAP NetWeaver Web Application Server

    Can any one please tell me to deploy the .ear file with ANT build script in SAP NetWeaver Web Application Server.
    Thanks in advance.
    Regards,
    Venkat.

    Try these threads:
    Re: Is there a way to start a J2EE application per command line?
    Scripted WAS App Start Stop Deploy

  • Ant build script for a WebCenter Portal Application

    Hi,
    I have created a basic WebCenter Portal Application in jdeveloper. I want to create a war file of this application using ant build script.
    Created a build.xml file using the "Buildfile from project" option from the New Gallery option.
    Can anyone help me to code the portion in the build.xml file, where I can create a war file...
    Currently the bild.xml file has all the libraries reffered in it and also the following code
    <target name="init">
    <tstamp/>
    <mkdir dir="${output.dir}"/>
    </target>
    <target name="all" description="Build the project" depends="compile,copy"/>
    <target name="clean" description="Clean the project">
    <delete includeemptydirs="true" quiet="true">
    <fileset dir="${output.dir}" includes="**/*"/>
    </delete>
    </target>
    <target name="compile" description="Compile Java source files" depends="init">
    <javac destdir="${output.dir}" classpathref="classpath"
    debug="${javac.debug}" nowarn="${javac.nowarn}"
    deprecation="${javac.deprecation}" encoding="Cp1252" source="1.6"
    target="1.6">
    <src path="src"/>
    </javac>
    </target>
    <target name="copy" description="Copy files to output directory"
    depends="init">
    <patternset id="copy.patterns">
    <include name="**/*.gif"/>
    <include name="**/*.jpg"/>
    <include name="**/*.jpeg"/>
    <include name="**/*.png"/>
    <include name="**/*.properties"/>
    <include name="**/*.xml"/>
    <include name="**/*.ejx"/>
    <include name="**/*.xcfg"/>
    <include name="**/*.cpx"/>
    <include name="**/*.dcx"/>
    <include name="**/*.sva"/>
    <include name="**/*.wsdl"/>
    <include name="**/*.ini"/>
    <include name="**/*.tld"/>
    <include name="**/*.tag"/>
    <include name="**/*.xlf"/>
    <include name="**/*.xsl"/>
    <include name="**/*.xsd"/>
    </patternset>
    <copy todir="${output.dir}">
    <fileset dir="src">
    <patternset refid="copy.patterns"/>
    </fileset>
    </copy>
    </target>
    Please help. Thanks in advance.

    After creating the build.xml file as mentioned above for my WebCenter Portal application, When I try to run the login.jspx page, it is unseccessful . It throws me an error
    [10:53:44 AM] #### Deployment incomplete. ####
    [10:53:44 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application TestBuildApplication due to error deploying to IntegratedWebLogicServer.
    [Application TestBuildApplication stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Created another sample WebCenter Portal application without selecting Ant in project technologies and then when I run the login.jspx of that application, it was success. The page opened properly.
    What can be the issue for this?

  • ANT Build script failing while generating junit style reports

    Hi,
    Actually I got an ANT build script which does the following:
    1) compiles AS code and generates swc
    2) generate AS docs
    3) compiles flex unit reports
    4) Generate wrappers
    the last part is getting the xml style reporting.
    here is the ant script for that part:
    <target name="executeTestRunner" description="executes the test runner app">
                        <echo>Running Test Runner SWF</echo>
                        <flexunit swf="${Test.dir}/${TestRunner.name}.swf"
                                  toDir="${FlexUnitReport.dir}"
                                  haltonfailure="false"
                                  verbose="true"
                                  localTrusted="true"/>
                        <echo>Ran Test Runner SWF</echo>
                        <echo>Generate Readable Tests</echo>
                        <junitreport todir="${FlexUnitReport.dir}">
                                  <fileset dir="${FlexUnitReport.dir}">
                                            <include name="Test-*.xml"/>
                                  </fileset>
                                  <report format="frames" todir="${FlexUnitReport.dir}/html"/>
                        </junitreport>
                        <echo>Generated Readable Tests</echo>
              </target>
    I got this error after running:
    flexunit] haltonfailure: [false]
    [flexunit] headless: [false]
    [flexunit] display: [99]
    [flexunit] localTrusted: [true]
    [flexunit] player: [flash]
    [flexunit] command: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugg er.exe]
    [flexunit] port: [1024]
    [flexunit] swf: [C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunne r.swf]
    [flexunit] timeout: [60000ms]
    [flexunit] toDir: [C:\Users\user\Documents\workspace\project\report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    I added CIlistener part in mxml also.
    import org.flexunit.listeners.CIListener;
    core.addListener(new CIListener());
    still getting the error.
    Any one can help on this.. The intent is to get the headless reports for flex application same as we do phantom/jasmine thing in javascript.
    Thank a lot
    Mayank

    Hi,
    Actually I got an ANT build script which does the following:
    1) compiles AS code and generates swc
    2) generate AS docs
    3) compiles flex unit reports
    4) Generate wrappers
    the last part is getting the xml style reporting.
    here is the ant script for that part:
    <target name="executeTestRunner" description="executes the test runner app">
                        <echo>Running Test Runner SWF</echo>
                        <flexunit swf="${Test.dir}/${TestRunner.name}.swf"
                                  toDir="${FlexUnitReport.dir}"
                                  haltonfailure="false"
                                  verbose="true"
                                  localTrusted="true"/>
                        <echo>Ran Test Runner SWF</echo>
                        <echo>Generate Readable Tests</echo>
                        <junitreport todir="${FlexUnitReport.dir}">
                                  <fileset dir="${FlexUnitReport.dir}">
                                            <include name="Test-*.xml"/>
                                  </fileset>
                                  <report format="frames" todir="${FlexUnitReport.dir}/html"/>
                        </junitreport>
                        <echo>Generated Readable Tests</echo>
              </target>
    I got this error after running:
    flexunit] haltonfailure: [false]
    [flexunit] headless: [false]
    [flexunit] display: [99]
    [flexunit] localTrusted: [true]
    [flexunit] player: [flash]
    [flexunit] command: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugg er.exe]
    [flexunit] port: [1024]
    [flexunit] swf: [C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunne r.swf]
    [flexunit] timeout: [60000ms]
    [flexunit] toDir: [C:\Users\user\Documents\workspace\project\report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    I added CIlistener part in mxml also.
    import org.flexunit.listeners.CIListener;
    core.addListener(new CIListener());
    still getting the error.
    Any one can help on this.. The intent is to get the headless reports for flex application same as we do phantom/jasmine thing in javascript.
    Thank a lot
    Mayank

  • How to use single ant build script to package the application with and without native extensions

    Hi,
    I am using iOS native extensions for Adobe air. For this I am listing the extensions in the application descriptor file. Since the package with native extensions are meant to run only on device, I want my build script to work without native extensions too to be able to run on simulator. Is this manadatory that I need two separate application descriptors/basically two build scripts to compile and package them? Please suggest and let me know if more explanation is needed.
    Thanks,
    Swathi.

    Hi
    This is a known issue addressed by CR205204
    As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
    IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
    You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
    Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
    Thanks
    Vimala

  • Ant build script for WebLogic Portal 10.3 projects

    Hi Friends,
    I am going thru this document http://download.oracle.com/docs/cd/E12840_01/wlw/docs103/guide/ideuserguide/build/conUseCustomAntBuild.html#metadata about building ant script for my portal project. The document does not state few things clearly. Can you please help me to understand.
    It says:
    To Build an EAR File Using the Ant Script:
    1. Generate the Ant script for each project in the EAR.
    2. Generate the Ant script for the EAR project.
    3. Configure the execution environment of your shell by executing wl.home/common/bin/commEnv.sh
    4. Change to the Eclipse directory for the EAR project.
    5. Execute the desired target in the EAR project's Ant script as follows:
    ant build archive -Dworkspace=workspacepath
    A) When I generate ant script, workshop generates build.xml file in each project directory and that includes EAR project as well. Then, point 2 is not clear, how do I generate another ant script (build.xml) for the EAR project?
    B) I do not understand, "change to the eclipse directory for the EAR project". Does it mean, change to the directory of EAR project folder which has build.xml?
    C) in step-5, execute the desired target, when I execute it, how it will know where are other build.xml files for other projects?
    Regards,
    JT

    Hi Greg,
    I moved little bit but then got stuck with new kind of error.
    a. First of all, my application has a 'data' project (.usr) file. When I try to generate ant scripts (build.xml), it says that 'data' project is not compatible with Workshop ant scripts. However, Workshop inbuilt EXPORT->EAR is able to build the projects without any error.
    b. So, I thought, let's put a dummy build.xml file under 'data' project directory. This let ant build to proceed further. However, now it fails with error that <web project>/build.xml (line no. 122). Which is nothing but memory declaration (memoryMaximumSize="1024m"). The error says, 'unable to launch apt compiler', I am not able to understand what is it? The other projects' (ejb, controls etc.) build.xml has this declaration but they did not give this error, they built fine.
    <web project>/build.xml
    <target name="build" depends="init" description="compiles the source files; does not package the results">
    <if>
    <isreference refid="apt.factory.path"/>
    <then>
    <mkdir dir="${apt.src.output.dir}"/>
    <for-each-java-src-path>
    <if>
    <available file="${.java.src.dir}"/>
    <then>
    <mkdir dir="${.java.src.output}"/>
    <apt
    sourcepath="${java.sourcepath}"
    srcdir="${.java.src.dir}"
    includes="${.java.src.include}"
    excludes="${.java.src.exclude}"
    destdir="${.java.src.output}"
    preprocessdir="${apt.src.output.dir}"
    classpathref="java.classpath"
    factorypathref="apt.factory.path"
    options="${apt.options}"
    compile="false"
    memoryMaximumSize="1024m"/>
    </then>
    </if>
    </for-each-java-src-path>
    </then>
    </if>
    Regards,
    JT
    Edited by: user6917422 on Apr 1, 2009 9:29 PM
    Edited by: user6917422 on Apr 1, 2009 9:57 PM

  • Ant build script not working...

    Hi!
    I'm having problems using Ant to build a WLI-application in a HP-UX
    production environment. I exported the Ant buildscripts in Weblogic
    Integration (in NT) and made minor adjustments which do not change
    classpaths or anything for the taskdefs used. All of the builds I do for
    other parts of the app work just fine, but when compiling the processes
    (.jpd-files) I get the following error for each process:
    [webappbuild] DESCRIPTION: An I/O Exception occurred while attempting to
    write the deployment descriptors for Enterprise Java Beans. Error:
    Production rule file
    '/com/bea/wlw/runtime/core/bean/codegen/ejb-jar.template' not found.
    the "ejb-jar.template' file resides in the knex.jar file which is
    included in the classpath used for the build. Can anyone help me out
    here on this one? One other thing to mention is that when I build the
    application using Workshop in our development environment, there are no
    problems, even if we have switched from using the "IDE build" to using
    the Ant build even there....
    Here is the Antscript for the processes:
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="Web Application project build" default="build">
    <property environment="env" />
    <!-- Load local and user build preferences -->
    <property file="../build.properties"/> <!-- Component
    local -->
    <property file="${user.home}/build.properties"/> <!-- User local
    -->
    <!-- These properties are auto-set to match correct local values when
    executed within the IDE. -->
    <property name="project.local.directory"
    value="${app.local.directory}/PrimaVera" />
    <!--end auto properties -->
    <path id="task.classpath">
    <!-- External dependencies -->
    <fileset dir="${platformhome.local.directory}">
    <include name="javelin/lib/javelin.jar"/>
    <include name="common/lib/log4j.jar" />
    <include name="server/lib/knex.jar" />
    <include name="server/lib/xbean.jar" />
    <include name="server/lib/xqrl.jar" />
    <include name="server/lib/weblogic.jar"/>
    <include name="server/lib/wli.jar"/>
    <include name="server/lib/xmarshal.jar"/>
    </fileset>
    </path>
    <!-- WLI IDE Classpath -->
    <path id="ide.class.path">
    <pathelement location="${javalib.home}/lib/tools.jar"/>
    <pathelement location="${javalib.home}/jre/lib/rt.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/knex.jar"/>
    <pathelement
    location="${platformhome.local.directory}/common/lib/log4j.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/debugging.jar"/>
    <pathelement
    location="${platformhome.local.directory}/javelin/lib/javelin.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/wlw-lang.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/weblogic.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/webservices.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/webserviceclient.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/webserviceclient+ssl.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/wli.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/xbean.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/xmarshal.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/xqrl.jar"/>
    <pathelement
    location="${platformhome.local.directory}/server/lib/netui/netui-compiler.jar"/>
    <pathelement
    location="${app.local.directory}/APP-INF/lib/iaik_jce_full.jar"/>
    <pathelement
    location="${app.local.directory}/APP-INF/lib/iipax_shs_api.jar"/>
    <pathelement
    location="${app.local.directory}/APP-INF/lib/iipax_shs_sdk.jar"/>
    <pathelement
    location="${app.local.directory}/APP-INF/lib/PVDatabas.jar"/>
    <pathelement
    location="${app.local.directory}/APP-INF/lib/RIBrygga.jar"/>
    <pathelement
    location="${app.local.directory}/APP-INF/lib/Schemas.jar"/>
    <pathelement location="${app.local.directory}/APP-INF/lib/Vera.jar"/>
    <pathelement
    location="${app.local.directory}/APP-INF/lib/Gemensam.jar"/>
    <pathelement location="${app.local.directory}/APP-INF/lib/Vera.jar"/>
    </path>
    <taskdef name="webappbuild"
    classname="com.bea.wlw.runtime.core.ear.WebAppBuildTask"
    classpathref="task.classpath"/>
    <taskdef name="webappclean"
    classname="com.bea.wlw.runtime.core.ear.WebAppCleanTask"
    classpathref="task.classpath"/>
    <target name="build" description="Build this Web project">
    <property name="class.path" refid="ide.class.path"/>
    <antcall target="clean" />
    <webappbuild appdir="${app.local.directory}"
    appname="${appname}"
    servername="${servername}"
    domainroot="${domainroot}"
    verbose="false"
    nowarn="false"
    noerr="false"
    serverbuild="true">
    <Webapp name="${webappname}" contextroot="${webappcontextroot}"
    uri="${webappuri}" classpath="${class.path}"/>
    </webappbuild>
    </target>
    <!-- Clean resources -->
    <target name="clean" description="Clean this Web project">
    <webappclean appdir="${app.local.directory}"
    appname="${appname}"
    servername="${servername}"
    domainroot="${domainroot}"
    webappname="${webappname}"
    webappcontextroot="${webappcontextroot}"
    webappuri="${webappuri}" />
    </target>
    </project>
    Thankful for any help on this matter,
    /Eje Thorarinsson

    I found this post which gave me a clue as to what was happenning: http://forums.adobe.com/message/4653048
    The app id was wrong.

  • Exported ANT build hangs on clean target

    I've exported an ant build file. When I try to run this ANT build file from the command line, it stalls on a clean target in the portal project.
    The custom controls project compiles fine, and the same with data project (which part of the standard portal setup), but when the real portal projects starts to build it hangs with the following trace:
    [wlwBuild] [Build] Application Build Status: tk_portal
    [wlwBuild] [Build] BUILD STARTED
    [wlwBuild] [Build] build:
    [wlwBuild] [Build] clean:
    It's a rather large portal project.
    Anyone experienced something similar?
    Trond Andersen, Invenia AS, +4798290811

    Most likely you're seeing a Windows file sharing violation issue. It's likely that the other process holding the file you're trying to delete is WebLogic itself. You could try stopping the server before you do the command-line build.
    It's handy to have a tool like "ProcessExplorer" from SysInternals for situations like this. You can use it to determine which processes have a file handle open. You can use SysInternal's "FileMon" tool to see what file handles are being referenced in real-time.

  • Ant build script for SOA application

    Hi All,
    I am trying to write a build script to handle deployments from the Linux server which host the SOA environment. Also, I am using Subversion as my version control on a different machine. I found a sample example of building using ant script, but this is applicable if the source code is based locally. But what if it is in remote version control
    ant -f ant-sca-package.xml
    -DcompositeDir=C:\po\POProcessing\POProcessing
    -DcompositeName=POProcessing
    -Drevision=1.0
    -Dscac.application.home=C:\po\POProcessing
    Please suggest how to go with the build script.
    Thanks
    Jigo

    Has anybody tried getting the source code from subversion for ant build of a SOA composite.
    Thanks

Maybe you are looking for