IBM Support

WCBD build process failed on error " [svn] Missing 'javahl' dependencies on the classpath !" *|* -FC035C305B568BCE85257A8

Question & Answer


Question

WCBD build process failed on error " [svn] Missing 'javahl' dependencies on the classpath !" *|* -FC035C305B568BCE85257A80006502A6- *|*

Answer

Technote (troubleshooting)


Problem(Abstract)

The WebSphere Commerce Build and Deployment tool build fails on error " [svn] Missing 'javahl' dependencies on the classpath !".

Symptom

The errors are similar to the following examples:

[svn] Missing 'javahl' dependencies on the classpath !

[zip] Building zip:

/usr/IBM/WebSphere/CommerceServer70/wcbd/logs/build0-

20120904055409/wcbd-build-log-build0.zip


mail.failure:

[echoNL] Property "run.mail.failure" is set to false skipping target "mail.failure".


BUILD FAILED

/usr/IBM/WebSphere/CommerceServer70/wcbd/wcbd-build.xml:150: The following error occurred while executing this line:

/usr/IBM/WebSphere/CommerceServer70/wcbd/wcbd-build.xml:170: The following error occurred while executing this line:

/usr/IBM/WebSphere/CommerceServer70/wcbd/wcbd-build-common.xml:269: The following error occurred while executing this line:

/usr/IBM/WebSphere/CommerceServer70/wcbd/extract-svn.xml:62: Cannot find javahl svnkit nor command line svn client


Cause

Either SvnAnt is not configured properly or SVN support is not installed correctly.

Resolving the problem

There are two workarounds to resolve the issue.


Option 1:

  1. Move the SvnAnt JAR files outside of the CommerceServer70/wcbd/lib directory to a separate directory (for example /CommerceServer70/wcbd/svnant-lib).
  2. Modify the svn.ant.lib.dir property in extract-svn.properties to point to this directory and rerun the build.

If option 1 does not work try option 2.

Option 2:
In the extract-svn.xml file add the javahl and svnkit parameters. Also make sure that the revision parameter is set to "HEAD":


<svn failonerror="true"
username="${svn.user}"
password="${svn.password}" javahl="false" svnkit="true"> <checkout url="${svn.url}"
destPath="${source.dir}"
revision="HEAD" />
</svn>


[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 October 2021

UID

ibm10771691