From 0c1aaae366f8803a873f3f19fba94197821ac679 Mon Sep 17 00:00:00 2001 From: Oleg Gusakov Date: Thu, 19 Feb 2009 22:24:58 +0000 Subject: [PATCH] [MNG-3969] debugging bootstrap git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746035 13f79535-47bb-0310-9956-ffa450edef68 --- bs | 7 ++-- build-mercury.xml | 81 ++++++++++++++++++++++++----------------------- 2 files changed, 47 insertions(+), 41 deletions(-) diff --git a/bs b/bs index 2d0d0a1e9a..a20d7fe414 100755 --- a/bs +++ b/bs @@ -5,6 +5,9 @@ # and maven-3 requires a specific default implementation # export CLASSPATH=./mercury-ant-tasks-1.0-alpha-6-SNAPSHOT.jar -export ANT_OPTS='-Dmercury.log.threshold=warn -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory -Dmaven.repo.central=http://repository.sonatype.org/content/groups/public ' +export ANT_OPTS='-Dmercury.log.threshold=debug -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory -Dmercury.repo.central=http://repository.sonatype.org/content/groups/public ' #export ANT_OPTS=$ANT_OPTS' -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000' -ant -f build-mercury.xml + +echo ANT_OPTS=$ANT_OPTS + +ant -f build-mercury.xml $* diff --git a/build-mercury.xml b/build-mercury.xml index 6f538e31ab..a8e4066ae2 100644 --- a/build-mercury.xml +++ b/build-mercury.xml @@ -19,18 +19,18 @@ under the License. - + @@ -57,7 +57,7 @@ END SNIPPET: ant-bootstrap --> - + @@ -69,8 +69,8 @@ END SNIPPET: ant-bootstrap --> --> - - + + maven.home = ${maven.home} @@ -78,53 +78,50 @@ END SNIPPET: ant-bootstrap --> - - + + - - - + + + - - - - + + ---> + - - + - + - - + + - Using plexus version ${pom.properties.plexusVersion} + Using plexus version ${pom.properties.plexusVersion} @@ -158,8 +155,8 @@ END SNIPPET: ant-bootstrap --> - - + + @@ -169,7 +166,7 @@ END SNIPPET: ant-bootstrap --> - + @@ -202,6 +199,7 @@ END SNIPPET: ant-bootstrap --> + @@ -209,10 +207,15 @@ END SNIPPET: ant-bootstrap --> + + ======================================================================== + + mercury.classpath=${mc} + ======================================================================== - + @@ -226,7 +229,7 @@ END SNIPPET: ant-bootstrap --> - + @@ -235,9 +238,9 @@ END SNIPPET: ant-bootstrap --> - + - The new Maven distribution was created as part of the MAVEN-COMPILE step, above. + The new Maven distribution was created as part of the MAVEN-COMPILE step, above. This goal just validates the presence of that distribution. @@ -260,7 +263,7 @@ END SNIPPET: ant-bootstrap --> - + - +