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/08/18 18:32:31 UTC

[jira] Updated: (MPANT-10) required jars for targets are not used with the taskdef target

The following issue has been updated:

    Updater: Arnaud HERITIER (mailto:arnaud.heritier@laposte.net)
       Date: Wed, 18 Aug 2004 12:30 PM
    Comment:
update the priority
    Changes:
             priority changed from Critical to Major
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANT-10?page=history

---------------------------------------------------------------------
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: Open
   Priority: Major

 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: Wed, 18 Aug 2004 12:30 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org