Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Ant Editor - TaskDef problem
Ant Editor - TaskDef problem [message #179539] Mon, 27 September 2004 10:54 Go to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

I hope this is the right newsgroup for problems with Ant Editor.

I have a problem with the taskdef tag:

<target name="setBase">
<taskdef name="absolutePath" classname="genfwutil.ant.AbsolutePathTask" />
<absolutePath propertyName="BASEDIR" />
</target>

there's a warning in the ant editor:
taskdef class ... cannot be found

but the jar with this class is in the classpath

happens with 3.0.1 final and 3.1.M2
(another developer reported, that its ok with 2.1.3)

any ideas what could be worng ?

thanks

ekkehard
Re: Ant Editor - TaskDef problem [message #179577 is a reply to message #179539] Mon, 27 September 2004 13:07 Go to previous messageGo to next message
Eclipse UserFriend
Which classpath is the JAR included in?

Darins

"ekkehard" <ekkehard@gentz-software.de> wrote in message
news:cj99ah$vin$1@eclipse.org...
> I hope this is the right newsgroup for problems with Ant Editor.
>
> I have a problem with the taskdef tag:
>
> <target name="setBase">
> <taskdef name="absolutePath" classname="genfwutil.ant.AbsolutePathTask" />
> <absolutePath propertyName="BASEDIR" />
> </target>
>
> there's a warning in the ant editor:
> taskdef class ... cannot be found
>
> but the jar with this class is in the classpath
>
> happens with 3.0.1 final and 3.1.M2
> (another developer reported, that its ok with 2.1.3)
>
> any ideas what could be worng ?
>
> thanks
>
> ekkehard
>
>
Re: Ant Editor - TaskDef problem [message #179687 is a reply to message #179577] Tue, 28 September 2004 00:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

its in the project java build path
and
if I say run ant ... its in the ant classpath there

regards

ekkehard
"Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
news:cj9d9p$8ne$1@eclipse.org...
> Which classpath is the JAR included in?
>
> Darins
>
> "ekkehard" <ekkehard@gentz-software.de> wrote in message
> news:cj99ah$vin$1@eclipse.org...
> > I hope this is the right newsgroup for problems with Ant Editor.
> >
> > I have a problem with the taskdef tag:
> >
> > <target name="setBase">
> > <taskdef name="absolutePath" classname="genfwutil.ant.AbsolutePathTask"
/>
> > <absolutePath propertyName="BASEDIR" />
> > </target>
> >
> > there's a warning in the ant editor:
> > taskdef class ... cannot be found
> >
> > but the jar with this class is in the classpath
> >
> > happens with 3.0.1 final and 3.1.M2
> > (another developer reported, that its ok with 2.1.3)
> >
> > any ideas what could be worng ?
> >
> > thanks
> >
> > ekkehard
> >
> >
>
>
Re: Ant Editor - TaskDef problem [message #179693 is a reply to message #179687] Tue, 28 September 2004 02:42 Go to previous messageGo to next message
Eclipse UserFriend
Try adding it in Window->preferences->Ant->Runtime
Add your jar in the classpath there.

"ekkehard" <ekkehard@gentz-software.de> wrote in message
news:cjaq21$cfk$1@eclipse.org...
> its in the project java build path
> and
> if I say run ant ... its in the ant classpath there
>
> regards
>
> ekkehard
> "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
> news:cj9d9p$8ne$1@eclipse.org...
> > Which classpath is the JAR included in?
> >
> > Darins
> >
> > "ekkehard" <ekkehard@gentz-software.de> wrote in message
> > news:cj99ah$vin$1@eclipse.org...
> > > I hope this is the right newsgroup for problems with Ant Editor.
> > >
> > > I have a problem with the taskdef tag:
> > >
> > > <target name="setBase">
> > > <taskdef name="absolutePath"
classname="genfwutil.ant.AbsolutePathTask"
> />
> > > <absolutePath propertyName="BASEDIR" />
> > > </target>
> > >
> > > there's a warning in the ant editor:
> > > taskdef class ... cannot be found
> > >
> > > but the jar with this class is in the classpath
> > >
> > > happens with 3.0.1 final and 3.1.M2
> > > (another developer reported, that its ok with 2.1.3)
> > >
> > > any ideas what could be worng ?
> > >
> > > thanks
> > >
> > > ekkehard
> > >
> > >
> >
> >
>
>
Re: Ant Editor - TaskDef problem [message #179767 is a reply to message #179693] Tue, 28 September 2004 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehardNOSPAMREMOVE.gentz-software.de

great !
now it works - thanks
regards
ekkehard
"Zohar" <david_fire4@hotmail.com> schrieb im Newsbeitrag
news:cjb0vf$lm3$1@eclipse.org...
> Try adding it in Window->preferences->Ant->Runtime
> Add your jar in the classpath there.
>
> "ekkehard" <ekkehard@gentz-software.de> wrote in message
> news:cjaq21$cfk$1@eclipse.org...
> > its in the project java build path
> > and
> > if I say run ant ... its in the ant classpath there
> >
> > regards
> >
> > ekkehard
> > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
> > news:cj9d9p$8ne$1@eclipse.org...
> > > Which classpath is the JAR included in?
> > >
> > > Darins
> > >
> > > "ekkehard" <ekkehard@gentz-software.de> wrote in message
> > > news:cj99ah$vin$1@eclipse.org...
> > > > I hope this is the right newsgroup for problems with Ant Editor.
> > > >
> > > > I have a problem with the taskdef tag:
> > > >
> > > > <target name="setBase">
> > > > <taskdef name="absolutePath"
> classname="genfwutil.ant.AbsolutePathTask"
> > />
> > > > <absolutePath propertyName="BASEDIR" />
> > > > </target>
> > > >
> > > > there's a warning in the ant editor:
> > > > taskdef class ... cannot be found
> > > >
> > > > but the jar with this class is in the classpath
> > > >
> > > > happens with 3.0.1 final and 3.1.M2
> > > > (another developer reported, that its ok with 2.1.3)
> > > >
> > > > any ideas what could be worng ?
> > > >
> > > > thanks
> > > >
> > > > ekkehard
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: Ant Editor - TaskDef problem [message #179814 is a reply to message #179767] Tue, 28 September 2004 09:24 Go to previous messageGo to next message
Eclipse UserFriend
I had a similar question in the "platform" group on Sep 22nd - take a look.

"ekkehard" <ekkehardNOSPAMREMOVE@gentz-software.de> wrote in message
news:cjbejv$fm4$2@eclipse.org...
> great !
> now it works - thanks
> regards
> ekkehard
> "Zohar" <david_fire4@hotmail.com> schrieb im Newsbeitrag
> news:cjb0vf$lm3$1@eclipse.org...
> > Try adding it in Window->preferences->Ant->Runtime
> > Add your jar in the classpath there.
> >
> > "ekkehard" <ekkehard@gentz-software.de> wrote in message
> > news:cjaq21$cfk$1@eclipse.org...
> > > its in the project java build path
> > > and
> > > if I say run ant ... its in the ant classpath there
> > >
> > > regards
> > >
> > > ekkehard
> > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
> > > news:cj9d9p$8ne$1@eclipse.org...
> > > > Which classpath is the JAR included in?
> > > >
> > > > Darins
> > > >
> > > > "ekkehard" <ekkehard@gentz-software.de> wrote in message
> > > > news:cj99ah$vin$1@eclipse.org...
> > > > > I hope this is the right newsgroup for problems with Ant Editor.
> > > > >
> > > > > I have a problem with the taskdef tag:
> > > > >
> > > > > <target name="setBase">
> > > > > <taskdef name="absolutePath"
> > classname="genfwutil.ant.AbsolutePathTask"
> > > />
> > > > > <absolutePath propertyName="BASEDIR" />
> > > > > </target>
> > > > >
> > > > > there's a warning in the ant editor:
> > > > > taskdef class ... cannot be found
> > > > >
> > > > > but the jar with this class is in the classpath
> > > > >
> > > > > happens with 3.0.1 final and 3.1.M2
> > > > > (another developer reported, that its ok with 2.1.3)
> > > > >
> > > > > any ideas what could be worng ?
> > > > >
> > > > > thanks
> > > > >
> > > > > ekkehard
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: Ant Editor - TaskDef problem [message #179867 is a reply to message #179814] Tue, 28 September 2004 12:25 Go to previous message
Eclipse UserFriend
As I stated on Sept 22, we have thought about this problem in the past: How
to associate a particular launch configuration with the Ant editor editing
the buildfile.
I have logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=75187 to track
this issue

Thanks
Darins

"Zohar" <david_fire4@hotmail.com> wrote in message
news:cjbohs$4vv$1@eclipse.org...
> I had a similar question in the "platform" group on Sep 22nd - take a
look.
>
> "ekkehard" <ekkehardNOSPAMREMOVE@gentz-software.de> wrote in message
> news:cjbejv$fm4$2@eclipse.org...
> > great !
> > now it works - thanks
> > regards
> > ekkehard
> > "Zohar" <david_fire4@hotmail.com> schrieb im Newsbeitrag
> > news:cjb0vf$lm3$1@eclipse.org...
> > > Try adding it in Window->preferences->Ant->Runtime
> > > Add your jar in the classpath there.
> > >
> > > "ekkehard" <ekkehard@gentz-software.de> wrote in message
> > > news:cjaq21$cfk$1@eclipse.org...
> > > > its in the project java build path
> > > > and
> > > > if I say run ant ... its in the ant classpath there
> > > >
> > > > regards
> > > >
> > > > ekkehard
> > > > "Darin Swanson" <Darin_Swanson@us.ibm.com> schrieb im Newsbeitrag
> > > > news:cj9d9p$8ne$1@eclipse.org...
> > > > > Which classpath is the JAR included in?
> > > > >
> > > > > Darins
> > > > >
> > > > > "ekkehard" <ekkehard@gentz-software.de> wrote in message
> > > > > news:cj99ah$vin$1@eclipse.org...
> > > > > > I hope this is the right newsgroup for problems with Ant Editor.
> > > > > >
> > > > > > I have a problem with the taskdef tag:
> > > > > >
> > > > > > <target name="setBase">
> > > > > > <taskdef name="absolutePath"
> > > classname="genfwutil.ant.AbsolutePathTask"
> > > > />
> > > > > > <absolutePath propertyName="BASEDIR" />
> > > > > > </target>
> > > > > >
> > > > > > there's a warning in the ant editor:
> > > > > > taskdef class ... cannot be found
> > > > > >
> > > > > > but the jar with this class is in the classpath
> > > > > >
> > > > > > happens with 3.0.1 final and 3.1.M2
> > > > > > (another developer reported, that its ok with 2.1.3)
> > > > > >
> > > > > > any ideas what could be worng ?
> > > > > >
> > > > > > thanks
> > > > > >
> > > > > > ekkehard
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Previous Topic:java/eclipse debugger hangs on Mdk 10.1 CE
Next Topic:Where is the source code of JavaMainTab class?
Goto Forum:
  


Current Time: Wed May 07 14:16:03 EDT 2025

Powered by FUDForum. Page generated in 0.04467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top