Message:
The following issue has been closed.
Resolver: Arnaud HERITIER
Date: Sat, 26 Feb 2005 8:10 PM
Ant problem. Cannot be bypassed (to my knowledge).
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPANT-10
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPANT-10
Summary: required jars for targets are not used with the taskdef target
Type: Bug
Status: Closed
Priority: Major
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ant-plugin
Versions:
1.5
Assignee: Arnaud HERITIER
Reporter: Thomas Wabner
Created: Thu, 12 Feb 2004 8:28 AM
Updated: Sat, 26 Feb 2005 8:10 PM
Environment: Linux, jdk 1.4
Description:
The build.xml file requires for example junit to run tests. Here the ant-plugin
creates a dependency and downloaded all required jars to target/lib . The
plugin also creates a junit-target to run all junit-tests. But if you don't
have junit copied into you ant-lib dir, the ant process fails, while it cannot
run the target.
The solution should be to add a taskdef definition for all non-standard-targets
to the build.xml file, for example for junit, and then add for the
junit-taskdef the target/lib/junit-version.jar file to the taskdef.
---------------------------------------------------------------------
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]