Running Ant tasks within JDev

Hi,
I'd like to be able to use JDev's (10.1.3) debugger with Ant. I mean, I'd like the debug command (i.e. button, context menu) to run an Ant task but still use the debugger in JDev. Not sure if this is possible but if it's not it means that my project would have to be totally configured in JDev even though my Ant script does this already.
Thanks.

There is currently no way to automatically run Ant before the debugger. The best you can do is turn off "Make Project" in the Tool Settings panel of your Run Configuration (found in the Run/Debug pane of Project Settings). Then you have to manually run the appropriate Ant target before your debug session. I have a bug open to add a way to run Ant automatically before running or debugging.
-Matt Hawkins
Oracle JDeveloper

Similar Messages

  • Running Ant Tasks from my code

    Hi,
    I am writing a build tool to compile and build all our J2EE code. To do this i need to be able to run a number of any tasks from my code, does anyone know how to do this? I could create a .bat file and get mt program to execute it but i would rather find a way of doing this directly from my code.
    Thanks
    SK

    Hi,
    I am writing a build tool to compile and build
    uild all our J2EE code. To do this i need to be able
    to run a number of any tasks from my code, does
    anyone know how to do this? I could create a .bat
    file and get mt program to execute it but i would
    rather find a way of doing this directly from my
    code.
    Thanks
    SKReverse the concept. Run your code from Ant!

  • Flexunit ant task on CI Server - rundll32.exe causing problems

    My team is using flexunit and a CI server running Hudson. On a development system, everything runs fine, and we get the reports just like we need them. It also works fine on the CI server when just the flexunit task is run, but the build fails when the CI server tries to run a full build - the build tries to run the tests and clean to prepare for the next build, but the clean fails because there is a "rundll32.exe" process using one of the files and it can't be deleted. We tracked this process down to the one run by the flexunit task.
    Our task is:
        <target name="xci-test" depends="set-flex-coverage-home, prepare-domain-metadata-to-war, prepare-sounds-to-war, prepare-domain-metadata-for-testing, compile-unit-test-flex">
            <echo>**** The flexunit target requires that you have the standalone flash player installed and configured to run .swf files automatically! ****</echo>
            <mkdir dir="${dir.flexgui.test.output}"/>
        <!-- Execute TestRunner.swf as FlexUnit tests and publish reports -->
        <!-- Please see http://docs.flexunit.org/index.php?title=Ant_Task -->
        <flexunit workingDir="${dir.flexgui.test.output}"   
                  swf="${dir.flexgui.build.war}/${flex.swf.name}test.swf"
                  toDir="${dir.flexgui.test.output}"
                  haltonfailure="false" verbose="true" localTrusted="true"
                                port="11028" timeout="40000"/>
            <!-- Generate readable JUnit-style reports -->
            <junitreport todir="${dir.flexgui.test.output}">
                <fileset dir="${dir.flexgui.test.output}">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${dir.flexgui.test.output}/"/>
            </junitreport>
            <sleep seconds="10"/>
        </target>
    I can reproduce this behavior on my dev machine by running "ant xci-test clean". We tried putting a sleep in to give the process time to shut down, no change. We attempted to use the 'command' option to the flexunit task to bypass the use of rundll32.exe, but then the flash player just hangs onto the file and the clean still fails. Since "ant xci-test" followed by "ant clean" works, we also tried running ant from within ant in order to force the process to stop, but that also didn't work. Any help on this would be greatly appreciated.
    Thanks for your time,
    Linden

    @Linden - Have not heard of this side effect from anyone as of yet, but good to know.  Sounds like the file lock is coming from the Flash Player and causing the spawning process (rundll32.exe) to hang around as well.  The FlexUnit team runs on Hudson using the FlexUnit Ant task, but we don't seem to encounter the same issue.  What's the longest interval you've tried to use with the sleep task?  Does the FP ever release its handle to the test SWF on your development machines?
    Not sure this is a problem with the FlexUnit Ant task, but in 4.2 we could try to explicitly kill the rundll32 process since we'll have the PID when the task launches it.  Head on over to JIRA and file a feature request for us and I'll see what I can do in the new year.  In the short term though, maybe try upgrading your version of the stand alone debug flash player to see if that helps.  Has anyone else seen this issue?  Could you possible just move the clean target to be called before the xci-test target is run?  Just some suggestions.
    -Brian

  • Propagation Ant Tasks

    Some known issues with the WebLogic Portal Propagation Ant tasks in 9.2 GA:
    1. Some JARs need to be unpacked from library modules
    Symptoms:
    ClassNotFoundException when running ant tasks
    Reference: CR290002
    Solution:
    See install guide for instructions
    http://edocs/wlp/docs92/prodOps/scripts-using.html#wp1048812
    2. The classpath for each task needs to be expanded
    Symptoms:
    Exceptions seen when running the ant tasks:
    java.lang.NoClassDefFoundError: com/bea/xml/XmlException
    NoClassDefFoundError
    Reference: CR292993
    Solution:
    The classpath for tasks should appear as follows:
    <pathelement location="${deploy.dir}/platform/lib/p13n/p13n_common.jar"/>
    <pathelement location="${deploy.dir}/common/p13n/lib/p13n_prop.jar"/>
    <pathelement location="${deploy.dir}/common/p13n/lib/p13n_prop_ant.jar"/>
    <pathelement location="${deploy.dir}/portal/lib/content_prop.jar"/>
    <pathelement location="${deploy.dir}/portal/lib/netuix/web/netuix_prop.jar"/>
    <pathelement location="${deploy.dir}/server/lib/xbean.jar"/>
    <pathelement location="${deploy.dir}/server/lib/api.jar"/>
    3. Admin server should be running when Propagation Commit is invoked
    Reference: CR273379
    Solution:
    The Admin Server should be running during a propagation commit. This enables
    updates to the internal LDAP server to be properly distributed across
    the cluster.
    4. Content Type propagation will fail on Boolean properties with undefined default value
    Symptoms:
    A content type does not propagate
    NullPointerException from XmlBeanTranslator.constructPropertyChoicesAsXmlBean
    Reference: CR295866
    Workaround:
    Define a default value for the Boolean, true or false
    5. OnlineMaintenanceModeTask does not implement Condition
    Reference: CR293781
    6. Global policies in policy file passed to offlineCombineTask are ignored
    Symptoms:
    Elections are always accepted even if global policy in file is set to 'N'
    Reference: CR295985
    Workaround:
    Specify flags such as globalDeleteFlag="false" on the task.

    No this is by design I think. For it to work, you have to specify the actual portlet definition from the library as a scope rule.
    As a workaround which seems to work quite nicely, we used the XIP tool to get the XML version of the desktop tree. We then developed a small XSL transform to generate the scope file, based on the portlet definitions of the XIP output. This scope file contained all the relavent portlet definitions from the library.
    So far, we haven't seen any major side affects, although that isn't to say there maybe something hidden.
    Regards,
    Jonathan

  • Oracle BPM Ant tasks with Oracle BPM Studio cant find jar

    Hello,
    There is this documentation
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/anttasks/index.html
    which states how to run Ant tasks to do different tasks on Oracle BPM. In EVERY example in the doc and the INTERNET there is this line in build.xml
    <project name="OracleBPMExample" xmlns:fuego="antlib:fuego.tools.ant.enterprise">
    Now, could anyone PLEASE tell me where to find fuego.tools.ant.enterprise. Ive searched every jar in my installation, and couldnt find such package. From what Ive found out it should be something like fuego-antlib.jar but while it is well known and well discussed it is NOT AVALIABLE ANYWHERE.
    please, help. Im using Oracle BPM 10.3.2
    regards,
    Pawel

    You are right Mike... The ant tasks help you do process admin stuff... so that in the Enterprise environment, you can script it all, and not require manual deployments and such.
    Just download 10g Enterprise.... the library will be in there...
    HTH

  • How do I get Ant task deploy to fail on error within an ojdeploy-build ?

    I am calling ojdeploy on an xml file with several <deploy> tasks within the <ojdeploy-build> task.
    FYI this dramatically increases performance when doing several deployments.
    I want to find a way to have the script stop with an error as soon as one of the <deploy> tasks fails with an error (such as a compile error). It does not currently do this.
    Is there a way to get the script to stop as soon as a <deploy> task fails within the outer <ojdeploy-build> task?
    (eg. could I somehow check the return code for each deploy explicitly and do an exit if the deploy fails)
    My Ant book claims that Ant tasks normally fail on error, and when one task fails the Ant script stops at that point. Some Ant tasks (such as exec) have an explicit failonerror attribute which can change this behavior to ignore a non-zero return code from the task and continue executing the Ant script.
    It seems to me that the <ojdeploy-build> task has a serious bug where it (probably using java try-catch) ignores the error from <deploy> and keeps going to the next <deploy>, violating a basic design principle of a proper Ant task.
    Where can I find the java code for <ojdeploy-build> to confirm my suspicion and then report the bug officially?
    Meanwhile, I am very interested in finding some workaround for this bug that preserves having several <deploy> in one script. If I put just one <deploy> in each <ojdeploy-build>, the huge performance improvement is lost.

    I played with it some more and it seems that failonerror and resultproperty actually work in JDev 11.1.1.4.0 They are inherited from the [url http://ant.apache.org/manual/Tasks/exec.html]Ant Exec task and work, you just have to set failonerror="true", e.g.
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                      executable="${oracle.jdeveloper.ojdeploy.executable}"
                      failonerror="true"
                      resultproperty="ojdeploy.exit.code"
                      ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
                      ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    ...Note that resultproperty is useful only if failonerror="false", use one or the other.

  • Problem in ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

    I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
    the Task is as follows :
    <target name="generate-from-wsdl5" >
    <oracle:jaxwsGenImpl
    wsdl="contract/wsdl/${SRC_WSDL}"
    />
    </target>
    The Output is :
    D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
    Buildfile: build.xml
    [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
    generate-from-wsdl5:
    BUILD FAILED
    D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    This appears to be an antlib declaration.
    Action: Check that the implementing library exists in one of:
    -D:\Jdev11-Tecpr4\ant\lib
    -C:\Documents and Settings\jnandi\.ant\lib
    -a directory added on the command line with the -lib argument
    Total time: 0 seconds
    I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
    Thanks and Regards
    Jyoti

    Hi,
    the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
    Frank

  • Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

    Hi,
    I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
    the Task is as follows :
    <target name="generate-from-wsdl5" >
    <oracle:jaxwsGenImpl
    wsdl="contract/wsdl/${SRC_WSDL}"
    />
    </target>
    The Output is :
    D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
    Buildfile: build.xml
    [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
    generate-from-wsdl5:
    BUILD FAILED
    D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    This appears to be an antlib declaration.
    Action: Check that the implementing library exists in one of:
    -D:\Jdev11-Tecpr4\ant\lib
    -C:\Documents and Settings\jnandi\.ant\lib
    -a directory added on the command line with the -lib argument
    Total time: 0 seconds
    I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
    Thanks and Regards
    Jyoti

    Hi,
    the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
    Frank

  • Unable to run ALBPM Ant tasks on Linux

    Hi,
    I am trying to execute a simple build script that creates a session with given directory details and deploys/publishes a project on to the Enterprise Server. With usual modifications, this scripts works fine on Windows, but on Linux it keeps on giving an error that makes no sense. I am copying my build file as well as error stack trace below. Please help me on urgent basis.
    OS: Linux 64 bit
    Oracle Enterprise Server: 10.3.1.0.0
    JAVA_HOME=/usr/java/jdk1.6.0_16
    ANT_HOME=/usr/ant/apache-ant-1.8.1
    build.xml
    <!-- This script publishes and deploys a BPM Project, undeploys and unpublishes a BPM Project, Export Organisation.xml -->
    <project name="sampleproj"
         xmlns:fuego="antlib:fuego.tools.ant.enterprise"
         xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee">
    <!-- Include properties -->
    <property file="build.properties"/>
    <echo message="Enterprise Home Directory:: ${fuego.basedir}" />
    <echo message="Ant Version:: ${ant.version}" />
    <echo message="Connecting to directory:: ${fuego.directoryid}" />
    <fuego:passport id="passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish-on-linux" description="Publish and deploy processes">
    <echo message="Creating session..."/>
    <!-- Open a session to the ALBPM directory -->
    <fuego:session passportref="passport"
    verbose="true"
    haltonerror="true">
    <!-- Publish processes -->
    <fuego:publish fpr="${bpm.project.path}"
    deploy="true"
    engine="${fuego.engine}"
              haltonerror="true"
              importdata="true"
              automapconfigs="true"
              automapvars="true"
              automaproles="true"
              automapbuspars="true"
              importcustomviews="true">
    </fuego:publish>
    </fuego:session>
    </target>
    </project>
    build.properties
    # Enterprise installation directory
    fuego.basedir=/opt/OraBPMwlHome
    # Name of ALBPM Engine to deploy to
    fuego.engine=bpmengine
    # Project to deploy
    bpm.project.path=/usr/test_ant/sampleproj
    # Directory details
    fuego.directoryid=default
    Error on running the target publish-on-linux
    [echo] Enterprise Home Directory:: /opt/OraBPMwlHome
    [echo] Ant Version:: Apache Ant version 1.8.1 compiled on April 30 2010
    [echo] Connecting to directory:: default
    publish-on-linux:
    [echo] Creating session...
    [fuego:session] fuego base dir [opt/OraBPMwlHome]
    BUILD FAILED
    /usr/test_ant/build1.xml:25: java.lang.NullPointerException
    at fuego.tools.ant.BaseFuegoTask.getClassLoader(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.executeTask(Unknown Source)
    at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.executeImpl(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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:1397)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    at org.apache.tools.ant.Main.runBuild(Main.java:801)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Total time: 0 seconds

    Amit Zini wrote:
    Dear All,
    I am unable to run my oracle 10g forms application on Linux machine which is runing Fedora 16.
    i have tried to install jre 6 but mozilla firefox 10 is not loading my oracle 10 forms application, it says plugin missing.
    Kindly help me to short out the problem.
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.1) (fedora-65.1.11.1.fc16-i386)
    OpenJDK Server VM (build 20.0-b12, mixed mode)
    Regards.
    Amit.Try with down grade of Mozilla firefox. may be version 6 to 8. not 9/10.
    Firefox with 9 and higher doesn't support JRE version 1.6.XX.
    Hopes this helps

  • Java.lang.NullPointerException running flexunit ant task in 4.1 Beta 2

    Hello,
    After trying to debug this all day, I thought I would ask the community.
    I am trying out the new FU4.1 Beta 2 (3.5) from the downloads page.  We have a working CI system set up with 4.0, and I thought trying out 4.1 beta 2 would simply be a matter of replacing the binaries in my lib folder and re-running the ant script.  Evidently not, or else I am missing something.
    After updating to the 4.1 Beta 2 binaries, if I re-run a sample project in Eclipse, the build fails with a java NullPointerException when the <flexunit> ant task is invoked. We have an involved setup that uses the groovy AntBuilder and other esoteric constructs, so I thought I would create a very simple test script similar to the sample CI project to see if that would work.  Unfortunately, I am still seeing the NPE.  The worst part is that there is absolutely no debug information provided - no message, no traceback.  I even attached the Ant source and debugged it. I could see the NPE being caught, but it contained a null message and null traceback.
    Here is the simplified ant script:
    <project name="tests" basedir=".">
        <target name="test-init" depends="">
            <mkdir dir="${build.dir}"/>
            <mkdir dir="${reports.dir}"/>
            <mkdir dir="${reports.xml}"/>
            <mkdir dir="${reports.html}"/>
            <!-- Setup Flex and FlexUnit ant tasks -->
            <!-- You can set this directly so mxmlc will work correctly, or set
            <taskdef resource="flexUnitTasks.tasks" classpath="${lib}/flexUnitTasks-4.1.0-beta2.18.jar" />
        </target>
        <target name="run-flex-tests" depends="test-init">
          <sequential>
            <!-- Execute TestRunner.swf as FlexUnit tests and publish reports -->
            <flexunit
                swf="${build.dir}/TestRunner.swf"
                toDir="${reports.xml}"
                haltonfailure="false"
                verbose="true"
                localTrusted="true"
                timeout="60000"/>
            <!-- Generate readable JUnit-style reports -->
            <junitreport todir="${reports.xml}">
                <fileset dir="${reports.xml}">
                    <include name="TEST-*.xml" />
                </fileset>
                <report format="frames" todir="${reports.html}" />
            </junitreport>
          </sequential>   
        </target>
    </project>
    The output is:
    Buildfile: C:\EclipseWorkspace\tests\Source\Flex\build_test.xml
    test-init:
    run-flex-tests:
    [flexunit] Validating task attributes ...
    BUILD FAILED
    C:\EclipseWorkspace\tests\Source\Flex\build_test.xml:23: java.lang.NullPointerException
    Total time: 297 milliseconds
    Is there something obvious I am missing?
    Thanks for any help!
    Trevor

    Brian,
    OK, a colleague worked with me (thanks, John!) to debug the problem a little further, and I think we found the fundamental problem.  I wanted to post that info to save you some time...
    Aside: One thing we did have to do was to rebuild the flexUnitTasks.jar to include debug information, since the binary in the 4.1 beta 2 package did not have debug=true.  I'd suggest that we might want to change the build script to build the binaries with debug moving forward.
    Back to the problem.
    The NullPointerException is thrown in TaskConfiguration::validateSharedProperties(), when equals() is invoked. Here is the code snippet:
       //if we can't find the FLEX_HOME and we're using ADL or compilation
       if((flexHome == null || !flexHome.exists()) && (testRunConfiguration.getPlayer().equals("air") || shouldCompile()))
          throw new BuildException("Please specify, or verify the location for, the FLEX_HOME property.  "
                + "It is required when testing with 'air' as the player or when using the 'testSource' element.  "
                + "It should point to the installation directory for a Flex SDK.");
    In my case, I do not have a FLEX_HOME property set in Ant currently.  I'll bet most folks have this set, so the logic would run differently for them. For my case, the (flexHome == null) check is true.  That means that the testRunConfiguration.getPlayer().equals("air")check will occur next, and here is the problem. The "player" member is not set in the testRunConfiguration yet at this point, so testRunConfiguration.getPlayer() returns null. testRunConfiguration.setPlayer() is called in generateDefaults().  But generateDefaults() is not called until after validateSharedProperties() is called.  So, if properties initialization could be improved here and I think this code will run more robustly.
    I can work-around my issue temporarily by just setting a FLEX_HOME property in Ant.  But I hope you will agree that the initialization issue with "player" still should be addressed. Would you like me to open a bug report, or is this thread enough?
    Thanks,
    Trevor

  • Spark Classes and Skins not being included when running FlexUnit task via Ant

    I have a series of unit tests that run on a spark component. This spark component has a custom skin defined for it, and that is working beautifully.
    Inside that component is a spark list... By default, after digging into the list code, spark lists should use a default skin called "BorderContainerSkin". When I run the application that uses this component directly (whether compiled via FlashBuilder or via Ant/Hudson), the component itself runs and looks exactly like I would expect. When I run my unit tests in the browser (via Run As Web Application command on my TestRunner), the unit tests all perform as expected.
    However, when I run the FlexUnit tests via Ant (either through windows non-headless, or linux headless), an exception is thrown with the following error:
    Error: Skin for FromToList132.FromToListSkin133.VGroup134.fromList cannot be found.
        at spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.x\frameworks\pr ojects\spark\src\spark\components\supportClasses\SkinnableComponent.as:632]
        at spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.x\frame works\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:405]
        at spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.x\framewo rks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:419]
        at spark.components.supportClasses::ListBase/commitProperties()[E:\dev\4.x\frameworks\projec ts\spark\src\spark\components\supportClasses\ListBase.as:785]
        at spark.components::List/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\ components\List.as:907]
        at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx \core\UIComponent.as:7933]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\4.x\frameworks\projects\framework\ src\mx\managers\LayoutManager.as:572]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:730]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
    (Note: fromList is the id of the spark list used in the FromToList component.)
    The issue is that the "BorderContainerSkin" class isn't ever getting imported along the way. I did several things that worked to "fix" the problem, but they are all hacky and don't explain the root problem:
    1- If I explicitly import that skin into my test file, then everything works great.
    2- If I add the <includes> directive into my mxmlc task in the Ant file, and again specifically call out that skin class, then again it will work.
    However, how would I know what skins from the spark library are going to get included and which aren't? How would I know that a default skin isn't included or where to find it or even what it is?
    It seems like either I'm missing something in my Ant file or there is a serious bug here with the FlexUnit task. Can anyone shed light on if this is a known issue, any permanent fixes (that don't involve keeping track of a long list of strings of class references), or anything that I might be missing?
    Thank you for any help!

    Guessing the ant tasks aren't forcing the include of the spark skins libraries... which is a little silly. I would assume the compiler would take care of this but it is something we can investigate...
    Not 100% sure as to why, but this is what it sounds like.
    Mike

  • flexunit 4.1 B3 Ant task fails to run Air-based tests

    Folks,
    I am using FlexUnit4.1 Beta 3 and am seeing the <flexunit> Ant task fail when running tests that use the Air libraries. The project in question used to test just fine with version 4.0 earlier this year, but I just dusted it off after a branch change and tried re-running with 4.1and started seeing the failure.Here is the relevant console output:
    [com.djte.library:flexunit] Validating task attributes ...
    [com.djte.library:flexunit] Generating default values ...
    [com.djte.library:flexunit] Using default working dir [C:\EclipseWorkspace3.5\report.renderer_tests_2\Source\Flex]
    [com.djte.library:flexunit] Using the following settings for the test run:
    [com.djte.library:flexunit]     FLEX_HOME: [C:\iFABS_DE\dev\vert-d3flxcmn24\204100.32.0.20100926233508_d3flxcmn24]
    [com.djte.library:flexunit]     haltonfailure: [false]
    [com.djte.library:flexunit]     headless: [false]
    [com.djte.library:flexunit]     display: [99]
    [com.djte.library:flexunit]     localTrusted: [true]
    [com.djte.library:flexunit]     player: [air]
    [com.djte.library:flexunit]     port: [1024]
    [com.djte.library:flexunit]     swf: [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\report.renderer.tests.unit.swf]
    [com.djte.library:flexunit]     timeout: [1800000ms]
    [com.djte.library:flexunit]     toDir: [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\reports\xml]
    [com.djte.library:flexunit] Setting up server process ...
    [com.djte.library:flexunit] Starting server ...
    [com.djte.library:flexunit] OS: [Windows]
    [com.djte.library:flexunit] Opening server socket on port [1024].
    [com.djte.library:flexunit] Waiting for client connection ...
    [com.djte.library:flexunit] Launching player:
    [com.djte.library:flexunit] Found AIR version: 1.5
    BUILD FAILED
    C:\public\JavaTools\DJTE\latest\DjteLibrary\library.xml:57: The following error occurred while executing this line:
    : Error launching the test runner.
    The error message is not very specific... The last output seen before the failure is "Found AIR version: 1.5". This makes me wonder if the problem is related to how I have Air installed on my Windows XP machine. Come to think of it, I am not sure exactly how the host machine should be configured to run FlexUnit tests that require Air.  Do I really need Air to be installed?  I have Air 2.0.3.13070 installed, but the <flexunit> task thinks it found version 1.5 - hmmm...  I also have the debug Flash 10 player, and SWF appplications are configued to run using this player. Flex tests run fine, just not Air tests.  What am I missing?
    I see that 4.1 RC1 is now out, so I will grab that and give it a try.
    If anyone who tests air more often has any advice - I am all ears!
    Thanks,
    Trevor

    Thanks for your responses, Brian!
    Yes, I think I see the immediate problem.  The problem is that there is no Air runtime in our customized Flex SDK (based on 3.2), even though it appears to have the Air compile libraries. I had been attempting to use this custom SDK to run FlexUnit with, and I think that needs to change.
    Why was I doing this?
    Well, I had tripped over some problems with 4.1 earlier on when I attempted to run it without having FLEX_HOME set in the environment. So, now I have been setting FLEX_HOME programmatically in my code before calling the <flexunit> task. And I had figured that it would be a good idea to set FLEX_HOME to the same SDK that the tests had been built with, i.e. our customized one.  Now I am thinking that this is not necessary, since our end users will never have access to this SDK. I now think that I should be able to install a new stock Adobe Flex SDK on my CI server, install the Air runtime into it, and then use that location when I set FLEX_HOME.  Is that how others are doing it?  If anyone could validate this approach, I would be grateful.
    One question that arises in my mind now: How does the Air runtime get into the Flex SDK? I have installed the Air runtime using the installer from Adobe some time ago, so I am not quite sure what all that did.  I assume the  Air installer finds all the Flex SDKs on your machine and inserts the runtime in each location appropriately? Again, pardon my ignorance...
    I have just tried out the above idea, i.e. setting FLEX_HOME to a different SDK that has Air runtime, and the <flexunit> task worked when I ran it!  An Air window opened, the tests ran, and reports were generated. So, it would appear my problem is solved! Cool beans!
    Brian, you made some comments about another possible issue with the "custom app descriptor".  I am not sure if that applies to me or not.  How would I know whether or not we need that support?  Again, I know it would help if I was the developer who had actually written the Flex tests, but I am not...
    Anyway, I hope this thread helps other folks who are having similar issues.  I am going to reinstall a fresh Adobe SDK and the Air installer on a clean machine next, and see if the tests will run there.
    Before ending this thread, I do want to point out that the ant task might have need of improvement in the case in which the user attempts to run the air "player" but the Air runtime is not setup in the SDK. On Windows, the ant process simply hung at this point, apparently thinking that the launch of the player had been successful, but in reality, the message about the air runtime being not found had occurred. It might be nice if it exited gracefully with a warning message instead of hanging. Just a suggestion...
    Brian, as always, thanks again for your help with this issue.You guys are doing a great job with this project. Please keep it up!
    Thanks,
    Trevor

  • Error when running  the ant task

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

  • Running Ant file - build.xml from JDev

    hi all
    I have created simple BPEL project. I'm using JDev 10.1.3.1.0
    & SOA suite 10.1.3.1.0 . If I deploy my BPEL process using deployment utility
    of JDev then it gets deployed well on localhost:8888 .
    But If I run build.xml Ant file from JDev then it complies properly but it tries to deploy on[b] localhost:9700. If I run same Ant file from Developer prompt then it again BPEL gets deployed properly on localhost:8888.
    It means JDev is overwriting some properties values.
    Does any one aware of this.?
    thanks
    /patel

    Hi Patel,
    Have a look here:
    http://www.it-eye.nl/weblog/2007/02/16/customizing-bpel-process-deployement-with-ant-165-in-jdeveloper/
    Maybe it will helpp you out!
    Regards,
    Tom

  • Nullpointerexception when running testsuite via Ant task

    I get a NullPointerException when trying to execute a testsuite via a commandline Ant task.
    The Nullpointerexception is occuring at the line:
    oracle.v2.parser.DOMLocator.getSystemId()
    Here the full trace of the execution (debug)
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    M:\>c:
    C:\>cd \projects\aorta_bpel\src\MWPEmailDispatcher
    C:\projects\aorta_bpel\src\MWPEmailDispatcher>ant deployProcess test -verbose
    Apache Ant version 1.6.5 compiled on June 2 2005
    Buildfile: build.xml
    Detected Java version: 1.4 in: C:\j2sdk1.4.2_08\jre
    Detected OS: Windows XP
    parsing buildfile C:\projects\aorta_bpel\src\MWPEmailDispatcher\build.xml with URI = file:///C:/proj
    ects/aorta_bpel/src/MWPEmailDispatcher/build.xml
    Project base dir set to: C:\projects\aorta_bpel\src\MWPEmailDispatcher
    [xmlproperty] Loading C:\projects\aorta_bpel\src\MWPEmailDispatcher\bpel\bpel.xml
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
    inding.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
    Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
    [property] Loading Environment env.
    Property ${env.BPEL_HOME} has not been set
    Property ${env.BPEL_HOME} has not been set
    [available] Unable to find ${env.BPEL_HOME}\utilities\ant-orabpel.xml
    [property] Loading C:\projects\aorta_bpel\src\MWPEmailDispatcher\build.properties
    Importing file C:/oracle/product/10.1.3.1/OracleAS_1/bpel/utilities/ant-orabpel.xml from C:\projects
    \aorta_bpel\src\MWPEmailDispatcher\build.xml
    parsing buildfile C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orabpel.xml with URI = fi
    le:///C:/oracle/product/10.1.3.1/OracleAS_1/bpel/utilities/ant-orabpel.xml
    Importing file ant-deployapps.xml from C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orab
    pel.xml
    parsing buildfile C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-deployapps.xml with URI =
    file:///C:/oracle/product/10.1.3.1/OracleAS_1/bpel/utilities/ant-deployapps.xml
    [property] Loading C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orabpel.properties
    Override ignored for property bpel.home
    Override ignored for property oracle.home
    Override ignored for property admin.password
    Override ignored for property http.port
    dropping C:\oracle\product\10.1.3.1\OracleAS_1\bpel\system\appserver\oc4j\j2ee\home\lib\oc4j-interna
    l.jar from path as it doesn't exist
    parsing buildfile jar:file:/C:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-ant.jar!/com/coll
    axa/cube/ant/orabpel-antlib.xml with URI = jar:file:/C:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/
    orabpel-ant.jar!/com/collaxa/cube/ant/orabpel-antlib.xml
    [property] Loading C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orabpel.properties
    Override ignored for property platform
    Override ignored for property verbose
    Override ignored for property j2ee.home
    Override ignored for property apps
    Override ignored for property orabpel.db.user
    Override ignored for property bpel.home
    Override ignored for property opmn.requestport
    Override ignored for property bpeltest.numWorkers
    Override ignored for property jndi.user
    Override ignored for property bpel.version
    Override ignored for property http.hostname
    Override ignored for property j2ee.hostname
    Override ignored for property oracle.home
    Override ignored for property jndi.password
    Override ignored for property bpeltest.minCoverage
    Override ignored for property admin.user
    Override ignored for property hostname
    Override ignored for property domain
    Override ignored for property orabpel.db.connect_string
    Override ignored for property bpeltest.timeout
    Override ignored for property jndi.url
    Override ignored for property soapServerUrl
    Override ignored for property rmi.port
    Override ignored for property admin.password
    Override ignored for property orabpel.db.password
    Override ignored for property cluster
    Override ignored for property rev
    Override ignored for property client.classpath
    Override ignored for property http.port
    Override ignored for property jndi.InitialContextFactory
    Override ignored for property bpeltest.results.dir
    Override ignored for property bpel.build
    Override ignored for property bpeltest.package
    Override ignored for property asinstancename
    Override ignored for property default-web-app.dir
    Override ignored for property oc4jinstancename
    [available] Unable to find pre-build.xml
    [available] Unable to find post-build.xml
    Build sequence for target(s) `deployProcess' is [deployProcess]
    Complete build sequence is [deployProcess, deployOc4j, deployBindWebAppOc4j, deployIas_10gR3, deploy
    BindWebAppIas_10gR3, deployIas_10gR2, deployBindWebAppIas_10gR2, prepareTests, pre-build, validateTa
    sk, compile, deployTaskForm, deployDecisionServices, process-deploy, post-build, deploy, deployNonOr
    aclej2ee, setJndiUrlOrclej2ee, deployIas, setJndiUrlIas, deployBindWebAppIas, deployTestSuites, bpel
    Test, report, test, deploy_test, schemac, setJndiUrlOc4j, build_ear, deployOraclej2ee, ]
    deployProcess:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Deploying bpel process MWPEmailDispatcher on localhost, port 7777
    [echo] --------------------------------------------------------------
    [echo]
    [deployProcess] Deploying process C:\projects\aorta_bpel\src\MWPEmailDispatcher\output\bpel_MWPEmail
    Dispatcher_1.0.jar
    [deployProcess] Successfully deployed the process "MWPEmailDispatcher" on server "localhost" and por
    t "7777"
    Build sequence for target(s) `test' is [prepareTests, deployTestSuites, bpelTest, report, test]
    Complete build sequence is [prepareTests, deployTestSuites, bpelTest, report, test, deployOc4j, depl
    oyBindWebAppOc4j, deployIas_10gR3, deployBindWebAppIas_10gR3, deployIas_10gR2, deployBindWebAppIas_1
    0gR2, pre-build, validateTask, compile, deployProcess, deployTaskForm, deployDecisionServices, proce
    ss-deploy, post-build, deploy, deployNonOraclej2ee, setJndiUrlOrclej2ee, deployIas, setJndiUrlIas, d
    eployBindWebAppIas, deploy_test, schemac, setJndiUrlOc4j, build_ear, deployOraclej2ee, ]
    prepareTests:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Preparing BPEL tests for deployment
    [echo] --------------------------------------------------------------
    [echo]
    [delete] Deleting: C:\projects\aorta_bpel\src\MWPEmailDispatcher\output\bpeltest.zip
    [zip] Building zip: C:\projects\aorta_bpel\src\MWPEmailDispatcher\output\bpeltest.zip
    [zip] adding entry regression_tests/testContainsSubjectP1WithAttachm.xml
    [zip] adding entry regression_tests/testEmptySubject.xml
    [zip] adding entry regression_tests/testEmptySubjectNoBodyPart.xml
    [zip] adding entry regression_tests/testEmptySubjectWithAttachm.xml
    [zip] adding entry regression_tests/testNominalP1214Meetdatavalide.xml
    [zip] adding entry regression_tests/testNominalP1214MeetdatavalideWithAttachm.xml
    [zip] adding entry regression_tests/testNominalP1217aMeetdatavalide.xml
    [zip] adding entry regression_tests/testNominalP1217aMeetdatavalideWithAttachm.xml
    [zip] adding entry regression_tests/testNominalP1WithAttachm.xml
    [zip] adding entry regression_tests/testP1WithBody.xml
    [zip] adding entry regression_tests/testRTFP1214Meetdatavalide.xml
    [zip] adding entry regression_tests/testRTFP1217Meetdatavalide.xml
    deployTestSuites:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Deploying bpel tests MWPEmailDispatcher on localhost, port 7777
    [echo] --------------------------------------------------------------
    [echo]
    [deployTestSuites] bpeltest.zip deployed successfully.
    bpelTest:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Executing process MWPEmailDispatcher(v.1.0): minCoverage=100%, timeout=90 sec, numWork
    ers=1
    [echo] --------------------------------------------------------------
    [echo]
    [delete] Deleting directory C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\default-web-app\resul
    ts\xml\MWPEmailDispatcher
    [delete] Deleting directory C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\default-web-app\resul
    ts\xml\MWPEmailDispatcher
    [bpeltest] XML-22000: (Fatal Error) Error while parsing XSL file ({0}).
    BUILD FAILED
    C:\projects\aorta_bpel\src\MWPEmailDispatcher\build.xml:181: java.lang.NullPointerException
    at org.apache.tools.ant.Task.perform(Task.java:373)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.lang.NullPointerException
    at oracle.xml.parser.v2.DOMLocator.getSystemId(DOMLocator.java:115)
    at javax.xml.transform.TransformerException.getMessageAndLocation(TransformerException.java:
    210)
    at com.collaxa.cube.ant.taskdefs.BpelTest.createJUnitReport(BpelTest.java:741)
    at com.collaxa.cube.ant.taskdefs.BpelTest.createReport(BpelTest.java:877)
    at com.collaxa.cube.ant.taskdefs.BpelTest.execute(BpelTest.java:1033)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    ... 10 more
    --- Nested Exception ---
    java.lang.NullPointerException
    at oracle.xml.parser.v2.DOMLocator.getSystemId(DOMLocator.java:115)
    at javax.xml.transform.TransformerException.getMessageAndLocation(TransformerException.java:
    210)
    at com.collaxa.cube.ant.taskdefs.BpelTest.createJUnitReport(BpelTest.java:741)
    at com.collaxa.cube.ant.taskdefs.BpelTest.createReport(BpelTest.java:877)
    at com.collaxa.cube.ant.taskdefs.BpelTest.execute(BpelTest.java:1033)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Total time: 1 minute 39 seconds
    C:\projects\aorta_bpel\src\MWPEmailDispatcher>

    I had this same issue, and after almost a month, finally found the solution...
    The <bpletest> task needs reference to an xls like:
    <!-- xsl="${bpel.home}/system/console/xslt/bpeltest-junit.xsl" was missing from <bpeltest> declaration -->
    <!-- "bpeltest" target runs deployed testsuites of a BPEL process -->
    <target name="bpelTest">
    <echo>
    | Executing BPEL Tests Process ${process.name} on:
    |
    | * user="${admin.user}" password="${admin.password}"
    | * hostname="${http.hostname}" httpport="${http.port}"
    | * domain="${domain}" process="${process.name}"
    | * rev="${rev}" name="${process.name}Tests"
    | * timeout="${bpeltest.timeout}"
    | * numWorkers="${bpeltest.numWorkers}"
    | * minCoverage="${bpeltest.minCoverage}"
    | * callHandler="${bpeltest.callHandler}"
    | * context="${bpel.context.properties}"
    | * resultsDir="${bpeltest.results.dir}/xml/${process.name}"
    | * resultsPropertyFile="${bpeltest.results.dir}/${process.name}.properties"
    | * verbose="${verbose}"
    | * xsl="${bpel.home}/system/console/xslt/bpeltest-junit.xsl"
    |
    </echo>
    <delete dir="${bpeltest.results.dir}/xml/${process.name}" quiet="true"/>
    <bpeltest
    user="${admin.user}" password="${admin.password}"
    hostname="${http.hostname}" httpport="${http.port}"
    domain="${domain}" process="${process.name}"
    rev="${rev}" name="${process.name}Tests"
    timeout="${bpeltest.timeout}"
    numWorkers="${bpeltest.numWorkers}"
    minCoverage="${bpeltest.minCoverage}"
    callHandler="${bpeltest.callHandler}"
    context="${bpel.context.properties}"
    resultsDir="${bpeltest.results.dir}/xml/${process.name}"
    resultsPropertyFile="${bpeltest.results.dir}/${process.name}.properties"
    verbose="${verbose}"
    xsl="${bpel.home}/system/console/xslt/bpeltest-junit.xsl"
    />
                   <!--<classpath>
                        <pathelement path="${bpeltest.results.dir}/xsl/bpeltest-junit.xsl" />
                        <pathelement path="${project.root}/tools/build-tools/src/main/resources/bpel" />
                        <pathelement path="C:/viewstore/esp_lynx_dap/esp/dap/tools/build-tools/src/main/resources/bpel/bpeltest-junit.xsl" />
                        <pathelement path="C:/viewstore/esp_lynx_dap/esp/dap/tools/build-tools/src/main/resources/bpel/com/collaxa/cube/ant" />
                   </classpath>
              </bpeltest>-->
    <property file="${bpeltest.results.dir}/${process.name}.properties"/>
    <echo>
    Executed ${test.total.count} test(s) for ${process.name} (v.${rev}) with
    ${test.failure.count} failure(s)
    </echo>
    </target>

Maybe you are looking for

  • FIX FOR: iPhone 4 battery draining fast, phone running hot

    I had the same issue many have reported here and in comments on blogs, where their +_battery was draining at least twice as fast_+ as on an iPhone 3GS with iOS 4. Some threads suggest +_this happens to iPhone 4 when restored from a 3G or 3GS_+, and i

  • How can I save reader to a disk, it goes straight to download?

    I have a computer that is running Windows XP Home edition and is not connected to the internet.  I need to put a copy of the Acrobat Reader on it.  I have attempted several times on another computer to save the program to a disk, but there is only on

  • SkinnableComponent does not react to state changes

    (Flex 4.5) I'm finding that SkinnableTextBase will change its styles according to the CSS file when it changes state, but SkinnableComponent won't. Why? Here's what I do. I create a class which extends SkinnableTextBase like this: public function MyS

  • EXS-24 key range and note velocity data in name of file?

    Hi all, Cheers for any help in advance. Basically someone told me that if i was to put the key range and note velocity in the name of a file i want to put into EXS-24 it will automatically assign those values within the edit page. All i want to know

  • What graphics design tools do you use...

    For animations design, button design, splas screens and all the other GUI details that makes a game look good.