ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Rosenberg>
Subject Antlib Confusion
Date Fri, 25 May 2012 14:50:24 GMT
I am trying to make an Antlib & find myself very confused.  Here is
what I have done:


<?xml version="1.0" encoding="UTF-8"?>

    <taskdef name="remote-synch"
classname="org.tabbysplace.ant.common.RemoteSynch" />

In home/.ant/lib:


In the file trying to use the antlib I have:

<project name='Update JAWR Config and refresh' default='start'
basedir='.' xmlns:tp="antlib:org.tabbysplace.ant.common">

But when I run this I get

\\\\tabbysplace.pri\user\jr\My Documents\workspace\JAWR\update.xml:64:
Problem: failed to create task or type
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:
        -C:\Documents and Settings\jr\.ant\lib
        -a directory added on the command line with the -lib argument

What am I missing?

Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message