You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Cory Shields <co...@ptk.org> on 2003/02/07 21:05:33 UTC

taskdef class org...ankakia.AnakiaTask cannot be found

New to velocity, so be gentle.
I'm just trying to test my velocity as described in velocity's install 
instructions.
In the build directory I type "ant test" and get a lot of "OK"'s but it 
ends with:

file:C:/velocity-1.3.1-rc2/build/testcases.xml:212: taskdef class 
org.apache.velocity.anakia.AnakiaTask cannot be found

I have tried putting both .jar files included with the download in my 
classpath, and I've tried just using the .jar file in the bin directory 
created by running "ant" in the build directory.  Nothing seems to 
help.  It may not be an issue in using velocity, but if you have any ideas 
please let me know.

Thanks,
Cory


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


Re: taskdef class org...ankakia.AnakiaTask cannot be found

Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On Sunday, February 9, 2003, at 10:55 PM, Cory Shields wrote:

> I'm using ant1.5.
> A Java savvy friend told me that you can easily use velocity without 
> anakia features, and to not worry about it.  But I would like to know 
> that my velocity is in full working order.

You can definitely use Velocity w/o Anakia.  Anakia is a tool that uses 
velocity.   I don't know about any problems with Anakia and Ant 1.5 - 
I'm using Ant 1.4.1 (anyone else using Ant 1.5?).  Historically, there 
have been some classloader 'issues' in Ant when using Singletons, which 
I believe that Anakia still does.

Don't let this stop you from using Velocity - but we should get to the 
bottom of this.

geir

>
> Thanks,
> Cory
>
> At 07:56 PM 2/9/2003, you wrote:
>
>> On Friday, February 7, 2003, at 03:05 PM, Cory Shields wrote:
>>
>>> New to velocity, so be gentle.
>>
>> Oh, ok :)
>>
>>> I'm just trying to test my velocity as described in velocity's 
>>> install instructions.
>>> In the build directory I type "ant test" and get a lot of "OK"'s but 
>>> it ends with:
>>>
>>> file:C:/velocity-1.3.1-rc2/build/testcases.xml:212: taskdef class 
>>> org.apache.velocity.anakia.AnakiaTask cannot be found
>>>
>>> I have tried putting both .jar files included with the download in 
>>> my classpath, and I've tried just using the .jar file in the bin 
>>> directory created by running "ant" in the build directory.  Nothing 
>>> seems to help.  It may not be an issue in using velocity, but if you 
>>> have any ideas please let me know.
>>
>> What version of ant are you using?
>>
>>
>>>
>>> Thanks,
>>> Cory
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: 
>>> velocity-user-help@jakarta.apache.org
>>>
>> --
>> Geir Magnusson Jr                                   203-956-2604(w)
>> Adeptra, Inc.                                       203-247-1713(m)
>> geirm@adeptra.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-247-1713(m)
geirm@adeptra.com


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


Re: taskdef class org...ankakia.AnakiaTask cannot be found

Posted by Cory Shields <co...@ptk.org>.
I'm using ant1.5.
A Java savvy friend told me that you can easily use velocity without anakia 
features, and to not worry about it.  But I would like to know that my 
velocity is in full working order.

Thanks,
Cory

At 07:56 PM 2/9/2003, you wrote:

>On Friday, February 7, 2003, at 03:05 PM, Cory Shields wrote:
>
>>New to velocity, so be gentle.
>
>Oh, ok :)
>
>>I'm just trying to test my velocity as described in velocity's install 
>>instructions.
>>In the build directory I type "ant test" and get a lot of "OK"'s but it 
>>ends with:
>>
>>file:C:/velocity-1.3.1-rc2/build/testcases.xml:212: taskdef class 
>>org.apache.velocity.anakia.AnakiaTask cannot be found
>>
>>I have tried putting both .jar files included with the download in my 
>>classpath, and I've tried just using the .jar file in the bin directory 
>>created by running "ant" in the build directory.  Nothing seems to 
>>help.  It may not be an issue in using velocity, but if you have any 
>>ideas please let me know.
>
>What version of ant are you using?
>
>
>>
>>Thanks,
>>Cory
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>>
>--
>Geir Magnusson Jr                                   203-956-2604(w)
>Adeptra, Inc.                                       203-247-1713(m)
>geirm@adeptra.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>


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


Re: taskdef class org...ankakia.AnakiaTask cannot be found

Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On Friday, February 7, 2003, at 03:05 PM, Cory Shields wrote:

> New to velocity, so be gentle.

Oh, ok :)

> I'm just trying to test my velocity as described in velocity's install 
> instructions.
> In the build directory I type "ant test" and get a lot of "OK"'s but 
> it ends with:
>
> file:C:/velocity-1.3.1-rc2/build/testcases.xml:212: taskdef class 
> org.apache.velocity.anakia.AnakiaTask cannot be found
>
> I have tried putting both .jar files included with the download in my 
> classpath, and I've tried just using the .jar file in the bin 
> directory created by running "ant" in the build directory.  Nothing 
> seems to help.  It may not be an issue in using velocity, but if you 
> have any ideas please let me know.

What version of ant are you using?


>
> Thanks,
> Cory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-247-1713(m)
geirm@adeptra.com


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