The macro returns the input command response in a parseable format by removing all line breaks.
The following table describes the macro specific attributes for the macro:
| Macro Specific Attributes | ||
| Attribute | Description | Required |
| property | The name of a property in which to store the parseable result. | Yes |
| value | The input command response. | Yes |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed Materials - Property of IBM
(c) Copyright IBM Corporation 2020. All Rights Reserved.
Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
-->
<project
basedir="."
default="all"
name="Example"
xmlns:xt="antlib:com.ibm.team.build.extensions.toolkit">
<description>Example</description>
<!-- Load build extensions -->
<xt:loadBuildExtensions/>
<xt:getJarLocation property="jarPath"/>
<!-- Load common resources -->
<import>
<javaresource name="scripts/smpe/imports/$common.xml">
<classpath location="${jarPath}"/>
</javaresource>
</import>
<!-- - - - - - - - - - - - - - - - - - - *
* Example *
*- - - - - - - - - - - - - - - - - - - -->
<target name="main" description="main">
<ScmStatus property="loadChangeLog" workspace="${team.scm.fetchDestination}"/>
<propertyregex property="loadChangeLog" input="${loadChangeLog}" regexp="\\" replace="\/" global="true" override="true"/>
<GetResponse property="respChangeLog" value="${loadChangeLog}"/>
</target>
<target depends="main" description="all" name="all"/>
</project>