Optional and core tasks are available by standard. Ant uses the org/apache/tools/ant/taskdefs/default.properties in %ant.home%/lib/ant.jar for "taskdefing" these tasks.
You donÂt have to <taskdef> that task, because this task is defined near line 196 scriptdef=org.apache.tools.ant.taskdefs.optional.script.ScriptDef Jan > -----Original Message----- > From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 03, 2003 4:00 AM > To: Ant Developers List > Subject: Why the latest build requires explicit <taskdef> for > <scriptdef> > > > Hello, > > I have updated ANT from main branch and now I have to add > > <taskdef name="scriptdef" > classname="org.apache.tools.ant.taskdefs.optional.script.ScriptDef"/> > > in order to use <scriptdef> task. But the <taskdef> generates > "Trying to > override old definition of datatype scriptdef" warning. What > can be wrong? > > - Alexey. > > -- > { http://trelony.cjb.net/ } Alexey N. Solofnenko > Pleasant Hill, CA (GMT-8 usually) > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >