You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/02/12 14:29:12 UTC
[jira] Created: (MPANT-10) required jars for targets are not used with the taskdef target
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=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: Unassigned
Priority: Critical
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-ant-plugin
Versions:
1.5
Assignee:
Reporter: Thomas Wabner
Created: Thu, 12 Feb 2004 8:28 AM
Updated: Thu, 12 Feb 2004 8:28 AM
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org