« Return to Thread: [jira] Created: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?

[jira] Commented: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?

by Velocity - Dev mailing list-2 :: Rate this Message:

Reply to Author | View in Thread


    [ https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715490#action_12715490 ]

Claude Brisson commented on VELOCITY-724:
-----------------------------------------

Ant is fairly backward compatible. We could completely remove junit from dependancies. The "test" ant task could check on the version of ant and give an error.

If you feel motivated, you can provide us with a patch for build.xml, there is already an example of using "ant.version" within. Attach here the "svn diff" (from the root directory), and we'll apply it.


> Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?
> --------------------------------------------------------------------------
>
>                 Key: VELOCITY-724
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-724
>             Project: Velocity
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: 1.6.2
>            Reporter: Aruna Venkataraman
>            Priority: Trivial
>         Attachments: Build succeeds with junit.jar.jpg, jnuit build failed.jpg
>
>
> When i navigate to the build directory in Velocity 1.6.2 and invoke "ant" then the below error is got:
> Could not create task or type of type: junit. lib\test.
> Ant could not find the task or a class this task relies upon.
> Refer screenshot
> I deleted the junit-3.8.1.jar file from bin\test-lib as it was specified to be optional, but it gets created automatically.
> Do we need to remove the dependency on this junit-3.8.1.jar manually?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: [jira] Created: (VELOCITY-724) Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?