[ 
https://issues.apache.org/jira/browse/VELOCITY-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Will Glass-Husain resolved VELOCITY-724.
----------------------------------------

    Resolution: Fixed

Hi,

It makes sense to me to upgrade to ant 1.7-- it's been out for a long time.  
(and the manual copying of junit lib is very confusing).

I went ahead and upgraded to ant 1.7 but did not drop junit dependency.  
(changed the build file with your patch and the docs).  It doesn't look like 
ant comes with junit.  Instead, if it's in the app classpath, it uses it 
automatically (no need to copy to lib directory).  Does this sound right?

Go ahead and reopen the issue if you've further comments.

Thanks for raising the issue.  

WILL

> [PATCH] 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: Build
>    Affects Versions: 1.6.2
>            Reporter: Aruna Venkataraman
>            Priority: Trivial
>             Fix For: 1.7
>
>         Attachments: Build succeeds with junit.jar.jpg, build.patch, current 
> error message.PNG, jnuit build failed.jpg, revised error message.PNG, svn 
> diff.PNG
>
>
> 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-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to