IBM Support

Executing sdk switchenv does not work in MCS version 7.0 and sdk ver. 3

Troubleshooting


Problem

Executing sdk switchenv does not work in MCS version 7.0 and sdk ver. 3

Symptom

After a fresh install, create a new project and executing sdk.sh switchenv gives you the following error

[debs@laplace debs7]$ sdk switchenv dev Buildfile: /home/debs/sdk3/sdk.xml display

SDKInfo:

=======Configuration Info=======

SDK Environment:

.

.

.

Copying 1 file to /home/debs/sdk3/projects/debs7

Error in class net.sf.antcontrib.logic.IfTask Error in class net.sf.antcontrib.logic.IfTask

BUILD FAILED

file:/home/debs/sdk3/sdk.xml:484: Warning: Could not find file /home/debs/sdk3/projects/debs7/prefs_${SPECIAL}.xml to copy.

Error Message

Error in class net.sf.antcontrib.logic.IfTask Error in class net.sf.antcontrib.logic.IfTask

BUILD FAILED

file:/home/debs/sdk3/sdk.xml:484: Warning: Could not find file /home/debs/sdk3/projects/debs7/prefs_${SPECIAL}.xml to copy.

Resolving The Problem

This has been fixed in SDK 3.3 and above. Please use the latest SDK available to address this issue.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MCS","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MCS - Comergent SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX2843

Product Synonym

[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix

Document Information

Modified date:
16 June 2018

UID

swg21555571