APAR status
Closed as program error.
Error description
ibmint command may not compile projects correctly with 1) The "lib" specifiers in the ".classpath" file for Java and Test Projects are being ignored. 2) JAR files created by ibmint do not contain directory entries leading to class files. In addition to this, ibmint package may throw BIP15204E (JAVA compilation phase failed) when compiling JAVA projects
Local fix
Problem summary
**************************************************************** USERS AFFECTED: All Users of IBM App Connect Enterprise V12 who use ibmint command with Java Projects Platforms affected: MultiPlatform **************************************************************** PROBLEM DESCRIPTION: ibmint command may not compile projects correctly with: 1) The "lib" specifiers in the ".classpath" file for Java and Test Projects are being ignored. For example, when we have an entry in the ".classpath" file as <classpathentry kind="lib" path="JavaLibraryTwo.jar"/> Then while compiling we might get error(s) like BIP8409I: Compiling Java project '/tmp/ibmint-java/ApplicationThatUsesJava_Test' /tmp/ibmint-java/ApplicationThatUsesJava_Test/src/main/java/test /ace/ibmint/junit/ApplicationThatUsesJava_TestMessageFlow_Java_C ompute_0001_Test.java:19: error: package test.ace.ibmint.java.library does not exist import test.ace.ibmint.java.library.Two; ^ /tmp/ibmint-java/ApplicationThatUsesJava_Test/src/main/java/test /ace/ibmint/junit/ApplicationThatUsesJava_TestMessageFlow_Java_C ompute_0001_Test.java:63: error: cannot find symbol assertNotEquals(Two.returnStringTwo(), ^ symbol: variable Two location: class ApplicationThatUsesJava_TestMessageFlow_Java_Compute_0001_Test 2 errors BIP15204E: The Java compilation phase for project '/tmp/ibmint-java/ApplicationThatUsesJava_Test' has failed. 2) JAR files created by ibmint do not contain directory entries leading to class files. This Issue might be harder to hit but it causes ACE to fail to find a Java package for the tests it needs. The test class can be found, but the absence of the directory entries makes it impossible to detect the package.
Problem conclusion
The Product has been modified and an additional environment variable called MQSI_EXTRA_BUILD_CLASSPATH has been added to allow extra JAR files to be added to the ibmint compile line. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v12.0 12.0.6.0 The latest available maintenance can be obtained from: http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041 If the maintenance level is not yet available,information on its planned availability can be found on: http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308 ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT42738
Reported component name
APP CONNECT ENT
Reported component ID
5724J0560
Reported release
C00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-12-16
Closed date
2023-07-21
Last modified date
2023-07-21
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
APP CONNECT ENT
Fixed component ID
5724J0560
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
22 July 2023