Ant EarExport Rad 6.0 - Patch, Fix - Websphere

This is a discussion on Ant EarExport Rad 6.0 - Patch, Fix - Websphere ; hello, i have encountered a problem in exporting ear file using the Ant Build... option after JAD (Java Decompiler) of the ant code i have found the problem on the ant plugin supplied by Rational they simply did not implement ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Ant EarExport Rad 6.0 - Patch, Fix

  1. Ant EarExport Rad 6.0 - Patch, Fix

    hello,

    i have encountered a problem in exporting ear file using the Ant Build... option after JAD (Java Decompiler) of the ant code i have found the problem on the ant plugin supplied by Rational they simply did not implement the code, after checking the old plugin and understanding the new DataModel use i have compiled new class of EarExport and successfully export the Ear,

    the patch is a jar file needs to be replaced you can download it here:
    http://www.geocities.com/shayb_home/EarExportPatch.zip

    this zip contains 2 files:
    -antj2ee.jar
    -xmlExample.txt

    the antj2ee.jar is the actual patch (also contains the only java file i have chaned)
    the xml file is a simple example for earExport use,

    place the jar at the folder:
    "c:\Program Files\IBM\Rational\SDP\6.0\rwd\eclipse\plugins\com .ibm.etools.j2ee.ant_6.0.0\runtime"

    i have added more printouts so you can see that the ear is actually being exported,

    maybe rational have allready issued a patch but i failed to find it and all other mail in the issue sugested using ant batch.

    hope this helps,
    Shay.bc

  2. Re: Ant EarExport Rad 6.0 - Patch, Fix

    Hello,
    I am trying to run the example
    C:\Program Files\IBM\Rational\SDP\6.0\rwd\eclipse\plugins\com .ibm.etools.j2ee.ant_6.0.0.1 provided by IBM. It is giving me error

    [projectBuild] Building: AdderJAVA (Done)
    [projectSetBuild] ERROR: [0]. Type=org.eclipse.jdt.core.problem Line=0 Resource=\AdderJAVA
    [projectSetBuild] ERROR: [0].. Message=The project was not built since its build path is incomplete.
    Cannot find the class file for java.lang.Object. Fix the build path then try building this project
    [projectSetBuild] ERROR: [1]. Type=org.eclipse.jdt.core.problem Line=1 Resource=\AdderJAVA\com\ib
    m\etools\ant\extras\sample\AdderJava.java
    [projectSetBuild] ERROR: [1].. Message=The type java.lang.Object cannot be resolved. It is indirectl
    y referenced from required .class files

    I configured these properties only:
    classpathVariable.WAS_60_INSTALLDIR=C:/Program Files/IBM/WebSphere/AppServer1
    targetRuntime.targetLocation=C:/Program Files/IBM/WebSphere/AppServer1
    set WORKSPACE=C:\Program Files\IBM\Rational\SDP\6.0\rwd\eclipse\plugins\com .ibm.etools.j2ee.ant_6.0.0.1\Example

    Do I need to configure more properties? Why I am getting these error?

    Please advice me,

    Regards,
    Sanjeet.


  3. Re: Ant EarExport Rad 6.0 - Patch, Fix


    Hello' Shav.bc,

    Thank you for your information. However,
    The link you provided was broken.
    Can you please send me the zip file to my email: aalmoshaigah@ejada.com.

    Regards,

+ Reply to Thread