ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radha Sangal" <Radha.San...@pega.com>
Subject RE: taskdef
Date Tue, 30 Nov 2004 15:25:24 GMT
yes

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Tuesday, November 30, 2004 10:23 AM
To: user@ant.apache.org
Subject: AW: taskdef

Is there a file named
C:\0402\lib\com\util\infrastructure\ant\tasks\PRTagDiff.class ?

> -----Ursprüngliche Nachricht-----
> Von: Radha Sangal [mailto:Radha.Sangal@pega.com]
> Gesendet am: Dienstag, 30. November 2004 16:19
> An: Ant Users List
> Betreff: RE: taskdef
> 
> Thanks, but it did not work , I did the following for the 
> class in lib directory...
> 
> <taskdef name="prtagdiff" 
> classname="com.util.infrastructure.ant.tasks.PRTagDiff">
> 			<classpath>
> 				<fileset dir="C:\0402\lib\"/> 
> 			</classpath>
> 
> 		</taskdef>
> 
> I get the error:
> taskdef class com.util.infrastructure.ant.tasks.PRTagDiff 
> cannot be found
> 
> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
> Sent: Tuesday, November 30, 2004 10:07 AM
> To: user@ant.apache.org
> Subject: AW: taskdef
> 
> Should be a ClassDefNotFoundException (or so).
> That´s why Ant uses another classpath for itself than for running a
> program. So you have to provide the info to Ant where the lib is:
> 
> <taskdef ...>
>     <classpath><fileset dir="..."/> </>
> </>
> 
> 
> Jan
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Radha Sangal [mailto:Radha.Sangal@pega.com]
> > Gesendet am: Dienstag, 30. November 2004 16:03
> > An: Ant Users List
> > Betreff: taskdef
> > 
> > Hi,
> > 
> > I am a new bee in Ant. I am using taskdef as follows
> > <taskdef name="prtagdiff"
> > classname="com.util.infrastructure.ant.tasks.PRTagDiff"/>
> > 
> > I have a lib dir with the same dir structure but still when I 
> > build it,
> > the class is not visible , is there any classpath/path 
> > setting for this
> > task ?
> > 
> > Thanks in advance
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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


Mime
View raw message