David Crossley wrote:
> Gavin wrote:
> > 
> > While I'm here, I'm now just playing with ant-task-examples.xml but I can't
> > get it working. I renamed it to build.xml and tried to use it as is.
> > 
> > The error I get is :-
> > 
> > D:\Apache2\rat-trunk>ant javasources
> > Buildfile: build.xml
> > 
> > -taskdef:
> > 
> > javasources:
> > 
> > BUILD FAILED
> > D:\Apache2\rat-trunk\build.xml:33: Problem: failed to create task or type
> > antlib
> > :org.apache.rat.anttasks:report
> > Cause: The name is undefined.
> > Action: Check the spelling.
> > Action: Check that any custom tasks/types have been declared.
> > Action: Check that any <presetdef>/<macrodef> declarations have taken place.
> > No types or tasks have been defined in this namespace yet
> > 
> > This appears to be an antlib declaration.
> > Action: Check that the implementing library exists in one of:
> >         -D:\Apache2\forrest\tools\ant\lib
> >         -C:\Documents and Settings\Gavin\.ant\lib
> >         -a directory added on the command line with the -lib argument
> > 
> > I'm assuming user error, any clues?
> 
> Looking at that file (i don't have Maven or RAT locally
> so cannot really help) ...
> 
> In the "-taskdef" target, do you have the specifed jars installed?
> 
>    <include name="**/apache-rat*.jar"/>
>    <include name="**/commons-*.jar"/>
> 
> Look at the top-level rat/main/trunk/pom.xml
> to get hints about those dependencies.

Ping. Gavin, did my comments here (and Giridharan's at RAT-63)
assist you with this?

I am keen to help because Buildbot/RAT is giving
Forrest a bad rap due to known exclusions not being
sufficiently configured.

-David

Reply via email to