IBM Support

PK06944: "[PERL] CANNOT OPEN ." ERROR HAPPENED WHEN RTRT VERSION 2003.06.3 BUILD A BUILD.XML WITH ANT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A customer reported that RTRT build a build.xml with ANT, a
    error "Cannot open . " was happening. the build failed.
    
    RTRT version 2003.06.13
    OS:Windows XP
    ANT:1.6.2
    
    Same problem was not happened at version 2003.06.12.
    I found a issue of RTRT 2003.06.13 which it
    couldn't created a commond directory which put Product.java
    file. so after RTRT build, Product.java couldn't find a C:\Test_
    java\bin\ directory, so "cannot open ." happened.
    
    The error message are below:
    ant -DATLTGT=$ATLTGT
    -Dbuild.compiler=com.rational.testrealtime.Javic
    -Dbuild.actual.compiler=modern -Djavi.options=-trace
    
    
    C:\Test_java>ant -DATLTGT=$ATLTGT
    -Dbuild.compiler=com.rational.testrealtime.Javic
    -Dbuild.actual.compiler=modern -Djavi.options=-traceBuildfile:
    build.xml
    
    all:
    
    compile:
        [javac] Compiling 62 source files to C:\Test_java\bin
         [javi]   Instrumenting 62 source files to C:\Test_java\bin
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 202: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]     static byte[] lut1Arr = new byte[] {0, (byte)255
    };
         [javi]                                            ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 203: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]     static byte[] lut2Arr = new byte[] {0, (byte)85,
    (byte)170, (byt
    e)255};
         [javi]
    ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 203: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]     static byte[] lut2Arr = new byte[] {0, (byte)85,
    (byte)170, (byte)255};
         [javi]
    ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 206: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)136,
    (byte)153, (byte)170, (byte)187,
         [javi]                                   ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 206: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)136,
    (byte)153, (byte)170, (byte)187,
         [javi]                                              ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 206: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)136,
    (byte)153, (byte)170, (byte)187,
         [javi]
    ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 206: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)136,
    (byte)153, (byte)170, (byte)187,
         [javi]
    ^
    
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 207: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)204,
    (byte)221, (byte)238, (byte)255};
         [javi]                                   ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 207: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)204,
    (byte)221, (byte)238, (byte)255};
         [javi]                                              ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 207: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)204,
    (byte)221, (byte)238, (byte)255};
         [javi]
    ^
    
         [javi] TestRT javi - "C:\Test_java\java2d\Surface.java",
    line 207: warning#105-D: integer conversion resulted in a change
    of sign
         [javi]                                   (byte)204,
    (byte)221, (byte)238, (byte)255};
         [javi]
    ^
    
    
         [javi] TestRT javi -
    "C:\Test_java\java2d\demos\Images\ImageOps.java", line 130:
    warning #105-D: integer conversion resulted in a change of sign
         [javi]                 threshold[j] = (byte) 255;
    [javi]                                ^
    
         [perl]   Generating com/rational/testrealtime/Products.java
    using default settings to C:\Test_java\bin\javi.jir
         [perl] Cannot open .
    
    BUILD FAILED
    C:\Test_java\build.xml:6: The following error occurred while
    executing this line:
    C:\Test_java\build.xml:12: Products.java generation failed,
    messages should have been provided.
    
    Total time: 9 seconds
    

Local fix

  • No workaround can be provide to customer.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: na                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: As reported.                            *
    ****************************************************************
    * RECOMMENDATION: NONE                                         *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • Fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK06944

  • Reported component name

    TEST REALTIME U

  • Reported component ID

    5724G2001

  • Reported release

    60S

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-06-08

  • Closed date

    2005-10-11

  • Last modified date

    2005-10-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TEST REALTIME U

  • Fixed component ID

    5724G2001

Applicable component levels

  • R60S PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.S","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 October 2005