Annotation manifest task in build.xml

Hi,
I'm constantly getting a build failure, when i try to ANT build the build.xml in my project. It gives an error
"taskdef class weblogic.ant.taskdefs.build.AnnotationManifestTask cannot be found"
though i have my AnnotationManifestTask.class in the weblogic.jar i m facing this error.
i'm attaching the piece of code where i'm getting an error
<taskdef name="build-manifests"
classname="weblogic.ant.taskdefs.build.AnnotationManifestTask" onerror="fail" />
I'm working on Weblogic 9.2
Edited by haloamar at 03/21/2007 2:32 AM

Hi,
I'm constantly getting a build failure, when i try to
ANT build the build.xml in my project. It gives an
error
"taskdef class
weblogic.ant.taskdefs.build.AnnotationManifestTask
cannot be found"
though i have my AnnotationManifestTask.class in the
weblogic.jar i m facing this error.
i'm attaching the piece of code where i'm getting an
error
<taskdef name="build-manifests"
classname="weblogic.ant.taskdefs.build.AnnotationMani
festTask" onerror="fail" />
I'm working on Weblogic 9.2
Edited by haloamar at 03/21/2007 2:32 AMtry adding classpathref="bea-classpath" to the classpathref. Example:
<taskdef name="build-manifests"
classpathref="bea-classpath"
classname="weblogic.ant.taskdefs.build.AnnotationManifestTask"
onerror="fail" />
That worked for me....no idea why workshop generates broken build.xml there.

Similar Messages

  • Fun with annotation-manifest.xml

    Hello everyone,
    I'm working on a webservices app that talks to a Tuxedo domain via beehive / annotation driven WTC controls. Most things seem work, I can deploy, etc. My build.xml runs various ant tasks such as jwsc, wlappc, apt and finally wldeploy.
    However when I press on the Testing tab inside the WebLogic Server Admin Control I an error...
    Errors were encountered while scanning the descriptors or deployment plan<snip verbiage>
    Descriptor note found: META-INF/annontation-manifest.xml for app module null
    What I am looking for is anyone who has an example build.xml that creates this artifact. An older copy of the .ear file I have shows this file, however it was created inside the Oracle Workshop for WebLogic IDE. For other reasons, I won't go into, using the IDE is not an option.
    In the mean time I have been read some 9.2 documentation that makes mention of an ant macro entitled generate-manifests, but so far I have been unable to run it with success. I have not been able to confirm if one should use this macro in a 10.3 environment. Although several bits of documentation tells me using beehive and annotations makes thing "easier", so far I'm not feeling the love :(
    Thanks in advance.
    Regards,
    -Randy

    Hi Jay,
    Thanks for the response. Yesterday I attempted something very similar to your suggested work around. I manually added annotation-manifest.xml to:
    FOO.ear/FOO.war/META-INF/annotation-manifest.xml and did a redeploy. To prep for this post, I just shutdown WebLogic and restarted it. When I clicked on Settings for FOO the console log reports...
    <Jul 8, 2010 9:31:06 AM MST> <Error> <Console> <BEA-240003> <Console encountered the following error java.io.IOException: Exception in AppMerge flows' progression
         at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:70)
    <snip 67 lines of stack dump...>
         at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63)
         ... 63 more
    Caused by: weblogic.utils.compiler.ToolFailureException: Descriptor not found: META-INF/annotation-manifest.xml for app module null
    Your post makes me wonder if trying different locations for this file may be helpful. After all the base problem in the console log is a simple IOException, as if it can't find this xml file. But that will have to wait. I'm off exploring what it would take to remove beehive and use WTC directly. Processing through the WTC simpapp example, running into a few issues, but that is another story. My rationale for nixing beehive is the Apache sites says it is retired as of 2010/01/11. I also note WebLogic 10 (compared to 9) doesn't have beehive examples in its documentation.
    Regards,
    -Randy

  • Compile build.xml with Ant for web service with annotations

    Hi Friends,
    I have a web service with annotations, using javax.annotation.PostConstruct, and javax.annotation.PreDestroy.
    I have a build.xml to create a EAR for this web service.
    When I run the ant task, the build complete successfully but the .war file cannot be deployed on the WLS server. Taking a closer look, I see that the required files such as, webservices.xml, weblogic.xml, weblogic-webservices.xml, Provision.wsdl files are not generated.
    Following is the build.xml file:
    <?xml version="1.0" encoding="windows-1252" ?>
    <project default="jwsc">
    <property file="build.properties"/>
    <property name="weblogic.jar.classpath"
    value="C:/bea_jDev/wlserver_10.3/server/lib"/>
    <property name="oimclient.jar.classpath"
              value="C:/_data/Project_Dc/OIM_jars" />
         <property name="com.jar.classpath" value="C:/JDeveloper/mywork/Service_Test/lib" />
    <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">
    <classpath>
    <path id="weblogic.classpath">
    <pathelement path="WEBLOGIC_HOME"/>
    <fileset dir="${weblogic.jar.classpath}">
    <include name="**/*.jar"/>
    </fileset>
    </path>
    </classpath>
    </taskdef>
    <target name="all" depends="clean,build-service,deploy"></target>
    <target name="build-service">
         <jwsc srcdir="${src.home}" destdir="ear_directory" >
    <classpath>
    <path id="oim.classpath">
    <pathelement path="OIM_HOME"/>
    <fileset dir="${oimclient.jar.classpath}">
    <include name="**/*.jar"/>
    </fileset>
    <fileset dir="${com.jar.classpath}">
    <include name="**/*.jar"/>
    </fileset>
    </path>
    </classpath>
    <jws file="${jws.home}" type="JAXWS" />
    </jwsc>
    </target>
    <target name="deploy">
    <!--add wldeploy task here -->
    </target>
    <target name="clean">
    <delete dir="output" />
    </target>
    </project>
    Can you please point out what else is to be done and where exactly am I going wrong in writing the build.xml file.
    Let me know if some else information is required.

    This is what I get when I run the ant task:
    Buildfile: C:\JDeveloper\mywork\ProvisioningService_Test2\Provision\resource\build.xml
    build-service:
    [jwsc] JWS: processing module /com/fox/provision/webservice/endpoint/impl/ProvisionEndPointImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /com/.../provision/webservice/endpoint/impl/ProvisionEndPointImpl
    [jwsc] [JAM] Warning: failed to resolve class org.apache.xmlbeans.XmlObject
    [jwsc] [JAM] Warning: failed to resolve class com.bea.xml.XmlObject
    [jwsc] [JAM] Warning: failed to resolve class javax.xml.rpc.holders.Holder
    [jwsc] JWS: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\endpoint\impl\..EndPointImpl.java Validated.
    [jwsc] Processing 1 JAX-WS web services...
    [jwsc] warning: Specified AnnotationProcessorFactory, 'com.sun.istack.ws.AnnotationProcessorFactoryImpl', not found on search path.
    warning: No annotation processors found but annotations present.
    2 warnings
    [jwsc] Compiling 2 source files to C:\DOCUME~1\....\LOCALS~1\Temp\_lsgijm
    [jwsc] Building jar: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\deploy\ear_directory\com\fox\provision\webservice\endpoint\impl\...EndPointImpl.war
    [jwsc] Created JWS deployment outputFile: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\deploy\ear_directory\....\...\provision\webservice\endpoint\impl\..EndPointImpl.war
    [jwsc] [EarFile] Application File : C:\..\...\..\...\code\ProvisioningService\src\com\.....\provision\webservice\deploy\ear_directory\META-INF\application.xml
    [AntUtil.deleteDir] Deleting directory C:\DOCUME~1\....\LOCALS~1\Temp\_lsgijm
    BUILD SUCCESSFUL
    Total time: 7 seconds
    Due to some limitations, I edited the path in the build.xml files.
    Please let me know what can be done. Thanks.
    Edited by: user9112073 on Nov 22, 2011 9:52 PM

  • [svn] 2153: build.xml: Adding a description to the 'asc-tests' task to match the other *-tests tasks.

    Revision: 2153
    Author: [email protected]
    Date: 2008-06-19 18:34:42 -0700 (Thu, 19 Jun 2008)
    Log Message:
    build.xml: Adding a description to the 'asc-tests' task to match the other *-tests tasks.
    Modified Paths:
    flex/sdk/trunk/build.xml

    Thats good news.

  • Ant: How to execute / skip tasks by property in build.xml ?

    Hi,
    I want to create a build.xml to execute / skip tasks dynamically by property in build.xml.
    eg: I can define one property "needObfuscate" in either "true" or "false". I will contruct 2 tasks for obfuscate and non-obfuscate to fullfill the 2 cases. Only one of them WILL be executed depend on the flag "needObfuscate".
    ** I know Antenna's task "wtkpackage" has an arguement "obfuscate" to set. It's an example, what I want to know is how to execute / skip the tasks.
    Task "condition" is just used to set the property in runtime.
    <condition property="result" value="User choose 001.">
    <equals arg1="001" arg2="${select}"/>
    </condition>
    There is other tasks can fullfill what I expect ?
    Please guide me how to make it.
    Thanks.

    Hi,
    I've done one build.xml like below:
    <?xml version="1.0"?>
    <project name="PropertyPromptExample" default="main" basedir=".">
    <target name="windowsTask">
    <echo>windowsTask</echo>
    </target>
    <target name="linuxTask">
    <echo>linuxTask</echo>
    </target>
    <target name="main">
    <input message="Please enter platform(0 Windows, 1 Linux):" addproperty="select"/>
    <condition property="platform" value="windowsTask">
    <equals arg1="0" arg2="${select}"/>
    </condition>
    <condition property="platform" value="linuxTask">
    <equals arg1="1" arg2="${select}"/>
    </condition>
    <antcall target="${platform}"/>
    </target>
    </project>
    :)

  • [svn:fx-4.0.0] 13647: this should actually fix the build - call the modified main target to call the bundle task for osmf and actually make the call from frameworks /build.xml

    Revision: 13647
    Revision: 13647
    Author:   [email protected]
    Date:     2010-01-19 17:04:22 -0800 (Tue, 19 Jan 2010)
    Log Message:
    this should actually fix the build - call the modified main target to call the bundle task for osmf and actually make the call from frameworks/build.xml
    QE notes:
    Doc notes:
    Bugs:
    Reviewer:
    Tests run:
    Is noteworthy for integration:
    Modified Paths:
        flex/sdk/branches/4.0.0/frameworks/build.xml

    Hi Renuka,
    The model classes get generated under gen_cmi folder at the time of model import.
    As far I know, the Web Dynpro build operation also re-generates these classes if reqd.
    That is why I asked you to delete the gen_* folder content & do a Project Rebuild operation.
    Or you can delete the model & try importing it again.
    If the problem persists with the generated classes then there is an issue/bug with the generation & I would recommend to raise an OSS message (WD Java component)
    Kind Regards,
    Nitin

  • [svn:bz-trunk] 21002: Clean up build. xml and remove unnecessary delete task in the jar target.

    Revision: 21002
    Revision: 21002
    Author:   [email protected]
    Date:     2011-03-31 09:47:04 -0700 (Thu, 31 Mar 2011)
    Log Message:
    Clean up build.xml and remove unnecessary delete task in the jar target. 
    Checkin tests passed.
    Modified Paths:
        blazeds/trunk/modules/core/build.xml
        blazeds/trunk/modules/proxy/build.xml
        blazeds/trunk/modules/remoting/build.xml

    Well obviously it is an Ant build.
    It looks to just compile/build a web application into a war so you can deploy it where you want to.
    You don't need to edit it every time you are making a new page. It should work for any generic struts web application laid out in the fashion it expects.
    Cheers,
    evnafets

  • Obfuscate in build.xml

    Hi,
    does obfuscating jars in ant in windows not work? I have the following code & get the error that seems to be related to obfuscation.
    <project name="sims" default="CustomerDist" basedir=".">
      <property file="ant.properties"/>
      <property environment="localenv"/>
      <!--
      <taskdef name="proguard" classname="proguard.ant.ProGuardTask" classpath="builder/proguard.jar" />
      -->
      <taskdef classpath="jcoverage.jar" resource="tasks.properties"/>
      <target name="init">
        <fail unless="PROPERTIESLOADED">missing PROPERTIESLOADED, have you renamed ant.properties.sample to ant.properties?</fail>
        <available property="elandlibs_DirectoryExists"
                   file="${elandlibs}"
                   type="dir"
                   />
        <fail unless="elandlibs_DirectoryExists">Cannot find the shared 'javalibs' CVS project. Have you checked this project out of CVS and set the elandlibs property in ant.properties?</fail>
        <mkdir dir="${testbuild}"/>
        <mkdir dir="${build}"/>
        <mkdir dir="${build2}"/>
        <mkdir dir="${dist}"/>
        <mkdir dir="distInternal"/>
        <mkdir dir="${libdir}"/>
        <fail unless="OBFUSCATE_JAR">missing environment variable OBFUSCATE_JAR from ant.properties</fail>
          <!-- Decide whether to OBFUSCATE  the sims jar file-->
          <condition property="obfuscate">
           <not><or>
            <equals arg1="${OBFUSCATE_JAR}" arg2="NO"/>
            <equals arg1="${OBFUSCATE_JAR}" arg2="No"/>
            <equals arg1="${OBFUSCATE_JAR}" arg2="no"/>
            <equals arg1="${OBFUSCATE_JAR}" arg2="False"/>
            <equals arg1="${OBFUSCATE_JAR}" arg2="FALSE"/>
           </or></not>
          </condition>
        <copy todir="${libdir}">
          <fileset dir="extra">
             <include name="com.ibm.mq.jar"/>
             <include name="com.ibm.mqjms.jar"/>
             <include name="elandjavadev-v2.1.008.jar"/>
             <include name="jbcl.jar"/>
             <include name="jgl3.1.0.jar"/>
          </fileset>
        </copy>
        <copy todir="${libdir}">
          <fileset dir="${elandlibs}">
             <include name="xmlrpc-1.1.jar"/>
             <include name="xercesImpl-2.4.jar"/>
             <include name="xml-apis-2.4.jar"/>
             <include name="xmlParserAPIs-2.4.jar"/>
             <include name="elandsdk-1.0.3.jar"/>
             <include name="rwos-v2.4.0.001_int-javaapi.jar"/>
             <include name="log4j-1.2.8.jar"/>
             <include name="oro-2.0.8.jar" />
             <include name="dom4j-1.3.jar" />
                <include name="castor-0.9.5.3-xml.jar"/>
                <include name="jta1.0.1.jar"/>
                <include name="xercesImpl-2.4.jar"/>
          </fileset>
        </copy>
          <path id="castor.classpath">
             <fileset dir="${elandlibs}">
                <include name="castor-0.9.5.3-xml.jar"/>
                <include name="jta1.0.1.jar"/>
                <include name="xercesImpl-2.4.jar"/>
             </fileset>
          </path>
      </target>
      <target name="installer" depends="CustomerDist">
         <copy todir="install">
             <fileset dir="${dist}"/>
         </copy>
         <ant antfile="build.xml" dir="install" target="installer"/>
      </target>
       <target name="refresh_config_beans" depends="init,cleancastorfiles">
           <property name="target_schema" value="RunwaySimulatorConfig.xsd" />
           <echo>Generating code for XSD Schema: ${target_schema}</echo>
          <copy file="RunwaySimulatorConfig.xsd" tofile="src/RunwaySimulatorConfig.xsd"/>
           <java classname="org.exolab.castor.builder.SourceGenerator"
            fork="yes" dir="${src}" classpathref="castor.classpath">
          <arg line="-i ${target_schema} -f -dest . -nomarshall -package com.elandtech.sims.config.castor"/>
           </java>
           <delete file="src/RunwaySimulatorConfig.xsd"/>
       </target>
       <target name="cleancastorfiles" depends="init">
          <delete dir="${src}/com/elandtech/sims/config/castor"/>
            <echo>Deleting the directory: ${src}/com/elandtech/sims/config/castor}</echo>
       </target>
      <target name="compile" depends="init,refresh_config_beans" description="compile the source " >
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.jpg"/>
        </copy>
        <javac srcdir="${src}" destdir="${build}" debug="on" optimize="on" deprecation="off">
          <classpath>
            <fileset dir="${libdir}">
              <include name="**/*.jar" />
            </fileset>
            <pathelement path="${build}" />
          </classpath>
        </javac>
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.properties"/>
        </copy>
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.gif"/>
        </copy>
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.jpg"/>
        </copy>
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.txt"/>
        </copy>
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.ghost"/>
        </copy>
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.dec"/>
        </copy>
        <copy todir="${build}">
          <fileset dir="src" includes="**/*.nan"/>
        </copy>
      </target>
      <target name="jar" depends="compile" description="generate JAR file" >
        <mkdir dir="${dist}/lib"/>
        <copy todir="${dist}/lib">
          <fileset dir="${libdir}"/>
        </copy>
        <jar destfile="${dist}/lib/sims.jar"  manifest="jars/sims.mf" >
           <fileset dir="${build}">
               <exclude name="**/itc/**"/>
               <exclude name="**/ghostengines/ITCGhostEngine.class"/>
               <exclude name="**/ghostengines/runway/**"/>
               <exclude name="**/ghostengines/RunwayGhostEngine.class"/>
           </fileset>
        </jar>
        <jar destfile="${dist}/lib/GhostEngineRunway.jar"
           basedir="${build}"
           excludes="*"
           includes="**/ghostengines/runway/** **/ghostengines/RunwayGhostEngine.class **/ghostengines/RequestResponsePair.class" />
        <jar destfile="${dist}/lib/GhostEngineRunway.jar"
           basedir="${build}"
           excludes="*"
           includes="**/ghostengines/runway/** **/ghostengines/RunwayGhostEngine.class" />
        <jar destfile="${dist}/lib/GhostEngineITC.jar"
           basedir="${build}"
           excludes="*"
           includes="**/itc/** **/ghostengines/ITCGhostEngine.class" />
        <!-- <echo>Obfuscate avoidance set to ${localenv.OBFUSCATE}</echo> -->
        <echo>Obfuscate avoidance set to ${OBFUSCATE_JAR}</echo>
      </target>
      <target name="obfuscate" depends="jar" description="obfuscate code" if="obfuscate" >
        <move file="${dist}/lib/sims.jar" tofile="${dist}/lib/sims_unobf.jar"/>
      <taskdef resource="proguard/ant/task.properties"
               classpath="builder/proguard.jar" />
       <proguard ignorewarnings="on" >
            -injars       ${dist}/lib/sims_unobf.jar
            -outjars      ${dist}/lib/sims.jar
            -libraryjars  ${java.home}/lib/rt.jar
            -printmapping progaurd_mapping.txt
            -keep public class com.elandtech.sims.Main {
                public static void main(java.lang.String[]);
            -dontshrink
            -dontoptimize
            -renamesourcefileattribute SourceFile
            -keepattributes InnerClasses,SourceFile,LineNumberTable,Deprecated,Signature,*Annotation*,EnclosingMethod
            <!-- Ghost Engine Classes.. -->
            -keep public class com.elandtech.sims.ghostengines.GhostEngine
            -keep public class com.elandtech.sims.ghostengines.GhostEngine  {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.SimsWithPaternMatchingGhostEngine
            -keep public class com.elandtech.sims.ghostengines.SimsWithPaternMatchingGhostEngine {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.SimsGhostEngine
            -keep public class com.elandtech.sims.ghostengines.SimsGhostEngine {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.RequestResponsePair
            -keep public class com.elandtech.sims.ghostengines.RequestResponsePair {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.ITCGhostEngine
            -keep public class com.elandtech.sims.ghostengines.ITCGhostEngine {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.RunwayGhostEngine
            -keep public class com.elandtech.sims.ghostengines.RunwayGhostEngine {
                public protected *;
            <!-- Logging interface.. -->
            -keep public class com.elandtech.sims.logging.LogManager
            -keep public class com.elandtech.sims.logging.LogManager {
                public protected *;
            -keep public class com.elandtech.sims.logging.LogMessage
            -keep public class com.elandtech.sims.logging.LogMessage {
                public protected *;
            -keep public class com.elandtech.sims.logging.LogGenerator
            -keep public class com.elandtech.sims.logging.LogGenerator {
                public protected *;
            -keep public class com.elandtech.sims.logging.Log4jLogger {
                public protected *;
            -keep public class com.elandtech.sims.logging.LogListener. {
                public protected *;
            -keep public class com.elandtech.sims.logging.FileLogger {
                public protected *;
            <!-- Remote interface.. -->
            -keep public class com.elandtech.sims.api.Handler
             -keep public class com.elandtech.sims.api.Handler {
                  public protected *;
            -keep public class com.elandtech.sims.api.RemoteClient
              -keep public class com.elandtech.sims.api.RemoteClient {
                   public protected *;
            <!-- Configuration classes.. -->
            -keep public class com.elandtech.sims.config.SimsSettings
            -keep public class com.elandtech.sims.config.ConnectionSettings
            -keep public class com.elandtech.sims.config.SimsSettings {
                public protected *;
            -keep public class com.elandtech.sims.config.ConnectionSettings
            -keep public class com.elandtech.sims.config.ConnectionSettings {
                public protected *;
            <!-- Utility classes.. -->
            -keep public class com.elandtech.eland.commonx.text.EString {
                public protected *;
        </proguard>
        <delete file="${dist}/lib/sims_unobf.jar"/>
      </target>
      <!-- Create a Customer distribution. -->
      <target name="CustomerDist" depends="jar, obfuscate, readversion" description="generate the distribution" >
       <copy file="scripts/startup.bat" tofile="${dist}/startup.bat"/>
        <mkdir dir="${dist}/docs"/>
        <copy todir="${dist}/docs">
          <fileset dir="docs" includes="**/*.pdf"/>
        </copy>
        <copy file="RunwaySimulatorConfig.xsd" tofile="${dist}/docs/RunwaySimulatorConfig.xsd"/>
        <copy todir="${dist}">
          <fileset dir="configdist"/>
        </copy>
        <zip zipfile="RunwayHostsSimCustDist${version}.zip">
          <fileset dir="${dist}"/>
        </zip>
      </target>
      <target name="clean" description="clean up" >
        <delete dir="${testbuild}"/>
        <delete dir="${junitreports}"/>
        <delete dir="${build}"/>
        <delete dir="build2"/>
        <delete dir="${dist}"/>
        <delete dir="${libdir}"/>
        <delete dir="distInternal"/>
        <delete dir="tmp"/>
        <delete>
           <fileset dir="." includes="sims-**.zip"/>
        </delete>
      </target>
      <taskdef name="genjar" classname="org.apache.tools.ant.taskdefs.optional.genjar.GenJar" classpath="builder/GenJar.jar"/>
      <path id="classpath">
         <fileset dir="${libdir}">
             <include name="**/*.jar"/>
         </fileset>
      </path>
        <path id="classpath.sims">
            <pathelement location="${build}"/>
            <fileset dir="${libdir}">
                <include name="**/*.jar"/>
            </fileset>
        </path>
        <path id="classpath.build">
           <pathelement location="${build}"/>
        </path>
      <target name="includeAllResources" >
              <unzip dest="build2">
                <patternset>
                    <include name="**/*.properties"/>
                    <exclude name="**/*.java"/>
                    <exclude name="**/*.class"/>
                    <include name="**/*.gif" />
                    <include name="**/*.jpg" />
                </patternset>
                <fileset dir="extra">
                    <include name="**/*.jar"/>
                    <include name="**/*.zip"/>
                </fileset>
            </unzip>
      </target>
      <target name="gen-obfuscate"
              depends="jar"
              description="obfuscate the complete jar" if="obfuscate">
       <taskdef resource="proguard/ant/task.properties"
               classpath="builder/proguard.jar" />
       <move file="distInternal/sims.jar" tofile="distInternal/sims_temp.jar"/>
       <proguard>
            -injars       distInternal/sims_temp.jar
            -outjars      distInternal/sims.jar
            -libraryjars  ${java.home}/lib/rt.jar
            -printmapping progaurd_mapping.txt
            -keep public class com.elandtech.sims.Main {
                public static void main(java.lang.String[]);
            -dontshrink
            -dontoptimize
            -renamesourcefileattribute SourceFile
            -keepattributes InnerClasses,SourceFile,LineNumberTable,Deprecated,Signature,*Annotation*,EnclosingMethod
            <!-- Ghost Engine Classes.. -->
            -keep public class com.elandtech.sims.ghostengines.GhostEngine
            -keep public class com.elandtech.sims.ghostengines.GhostEngine  {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.SimsWithPaternMatchingGhostEngine
            -keep public class com.elandtech.sims.ghostengines.SimsWithPaternMatchingGhostEngine {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.SimsGhostEngine
            -keep public class com.elandtech.sims.ghostengines.SimsGhostEngine {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.RequestResponsePair
            -keep public class com.elandtech.sims.ghostengines.RequestResponsePair {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.ITCGhostEngine
            -keep public class com.elandtech.sims.ghostengines.ITCGhostEngine {
                public protected *;
            -keep public class com.elandtech.sims.ghostengines.RunwayGhostEngine
            -keep public class com.elandtech.sims.ghostengines.RunwayGhostEngine {
                public protected *;
            <!-- Logging interface.. -->
            -keep public class com.elandtech.sims.logging.LogManager
            -keep public class com.elandtech.sims.logging.LogManager {
                public protected *;
            -keep public class com.elandtech.sims.logging.LogMessage
            -keep public class com.elandtech.sims.logging.LogMessage {
                public protected *;
            -keep public class com.elandtech.sims.logging.LogGenerator
            -keep public class com.elandtech.sims.logging.LogGenerator {
                public protected *;
            -keep public class com.elandtech.sims.logging.Log4jLogger {
                public protected *;
            -keep public class com.elandtech.sims.logging.LogListener. {
                public protected *;
            -keep public class com.elandtech.sims.logging.FileLogger {
                public protected *;
            <!-- Remote interface.. -->
            -keep public class com.elandtech.sims.api.Handler
            -keep public class com.elandtech.sims.api.RemoteClient
            <!-- Configuration classes.. -->
            -keep public class com.elandtech.sims.config.SimsSettings
            -keep public class com.elandtech.sims.config.ConnectionSettings
            -keep public class com.elandtech.sims.config.SimsSettings {
                public protected *;
            -keep public class com.elandtech.sims.config.ConnectionSettings
            -keep public class com.elandtech.sims.config.ConnectionSettings {
                public protected *;
            <!-- Utility classes.. -->
            -keep public class com.elandtech.eland.commonx.text.EString {
                public protected *;
       </proguard>
        <delete file="distInternal/sims_temp.jar"/>
      </target>
      <!-- Create a combined distribution where all the classes and resources are combined in to one file. -->
      <target name="InternalDist"
              depends="readversion,jar,includeAllResources"
              description="Generates all in one Jar file">
        <copy file="${dist}/lib/sims.jar" tofile="distInternal/sims.jar"/>
        <!-- first perform the obfuscate  on the core SIMS product -->
        <antcall target="gen-obfuscate"/>
        <!-- Create a sims.jar file containing all the files required to run the sims-->
        <genjar jarfile="distInternal/sims${version}.jar">
          <class name="com.elandtech.sims.Main"/>
          <class name="com.elandtech.sims.ghostengines.SimsGhostEngine"/>
          <class name="com.elandtech.sims.ghostengines.SimsWithPaternMatchingGhostEngine"/>
          <class name="com.elandtech.sims.ghostengines.RunwayGhostEngine"/>
          <class name="com.elandtech.sims.ghostengines.ITCGhostEngine"/>
          <library jar="${libdir}/castor-0.9.5.3-xml.jar"/>
          <library jar="${libdir}/log4j-1.2.8.jar"/>
          <library jar="distInternal/sims.jar"/>
          <library jar="${libdir}/xmlrpc-1.1.jar"/>
          <library jar="${libdir}/xml-apis-2.4.jar"/>
          <library jar="${libdir}/xercesImpl-2.4.jar"/>
          <resource>
             <fileset dir="${build}">
               <include name="**/*.properties" />
               <include name="**/*.gif" />
               <include name="**/*.jpg" />
             </fileset>
          </resource>
          <resource>
             <fileset dir="${build2}">
               <include name="**/*.properties" />
               <include name="**/*.gif" />
               <include name="**/*.jpg" />
             </fileset>
          </resource>
          <classpath>
              <pathelement location="distInternal/sims.jar"/>
            <pathelement location="build"/>
            <fileset dir="${libdir}">
                <include name="**/*.jar"/>
            </fileset>
          </classpath>
          <manifest template="${src}/META-INF/sims.mf"/>
        </genjar>
        <copyfile src="scripts/startup_dist2.bat" dest="distInternal/startup.bat"/>
        <mkdir dir="distInternal/docs"/>
        <copy todir="distInternal/docs">
          <fileset dir="docs" includes="**/*.pdf"/>
        </copy>
        <copy file="RunwaySimulatorConfig.xsd" tofile="distInternal/docs/RunwaySimulatorConfig.xsd"/>
        <replace file="distInternal/startup.bat" token="${SIMS_FILENAME}" value="sims_${version}.jar"/>
        <copy todir="distInternal">
          <fileset dir="configdist"/>
        </copy>
        <zip zipfile="RunwayHostsSimIntDist${version}.zip">
          <fileset dir="distInternal"/>
        </zip>
        <delete file="distInternal/sims.jar"/>
      </target>
      <!--  ************************************************************
                         Create a jar containing the
                         Ghost Runway Ghost Engine API Only
            ************************************************************ -->
      <target name="genGhostEngine"
              depends="readversion,compile,includeAllResources"
              description="Generates all in one Jar file">
          <!-- -->
        <genjar jarfile="ghostEngine.jar">
          <class name="com.elandtech.sims.ghostengines.sample.TestRunwayGhost"/>
          <!--
          <resource>
             <fileset dir="${build}">
               <include name="**/*.properties" />
               <include name="**/*.gif" />
               <include name="**/*.jpg" />
               <include name="**/*.dec" />
               <include name="**/*.ghost" />
               <include name="**/*.txt" />
             </fileset>
          </resource>
          <resource>
             <fileset dir="${build2}">
               <include name="**/*.properties" />
               <include name="**/*.gif" />
               <include name="**/*.jpg" />
               <include name="**/*.dec" />
               <include name="**/*.ghost" />
               <include name="**/*.txt" />
             </fileset>
          </resource>
          -->
          <classpath refid="classpath.sims" />
          <!--<manifest template="${src}/META-INF/sims.mf"/> -->
        </genjar>
      </target>
      <!-- utility task to get version information and put it in to enviornment variables ${version} and ${cvsversion}-->
      <taskdef name="getversion" classname="com.elandtech.anttasks.GetVersion" classpath="builder/elandAntTasks.jar"/>
      <target name="readversion" >
         <getversion file="${app.version.file}" />
         <echo>Reading version information from file = ${app.version.file}</echo>
         <echo>version = ${version}</echo>
         <echo>cvsversion = ${cvsversion}</echo>
      </target>
      <!--
          These targets are defined in versionbuild.xml
      -->
      <!-- Tag all files using the variable ${cvsversion}  read in from ${app.version.file} -->
       <target name="cvstag" depends="readversion">
         <ant antfile="versionbuild.xml" dir="." target="cvstag"/>
      </target>
      <!-- increment mini version number-->
      <target name="newmini" >
         <ant antfile="versionbuild.xml" dir="." target="newmini"/>
      </target>
      <!-- increment minor version number-->
      <target name="newminor"  >
         <ant antfile="versionbuild.xml" dir="." target="newminor"/>
      </target>
      <!-- increment Major version number-->
      <target name="newmajor" >
         <ant antfile="versionbuild.xml" dir="." target="newmajor"/>
      </target>
      <!-- Turn beta version on-->
      <target name="betaon" >
         <ant antfile="versionbuild.xml" dir="." target="betaon"/>
      </target>
      <!-- Turn beta version off-->
      <target name="betaoff" >
         <ant antfile="versionbuild.xml" dir="." target="betaoff"/>
      </target>
      <!--
          These targets are defined in junitbuild.xml
      -->
      <target name="testall" depends="init,compile" description="Calls testall in junitbuild.xml">
         <ant antfile="junitbuild.xml" dir="." target="testall"/>
      </target>
      <target name="testsubset" depends="init,compile" description="Calls testsubset in junitbuild.xml">
         <ant antfile="junitbuild.xml" dir="." target="testsubset"/>
      </target>
      <target name="coverage" depends="init,compile" description="Calls coverage in junitbuild.xml">
         <ant antfile="junitbuild.xml" dir="." target="testall-coverage"/>
      </target>
    </project>and I get th errors:
    BUILD FAILED
    C:\myProjects\sims\build.xml:487: The following error occurred while executing this line:
    C:\myProjects\sims\build.xml:383: Expecting class path separator ';' before 'Files\Java\jre1.5.0_09/lib/rt.jar' in argument number 1
    can anyone help with this please?

    I ran into this same problem when using ProGuard 4.1 for Java obfuscation. The problem is that there is a space in the path to your JDK/JRE, for example: c:\Program Files\Java\jdk1.6.0_03. Because there is a space before the word "Files", it isn't working. The solution to to wrap quotes around that particular command-line argument. In ANT, I needed to use single-quotes (because double-quotes were already in use for the XML attribute) such as:
    <java jar="proguard.jar" fork="true" timeout="30000">
    <arg value="-libraryjars"/>
    <arg value="'${java.home}/lib/rt.jar'"/> <!-- Notice both double and single quotes used on this line. -->
    ...rest of the arguments go here...
    </java>
    Alternatively, using ProGuard's custom ANT Task, it would look something like (notice the use of double-quotes around the rt.jar location):
    <proguard>
    -libraryjars "${java.home}/lib/rt.jar"
    ...rest of the arguments go here...
    </proguard>
    Anyways, I hope this helps you or anyone else who runs into the same problem. Both of these approaches have worked for me.

  • 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

  • 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.

  • 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.

  • 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.

  • Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report

    I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
    Info:
    Running on XP/Cygwin.
    All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
    I've placed the flexunit4 task in my ant/libs folder.
    I'm getting two errors...
    I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
    [flexunit] Waiting for client connection ...
    (about a minute later)
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Plus this is the error I get from the flash player:
    ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
    I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
    Any help appreciated. I think I'm just setting it up all wrong.
    Screencap of errors:
    http://twitpic.com/l7ay8
    build.xml:
    http://gist.github.com/20804

    Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
    So a rough guide for anyone just starting out with this:
    Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
    I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
    I then loaded the libs folder from:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject
    into my flex project's libs folder:
    this includes:
    FlexUnit4.swc
    FlexUnit4CIListener.swc
    flexUnit4UIRunner.swc
    flexTasks.jar
    flexUnitTasks.jar
    I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
    Then I used a modified version of the TestRunner.mxml found in:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
    The lines to pay attention to are the ones that look like:
    static public function currentRunTestSuite():Array {
        var testsToRun:Array = new Array();
        testsToRun.push(packagename.TestSuiteName);
        testsToRun.push(packagename.TestClassName);
        return testsToRun;
    Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
    I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
    FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
    This is the build.xml file I'm using in the project:
    http://gist.github.com/208211
    Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
    The Debug Flash Player must be installed on the server otherwise you'll get a:
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    ...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
    Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
    You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
    And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
    Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance!

  • 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.

  • Problem with build.xml (not compiling)

    Hi
    I am not sure if this is an ANT specific question or a general XML question. DO forgive me for being naive
    I wrote this ant build.xml file for my web applications and I find that it simply refuses to compile any classes. I am sure I am doing something wrong
    <project basedir="." default="PortalMar23">
    <target name="PortalMar23"/>
      <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> 
    <!-- Main Target -->
      <target name="init">
        <mkdir dir="${build.dir}"></mkdir>
        <mkdir dir="${classes.dir}"></mkdir>
        <mkdir dir="${dist.dir}"></mkdir>
      </target>
      <target  name="compile" depends="init">
         <javac classpath="${libs}" compiler="${compiler}" debug="off" deprecation="on" destdir="${classes.dir}" optimize="on" srcdir="${src.dir}">
      <include name="org/apache/commons/fileupload/**/*.java"></include>
      <include name="com/portalbook/portlets/**/*.java"></include>
      <include name="com/portalbook/portlets/content/**/*.java"></include>
      </javac>
      </target>
      <!--
      <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  name="buildwar" depends="compile, init">
        <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 concepts-lib.jar  -->
      <jar jarfile="${build.lib}/concepts-lib.jar">
        <fileset dir="${classes.dir}"></fileset>
       </jar>
       <!-- create concepts.war -->
       <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>
       <copy todir="${build.resources}/concepts-ear/META-INF">
       <fileset dir="${build.resources}/etc" includes="application.xml">
       </fileset>
       </copy>
       <jar jarfile="${build.lib}/concepts.ear">
       <fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
       </fileset>
       </jar>
        <target depends="init, compile, buildwar" 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 name="clean">
        <delete dir="${build.dir}">
        </delete>
        <delete dir="${dist.dir}">
        </delete>
      </target>
    </project>------------------
    Could anybody help me out on this?
    thanks a lot

    Well, it could be because the compile target is a comment..
    Remove the <!-- before the compile step and the "-->" after it.
    Then, Ant will see the step, and either compile your programs, or give you errors about them.
    Dave Patterson

Maybe you are looking for

  • Change GL Account in MIGO

    Hi All,      I have requirement. i.e.  The development of an enhancement which will automatically pull the GL account value from the purchase order and insert it into the goods receipt note (MIGO) . This enhancement will only be executed for account

  • How to paste arabic and russian text in indesign and have the fonts recognized?

    How to paste arabic and russian text in indesign and have the fonts recognized?

  • Outlook 2007 syncing issues. Time not correct.

    I setup a reoccuring appointment on my iPhone for every saturday 8:00PM to 9:00PM through August. When I synced through iTunes, the appointment appeared in Outlook through August, but set to 4:00pm to 5:00pm. Four hours off. I added another test even

  • Bulleted List

    I have an unordered list in a web page which does not show bullets. I also have a horizontal menu  which has its own class. It includes a CSS rule to set List-Style: None which has probably got a lot to do with this problem.... Realising the potentia

  • Verizon Customer Care EPIC FAIL!!!! An hour I'll NEVER get back

    Got a new phone for my birthday, Optimus 2.  automated system would not allow activation unless i buy a $45 a month plan, i want to pay by the minute.  Was told about a month ago over the phone by a customer care rep named Megan that we could use the