dion 02/04/28 08:36:58
Modified: src/templates/build build-maven.xml
Log:
Added message so dist doesn't fail silently
Revision Changes Path
1.38 +10 -3 jakarta-turbine-maven/src/templates/build/build-maven.xml
Index: build-maven.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-maven.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- build-maven.xml 27 Apr 2002 16:17:20 -0000 1.37
+++ build-maven.xml 28 Apr 2002 15:36:58 -0000 1.38
@@ -401,9 +401,7 @@
<!-- ant maven:dist -Dtag=MAVEN_B4 -->
<!-- ================================================================== -->
- <target
- name="dist"
- if="distid">
+ <target name="dist" depends="dist-check-tag" if="tag">
<antcall target="dist-checkout-sources"/>
@@ -581,6 +579,15 @@
</target>
+ <target name="dist-check-tag" unless="tag">
+ <echo>
+ +-------------------------------------------------------+
+ | The dist target will not execute correctly unless a |
+ | 'tag' property is provided, e.g. |
+ | ant maven:dist -Dtag=MAVEN_B4 |
+ +-------------------------------------------------------+
+ </echo>
+ </target>
<!-- ================================================================== -->
<!-- I N S T A L L J A R -->
<!-- ================================================================== -->