Help with Flex Ant build.xml error

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

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

Similar Messages

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

  • Flex ant build - problem including custom theme

    Hi,
    I added custom ios theme using the below code in the flex ant build. The custom ios theme does not seem to be included.
    <compiler.theme dir="${FLEX_HOME}/frameworks" append="true"> 
    <include name="themes/Spark/spark.css" /> 
      <include name="themes/Mobile/mobile.swc" />
      </compiler.theme>
    <compiler.theme dir="${deploy.dir}/lib" append="true">   <include  name="mobiletheme_ios.swc" />
    </compiler.theme>
    I also tried using just <theme> tag but it did not help.
    Hoping a solution with the forum's help.
    Thanks in advance
    <include  name="themes/Halo/halo.swc" /> 

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

  • Help with running Ant

    In a quest to teach myself all about Java Servlets, I'm currently working my way through The Java Web Services Tutorial. However, I have become stuck as I try the command:
    ant build
    I recieve this message:
    Exception in thread 'main' java.lang.NoClassDefFoundError: and
    I don't know what is wrong. I have been throught the setting up steps 3 times and cant find any errors.
    What tests can I do to isolate the error?
    I really need help on this, I can't continue with learning until ant is working.
    Thank-you,
    Paul
    PS. When I'm checking my PATH variables in XP, I find it very annoying. When editing them, I can only use the very small input box provided. Is there any other way to edit them?

    crostar:
    If you run "java" from the command line, it will use the first java.exe found on the %PATH% variable (win os). Double check that the java.exe doesn't exist earlier in the %PATH%. Also, I've made the mistake where my environment variables aren't up to date because I opened a command window and then changing environment variables via the control panel.
    AliaAtreides:
    You'll need to post the full exception in order for others to determine what might be wrong. More specifically, we need to see the exception in order to determine what class can't be found.
    Also, make sure to set the JAVA_HOME and JWSDP_HOME environment variables. please be careful to note that the examples that came with the java web services dev pack have ant build.xml files that depend upon the jswdp.home variable being set. You'll need to set the variable in either the control panel, or in a separate build.properties file.
    Oh, one more thing, veramkovich's example sets JAVA_HOME to point to 1.4.1 whereas i think you're previous posts implied that you had a different path, 1.3.1

  • [svn] 3680: Modifying ant build.xml to allow for a local. properties for individual developer build config.

    Revision: 3680
    Author: [email protected]
    Date: 2008-10-16 07:58:21 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Modifying ant build.xml to allow for a local.properties for individual developer build config. Also moving ja_JP locale to the other.locales target (this is called during build machine packaging and isn't needed by dev by default).
    QE: No
    Doc: No
    Checkintests: Pass
    Reviewer: Discussed with Jim
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/projects/airframework/build.xml
    flex/sdk/trunk/frameworks/projects/framework/build.xml
    flex/sdk/trunk/frameworks/projects/rpc/build.xml

    I tried
    ant deployTestSuites
    this works. If i do that with the wrong domain (dep_cotrol vs dep_me) name it fails with
    ORABPEL-02052Cannot lookup BPEL domain.The BPEL domain "dep_cotrol" cannot be found; the domain may not have initialized properly.Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.
    So i think my config is ok. There is a bug in this ant bpelTest which ignores the domain?

  • Help with Flex based popup windows and data population.

    Hello, I need a bit of help with Flex popups. I have a flex
    application that uses a popup window when you click on a button and
    displays information about the image above the button the user
    clicked. I have about 4 images and I need to be able to display
    information about each of them through the popup window when users
    click on the buttons below the image.
    At this time, I am trying to do this from somewhat of a
    "static" point of view because I do not believe my hosting company
    supports Flex Data services. You will find my code below.
    First File.
    <?xml version="1.0" encoding="utf-8"?>
    <!--Application Initialization -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="850" height="750"
    cornerRadius="10" borderColor="#000000"
    backgroundGradientColors="[#1b3434, #000000]">
    <!-- Popup-->
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    [Bindable]
    private var win:IMSAI;
    private function init():void{}
    private function createPopup():void{
    win=IMSAI(PopUpManager.createPopUp(this,IMSAI,true));
    win.title = 'IMSAI.Net';
    win.x = -500;
    win.y = 0;
    customMove.end();
    customMove.play();
    ]]>
    </mx:Script>
    <mx:Style>
    TitleWindow {
    borderStyle:solid;
    borderThickness:2;
    </mx:Style>
    <mx:Parallel id="customMove" target="{win}">
    <mx:Move duration="2000" xTo="{(stage.width - win.width)
    / 2}" yTo="{(stage.height - win.height) / 2}" />
    <mx:WipeDown duration="2000" />
    </mx:Parallel>
    This is the code to trigger the popup when a user clicks on
    the button. The code below is the code for the popup.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical" creationComplete="init()"
    close="PopUpManager.removePopUp(this)"
    showCloseButton="true" alpha=".8"
    headerColors="[#000000,#1F3F62]" color="#FFFFFF"
    minHeight="200" minWidth="300"
    backgroundColor="#000000" title="IMSAI.net" width="520"
    height="394" verticalAlign="middle" horizontalAlign="center">
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    private function init():void{}
    ]]>
    </mx:Script>
    <mx:Canvas width="470" height="338">
    <mx:Image x="10" y="10" width="140" height="103">
    <mx:source>file:///C|/ColdFusion8/wwwroot/IMSAI/Web-App/Site_Images/IMSAI
    Final Movie.swf</mx:source>
    </mx:Image>
    <mx:Text x="10" y="121" text="Description:" width="75"
    height="25" fontWeight="bold" color="#ff0000"/>
    <mx:Text x="158" y="10" text="Client:" width="52"
    height="28" fontWeight="bold" color="#ff0000"/>
    <mx:Text x="196" y="10" text="IMSAI Microcomputers
    &amp; Fischer-Freitas Company" width="252" height="39"/>
    <mx:Text x="159" y="46" text="Industry:"
    fontWeight="bold" color="#ff0000"/>
    <mx:Text x="216" y="46" text="Computer &amp;
    Microcontroller Manufacturing." width="232" height="35"/>
    <mx:Text x="83" y="121" text="IMSAI.net is the front-end
    web application for IMSAI Computer " width="355"/>
    <mx:Text x="10" y="136" text="manufacturing, customer
    support, and order processing. Driven by a Microsoft database
    back-end, this application includes rich flash forms, site search
    capabilities, and flash content. Currently under phase II of a
    three phase development plan, the e-commerce logic and processing
    capabilities are under development. Once finished, this application
    will be able to process orders provide customers with instant order
    confirmation numbers, shipment dates, and payment processing."
    width="428"/>
    <mx:Text x="10" y="244" text="Technologies:"
    fontWeight="bold" color="#ff0000"/>
    <mx:Image x="100" y="244" width="50" height="50">
    <mx:source>file:///C|/ColdFusion8/wwwroot/Sapphire
    Development/content/cf8icon.jpg</mx:source>
    </mx:Image>
    <mx:Image x="244" y="244" width="50" height="50">
    <mx:source>file:///C|/ColdFusion8/wwwroot/Sapphire
    Development/content/flashlogo.jpg</mx:source>
    </mx:Image>
    <mx:Text x="53" y="290" text="Coldfusion 8 Enterprise"
    height="30"/>
    <mx:Text x="230" y="290" text="Adobe Flash 8"/>
    </mx:Canvas>
    What I want to do is either be able to create a popup file
    for each button and photo, or find a way to pass a name like a
    button ID that corresponds to a XML data structure and then
    provides the appropriate data for the photo. I have tried altering
    the first page of code with the "public" declaration to allow for a
    second popup file for each button and image, but the IDE won't
    allow me to do such because it creates errors stating I can only
    have one public declaration of the kind and function above per
    application. Help resolving this would be greatly appreciated.
    Thank you.

    I have an idea of what I want to do. I am just having
    difficulty articulating how to go about such. I know I want to find
    a way so that if a user clicks on button 1, button 1 will send some
    kind of variable. For example, a user clicks Btn1 under a picture.
    Btn1 sends some kind of variable or binding to a data structure
    which returns the picture's description, price, etc. and calls the
    popup to display that data in a form like manner. Then the user
    click Btn2 which does the same thing. The only purpose of the popup
    is to display the data.
    Do I create a data structure with a related name to say a
    button name so when the btn is clicked, the a variable title btn1
    will prepend itself to the data structure like
    {btn1.imagename}
    {btn1.price}
    {btn1.description}.
    I want each btn to call a different set of data about each
    picture because right now, the code I have is allowing me multiple
    buttons, but is just displays the popup. Is there a way to create a
    separate popup window for each button? Thats seems as though it
    would be easier. Thank you for your help.

  • Help with connection flash builder 4.5 to remote php database

    help with connection flash builder 4.5 to remote php database

    Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\php5\pear;D:/webserver/apache2/htdocs/ZendFramework/library') in D:\webserver\apache2\htdocs\giga\first-debug\gateway.php on line 27

  • I need help with the conditional build tag option RoboHelp 10

    I need help with the conditional build tag option. I want to apply CBT to content in a topic. I looked at the Help topics and believed that I applied the feature correctly. Howver, it is not working as desired. In the 2nd sentence below I want the text highlighted in blue to only appear for the printed output and the text printed in purple to only appear for the .htm /online output. Please help.
    There are common tasks used to manage the folders in the Navigator and the folders
    in the BBS Folders Viewer Grid. For more information on these common tasks see Help
    and Support in Success Enterprise. click the links below.

    Hi there
    Using tagging is a two part process.
    Part One
    You create and apply the tags to the information you wish to control.
    Part Two
    You create a Build Expression that is used when you generate your output. The Build Expression typically reads something like: NOT Tag1 (or whatever your tag name is)
    Then when you generate and use the Build Expression, the information tagged is not included in the build.
    Cheers... Rick

  • Help with Flex preloading and transitions please

    I downloaded and installed Flex Builder 3, and I think I have
    my slideshow project about 75% finished. It's the last 25% that I
    can't figure out, regarding preloading and transitions. Can someone
    take a look at the code below and see if you can help me? I tried
    to write the code in such a way that you can debug it from any
    computer as it's calling an PHP/XML file and images that are on a
    server.
    Here's what's finished...
    1. PHP file looks at image files on server and builds XML
    file.
    2. Flex app calls PHP file and traverses the XML in the
    response.
    3. Flex app figures out how many "slides" there and displays
    the slides one at a time, each slide with 3 images, with a 5 second
    delay between "slides."
    Here's what's not finished...
    1. I would like a fade-out to white at the end of each slide,
    and a fade-in from white at the beginning of each slide.
    2. I need each slide to stay put intil the next slide is
    pre-loaded. That is, during the 5 seconds that a slide is
    displayed, the next 3 images need to be preloaded, and then the
    slide should not progress to the next until slide is completely
    loaded.
    3. The very first slide should not appear until it is
    completely loaded, and when it does appear, it should fade in from
    white.
    How do I do this?!? Please help! Here's the code...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="472" height="195"
    backgroundGradientAlphas="[1.0, 1.0]"
    backgroundGradientColors="[#FFFFFF, #FFFFFF]"
    creationComplete="StartFunction();" >
    <mx:Fade id="fadeOut" duration="2000" alphaFrom="1.0"
    alphaTo="0.0"/>
    <mx:Fade id="fadeIn" duration="2000" alphaFrom="0.0"
    alphaTo="1.0"/>
    <mx:Image id="PhotoA" x="0" y="0" width="154"
    height="195" />
    <mx:Image id="PhotoC" x="318" y="0" width="154"
    height="195" />
    <mx:Image id="PhotoB" x="159" y="0" width="154"
    height="195" />
    <mx:Script>
    <![CDATA[
    private function StartFunction():void {
    var oXML:XML = new XML();
    var sXmlUrl:String = "
    http://www.smis.org/templates/smis/slideshowxml.php";
    var oUrlReq:URLRequest = new URLRequest(sXmlUrl);
    var oUrlLoader:URLLoader = new URLLoader(oUrlReq);
    oUrlLoader.addEventListener("complete", xmlLoaded);
    function xmlLoaded(event:Event):void {
    oXML = XML(oUrlLoader.data);
    var iSlide:int = 0;
    function ChangeImages():void {
    PhotoA.load("
    http://www.smis.org/" +
    oXML.slide[iSlide].photo[0]["@filepath"]);
    PhotoB.load("
    http://www.smis.org/" +
    oXML.slide[iSlide].photo[1]["@filepath"]);
    PhotoC.load("
    http://www.smis.org/" +
    oXML.slide[iSlide].photo[2]["@filepath"]);
    iSlide++;
    if (iSlide >= oXML.children().length())
    iSlide = 0;
    PhotoA.load("
    http://www.smis.org/" +
    oXML.slide[iSlide].photo[0]["@filepath"]);
    PhotoB.load("
    http://www.smis.org/" +
    oXML.slide[iSlide].photo[1]["@filepath"]);
    PhotoC.load("
    http://www.smis.org/" +
    oXML.slide[iSlide].photo[2]["@filepath"]);
    iSlide++;
    if (iSlide >= oXML.children().length())
    iSlide = 0;
    setInterval(ChangeImages,5000);
    ]]>
    </mx:Script>
    </mx:Application>

    What you've done is beyond my capabilities, as of now. But, I
    ran into the same problem with the fading in and out of the photos.
    Here's my solution.
    I defined my fade with only the id and the duration
    parameters. No 'from' and 'to'.
    Then I used the 'showEffect' and 'hideEffect' parameters.
    showEffect="{bannerFade}" hideEffect="{bannerFade}"
    Works like a charm for my project.
    I hope this helps.
    Randy

  • Problem with exported ant build scripts of a  WebService Project

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

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

  • Help with Workshop tutorial : building an ejb

    Hi, I've been trying to compile a project, with no luck.
    Please help!
    I have an entity bean and a session bean that references the entity bean. I can compile the entity bean by itself, but when I add the session bean, I'm not able to compile :-( I'm really new to ejbs & java. Please help!
    Thanks,
    Meera
    Here is the error log:
    Build project MyEJBProject started.
    BUILD STARTED
    build:
    check-env:
    WARNING: Checking to see if there is anything new to build...
    no-ejbgen:
    run-build:
    clean-modules:
    removed module 'MyEJBProject.jar'
    WARNING: Running EJBGen...
    Loading source file C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp/Hello\HelloBean.java...
    Loading source file C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp/Hello\VisitBean.java...
    Constructing Javadoc information...
    EJBGen 2.16
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\HelloHome.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\Hello.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\Visit.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\VisitHome.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\ejb-jar.xml
    [Info:] null [Bean] MAKE CLASS NAME G:HelloHome P:Hello N:HelloHome
    [Info:] null [Bean] MAKE CLASS NAME G:Hello P:Hello N:Hello
    [Info:] null [Bean] MAKE CLASS NAME G:VisitHome P:Hello N:VisitHome
    [Info:] null [Bean] MAKE CLASS NAME G:Visit P:Hello N:Visit
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-ejb-jar.xml
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-cmp-rdbms-jar.xml
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\ejbgen-build.xml
    post-ejbgen:
    clean-ejbc:
    Copying 10 files to C:\Temp\wlw_MyEJBProject_build
    WARNING: EJBGen ok. Compiling...
    runjavac:
    Compiling 14 source files to C:\Temp\wlw_MyEJBProject_build
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_EOImpl.java:15: cannot resolve symbol
    symbol : class Hello
    location: interface Hello.Hello
    implements Hello.Hello, weblogic.utils.PlatformConstants
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_HomeImpl.java:13: cannot resolve symbol
    symbol : class HelloHome
    location: interface Hello.Hello
    implements Hello.HelloHome, weblogic.utils.PlatformConstants
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_HomeImpl.java:68: cannot resolve symbol
    symbol : class Hello
    location: interface Hello.Hello
    public Hello.Hello create ()
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_ELOImpl.java:15: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    implements Hello.Visit, weblogic.utils.PlatformConstants, java.io.Serializable
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_Intf.java:33: cannot resolve symbol
    symbol : class Visit_cbnl1s_Intf
    location: interface Hello.Hello
    (java.sql.ResultSet rs, java.lang.Integer offset, Object __WL_pk, Hello.Visit_cbnl1s_Intf var)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:13: cannot resolve symbol
    symbol : class VisitHome
    location: interface Hello.Hello
    implements Hello.VisitHome, weblogic.utils.PlatformConstants
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:70: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    public Hello.Visit create (java.lang.String arg0)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:95: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    public Hello.Visit findByPrimaryKey(java.lang.String arg0)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:76: cannot resolve symbol
    symbol : class VisitBean
    location: interface Hello.Hello
    public final class Visit_cbnl1s__WebLogic_CMP_RDBMS extends Hello.VisitBean
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:604: cannot resolve symbol
    symbol : class Visit_cbnl1s_Intf
    location: interface Hello.Hello
    Hello.Visit_cbnl1s_Intf beanIntf)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_HomeImpl.java:72: cannot resolve symbol
    symbol : class Hello
    location: interface Hello.Hello
    return (Hello.Hello) super.create(md_ejbCreate);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:74: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    return (Hello.Visit) super.create(md_ejbCreate_S,
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:99: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    return (Hello.Visit)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:238: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.setEntityContext(arg0);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:251: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.unsetEntityContext();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:263: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbActivate();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:367: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS __WL_bean = null;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:443: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    __WL_bean = (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)__WL_pm.getBeanFromRS(__WL_pk, __WL_rsInfo);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:607: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS __WL_bean = (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)beanIntf;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:607: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS __WL_bean = (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)beanIntf;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:733: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbLoad();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:747: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbStore();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:761: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbRemove();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:826: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    case 0: __WL_loadGroup0FromRS(rs, offset, __WL_pk, (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)eb); break;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:919: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
    if(__WL_verbose) Debug.say("setting("+this+") 'visitNumber' using column " __WL_num ". Value is " + this.visitNumber);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1359: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbCreate( arg0);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1398: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbPostCreate( arg0);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1543: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbRemove();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1603: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbLoad();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1634: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbStore();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1750: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbPassivate();
    ^
    31 errors
    BUILD FAILED
    ERROR: Compile failed; see the compiler error output for details.

    It seems that the example provided (in the link) requires a web serverNo it doesn't. It requires an HTTP server.
    tomcat will be a better option which you can useThe Apache HTTP server might be more to the point.
    But If you are new to RMI and need to understand the exact flow of RMI I think this will not be a better exercise to start withI agree. I would get it running without the codebase feature. This isn't as widely used as you might think, and anyway it is a deployment option not something you need to engage with much when developing.
    @OP: ignore the HTTP stuff and the codebase feature and build 3 JAR files:
    (a) the common stuff (remote interface, stubs if any, and any classes referecned by the remote interface)
    (b) the server (the remote object itself and anything server-side it uses)
    (c) the client.
    The common JAR file should be deployed to both the server and the client, and both the other JARs should name it in their Class-Path entry in the manifest.

  • Converting build.cmd to Ant build.xml file

    Can anyone help me convert the attached build command file (windows) to a
              build.xml file for Ant?
              Thanks,
              Matt
              [build.txt]
              

    Hi Kevin,
    You can get lots of help from the following links
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    SAP XI - Where to Find Information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/sap xi - where to find information.pdf
    Following is the link for 'how to guides', A step by step guide to create scenarios:
    https://websmp201.sap-ag.de/nw-howtoguides
    All the information you need in XI :
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    you can also go through the url for Elearning :
    https://www.sdn.sap.com/sdn/elearning.sdn
    To understand the architecture of XI, Please go through this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    XI is all about configuration of Adapters, to learn more please go through this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    One of the most powerful feature of XI, Business Process Management:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm
    Once you go through these links and are a bit aware what all XI objects do, you can try a simple "File to File Scenario" which would help you to understand XI objects in a much better manner.
    For help on this scenario go through this blog it is in two parts thus i am providing both links below:
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    Re: new to netweaver
    Re: how  use XSLT maping in XI
    Re: IDOC - XI - FILE scenario
    Regards
    Vishnu

  • Can we rename Ant build.xml?

    Hi
    Can we rename ant default build.xml name to any other name like myapp_build.xml?
    I know this is not right forum;I alreday googled for this.But no luck.
    Please help me.
    Thanks
    Anil

    Yes - but then you will need to specify the -filename option on the ant command line.

  • ANT build.xml file

    My build.xml must have problems, because the jar size is way smaller than the JBuilder equivalent. I think it is not including the 3rd party Jars that I want it to include.
    Additionally, it builds, but when I execute it I get strange errors indicating it can't find certain system classfiles.
    Here is the build file:
    <project name="JAutoTest" default="dist" basedir=".">
    <!-- set global properties for this build -->
    <property name="src" value="src"/>
    <property name="build" value="build"/>
    <property name="test" value="jAutoTool"/>
    <property name="dist" value="dist"/>
    <property name="doc" value="doc"/>
    <property name="Name" value="JAutoTest"/>
    <property name="packages" value="jAutoTool.*"/>
    <path id="project.class.path">
    <pathelement location="lib/"/>
    <pathelement location="jAutoTool/"/>
    <pathelement path="${java.class.path}/"/>
    </path>
    <target name="check_for_optional_packages">
    <available property="java.reflection" classname="java.lang.reflect"/>
    </target>
    <target name="prepare">
    <!-- Create the time stamp -->
    <tstamp/>
    <!-- Create the build directory structure used by compile -->
    <mkdir dir="${build}"/>
    <mkdir dir="${test}"/>
    <mkdir dir="${doc}"/>
    </target>
    <target name="compile" depends="prepare,check_for_optional_packages">
    <!-- Compile the java code from ${src} into ${build} -->
    <javac srcdir="${src}" destdir="${build}" debug="on" deprecation="off" optimize="on">
    <classpath refid="project.class.path"/>
    </javac>
    </target>
    <target name="genDoc" depends="compile">
    <javadoc packagenames="${packages}" sourcepath="${basedir}/${src}" destdir="${doc}" author="true" version="true" windowtitle="${Name} API" doctitle="${Name}" bottom="Copyright � 2001 Motorola, Inc. All Rights Reserved."/>
    </target>
    <target name="dist" depends="compile">
    <!-- Create the ${dist}/lib directory -->
    <mkdir dir="${dist}/lib"/>
    <!-- Put everything in ${build} into the JAutoTest-${DSTAMP}.jar file -->
    <jar jarfile="${dist}/lib/JAutoTest-${DSTAMP}.jar" basedir="${build}"
              manifest="${dist}/META-INF/MANIFEST.MF">
              <zipgroupfileset dir="lib" includes="*.jar"/>
         </jar>
    </target>
    <target name="clean">
    <!-- Delete the ${build} and ${dist} directory trees -->
    <delete dir="${build}"/>
    <delete dir="${dist}"/>
    </target>
    </project>
    I have the other jars at /lib.
    The error I am getting is:
    D:\testjTool\dist\lib>java -jar *.jar
    Uncaught error fetching image:
    java.lang.NullPointerException
    at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:102)
    at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:111)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j
    ava:251)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:217)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)
    Thanks.

    The error I am getting is:
    D:\testjTool\dist\lib>java -jar *.jar
    Uncaught error fetching image:
    java.lang.NullPointerException
    at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:102)
    at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:111)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j
    ava:251)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:217)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)
    Classpath is:
    D:\testjTool>set CLASSPATH=\testjTool\build;c:\JBuilder4\lib\HTTPClient.jar;c:\J
    Builder4\lib\htmlparser.jar;c:\JBuilder4\lib\classes12;c:\JBuilder4\lib\classes12\javax.jar;c:\JBuilder4\lib\dbswing.jar;c:\JBuilder4\lib\jbcl.jar;.;
    The ant build works, but the executable is 1/2 the size of the
    JBuilder one.

  • Starting tomcat 5.5 in Ant build.xml

    Hi everyone,
    I have been trying to get my build.xml file to start and stop Ant but am finding it difficult..
    this is a snippet of the code i am using
    <target name="tomcatOFF">
         <echo>Turning Off Tomcat [http://www.jspbook.com]</echo>
              <exec executable="bash" os="microsoft">
    <arg value="c:\program files\apache software foundation\bin\stop.bat"/>
         </exec>
    </target>
    <target name="tomcatOn">
    <echo>Turning ON Tomcat [http://www.jspbook.com]</echo>
         <exec executable="bash" os="microsoft">     
    <arg value="c:\program files\apache software foundation\bin\start.bat"/>
         </exec>
    </target>
    My computer is running on microsoft server 2003. I have two batch files that work in ms dos when run but wont work in ant as i am not used to the syntax.
    But when i run the code nothing happens. Has anyone got any ideas of how to implement the task of starting and stopping the service
    many thanks
    Dale

    Hello,
    I would recommend you to post your question to the OA Framework forum at:
    OA Framework
    You'll probably get more help about OAF from that forum.
    Good luck.
    Steff

Maybe you are looking for