velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <cla...@renegat.net>
Subject Re: Is junit-3.8.1.jar optional for Velocity as specified in jar dependencies?
Date Tue, 02 Jun 2009 10:58:20 GMT
junit required for tests but not to build Velocity. You can specify a
target argument to ant, just run 'ant -p'. The default target will run
tests, so will download it again, so I don't understand why you got this
error. What are you exactly trying to achieve?

  Claude

On mar., 2009-06-02 at 05:56 +0000, Aruna Venkataraman wrote:
> 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.
> 
> 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? 
>  
> Refer Screenshot "build_fails" attached.
> 
>  
> Regards,
> Aruna
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message