Return-Path: Delivered-To: apmail-maven-commits-archive@www.apache.org Received: (qmail 76399 invoked from network); 9 May 2006 00:50:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 00:50:26 -0000 Received: (qmail 21384 invoked by uid 500); 9 May 2006 00:50:24 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 21348 invoked by uid 500); 9 May 2006 00:50:24 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 21337 invoked by uid 99); 9 May 2006 00:50:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 17:50:24 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 08 May 2006 17:50:23 -0700 Received: (qmail 76262 invoked by uid 65534); 9 May 2006 00:50:03 -0000 Message-ID: <20060509005003.76259.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r405247 - in /maven/maven-1/plugins/trunk/ant: ./ plugin.jelly plugin.properties project.xml xdocs/changes.xml xdocs/properties.xml Date: Tue, 09 May 2006 00:50:01 -0000 To: commits@maven.apache.org From: aheritier@apache.org X-Mailer: svnmailer-1.0.8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: aheritier Date: Mon May 8 17:50:00 2006 New Revision: 405247 URL: http://svn.apache.org/viewcvs?rev=405247&view=rev Log: MPANT-19 : The plugin overwrote existing ant script files without warning. From now the plugin ask you if you want to replace it. You can also use the property maven.ant.generate.force to force the plugin to replace the current script. Modified: maven/maven-1/plugins/trunk/ant/ (props changed) maven/maven-1/plugins/trunk/ant/plugin.jelly maven/maven-1/plugins/trunk/ant/plugin.properties maven/maven-1/plugins/trunk/ant/project.xml maven/maven-1/plugins/trunk/ant/xdocs/changes.xml maven/maven-1/plugins/trunk/ant/xdocs/properties.xml Propchange: maven/maven-1/plugins/trunk/ant/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Mon May 8 17:50:00 2006 @@ -9,3 +9,4 @@ *.ipr *.iws project.xml.backup +build.xml Modified: maven/maven-1/plugins/trunk/ant/plugin.jelly URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/ant/plugin.jelly?rev=405247&r1=405246&r2=405247&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/ant/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/ant/plugin.jelly Mon May 8 17:50:00 2006 @@ -22,7 +22,9 @@ xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:test="test" - xmlns:j="jelly:core"> + xmlns:j="jelly:core" + xmlns:i="jelly:interaction" + xmlns:u="jelly:util"> @@ -37,21 +39,52 @@ description="Generate an Ant build file" prereqs="ant:generate-build"/> + + + + + + The ant script [${maven.ant.generate.dir}/${maven.ant.generate.script}] already exists !! + + + + + + !! Your script will be replaced replaced !! + + + Script generation aborted. + + + + + + The property "maven.ant.generate.force" is setted to [${maven.ant.generate.force}]. + !! Your current script will be replaced !! + + + + + - - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - The property "maven.ant.generatebuild.file" is no more used. - Use the properties "maven.ant.generate.dir" and "maven.ant.generate.script" instead - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + The property "maven.ant.generatebuild.file" is no more used. + Use the properties "maven.ant.generate.dir" and "maven.ant.generate.script" instead + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + Generating ${maven.ant.generate.dir}/${maven.ant.generate.script} ... + + + + + ${maven.ant.generate.dir}/${maven.ant.generate.script} generated. - Generating ${maven.ant.generate.dir}/${maven.ant.generate.script} ... - - - - - ${maven.ant.generate.dir}/${maven.ant.generate.script} generated. This library is already loaded by maven's core. Be careful to use the same version number as in the core. + + commons-jelly + commons-jelly-tags-interaction + 1.0 + maven-changes-plugin Modified: maven/maven-1/plugins/trunk/ant/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/ant/xdocs/changes.xml?rev=405247&r1=405246&r2=405247&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/ant/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/ant/xdocs/changes.xml Mon May 8 17:50:00 2006 @@ -26,6 +26,7 @@ + The plugin overwrote existing ant script files without warning. From now the plugin ask you if you want to replace it. You can also use the property maven.ant.generate.force to force the plugin to replace the current script. The property maven.ant.generatebuild.file is replaced by properties maven.ant.generate.dir, maven.ant.generate.script. The generated script is ${maven.ant.generate.dir}/${maven.ant.generate.script}. The property maven.ant.generatebuild.file is removed. Add a new goal (ant:execute) to execute a build.xml file from maven. Modified: maven/maven-1/plugins/trunk/ant/xdocs/properties.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/ant/xdocs/properties.xml?rev=405247&r1=405246&r2=405247&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/ant/xdocs/properties.xml (original) +++ maven/maven-1/plugins/trunk/ant/xdocs/properties.xml Mon May 8 17:50:00 2006 @@ -48,6 +48,13 @@ ${basedir} + maven.ant.generate.force + If the ant script file already exists the plugin ask you if you want to replace it. Setting this property to true, will force the plugin to overwrite this file without to ask the question. + since 1.10 + Yes + false + + maven.ant.excludeTests Holds a comma separated list of source file patterns that will be excluded in the generated Ant build, e.g. since 1.2