Fixes are available
APAR status
Closed as program error.
Error description
The adapter-builder Ant task (com.worklight.ant.builders.AdapterBuilderTask) failed to compile Java adapters that reference codes defined on the server side (WAR file). The Java adapters do not compile because the server Java code is not part of the classpath. This works well when build these Java adapters in MobileFirst Studio.
Local fix
To work around, add the bin/classes to the classpath as shown below: // Add classpath to compile adapters ant.path(id: 'adapters.classpath') { ant.pathelement(path: "$mfpJarsDir/worklight-jee-library.jar") ant.pathelement(path: "$mfpProjectFolder/bin/classes") }
Problem summary
**************************************************************** * USERS AFFECTED: * * Users that use MFP ant tasks to build Java adapters * **************************************************************** * PROBLEM DESCRIPTION: * * If the path to serve/lib, adapter/lib and bin/classes is not * * added to the classpathref in the build.xml, the adapter will * * not compile * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
It is no longer required to add the path to serve/lib, adapter/lib and bin/classes in the classpathref.
Temporary fix
Comments
APAR Information
APAR number
PI46797
Reported component name
WL/MFPF ENTERPR
Reported component ID
5725I4300
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-08-12
Closed date
2015-08-27
Last modified date
2015-08-27
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
WL/MFPF ENTERPR
Fixed component ID
5725I4300
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
16 October 2021