Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.4.1
-
Labels:None
-
Number of attachments :
Description
Add something similar to maven.xml:
<goal name="maven:patch">
<property name="patch.package" value="patch.tar.gz"/>
<property name="patch.file" value="patch.txt"/>
<condition property="cvs.found">
<or>
<available file="cvs" filepath="$
<available file="cvs.exe" filepath="${env.PATH}
"/>
<available file="cvs.exe" filepath="$
"/>
</or>
</condition>
<target name="createpatch" if="cvs.found">
<cvs command="-q diff -u" output="$
</target>
<target name="newfiles" depends="createpatch">
<delete file="${patch.package}"/>
<cvs command="-q diff -N" output="${patch.file}
.tmp"/>
<replace file="$
</target>
<target name="patchpackage" depends="newfiles">
<tar basedir="${basedir}"
tarfile="${patch.package}"
compression="gzip"
includesfile="${patch.file}
.tmp"
excludes="$
<delete file="${patch.file}
.tmp"/>
</target>
</goal>