Making log messages a bit more useful

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113733 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding
2003-07-27 23:38:45 +00:00
parent 6801d9ed62
commit ff7c7a4ac0

View File

@@ -65,7 +65,7 @@
<j:if test="${sourcesPresent}">
<j:set var="srcDir" value="${pom.build.sourceDirectory}"/>
<j:if test="${ srcDir.startsWith( basedir ) }">
<ant:echo>Cutting off basedir from sourceDirectory</ant:echo>
<!--ant:echo>Cutting off basedir from sourceDirectory</ant:echo-->
<j:set var="srcDir" value="${srcDir.substring(basedir.length())}"/>
<!--
cut off also slash or backslash from basedir.
@@ -77,10 +77,10 @@
</j:if>
<j:if test="${unitTestSourcesPresent}">
<ant:echo>Contains JUnit Tests!</ant:echo>
<ant:echo>Contains JUnit tests</ant:echo>
<j:set var="testSrcDir" value="${pom.build.unitTestSourceDirectory}"/>
<j:if test="${ testSrcDir.startsWith( basedir ) }">
<ant:echo>Cutting off basedir from testSourceDirectory</ant:echo>
<!--ant:echo>Cutting off basedir from testSourceDirectory</ant:echo-->
<j:set var="testSrcDir" value="${testSrcDir.substring(basedir.length())}"/>
<!-- cut off also slash or backslash -->
<j:set var="testSrcDir" value="${testSrcDir.substring(1)}"/>
@@ -93,7 +93,7 @@
value="${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.dest')}"/>
</j:if>
<j:if test="${ testOutputDir.startsWith( basedir ) }">
<ant:echo>Cutting off basedir from testOutputDir</ant:echo>
<!--ant:echo>Cutting off basedir from testOutputDir</ant:echo-->
<j:set var="testOutputDir" value="${testOutputDir.substring(basedir.length())}"/>
<!--
cut off also slash or backslash from basedir.
@@ -102,6 +102,7 @@
<j:set var="testOutputDir" value="${testOutputDir.substring(1)}"/>
</j:if>
<ant:echo>Setting compile of ${testSrcDir} to ${testOutputDir}</ant:echo>
<classpathentry kind="src" path="${testSrcDir}" output="${testOutputDir}"/>
@@ -179,7 +180,7 @@
<j:set var="outputDir" value="${maven.build.dest}"/>
</j:if>
<j:if test="${ outputDir.startsWith( basedir ) }">
<ant:echo>Cutting off basedir from outputDir</ant:echo>
<!--ant:echo>Cutting off basedir from outputDir</ant:echo-->
<j:set var="outputDir" value="${outputDir.substring(basedir.length())}"/>
<!--
cut off also slash or backslash from basedir.
@@ -188,6 +189,8 @@
<j:set var="outputDir" value="${outputDir.substring(1)}"/>
</j:if>
<classpathentry kind="output" path="${outputDir}"/>
<ant:echo>Setting default output directory to ${outputDir}</ant:echo>
</classpath>
</j:file>