IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

ant build failed (compile error)

  • 1.  ant build failed (compile error)

    Posted Wed August 06, 2003 11:06 AM

    Two colleagues got problems compiling the java sources. output listing:
    ------------------------------------------
    C:\Program Files\Software AG\Field Service Automation>ant
    now compiling, building and deploying FSA - application…
    install will continue after this step!
    please wait!
    You will be ask for the deployment-destination in a separate window, soon…
    C:\Program Files\Software AG\Field Service Automation\src\java\com\softwareag\tm
    b\smartclient\tmdb\TMAccess.java:219: incompatible types
    found : java.lang.Object
    required: org.w3c.dom.xpath.XPathResult
    XPathResult result = xPathEvaluator.evaluate(query,doc, null,
    ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error

    BUILD FAILED
    ---------------------------------------------
    We found out that there was no sort order in a dir command as default. But the Library folder should be sorted alpha-numeric for the compile. For this problem I modified the build.xml file in the …\field service automation\src folder. It is attached to this entry. please use this file, if you have the same problem.


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: ant build failed (compile error)

    Posted Wed August 06, 2003 11:25 AM

    Problem description:
    In the new FSA classes ( we received these last Friday) exist a problem with the SyncAdapter class.
    SyncAdapter uses AbstractObject and it does not compile the SyncBaseImpl classes of server and smartclient, because SyncBaseImpl uses BaseAbstractObject.
    If we changed SyncAdapter to BaseAbstractObject then common.syncSyncBLImpl does not compile the class.
    In addition, the classes do not agree with the java sources.

    Answer:
    BaseAbstractObject does not exist anymore in the Beta version!
    The dei-nstall of FSA doesn’t remove the compiled java classes and also somes sources. So If You do an Update, please remove the remaining Field Service Automation folder manually, after de-install!
    But save your own modified files before!!!


    #webMethods
    #API-Management
    #Tamino