Build.xml deployment

I would like to replicate the action of JDeveloper compiling and deploying a given process to a remote BPEL PM Server.
When I establish the BPELPM server connection in jdev, I just specify the host/port and I'm prompted for password and domain at deployment time.
How can I replicate this in a build.xml using obant? The server is running on midtier of OAS on an OC4J titled OC4J_BPEL.
My real objective is to deploy to multiple servers in the same script, but need to get one working first.

I'd like to use the 'scp' ANT task via obant but it does not seem to be available with the default configuration. I fetched the jsh jar file as instructed by the ANT manual (http://ant.apache.org/manual/OptionalTasks/scp.html).
I'm still not able to use the 'scp' task. Below is the output from obant upon reading the 'scp' task:
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'scp'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.

Similar Messages

  • AIA Installing and Deploying Demo Application failed:Build.xml not found

    Hi,
    i am trying to install demo application using following steps
    Extract Foundation Pack Demo under <AIA_HOME>.
    If not already done so, set environment variables:
    For Linux (bash shell)
    source <AIA_HOME>/aia_instances/<aia_instance>/bin/aiaenv.sh
    For Windows
    Navigate to aiaenv.bat located in <AIA_HOME>\aia_instances\<aia_instance>\bin
    Run aiaenv.bat
    You may have to assign higher memory values in your JVM parameter settings for demo to deploy if you have not set the maximum possible value already. Use the following three steps as guidance to configure JVM parameters:
    Navigate to <Middleware home>\user_projects\domains\<domain_name>\bin
    Update the following parameter in the setSOADomainEnv.sh (for Linux) and setSOADomainEnv.cmd (for Windows) file:
    USER_MEM_ARGS=""-Xms2048M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M -Xmn1228M -XX:SurvivorRatio=10""
    Note: These are recommended values while using Sun JVM. Actual values that you set depend on your system configurations. When running on dedicated hosts, you can set the JVM heap size as high as possible. Higher value results in better performance. However this number is constrained by the operating system's addressable memory space.
    Restart SOA server
    Run the deployment script:
    At the command line prompt, run the following command for your platform:
    For Linux:
    cd $AIA_HOME/samples/AIADemo/config
    ant -f deployDemo.xml
    For Windows:
    cd %AIA_HOME%\samples\AIADemo\config
    ant –f deployDemo.xml
    while runiing the deployment script it showing build.xml not exist..
    Error Details
    D:\Soasuite\oracle\Middleware\SOASuite11gR1PS4\oracle_common\samples\AIADemo\con
    fig>ant -f deployDemo.xml
    Buildfile: build.xml does not exist!
    Build failed
    Any suggestions
    Thanks in advance

    Hi
    This is the location i am having my installation because in this location only MY AIA instance got created.
    Here i am pasting my env variable setup in aiaenv.bat file
    #set environment variables
    set AIA_HOME=D:\\Soasuite\oracle\Middleware\SOASuite11gR1PS4\oracle_common
    set MW_HOME=D:\\ORACLE\Middleware
    set SOA_HOME=D:\\ORACLE\Middleware\Oracle_SOA1
    set JAVA_HOME=D:\ORACLE\Middleware\jdk160_24\jre
    set AIA_INSTANCE=%AIA_HOME%/aia_instances/AIAinst1
    kindly help...

  • SOADEMO - deploying SOAOrderBooking build.xml "Could not get Deployment M..

    Hi All, I have seen a few issues with the SOA demo but still not able to resolve my issue so posting a thread.
    First off using SOA suite 10.1.3.1.0 and Jdev 10.1.3.1.0, so the same versions. Downloaded the demo from the same oracle page as downloaded suite from etc so should be compatible. Installed SOA Suite on an OE Linux 4 update 5 install. Using jdev on Vista laptop. I appreciate that these are not the most current versions but they should work as on the Oracle site and I am not able to install newer versions for the next few weeks.
    Going through the install guide for the demo and hitting a problem with deploying the build.xml for SOAOrderBooking as a few others have. The first error I am getting is:
    [deployDecisionServices] Failed at "Could not get DeploymentManager".
    I have checked the build.properties file which matches exactly that from the 'SelectManufacturer' which deployed fine.
    One of the main differences between these two is that the 'SelectManufacturer' does not have any decision services.
    One thread I saw suggested changing in the properties file
    platform=ias_10g
    #platform=oc4j_10g
    to
    # platform=ias_10g
    platform=oc4j_10g
    I did do this and the deployment when further but then fails at a later stage. I should not have to make this change anyway as I am using ias_10g so I have gone back to the original. Why would this change allow me to get further?? Appreciate any comments on this bit apart from my general problem.
    Any ideas why the deployment of the decision services would fail?
    I have spent a fair bit of time as you do trying to resolve it but no luck so any help greatly appreciated. Searched google, metalink, technet etc.
    FYI I have edited the properties file to use a different port for HTTP etc. Again these settings worked fine for 'SelectManufacturer' so do not think there is a problem with the URI being used.
    Also appreciate on debugging could anyone tell me under the IAS control panel which log component I should set to get some more debug info on this deployment error. I have tried a few without success and cannot find a clear explanation of the various component logs.
    Thanks for reading my post Cel

    Hi James, thanks again for your reply.
    I went on to the linux server and ran the below to validate the URI:
    /oracle/product/10.1.3.1/OracleAS_1/jdk/bin/java -jar /oracle/product/10.1.3.1/OracleAS_1/j2ee/home/admin_client.jar deployer:oc4j:opmn://del4100.cel:6003/appserver/oc4j_soa oc4jadmin <password> -validateURI
    This is the same command being executed by jdeveloper when I try to deploy the decision service.
    I get the same error as with jdev:
    Failed at "Could not get DeploymentManager".
    I had a further look at the command and omitted the name of the application server instance which in my case is 'appserver', the default when you install SOA Suite.
    so now ran:
    /oracle/product/10.1.3.1/OracleAS_1/jdk/bin/java -jar /oracle/product/10.1.3.1/OracleAS_1/j2ee/home/admin_client.jar deployer:oc4j:opmn://del4100.cel:6003/oc4j_soa oc4jadmin <password> -validateURI
    This validated the successfully. Went back to jdev and commented out the line from the build.properties:
    # asinstancename=appserver
    Re-ran the ant build and this time the deployment of the decision service succeeded.
    This has now failed on the next stage of the build on compiling the bpel process SOAOrderBooking which I shall look at now.
    Do you know why the above would not work with the appserver instance name. I have checked and it is the correct name and spelling?
    I have another error now on the next stage of the build and wonder if this is related to it.
    The error I am getting is that could not read the wsdl and:
    Error happened when reading wsdl at "http://localhost:7777/esb/wsil/Fulfillment/OrderFulfillment?wsdl", because "Failed to read wsdl file at: "http://localhost:7777/esb/wsil/Fulfillment/OrderFulfillment?wsdl", caused by: java.net.ConnectException. : Connection refused: connect".
    Thanks for your suggestions and welcome any other comments on this next error as I wonder if it is related to the first one that I have worked around.
    Thanks Cel

  • How to deploy the application via Build.xml

    Hi,
    this is my first time using this cloud service. I have an open source application to be deploy in the cloud. This application come with ANT script (build.xml) and table scripts.
    Would like to know how do I configure the eclipse or write the build script to deploy the application into the java service. In addition, how do I configure the java service (app server) to talk to the database?
    many thanks
    I look forward to your advices and guidance.

    Hello ,
    You can get this information from Java Cloud Service learning center.
    Java Cloud Service provides  a SDK (Download) which includes ANT tasks library (As well as Maven Plugin) which can be used to extend the Ant build file to deploy the application to the cloud.
    In case of App server talking to the Database , that part is already taken care of in the Oracle Java Cloud Service and associated Oracle Database Cloud Service.

  • Can't invoke allaire.ejipt.tools.Deploy frm Ant using build.xml

    This is a question to everyone.
    If you know the answer please let us know and the entire community will be grateful. If u have used JRun well and good, if not and u are using any other J2EE server, and u use Ant in conjunction to build ur application, then u must know the answer. I don't as I'm pretty new to Ant.
    I'm trying to build an ant script/ build.xml that might work with Eclipse or simlar ide, the purpose is to compile and deply the Ejbs. The following is what I have got, see attcahed code
    Now, see, I have defined the follwing in my ant script that is included at the bottom.
    <property name="JRUN_HOME" location="C:/JRun"></property>
    <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
    <property name="deploy_dir" location="${distroot}/deploy"></property>
    <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>
    <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>But then, this is the Deploy task:
    <target name="Deploy" depends="Initialize, Compile, Jar, Dist">
    <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
    <java fork="true" classpathref="classpath" classname="${deploy_tool}" dir="${deploy_dir}" jvm="${deploy_jvm}">
    <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
    <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
    </java>
    <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
    </target>But, when i run the script using ant - all other tasks are successfull apart from the Deploy and this is what I get:
    Deploy:
    [echo] About to deploy H:\lib\mtrack_ant.jar in C:\JRun\servers\default\deploy using C:\java\jre\1.3.1\bin\java...
    [java] java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy
    [java] Exception in thread "main"
    [java] Java Result: 1
    [echo] DEPLOY SUCCESSFULY COMPLETED...Hence, my problem is java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy. Some how I cannot find out how to tell the java task to use allaire.ejipt.tools.Deploy to deploy the jar file thats alreday be copied to the deploy directory.
    And off course the message is correct that 'java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy' - because there isn't any allaire/ejipt/tools/Deploy in my home directory. This class is in the ejipt.jar which is in the ${jrun-jardir} which I have mentioned in the Deploy task, but it still doesnt work
    This is very intersting - looking forward to any response.
    Regards
    Pratim
    Attached is the entire build.xml file:
    <?xml version="1.0" encoding = "UTF-8"?>
    <project name="IAPS" default="Build IAPS with JDK1.4.2" basedir=".">
        <property name="bin" location="H:/classes2"/>
        <property name="src" location="H:/src"/>
        <property name="jardir" location="H:/lib"/>
        <property name="jarfile" location="${jardir}/mtrack.jar"/>
         <property name="JRUN_HOME" location="C:/JRun"></property>
        <property name="jrun-jardir" location="${JRUN_HOME}/lib"/>
         <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
         <property name="deploy_dir" location="${distroot}/deploy"></property>
         <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>     
         <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>     
        <target name="Build IAPS with JDK1.4.2" depends="Initialize, Jar, Dist, Deploy">
            <echo message="Ant at work for building RSSd library on PD's laptop!"/>
        </target>
         <target name="Initialize">      
             <echo message="Removing classes and logs..."/>
                 <delete>
                   <fileset dir="${bin}">
                       <include name="**/*.class"/>
                        <exclude name="**/*.dll"/>
                   </fileset>
                 </delete>
                 <delete>
                   <fileset dir="H:/">
                       <include name="**/*.log"/>
                   </fileset>
              </delete>
                 <mkdir dir="${bin}"/>
         </target>
         <path id="classpath">
              <pathelement location="${bin}"/>
              <fileset dir="${jardir}">
                   <include name="**/*.jar"/>
              </fileset>
              <fileset dir="${jardir}/ext">
                   <include name="**/*.jar"/>
              </fileset>          
              <fileset dir="${jrun-jardir}">
                   <include name="**/*.jar"/>
              </fileset>     
         </path>
         <target name="Compile" depends="Initialize">
              <echo message="Starting compiling..."/>
              <javac srcdir="${src}"
                   destdir="${bin}"
                    classpathref="classpath"
                   debug="on"
              />          
              <echo message="Compilation complete..."/>
        </target> 
        <target name="Jar" depends="Compile">
              <echo message="Staring jar..."/>
             <jar destfile="${jarfile}" basedir="${bin}"/>
              <echo message="Jar complete..."/>
        </target>
         <target name="Dist" depends="Initialize, Compile, Jar">     
              <echo message="Copying files to the different distributions..."/>
              <copy file="${jarfile}" todir="${deploy_dir}" />          
              <echo message="Copying complete..."/>
              <echo message="BUILD SUCCESSFULY COMPLETED..."/>
         </target>
         <target name="Deploy" depends="Initialize, Compile, Jar, Dist">     
              <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
              <java fork="true"
                   jvm="${deploy_jvm}"
                   dir="${deploy_dir}"               
                   classpath="${jrun-jardir}/**/*.jar"
                   classname="${deploy_tool}" >
                   <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
                   <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
              </java>
              <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
         </target>     
    </project>

    This is a question to everyone.
    If you know the answer please let us know and the entire community will be grateful. If u have used JRun well and good, if not and u are using any other J2EE server, and u use Ant in conjunction to build ur application, then u must know the answer. I don't as I'm pretty new to Ant.
    I'm trying to build an ant script/ build.xml that might work with Eclipse or simlar ide, the purpose is to compile and deply the Ejbs. The following is what I have got, see attcahed code
    Now, see, I have defined the follwing in my ant script that is included at the bottom.
    <property name="JRUN_HOME" location="C:/JRun"></property>
    <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
    <property name="deploy_dir" location="${distroot}/deploy"></property>
    <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>
    <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>But then, this is the Deploy task:
    <target name="Deploy" depends="Initialize, Compile, Jar, Dist">
    <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
    <java fork="true" classpathref="classpath" classname="${deploy_tool}" dir="${deploy_dir}" jvm="${deploy_jvm}">
    <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
    <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
    </java>
    <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
    </target>But, when i run the script using ant - all other tasks are successfull apart from the Deploy and this is what I get:
    Deploy:
    [echo] About to deploy H:\lib\mtrack_ant.jar in C:\JRun\servers\default\deploy using C:\java\jre\1.3.1\bin\java...
    [java] java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy
    [java] Exception in thread "main"
    [java] Java Result: 1
    [echo] DEPLOY SUCCESSFULY COMPLETED...Hence, my problem is java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy. Some how I cannot find out how to tell the java task to use allaire.ejipt.tools.Deploy to deploy the jar file thats alreday be copied to the deploy directory.
    And off course the message is correct that 'java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy' - because there isn't any allaire/ejipt/tools/Deploy in my home directory. This class is in the ejipt.jar which is in the ${jrun-jardir} which I have mentioned in the Deploy task, but it still doesnt work
    This is very intersting - looking forward to any response.
    Regards
    Pratim
    Attached is the entire build.xml file:
    <?xml version="1.0" encoding = "UTF-8"?>
    <project name="IAPS" default="Build IAPS with JDK1.4.2" basedir=".">
        <property name="bin" location="H:/classes2"/>
        <property name="src" location="H:/src"/>
        <property name="jardir" location="H:/lib"/>
        <property name="jarfile" location="${jardir}/mtrack.jar"/>
         <property name="JRUN_HOME" location="C:/JRun"></property>
        <property name="jrun-jardir" location="${JRUN_HOME}/lib"/>
         <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
         <property name="deploy_dir" location="${distroot}/deploy"></property>
         <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>     
         <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>     
        <target name="Build IAPS with JDK1.4.2" depends="Initialize, Jar, Dist, Deploy">
            <echo message="Ant at work for building RSSd library on PD's laptop!"/>
        </target>
         <target name="Initialize">      
             <echo message="Removing classes and logs..."/>
                 <delete>
                   <fileset dir="${bin}">
                       <include name="**/*.class"/>
                        <exclude name="**/*.dll"/>
                   </fileset>
                 </delete>
                 <delete>
                   <fileset dir="H:/">
                       <include name="**/*.log"/>
                   </fileset>
              </delete>
                 <mkdir dir="${bin}"/>
         </target>
         <path id="classpath">
              <pathelement location="${bin}"/>
              <fileset dir="${jardir}">
                   <include name="**/*.jar"/>
              </fileset>
              <fileset dir="${jardir}/ext">
                   <include name="**/*.jar"/>
              </fileset>          
              <fileset dir="${jrun-jardir}">
                   <include name="**/*.jar"/>
              </fileset>     
         </path>
         <target name="Compile" depends="Initialize">
              <echo message="Starting compiling..."/>
              <javac srcdir="${src}"
                   destdir="${bin}"
                    classpathref="classpath"
                   debug="on"
              />          
              <echo message="Compilation complete..."/>
        </target> 
        <target name="Jar" depends="Compile">
              <echo message="Staring jar..."/>
             <jar destfile="${jarfile}" basedir="${bin}"/>
              <echo message="Jar complete..."/>
        </target>
         <target name="Dist" depends="Initialize, Compile, Jar">     
              <echo message="Copying files to the different distributions..."/>
              <copy file="${jarfile}" todir="${deploy_dir}" />          
              <echo message="Copying complete..."/>
              <echo message="BUILD SUCCESSFULY COMPLETED..."/>
         </target>
         <target name="Deploy" depends="Initialize, Compile, Jar, Dist">     
              <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
              <java fork="true"
                   jvm="${deploy_jvm}"
                   dir="${deploy_dir}"               
                   classpath="${jrun-jardir}/**/*.jar"
                   classname="${deploy_tool}" >
                   <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
                   <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
              </java>
              <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
         </target>     
    </project>

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • Error in my build.xml file (help with spotting syntax error requested)

    Hi
    I have written an XML file called build.xml for one of my applications. My XML editor complains that there is an error at the last line of the XML file, but I simply find it unable to correct the errror.
    It says:
    Fatal error:Build.xml[76:3-9]: End-Tag without start-tag
    The XML file itself:
    <project basedir="." default="deploy" name="concepts">
    <property name="src.dir" value="src"></property>
    <property name="build.dir" value="${basedir}/build"></property>
    <property name="build.lib" value="${build.dir}/lib"></property>
    <property name="dist.dir" value="dist"></property>
    <property name="classes.dir" value="${build.dir}/classes"></property>
    <property name="build.etc" value="${src.dir}/etc"></property>
    <property name="build.resources" value="${src.dir}/resources"></property>
    <property name="lib.dir" value="lib"></property>
    <property name="web-inf.dir" value="WEB-INF"></property>
    <property name="war.name" value="concepts"></property>
    <property file="../common.properties"></property>
    <target name="init">
    <mkdir dir="${build.dir}"></mkdir>
    <mkdir dir="${classes.dir}"></mkdir>
    <mkdir dir="${dist.dir}"></mkdir>
    </target>
    <target name="deploy" depends="clover-yes, clover-no">
    <javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
    <include name="org/apache/commons/fileupload/**/*.java" />
    <include name="com/portalbook/portlets/**/*.java" />
    <include name="com/portalbook/portlets/content/**/*.java" />
    </javac>
    <target depends="init" name="compile">
    <javac debug="true" deprecation="true" destdir="${classes.dir}" optimize="false">
    <src>
    <pathelement location="${src.dir}"></pathelement>
    </src>
    <classpath>
    <fileset dir="${lib.dir}">
    <include name="*.jar">
    </include>
    </fileset>
    </classpath>
    </javac>
    </target>
    <target depends="compile" name="war">
    <war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
    <classes dir="${classes.dir}"></classes>
    <lib dir="${lib.dir}"></lib>
    <webinf dir="${web-inf.dir}"></webinf>
    </war>
    </target>
    <!-- create the portal-concepts-lib.jar -->
    <jar jarfile="${build.lib}/concepts-lib.jar">
    <fileset dir="${classes.dir}"></fileset>
    </jar>
    <jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
    <fileset dir="${build.resources}/concepts-war"></fileset>
    </jar>
    <!-- concepts.ear -->
    <copy todir="${build.resources}/concepts-ear">
    <fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar"></fileset>
    </copy>
    <jar jarfile="${build.lib}/concepts.ear">
    <fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
    </fileset>
    </jar>
    <target depends="deploy" name="explode">
    <taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
    <explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
    </target>
    <target depends="war" name="all"></target>
    <target name="clean">
    <delete dir="${build.dir}">
    </delete>
    <delete dir="${dist.dir}">
    </delete>
    </target>
    </project>
    I am a little inexperienced in XML files. So I am unable to spot the error.
    I would greatly appreciate it, if some kind soul were to help me out.
    thanks a lot

    The tag
    <target name="deploy" depends="clover-yes, clover-no">...is never closed.
    close that tag:
    <target name="deploy" depends="clover-yes, clover-no">
         <javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
              <include name="org/apache/commons/fileupload/**/*.java" />
              <include name="com/portalbook/portlets/**/*.java" />
              <include name="com/portalbook/portlets/content/**/*.java" />
         </javac>
    </target>Second error is that the depends in there (clover-yes, clover-no) are not existing as targets in your xml.

  • Errror while Running the ant file(build.xml) when applying B2B-BPEL patch

    Hello all,
    I am trying to apply the B2B WSIL Browser patch and while running the ant file i got the following warning while backing out d3l.jar file
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move *Warning: Could not find file C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib\d3l.jar to copy.*
    and the following error when it was not able to find admin_client.jar file
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    and the BUILD FAILED
    *so i created the necessary folders in the newly generated folder manually in ${env.ORACLE_HOME} i.e xqs\lib & j2ee\home and pasted the d3l.jar and admin_client.jar in these folders respectively,and again ran the ant file,this time the error is first problem is cleared i.e it is not showing the warning that it could not find* d3l.jar_+ file and it is also converting this file as d3l.jar.hide_+ *, but this time in the place of second error a new error is generated i.e* +
    Problem_
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;ant
    Buildfile: build.xml
    apply-b2b-bpel-10.1.3:
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1:] [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port 1521: 1521
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password b2b: b2b
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password welcome1: welcome1
    welcome1
    input Please enter opmn request port 6003: 6003
    6003
    echo Copying b2b.jar and tip.properties to appropriate locations...
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\lib
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.OB_HOME}\system\classes
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move Moving 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    BUILD FAILED
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:88: The following error occurred while executing this line:
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:49: Java returned: 1
    Total time: 31 seconds
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;
    i have set the classpath for the jdk and jre files correctly and also checked it with a sample program and the file is compiling and running with correct output.then why is it showing up java.lang.NoClassDefFoundError exception.Did anyone face the same problem or have a solution for this problem if they have then plzzz help me
    thnx
    Sunny
    Edited by: sunny kay on Jan 27, 2009 4:14 AM

    Hello sri,
    Thanks for your response as you have told i have set the ORACLE_HOME = C:\product\10.1.3.1\OracleAS_1
    and added C:\product\10.1.3.1\OracleAS_1\bin to my sys path
    and i have also set the JAVA_HOME=C:\product\10.1.3.1\OracleAS_1\jdk
    and added C:\product\10.1.3.1\OracleAS_1\jdk\bin to my sys path
    and ran the patch,now its coming up with a different problem after entering the B2B repository connection parameters...
    and it is
    Problem_
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    BUILD FAILED
    The Application Server is in the started state and these are the details that i have entered when B2B Repository Connection Parameters is prompeted
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1]: [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port [1521|http://forums.oracle.com/forums/]: [1521|http://forums.oracle.com/forums/]
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password [b2b|http://forums.oracle.com/forums/]: [b2b|http://forums.oracle.com/forums/]
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password [welcome1|http://forums.oracle.com/forums/]: [welcome1|http://forums.oracle.com/forums/]
    welcome1
    input Please enter opmn request port [6003|http://forums.oracle.com/forums/]: [6003|http://forums.oracle.com/forums/]
    6003
    is anything wrong in this i have tried by giving the default host name instead of mine but result is still the same.what is the problem can you figure it out and provide me a solution.
    thnx
    Sunny

  • More than one ANT Build-Script "build.xml" in a JDev Project?

    Hi,
    were using JDev 10.1.3.3 with our Projects in which i am trying to inject the code coverage tool "Cobertura".
    We want to handle Cobertura through ANT-Targets, so we have to set up an .XML-Buildscript.
    But we already have a Build.xml to cover our deployment needs.
    I don't want to put the cobertura-targets into our Build.xml - would be a mix of purpose to me...
    Instead of having one big .xml, i wanted to have "Build.xml" and "Cobertura.xml", but when generate the latter and put in the ANT-Project it isn't recognized as an ANT-Script, but as an ordinary XML.
    With new-->Ant-->buildfile i can only generate the "Build.xml".
    Is it possible to convert a regular XML into an Ant-Script, so that JDev would recognize them?!
    regards,
    Henning
    Edited by: Haymaker84 on 03.12.2008 03:00

    whoops...
    i was able to generate another buildscript with the standart dialog!

  • Build.xml for model project  is showing package dosen't exist while compiling

    Hi all.
    For building my application i'm using ANT.I have followed the below link for deploying ant.
    Building Projects with Ant
    After created jdev-libs.xml and build.xml for the model project ,i tried to compile build.xml for model project.
    Below is my build.properties
    #Fri Nov 15 15:10:25 IST 2013
    javac.debug=on
    output.dir=classes
    javac.deprecation=off
    javac.nowarn=off
    build.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Nov 15, 2013 3:10:25 PM-->
    <project xmlns="antlib:org.apache.tools.ant" name="Model" default="all" basedir=".">
      <property file="build.properties"/>
      <import file="../JDeveloperLibs/jdev-libs.xml"/>
      <path id="classpath">
        <path refid="JDeveloperLibs.library.ADF.Model.Runtime"/>
        <path refid="JDeveloperLibs.library.BC4J.Oracle.Domains"/>
        <path refid="JDeveloperLibs.library.BC4J.Runtime"/>
        <path refid="JDeveloperLibs.library.BC4J.Security"/>
        <path refid="JDeveloperLibs.library.BC4J.Tester"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime.Dependencies"/>
        <path refid="JDeveloperLibs.library.Oracle.JDBC"/>
        <path refid="JDeveloperLibs.library.Resource.Bundle.Support"/>
        <path refid="JDeveloperLibs.library.ADF.Common.Runtime"/>
        <path refid="JDeveloperLibs.library.Log4j-1.2.17.jar"/>
      </path>
      <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"/>
          <include name="**/*.jpx"/>
        </patternset>
        <copy todir="${output.dir}">
          <fileset dir="src">
            <patternset refid="copy.patterns"/>
          </fileset>
        </copy>
      </target>
    </project>
    jdev-libs.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <!-- created using version 11.6.0 of com.consideringred.jdevlibsforant -->
    <project name="JDeveloperLibs" default="" basedir=".">
      <dirname property="JDeveloperLibs.basedir" file="${ant.file.JDeveloperLibs}"/>
      <path id="JDeveloperLibs.srcpath">
        <pathelement location="${JDeveloperLibs.basedir}D:\wrkspace backup from stpi\Nov\Nov 15\JDeveloperLibs\src"/>
      </path>
      <!-- to accommodate the Ant copy/fileset element in "Apache Ant version 1.6.5 compiled on June 2 2005" bundled with JDeveloper 10.1.3.2 -->
      <property name="JDeveloperLibs.srcpath.first" value="${JDeveloperLibs.basedir}D:\wrkspace backup from stpi\Nov\Nov 15\JDeveloperLibs\src"/>
      <property name="JDeveloperLibs.outputdir" value="${JDeveloperLibs.basedir}D:\wrkspace backup from stpi\Nov\Nov 15\JDeveloperLibs\classes"/>
      <path id="JDeveloperLibs.library.ADF.Common.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javacache_11.1.1/cache.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-controller-security.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Common.Web.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adflibfilter.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/javatools-nodeps.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Controller.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller-rt-common.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Controller.Schema">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adf-controller-schema.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.MDS.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/dvt-databindings-mds.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-databindings.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-facesbindings.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.DVT.Faces.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-utils.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-basemaps.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-jclient.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-trinidad.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-faces.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/prefuse.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-anim.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-awt-util.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-bridge.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-codec.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-css.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-dom.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-ext.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-extension.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-gui-util.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-gvt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-parser.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-script.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-svg-dom.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-svggen.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-swing.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-transcoder.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-util.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-xml.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/xml-apis-ext.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Faces.Runtime.11">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-impl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-api-11.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-impl-11.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Model.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/groovy-all-1.6.3.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adftransactionsdt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/adf-dt-at-rt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfdt_common.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adflibrary.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ojmisc.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-controller-security.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.mail_1.1.0.0_1-4-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Page.Flow.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-impl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-dtrt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-fwk.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-rc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Web.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfmweb.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Apache.Ant">
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-antlr.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-bcel.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-bsf.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-log4j.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-oro.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-regexp.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-resolver.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-commons-logging.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-commons-net.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jai.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-javamail.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jdepend.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jmf.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jsch.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-junit.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-launcher.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-netrexx.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-nodeps.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-starteam.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-stylebook.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-swing.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-trax.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-weblogic.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Apache.Maven.2.2.1">
        <pathelement location="../JDeveloperLibs/jdeveloper/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/apache-maven-2.2.1/boot/classworlds-1.1.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-nodeps.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/bc4j-mbeans.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/groovy-all-1.6.3.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ojmisc.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/resourcebundle.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.mail_1.1.0.0_1-4-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Security">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-common.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-ee.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-unsupported-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.pki_11.1.1/oraclepki.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_core.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_cert.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_xmlsec.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_ws_sx.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.iau_11.1.1/fmw_audit.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.security.jacc_1.0.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Oracle.Domains">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Client">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Tester">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/BC4J/jlib/bc4jtester.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm-debugger.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/regexp.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.help_5.0/ohj.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.help_5.0/help-share.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.bali.share_11.1.1/share.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/jewt4.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.help_5.0/oracle_ice.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ojmisc.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ide/lib/idert.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ide/lib/javatools.jar"/>
        <pathelement location="../JDeveloperLibs/wlserver_10.3/server/lib/weblogic.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons.Beanutils.1.6">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/org.apache.commons.beanutils_1.6.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons.Collections.3.1">
        <pathelement location="../JDeveloperLibs/modules/com.bea.core.apache.commons.collections_3.2.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons.Logging.1.0.4">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/org.apache.commons.logging_1.0.4.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Connection.Manager">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JDeveloper.Runtime">
        <pathelement location="../JDeveloperLibs/jdeveloper/jdev/lib/jdev-rt.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JSF.2.0">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jsf_2.0/jsf-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jsf_2.0/jsf-impl.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JSTL.1.2">
        <pathelement location="../JDeveloperLibs/modules/glassfish.jstl_1.2.0.1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JSP.Runtime">
        <pathelement location="../JDeveloperLibs/modules/javax.servlet_1.0.0.0_2-5.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.jsp_1.2.0.0_2-1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/glassfish.el_1.0.0.0_2-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.MDS.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
      </path>
      <path id="JDeveloperLibs.library.MDS.Runtime.Dependencies">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.mds_11.1.1/oramds.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.servlet_1.0.0.0_2-5.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.jsp_1.2.0.0_2-1.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/jlib/commons-cli-1.0.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.bali.share_11.1.1/share.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xmlef_11.1.1/xmlef.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.dms_11.1.1/dms.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xml.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javacache_11.1.1/cache.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ucp_11.1.0.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/javatools-nodeps.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.management_1.2.1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.management.j2ee_1.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Oracle.JEWT">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.bali.share_11.1.1/share.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/jewt4.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/inspect4.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Oracle.JDBC">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.dms_11.1.1/dms.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Oracle.XML.Parser.v2">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xml.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-mapping.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Resource.Bundle.Support">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/resourcebundle.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Resource.Bundle.Variable.Resolver">
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/bundleresolver.jar"/>
      </path>
      <path id="JDeveloperLibs.library.SQLJ.Runtime">
        <pathelement location="../JDeveloperLibs/jdeveloper/sqlj/lib/runtime12.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Servlet.Runtime">
        <pathelement location="../JDeveloperLibs/modules/javax.servlet_1.0.0.0_2-5.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.jsp_1.2.0.0_2-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Trinidad.Runtime.11">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-impl.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Bcpkix-jdk15on-1.48.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/bcpkix-jdk15on-1.48.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Bcprov-jdk15on-1.48.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/bcprov-jdk15on-1.48.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons-codec-1.8.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/commons-codec-1.8.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-asian.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-asian.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-hyph-xml.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-hyph-xml.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-pdfa-5.4.0-javadoc.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-pdfa-5.4.0-javadoc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-pdfa-5.4.0-sources.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-pdfa-5.4.0-sources.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-pdfa-5.4.0.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-pdfa-5.4.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-xtra-5.4.0-javadoc.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-xtra-5.4.0-javadoc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-xtra-5.4.0-sources.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-xtra-5.4.0-sources.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-xtra-5.4.0.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-xtra-5.4.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itextpdf-5.4.0-javadoc.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itextpdf-5.4.0-javadoc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itextpdf-5.4.0-sources.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itextpdf-5.4.0-sources.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itextpdf-5.4.0.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itextpdf-5.4.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Log4j-1.2.17.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/log4j-1.2.17.jar"/>
      </path>
      <path id="JDeveloperLibs.classpath">
        <path refid="JDeveloperLibs.library.ADF.Common.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Common.Web.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Controller.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Controller.Schema"/>
        <path refid="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.MDS.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.DVT.Faces.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Faces.Runtime.11"/>
        <path refid="JDeveloperLibs.library.ADF.Model.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Page.Flow.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Web.Runtime"/>
        <path refid="JDeveloperLibs.library.Apache.Ant"/>
        <path refid="JDeveloperLibs.library.Apache.Maven.2.2.1"/>
        <path refid="JDeveloperLibs.library.BC4J.Runtime"/>
        <path refid="JDeveloperLibs.library.BC4J.Security"/>
        <path refid="JDeveloperLibs.library.BC4J.Oracle.Domains"/>
        <path refid="JDeveloperLibs.library.BC4J.Client"/>
        <path refid="JDeveloperLibs.library.BC4J.Tester"/>
        <path refid="JDeveloperLibs.library.Commons.Beanutils.1.6"/>
        <path refid="JDeveloperLibs.library.Commons.Collections.3.1"/>
        <path refid="JDeveloperLibs.library.Commons.Logging.1.0.4"/>
        <path refid="JDeveloperLibs.library.Connection.Manager"/>
        <path refid="JDeveloperLibs.library.JDeveloper.Runtime"/>
        <path refid="JDeveloperLibs.library.JSF.2.0"/>
        <path refid="JDeveloperLibs.library.JSTL.1.2"/>
        <path refid="JDeveloperLibs.library.JSP.Runtime"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime.Dependencies"/>
        <path refid="JDeveloperLibs.library.Oracle.JEWT"/>
        <path refid="JDeveloperLibs.library.Oracle.JDBC"/>
        <path refid="JDeveloperLibs.library.Oracle.XML.Parser.v2"/>
        <path refid="JDeveloperLibs.library.Resource.Bundle.Support"/>
        <path refid="JDeveloperLibs.library.Resource.Bundle.Variable.Resolver"/>
        <path refid="JDeveloperLibs.library.SQLJ.Runtime"/>
        <path refid="JDeveloperLibs.library.Servlet.Runtime"/>
        <path refid="JDeveloperLibs.library.Trinidad.Runtime.11"/>
        <path refid="JDeveloperLibs.library.Bcpkix-jdk15on-1.48.jar"/>
        <path refid="JDeveloperLibs.library.Bcprov-jdk15on-1.48.jar"/>
        <path refid="JDeveloperLibs.library.Commons-codec-1.8.jar"/>
        <path refid="JDeveloperLibs.library.Itext-asian.jar"/>
        <path refid="JDeveloperLibs.library.Itext-hyph-xml.jar"/>
        <path refid="JDeveloperLibs.library.Itext-pdfa-5.4.0-javadoc.jar"/>
        <path refid="JDeveloperLibs.library.Itext-pdfa-5.4.0-sources.jar"/>
        <path refid="JDeveloperLibs.library.Itext-pdfa-5.4.0.jar"/>
        <path refid="JDeveloperLibs.library.Itext-xtra-5.4.0-javadoc.jar"/>
        <path refid="JDeveloperLibs.library.Itext-xtra-5.4.0-sources.jar"/>
        <path refid="JDeveloperLibs.library.Itext-xtra-5.4.0.jar"/>
        <path refid="JDeveloperLibs.library.Itextpdf-5.4.0-javadoc.jar"/>
        <path refid="JDeveloperLibs.library.Itextpdf-5.4.0-sources.jar"/>
        <path refid="JDeveloperLibs.library.Itextpdf-5.4.0.jar"/>
        <path refid="JDeveloperLibs.library.Log4j-1.2.17.jar"/>
      </path>
    </project>
    Problem:
    While executing im getting the below error:package dosent exist.Please help on this.Thanks
    Buildfile: D:\wrkspace backup from stpi\Nov\Nov 15\Model\build.xml
    init:
    compile:
        [javac] Compiling 116 source files to D:\wrkspace backup from stpi\Nov\Nov 15\Model\classes
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:17: package javax.persistence does not exist
        [javac] import javax.persistence.EntityManager;
        [javac]                         ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:18: package javax.persistence does not exist
        [javac] import javax.persistence.Query;
        [javac]                         ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\comworkflow\common\entity\detailsEOImpl.java:40: package oracle.toplink.queryframework does not exist
        [javac] import oracle.toplink.queryframework.DataModifyQuery;
        [javac]                                     ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:41: package oracle.toplink.queryframework does not exist
        [javac] import oracle.toplink.queryframework.StoredProcedureCall;
        [javac]                                     ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:43: package oracle.toplink.sessions does not exist
        [javac] import oracle.toplink.sessions.Session;
        [javac]                               ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:45: package org.eclipse.persistence.annotations does not exist
        [javac] import org.eclipse.persistence.annotations.NamedStoredProcedureQuery;
        [javac]                                           ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:46: package org.eclipse.persistence.annotations does not exist
        [javac] import org.eclipse.persistence.annotations.StoredProcedureParameter;
        [javac]                                           ^
        [javac] 7 errors
    BUILD FAILED
    D:\wrkspace backup from stpi\Nov\Nov 15\Model\build.xml:33: Compile failed; see the compiler error output for details.
    Total time: 6 seconds

    Timo and dvohra21,
    I found the mistake that javax.persistance jar is missed in modules folder.After added that and inculdeJavaRuntime i was able to compile model's build.xml.
    When compiling view's build.xml im getting
    cannot access weblogic.security.acl.internal.AuthenticatedSubject
    [javac] class file for weblogic.security.acl.internal.AuthenticatedSubject not found
    weblogic.servlet.security.ServletAuthentication.runAs(subject,request)
    I have searched the forums and applied the solutions :
    1.Added com.bea.core.weblogic.security.identity jar,added weblogic 10.3 remote client and its corresponding jar weblogic.jar
    2.javax.security.auth.subject subject=Authentication.login(new URLCallbackHandler(un,pw));
      weblogic.servlet.security.ServletAuthentication.runAs(subject,request);
    still im getting the same exception.Any idea on this?Thanks.

  • ALUI Customization Deploying a Custom Project Step 2: Build and Deploy JARs

    Hi,
    I'm trying to deploy custom project after succesfully completing the installation and debug of AL UI Customization. As given in the documentation (see link below) in the step 2 Build and Deploy I see error given below on executing "ant install" command. Can somebody please identify the error in this?
    http://edocs.bea.com/alui/devdoc/docs60/Plumtree_Development_Environment/UI_Customization/PlumtreeDevDoc_DevEnv_DeployProject_Java.htm
    D:\plumtree_ui_source\portalui\6.1.x>ant install
    Buildfile: build.xml
    Trying to override old definition of task copy
    global.init:
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
    build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
    [echo] Ant Contrib successfully loaded.
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
    build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to copy.
    init:
    [echo] Using ANT built-in compass loader
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
    build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar to c
    opy.
    [echo]
    [echo] Could not fine Socrates build location. Setting compass to
    [echo] offline mode.
    [echo]
    [comp-loader] -----------------------------------------------------
    [comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
    [comp-loader] Storing loaded properties in System
    [comp-loader] Stored 67 properties
    [comp-loader] Loaded Compass ( 0 file(s) copied, 17 task(s) defined )
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 24 component(s)
    [comp-props] [ customer-repo_ptwebui ]
    [comp-props] Created Properties for 24 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 15 component(s)
    [comp-props] [ customer-repo_ptwebui_dotnet ]
    [comp-props] Created Properties for 15 component(s)
    install:
    Duplicated project name in import. Project global defined first in D:\plumtree_u
    i_source\portalui\6.1.x\_buildcommon\scripts\ant\common\include\global.xml and a
    gain in D:\plumtree_ui_source\portalproduct\6.1.x\_buildcommon\scripts\ant\commo
    n\include\global.xml
    Trying to override old definition of task uri://plumtree.com/ant/common/properti
    es:definebasicprops
    Trying to override old definition of task uri://plumtree.com/ant/common/properti
    es:loadprojectproperties
    Trying to override old definition of task uri://plumtree.com/ant/common/cp-stage
    :loadcomponentprops
    global.init:
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
    [echo] Ant Contrib successfully loaded.
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
    py.
    epglobal.init:
    [echo] Using ANT built-in compass loader
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar
    to copy.
    [echo]
    [echo] Could not fine Socrates build location. Setting compass to
    [echo] offline mode.
    [echo]
    [comp-loader] -----------------------------------------------------
    [comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
    [comp-loader] Already loaded
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_nopull ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 29 component(s)
    [comp-props] [ customer-repo_java ]
    [comp-props] Created Properties for 29 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 14 component(s)
    [comp-props] [ customer-repo_dotnet ]
    [comp-props] Created Properties for 14 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_noarch ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 2 component(s)
    [comp-props] [ customer-repo_win32 ]
    [comp-props] Created Properties for 2 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_solaris32 ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_linux32 ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_aix32 ]
    [comp-props] Created Properties for 1 component(s)
    init:
    clean:
    [delete] Deleting directory D:\plumtree_ui_source\portalproduct\6.1.x\build
    install:
    [ant] Parent project doesn't contain any reference 'compass.loader'
    global.init:
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
    [echo] Ant Contrib successfully loaded.
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
    py.
    epglobal.init:
    [echo] Using ANT built-in compass loader
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar
    to copy.
    [echo]
    [echo] Could not fine Socrates build location. Setting compass to
    [echo] offline mode.
    [echo]
    [comp-loader] -----------------------------------------------------
    [comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
    [comp-loader] Already loaded
    [mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\registe
    rdir
    [mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\feature
    dir
    [mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\install
    code
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_nopull ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 29 component(s)
    [comp-props] [ customer-repo_java ]
    [comp-props] Created Properties for 29 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 14 component(s)
    [comp-props] [ customer-repo_dotnet ]
    [comp-props] Created Properties for 14 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_noarch ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 2 component(s)
    [comp-props] [ customer-repo_win32 ]
    [comp-props] Created Properties for 2 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_solaris32 ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_linux32 ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_aix32 ]
    [comp-props] Created Properties for 1 component(s)
    init:
    [echo]
    [echo] The property BuildEnvironment.IA_HOME either is not set
    [echo] in your build.properties file or is set to an incorrect
    [echo] location. You will be unable to build an installer. This
    [echo] does not affect developer installations. Developers can
    [echo] ignore this warning.
    [echo]
    [echo] Current value: ${BuildEnvironment.IA_HOME}
    [echo]
    build-registerscripts:
    [echo] Environment variables necessary for versioning not set. BUILD_MAJOR
    , BUILD_MINOR, BUILD_SERVICEPACK, and BUILD_HOTFIX must be set in order to get a
    ccurate version information.
    [devinstall] install-portalui-java
    [fastmarshall] Parent project doesn't contain any reference 'compass.loader'
    global.init:
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
    [echo] Ant Contrib successfully loaded.
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
    py.
    epglobal.init:
    [echo] Using ANT built-in compass loader
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
    .x\marshallcode\${build.home}\components\RECENT\compass\LATEST\java-loader\compa
    ss-loader.jar to copy.
    [echo]
    [echo] Could not fine Socrates build location. Setting compass to
    [echo] offline mode.
    [echo]
    [comp-loader] -----------------------------------------------------
    [comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
    [comp-loader] Already loaded
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_nopull ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 29 component(s)
    [comp-props] [ customer-repo_java ]
    [comp-props] Created Properties for 29 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 14 component(s)
    [comp-props] [ customer-repo_dotnet ]
    [comp-props] Created Properties for 14 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_noarch ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 2 component(s)
    [comp-props] [ customer-repo_win32 ]
    [comp-props] Created Properties for 2 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_solaris32 ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_linux32 ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] Version: <206776> (11/15/2005 11:59 AM)
    [comp-props] [ general ]
    [comp-props] Created Properties for 1 component(s)
    [comp-props] [ customer-repo_aix32 ]
    [comp-props] Created Properties for 1 component(s)
    epmarshall.init:
    [mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\warbuil
    ddir
    Trying to override old definition of task comp-collate
    Trying to override old definition of task comp-stage
    init:
    epmarshall.marshall-java:
    portalui.marshall-java:
    [comp-collate] Version: <null> (null)
    [comp-collate] Collate [java-portalui]
    BUILD FAILED
    D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\portalui\include\p
    ortalui-dev.xml:34: The following error occurred while executing this line:
    D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:1177: The following err
    or occurred while executing this line:
    D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:652: The following erro
    r occurred while executing this line:
    D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:733: The following erro
    r occurred while executing this line:
    D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:478: The following erro
    r occurred while executing this line:
    D:\plumtree_ui_source\portalproduct\6.1.x\marshallcode\marshall_portalui.xml:69:
    No File: D:\bea\alui\_customer_repository\portalui\6.1.x\local\java-ptwebui\jav
    a-ptwebui.mf
    Total time: 1 minute 15 secondsa

    Thanks for the help! It started building after commenting the DTD tag include in the xml.
    But build failed with few warnings and errors.
    two of the warnings are as follows (FYI I've compass folder as you suggested in other thread)
    #1
    [copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\pt
    webui\portaluiinfrastructure\${build.home}\thirdparty\ant-contrib\0.6\ant-contri
    b-0.6.jar to copy.
    #2
    Could not fine Socrates build location. Setting compass to
    offline mode.
    =============================
    AND the ERROR message is as given below
    precompile:
    buildjava:
    [javac] Compiling 154 source files to D:\plumtree_ui_source\portalui\6.1.x\ptwebui\portalpages\build\x86\classes\java
    [javac] D:\plumtree_ui_source\portalui\6.1.x\ptwebui\portalpages\java\prod\src\com\plumtree\portalpages\condition\conditiontypes\ConditionTypeClientIPAddress.java:158: compareTo(java.lang.String) in java.lang.String cannot be applied to
    (java.lang.Object)
    [javac] if ("*".compareTo(arIPAddress) != 0 && ((XPConver
    t.ToInteger(arIPAddress[i]) < 0) || ((i == 0) && (XPConvert.ToInteger(arIPAddres
    s[i]) == 0)))) {
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error
    BUILD FAILED
    D:\plumtree_ui_source\portalui\6.1.x\build_core.xml:103: The following error occurred while executing this line:
    D:\plumtree_ui_source\portalui\6.1.x\ptwebui\build_core.xml:80: The following error occurred while executing this line:
    D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\common\include\default-build.xml:142: The following error occurred while executing this line:
    D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\common\antlib\java.xml:35: Compile failed; see the compiler error output for details.

  • Help with Flex Ant build.xml error

    So I've started on a new project and I'm new to Flex. A lot of learning curve here. Anyway, I'm trying to deploy a project that uses flex and is built with Ant. We've moving up from a version of Flex 2 to Flex 3. The build file works fine in the Flex 2 app but for some reason does not seem to be working with Flex 3. I'm hoping someone can give me some insight on what might be wrong or where to start.
    The error is Command not found: compc
    The part of the build file it has a problem with is:
    <compc include-classes="${classes}"
         ouput="${flex.dist.dir}/${flex.app.name}.swc"
         keep-generated-actionscript="false"
         headless-server="${headless.server}"
         incremental="true">
    <load_config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
    <source-path path-element="${FLEX_HOME}/frameworks" />
    <source-path path-element="${flex.app.root}" />
    <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
         <include name="libs" />
         <include name="../bundles/{local}" />
    </compiler.library-path>
    <compiler.library-path dir="${flex.app.root}" appent="true">
         <include name="libs" />
    </compiler.library-path>
    </compc>
    Any help at all would be greatly appreciated, thank you.

    Sorry, I meant to address that. Yes, since we've moved up to the Flex 3 sdk, we are pointing at a new directory. The old directory was flex_sdk and the new directory is flex_sdk_340.
    FLEX_HOME is being set in the build.properties file for local building and then overidden in the build.xml file with this code:
    <target name="build">
         <available property="FLEX_HOME" value="/apps/flex_sdk_340" file="/apps/flex_sdk_340" />
         <echo>FLEX_HOME = ${FLEX_HOME}</echo>
         <antcall target="compile" />
    </target>
    I did notice a warning about not using the available property, so I removed it and just changed what FLEX_HOME was set to in the build.properties file to the server directory. Would mess up local building but regardless it didn't matter because it had no effect on the error being generated. I alos looked a little into the file property of the available tag trying to figure out if that was somehow an issue but I wasn't able to come to any conclusion.
    Before the program errors out, it does displayt he echo statement and the value of FLEX_HOME appears to be correct in that it does show /apps/flex_sdk_340.
    Thank you so much for your continued help. This is truly frustrating because nothing but a directory name has really changed and yet it stopped working. I can't find any information anywhere on what could be wrong and this is really my last resort.

  • FU4CIListener build.xml not setting properties?

    I am following the Ant Task Setup.  I have flex sdk 3.6.0.X, apache-ant 1.8.2 and the flexunit source 4.1.0.
    When I run > ant -v clean package
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Apache Ant(TM) version 1.8.2 compiled on December 20 2010
    Trying the default build file: build.xml
    Buildfile: C:\projects\FlexUnit4CIListener\build.xml
    Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
    Detected OS: Windows XP
    parsing buildfile C:\projects\FlexUnit4CIListener\build.xml with URI = file:/C:/projects/FlexUnit4CIListener/build.xml
    Project base dir set to: C:\projects\FlexUnit4CIListener
    parsing buildfile jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
    Importing file C:\projects\utils.xml from C:\projects\FlexUnit4CIListener\build.xml
    Overriding previous definition of reference to ant.projectHelper
    parsing buildfile C:\projects\utils.xml with URI = file:/C:/projects/utils.xml
    [macrodef] creating macro  gpg
    [macrodef] creating macro  sonatype-bundle
    Overriding previous definition of reference to ant.projectHelper
    [property] Loading Environment env.
    Property "build.version" has not been set
    Property "build.number" has not been set
    Property "build.sdk" has not been set
    Build sequence for target(s) `clean' is [clean]
    Complete build sequence is [clean, init, compile, report, package, deploy, ]
    clean:
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target\bin
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target\docs
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target\sonatype
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target
       [delete] Deleting C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
    Build sequence for target(s) `package' is [init, compile, report, package]
    Complete build sequence is [init, compile, report, package, clean, deploy, ]
    init:
        [mkdir] Skipping C:\projects\FlexUnit4CIListener\libs because it already exists.
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\sonatype
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\bin
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\docs
         [copy] Copying 1 file to C:\projects\FlexUnit4CIListener\libs
         [copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
    compile:
        [compc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
        [compc] Adobe Compc (Flex Component Compiler)
        [compc] Version 3.6.0 build 16995
        [compc] Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
        [compc]
        [compc] command line: Error: configuration variable 'output' value contains unknown token 'build.version'
        [compc]
        [compc] Use 'compc -help' for information about using the command line.
    BUILD FAILED
    C:\projects\FlexUnit4CIListener\build.xml:50: compc task failed
            at flex.ant.FlexTask.executeInProcess(FlexTask.java:299)
            at flex.ant.FlexTask.execute(FlexTask.java:225)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:390)
            at org.apache.tools.ant.Target.performTasks(Target.java:411)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
            at org.apache.tools.ant.Main.runBuild(Main.java:809)
            at org.apache.tools.ant.Main.startAnt(Main.java:217)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Total time: 1 second
    build.version, build.number & build.sdk are properties that are not being set.  I would assume that they should be set internally somehow.  However, if I manually set them via -D switches (with arbitrary values) I get the following:
    >ant -v clean package -Dbuild.version=1.2.3.4 -Dbuild.number=666 -Dbuild.sdk=4.1
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Apache Ant(TM) version 1.8.2 compiled on December 20 2010
    Trying the default build file: build.xml
    Buildfile: C:\projects\FlexUnit4CIListener\build.xml
    Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
    Detected OS: Windows XP
    parsing buildfile C:\projects\FlexUnit4CIListener\build.xml with URI = file:/C:/projects/FlexUnit4CIListener/build.xml
    Project base dir set to: C:\projects\FlexUnit4CIListener
    parsing buildfile jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
    Importing file C:\projects\utils.xml from C:\projects\FlexUnit4CIListener\build.xml
    Overriding previous definition of reference to ant.projectHelper
    parsing buildfile C:\projects\utils.xml with URI = file:/C:/projects/utils.xml
    [macrodef] creating macro  gpg
    [macrodef] creating macro  sonatype-bundle
    Overriding previous definition of reference to ant.projectHelper
    [property] Loading Environment env.
    Build sequence for target(s) `clean' is [clean]
    Complete build sequence is [clean, init, compile, report, package, deploy, ]
    clean:
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target\bin
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target\docs
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target\sonatype
       [delete] Deleting directory C:\projects\FlexUnit4CIListener\target
       [delete] Deleting C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
    Build sequence for target(s) `package' is [init, compile, report, package]
    Complete build sequence is [init, compile, report, package, clean, deploy, ]
    init:
        [mkdir] Skipping C:\projects\FlexUnit4CIListener\libs because it already exists.
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\sonatype
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\bin
        [mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\docs
         [copy] Copying 1 file to C:\projects\FlexUnit4CIListener\libs
         [copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
    compile:
        [compc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
        [compc] C:\projects\FlexUnit4CIListener\target\bin\flexunit-cilistener-1.2.3.4-666-4.1.swc (11773 bytes)
    report:
    Skipped because property 'build.report' not set.
    package:
         [copy] Copying 1 file to C:\projects\FlexUnit4CIListener\target
         [copy] Copying C:\projects\FlexUnit4CIListener\target\bin\flexunit-cilistener-1.2.3.4-666-4.1.swc to C:\projects\FlexUnit4CIListener\target\flexunit-cilistener-1.2.3.4-666-4.1.swc
    BUILD SUCCESSFUL
    Total time: 4 seconds
    I can see where the previous 3 properties are being used in the swc output file name, but now there is a build.report property that is not being set.  How do I know which properties need to be set, and what to set them to?

    I was using the 4.5.1 flex SDK but there seemed to be other issues so I just used the link directly from the Ant Task Setup page (instead of using the newest SDK).  Upon following your instructions to ant build from the root directory, everything seemed to work correctly with a few exceptions.  Below is the last part of the output from the build.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    test:
    Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
    Detected OS: Windows XP
    Project base dir set to: C:\projects\FlexUnit4Test
          [ant] calling target(s) [test] in build file C:\projects\FlexUnit4Test\build.xml
    parsing buildfile C:\projects\FlexUnit4Test\build.xml with URI = file:/C:/projects/FlexUnit4Test/build.xml
    Project base dir set to: C:\projects\FlexUnit4Test
    [property] Loading Environment env.
    Override ignored for property "FLEX_HOME"
    Property "env.FLEX_COVER_VIEWER" has not been set
    [macrodef] creating macro  compile-runner
    [macrodef] creating macro  execute-tests
    [macrodef] creating macro  execute-tests-using-flexcover
    [macrodef] creating macro  generate-html-report
          [ant] Entering C:\projects\FlexUnit4Test\build.xml...
    Build sequence for target(s) `test' is [init, test-only, test-and-instrument, test]
    Complete build sequence is [init, test-only, test-and-instrument, test, clean, ]
    init:
        [mkdir] Created dir: C:\projects\FlexUnit4Test\target
        [mkdir] Created dir: C:\projects\FlexUnit4Test\target\bin
        [mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\xunit\flex
        [mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\xunit\as3
        [mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\flexcover
         [copy] Copying 5 files to C:\projects\FlexUnit4Test\libs
         [copy] Copying C:\projects\FlexUnit4CIListener\target\flexunit-cilistener-4.1.0-x-y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-cilistener-4.1.0-x-y.y.y.y.swc
         [copy] Copying C:\projects\FlexUnit4FluintExtensions\target\fluint-extensions-4.1.0-x-y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\fluint-extensions-4.1.0-x-y.y.y.y.swc
         [copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
         [copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-flex_y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-4.1.0-x-flex_y.y.y.y.swc
         [copy] Copying C:\projects\FlexUnit4FlexCoverListener\target\flexunit-flexcoverlistener-4.1.0-x-y.y.y.y. swc to C:\projects\FlexUnit4Test\libs\flexunit-flexcoverlistener-4.1.0-x-y.y.y.y.swc
         [copy] Copying 1 file to C:\projects\FlexUnit4Test\libs\build
         [copy] Copying C:\projects\FlexUnit4AntTasks\target\flexUnitTasks-4.1.0-x.jar to C:\projects\FlexUnit4Test\libs\build\flexUnitTasks-4.1.0-x.jar
    test-only:
         [echo] Testing FlexUnit Flex build...
        [mxmlc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
        [mxmlc] C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf (924564 bytes)
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using default working dir [C:\projects\FlexUnit4Test]
    [flexunit] Using the following settings for the test run:
    [flexunit]  FLEX_HOME: [C:\flexunit]
    [flexunit]  haltonfailure: [false]
    [flexunit]  headless: [false]
    [flexunit]  display: [99]
    [flexunit]  localTrusted: [true]
    [flexunit]  player: [flash]
    [flexunit]  port: [1024]
    [flexunit]  swf: [C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf]
    [flexunit]  timeout: [60000ms]
    [flexunit]  toDir: [C:\projects\FlexUnit4Test\target\report\xunit\flex]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Entry [C:\projects\FlexUnit4Test\target\bin] already available in local trust file at [C:\Documents and Settings\Administrator\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust\flexUnit.cfg].
    [flexunit] Executing 'rundll32' with arguments:
    [flexunit] 'url.dll,FileProtocolHandler'
    [flexunit] 'C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
          [ant] Exiting C:\projects\FlexUnit4Test\build.xml.
    After this part of the log I get the following:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    BUILD FAILED
    C:\projects\build.xml:103: The following error occurred while executing this line:
    C:\projects\FlexUnit4Test\build.xml:180: The following error occurred while executing this line:
    C:\projects\FlexUnit4Test\build.xml:62: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
            at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
            at java.util.concurrent.FutureTask.get(FutureTask.java:111)
            at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
            at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:390)
            at org.apache.tools.ant.Target.performTasks(Target.java:411)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:390)
            at org.apache.tools.ant.Target.performTasks(Target.java:411)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
            at org.apache.tools.ant.Main.runBuild(Main.java:809)
            at org.apache.tools.ant.Main.startAnt(Main.java:217)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Caused by: Socket timeout waiting for flexunit report
            at org.flexunit.ant.FlexUnitSocketServer.start(Unknown Source)
            at org.flexunit.ant.FlexUnitSocketThread.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: java.net.SocketTimeoutException: Accept timed out
            at java.net.TwoStacksPlainSocketImpl.socketAccept(Native Method)
            at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:396)
            at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
            at java.net.ServerSocket.implAccept(ServerSocket.java:522)
            at java.net.ServerSocket.accept(ServerSocket.java:490)
            at org.flexunit.ant.FlexUnitSocketServer.openClientSocket(Unknown Source)
            ... 7 more
    Total time: 1 minute 38 seconds
    So everything seems to be building correctly now, but not executing correctly.  Also, there are still a number of properties that are not being set:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    report:
    Skipped because property 'build.report' not set.
    instrument-compile:
    Skipped because property 'build.instrument' not set.
    package-instrument:
    Skipped because property 'build.instrument' not set.
    pmdReport:
    Skipped because property 'build.pmd' not set.
    Where should these values be set and what are appropriate values?  What could be causing the socket timeout and what exactly is it waiting for or attempting to accomplish with the sockets?
    The end goal is to be able to use the flex SDK, flexunit and ANT on a linux server to automate my build/test process.  I am currently just trying to get ANT to work with the flex SDK and flexunit on a windows XP box so I can see what the output should be and how the whole system works before trying to inject it into my CI system.

  • Building and Deploying Within a Directory ?

    Hi Guys,
    Iv just been going through the "Oracle9iAS Containers for J2EE Users Guide, Release 2 (9.0.2)" pdf and have juts gone through the Building and Deploying within a directory.
    This is something, as a developer I would love or even demand to be able to do as createing war , jar and ear files each time I make a change is a total time nightmare...
    Unfortunately I was'nt able to get the above working with a very simple app.
    Before trying the app I made sure I could deploy it normally as a an ear file which worked.
    Below follows a description of the dir structure plus info added to relavent .xml files ( gods theres so many )..
    j2ee/home/applications/BalanceManager
    WebModule/
    WEB-INF/
    lib/
    classes/
    web.xml
    AccountHolders.jsp
    META-INF
    EJBModule/
    META-INF/
    application.xml
    application.xml ( not the one in config dir but the one in the above dir struct, ear application.xml) :-
    <application>
    <display-name>BM</display-name>
    <module>
    <ejb>EJBModule</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebModule</web-uri>
    <context-root>BM</context-root>
    </web>
    </module>
    </application>
    server.xml ( in j2ee/home/config )
    <application name="BM" path="../applications/BalanceManager" auto-start="true" />
    http-web-site.xml:-
    <web-app application="BM" name="BalanceManager/WebModule" root="/BM" />
    The above files have been edited as of the document above, which can also be found at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95880.pdf.
    When I start up OC4J the application gets deployed ( dos prompt ):-
    C:\devenv\oc4j\j2ee\home>java -jar oc4j.jar
    Auto-deploying BM (New server version detected)...
    Copying default deployment descriptor from archive at C:
    pplications\BalanceManager\BaEJBModule/META-INF/orion-ej
    directory C:\devenv\oc4j\j2ee\home\application-deploymen
    Auto-deploying BaEJBModule (No previous deployment found
    Auto-deploying file:/C:/devenv/oc4j/j2ee/home/applicatio
    odule/ (New server version detected)...
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    and also a BM dir is created in the application-deployements dir.
    So everything looks great, but when I navigate to -
    http://localhost:8686/BM/AccountHolders.jsp
    I get http 500 error page cannot be displayed.
    So it looks like the context root BM did'nt get added to the servers web context,
    but why??
    Obviously AccountHolders.jsp is the jsp in the WebModule dir.
    Iv been tweaking this and that and obviously tweaking never seems to work so if any ones got any ideas or suggestions on how to setup and deploy within dirs instead of ears please reply to me asap.
    Look forward to your answers,
    Stephen.

    Stephen,
    The entry in the http-web-site.xml should be:
    <web-app application="BM" name="WebModule" root="/BM" />
    This should be the name of the web-module in the application (EAR).
    regards
    Debu Panda
    oracle

  • The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing

    Hello,
    I want to create web service from ejb but everytime I want to do it, I get the following error:
    I'm using NWDS 7.2 and JDK 1.6
    [004]Deployment aborted
    Settings
    SDM host : XXX
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/XXXX/LOCALS1/Temp/temp3760382784932063822XXXWSProjectEar.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/XXX/LOCALS1/Temp/temp3760382784932063822XXX/WSProjectEar.ear
    Aborted: development component 'XXXWSProjectEar'/'sap.com'/'localhost'/'2011.01.06.15.48.31'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/XXXWSProjectEar.. Reason: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing. ; nested exception is:      com.sap.engine.services.ejb.exceptions.deployment.EJBXMLParserException: The DOCTYPE declaration in the ejb-jar.xml deployment descriptor is missing.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Can anyone tell me why am I getting this error.
    Thnx for your help.
    Best regards.

    Hello Decio Junior,
    Actually yes, I resolved my problem.
    I'm developing an EJB 3.0 project. I'm using NWDS 7.2 and JDK 1.6 as I said.
    The problem is that my server was using JDK 1.4 and that was the problem.
    EJB 1.1 and 2.1 need ejb-jar.xml but EJB 3.0 use the annotations instead.
    Check your server JDK Version. It should be JDK 1.5 or higher.
    Something else that you should check, in your project properties :
    In the Build PATH : Use JDK 1.5
    In the Java Compiler : Set the java compiler compliance level to 1.6 and check use default compliance settings
    Hope it would help.
    If you need more explanations, I'm here
    Good luck.

Maybe you are looking for

  • Ps CS6 Problem: Transform applied to Smart Object fails to transform an attached Smart Filters Mask

    Ps CS6 OSX 10.6.8 Problem: Transform applied to Smart Object fails to transform an attached Smart Filters Mask. I mean a Transform, including Free Transform, as found in the Edit menu.  A simple move by the Move Tool is OK. A workaround until this bu

  • Upgrading a DC in place from Server 2008 R2 to Server 2012 R2

    This is not a question but more of an information post. I've found lots of posts regarding the upgrade of a DC and most say that you should do a clean install and migrate services and then decommission the old server. But I was more interested in an

  • How to create Text variable

    Hi Gurus, May i know the step by step procedure to create text variable? Is there any Transaction code? Thanks & Regards, Prabha

  • Create datafinder server connection

    Is there a way to create a datafinder server connection in script? I have a file location that needs to be typed in (you can't find it by going through folders), and want to know if there are other methods of adding server connections. Thanks, Artemi

  • Design view is unavailable for x64 and ARM target platforms

    I've started seeing this message when I set the Configuration Manager to build for the ARM platform. The error output also reports that LayoutAwarePage does not existing in the namespace "using:<appname>.Common", and that the member Resources is not