From 7a4e63015810dc42e595fe7ca9c6abaa1ed4ed17 Mon Sep 17 00:00:00 2001 From: aheritier Date: Tue, 18 May 2004 21:16:04 +0000 Subject: [PATCH] - replace "compile" dependency in "javadoc" target with "get-deps" - add a path reference for libs - run Junit only if present in ANT (display a warning otherwise) - comment unused downloads of junit and ant jars git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115377 13f79535-47bb-0310-9956-ffa450edef68 --- .../plugin-resources/templates/build.jelly | 43 +++++++++++-------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/ant/src/plugin-resources/templates/build.jelly b/ant/src/plugin-resources/templates/build.jelly index 05725f84..33c61629 100644 --- a/ant/src/plugin-resources/templates/build.jelly +++ b/ant/src/plugin-resources/templates/build.jelly @@ -57,6 +57,12 @@ + + + + + + + + - - - - - + @@ -203,9 +207,11 @@ description="o Run the test cases"> + + depends="junit-present,compile-tests" + if="Junit.present"> - - - + @@ -246,6 +250,13 @@ + + Junit isn't present in your $${ANT_HOME}/lib directory. Tests not done. + + @@ -261,9 +272,7 @@ - - - + @@ -309,7 +318,8 @@ + description="o Generate javadoc" + depends="get-deps"> @@ -341,10 +351,7 @@ doctitle="${title}" bottom="${copyright}"> - - - - + @@ -364,6 +371,7 @@ ignoreerrors="true" /> +