The following comment has been added to this issue:
Author: Arnaud HERITIER
Created: Mon, 5 Jul 2004 9:12 AM
Body:
Carlos missed some files yesterday when he added this :
+
+ <!-- use relative paths -->
+ <j:set var="baseDirFile" value="${pom.file.canonicalFile.parentFile}"/>
+ <maven:makeRelativePath basedir="${baseDirFile}" path="${maven.build.dest}"
separator="/" var="classesdir"/>
+ <maven:makeRelativePath basedir="${baseDirFile}" path="${maven.test.dest}"
separator="/" var="testclassesdir"/>
+
+ <assert:assertFileExists file="${classesdir}/directory-1/file1.properties"/>
+ <assert:assertFileExists file="${classesdir}/file2.properties"/>
+ <assert:assertFileExists file="${testclassesdir}/directory-1/file1.properties"/>
+ <assert:assertFileExists file="${testclassesdir}/file2.properties"/>
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPANT-17?page=comments#action_21377
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPANT-17
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPANT-17
Summary: plugin:test fails
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ant-plugin
Fix Fors:
1.7
Versions:
1.7
Assignee:
Reporter: dion gillard
Created: Mon, 5 Jul 2004 8:59 AM
Updated: Mon, 5 Jul 2004 9:12 AM
Description:
build:start:
plugin:test:
build:start:
test-ant:
ant:generate-build:
[echo] Generating C:\source\maven-plugins\ant\src\plugin-test/build.xml
BUILD FAILED
File...... C:\Documents and Settings\Dion
Gillard\.maven\cache\maven-plugin-plugin-1.6-SNAPSHOT\plugin.jelly
Element... maven:maven
Line...... 261
Column.... 34
Unable to obtain goal [test-ant] -- C:\Documents and Settings\Dion
Gillard\.maven\cache\maven-plugin-plugin-1.6-SNAPSHOT\plugin.jell
y:331:19: <ant:fail> target/classes/directory-1/file1.properties does not exist.
Total time: 3 seconds
Finished at: Mon Jul 05 22:57:56 EST 2004
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]