IBM Support

Anywhere build process fails with java.io.IOException: Unable to delete directory

Troubleshooting


Problem

When building the Anywhere applications the build can fail when trying to delete files or directories.

Symptom

The output of the build command fails with errors similar to .

D:\ibm\AnywhereWorkManager\build.xml:87: The following error occurred while executing this line:
D:\ibm\AnywhereWorkManager\anywhere-apps-builder.xml:720: The following error occurred while executing this line:
D:\ibm\AnywhereWorkManager\anywhere-apps-builder.xml:716: Failed building application: com.worklight.builder.exception.
WorklightBuildException: java.io.IOException: Unable to delete directory D:\ibm\AnywhereWorkManager\apps\WorkApproval\android\native\assets\www\default\dojo\cldr\nls\zh-hant-hk.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at

[{"Product":{"code":"SSPJLC","label":"Maximo Anywhere"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Maximo Anywhere

Software version:
Version Independent

Document number:
527885

Modified date:
17 June 2018

UID

swg21958029

Manage My Notification Subscriptions