AW: Taskdef and classpath

2010-03-30 Thread Rainer Noack
Hi, If possible, you should encapsulate the task in a java program i.e. a public static void main(String[] args]) method. Then call this via java task with fork="true" There you can specify the correct classpath. Regards Rainer -Ursprüngliche Nachricht- Von: Knuplesch, Juergen [mailto:j

RE: AW: Taskdef classloader issue: Solution found

2009-06-04 Thread Martin Gainty
ous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: AW: Taskdef classloader issue: Solution found > Date: Thu, 4 Jun 2009 13:45:33 +0200 > From: juergen.knuple...@icongmbh.de > To: user@ant.apache.org > > Hello, > > The real solution for my task

AW: Taskdef classloader issue: Solution found

2009-06-04 Thread Knuplesch, Juergen
ngmbh.de] Gesendet: Dienstag, 2. Juni 2009 08:39 An: Ant Users List Betreff: AW: Taskdef classloader issue Hello Martin Thanks for the deep insight and your help! I finally gave up, and used the workaround to put this special jar on the classpath of ANT (instead of the classpath of taskdef).

AW: Taskdef classloader issue

2009-06-02 Thread Knuplesch, Juergen
; > Greetings Juergen > > > -- > Jürgen Knupleschwww.icongmbh.de > icon Systemhaus GmbHTel. +49 711 806098-275 > Sophienstraße 40 > D-70178 Stuttgart Fax. +49 711 806098-299 > > Geschä

AW: Taskdef classpath still does not work - partIII

2009-05-29 Thread Knuplesch, Juergen
conCodebeamerCVS\lib\cb-api.jar) to Ant it > works. > > This is crazy. Im working now a whole day on this topic and can not find a > reason. > > Has anyone an idea, whats going on or how I can debug deeper what happens? > > Greetings > > Jürgen > > -- &

AW: AW: Taskdef classpath does not work - partII

2009-05-28 Thread Knuplesch, Juergen
[mailto:sflo...@nc.rr.com] Gesendet: Donnerstag, 28. Mai 2009 18:40 An: Ant Users List Betreff: Re: AW: Taskdef classpath does not work - partII So, how do you construct your class path? Also, what is the exception? On Thu, 28 May 2009, Knuplesch, Juergen wrote: > Hello, > > I

Re: AW: Taskdef classpath does not work - partII

2009-05-28 Thread Scot P. Floess
So, how do you construct your class path? Also, what is the exception? On Thu, 28 May 2009, Knuplesch, Juergen wrote: Hello, I have some additional information: My classpath is very long. When I change the classpath order an exception happen somewhere else! Is there a restriction of the le

AW: Taskdef classpath does not work - partII

2009-05-28 Thread Knuplesch, Juergen
Hello, I have some additional information: My classpath is very long. When I change the classpath order an exception happen somewhere else! Is there a restriction of the length of a classpath that will be handled using taskdef? Greetings Jürgen -- Jürgen Knuplesch -Ursprüngliche Nach

AW: Taskdef classpath does nor work

2009-05-28 Thread Knuplesch, Juergen
Hello Scott, No, Because, when I add the jar to the Ant classpath (now ist on the classpath twice), everything works! Probably my classpath is too long. Greetings Juergen -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophi

Re: AW: taskdef, class not found

2006-03-14 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Ah, I was fooled by the package name indeed. Thanks for spotting that Jan. I'm not sure there's a process for that, but shouldn't the batik folks be warned not to use (usurp) Ant's package names? --DD Changing the package name is difficult for BWC reasons, but a hint

AW: taskdef, class not found

2006-03-14 Thread Jan.Materne
>Ah, I was fooled by the package name indeed. Thanks for >spotting that Jan. I'm not sure there's a process for that, >but shouldn't the batik folks be warned not to use (usurp) >Ant's package names? --DD Changing the package name is difficult for BWC reasons, but a hint would be helpful. I won

AW: taskdef, class not found

2006-03-14 Thread Jan.Materne
] [mailto:[EMAIL PROTECTED] >Envoyé : 14 mars 2006 03:48 >À : user@ant.apache.org >Objet : AW: taskdef, class not found > >The classname you provided sounds like one of Ant's, because >Ant uses org.apache.tools.ant as main package. But the default >file for taskdefs [1]

AW: taskdef, class not found

2006-03-14 Thread Jan.Materne
The classname you provided sounds like one of Ant's, because Ant uses org.apache.tools.ant as main package. But the default file for taskdefs [1] does not list that class. And there is no such class in the repo [2]. So this class is to be declared as other external tasks: taskdef or xmlns (with all

AW: taskdef problem

2005-10-14 Thread Jan.Materne
http://ant.apache.org/manual/tutorial-writing-tasks.html#use1 Jan >-Ursprüngliche Nachricht- >Von: Matt Benson [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 12. Oktober 2005 16:44 >An: Ant Users List >Betreff: Re: taskdef problem > >set the classpath on the taskdef itself after having

AW: taskdef can't find junit.framework.Test

2005-06-02 Thread Jan . Materne
To really ensure that JUnit is on Ant´s classpath, you could print it out classpath: ${java.class.path} But putting junit.jar into ${user.home}/.ant/lib should help. Or starting Ant with -lib Jan > -Ursprüngliche Nachricht- > Von: Hyrum [mailto:[EMAIL PROTECTED] > Gesendet am: F

AW: taskdef , attribute not suppported

2005-01-31 Thread Jan . Materne
In line 7 of your buildfile you have something like but your flagfile-task doesnt have a setFilename(...) method. Jan > -Ursprüngliche Nachricht- > Von: Radha Sangal [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 31. Januar 2005 19:05 > An: Ant Users List > Betreff: taskdef , attri

AW: taskdef

2004-11-30 Thread Jan . Materne
; > Subject: RE: taskdef > > > > yes > > > > -Original Message- > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 30, 2004 10:23 AM > > To: [EMAIL PROTECTED] > > Subject: AW: taskdef > > > &g

AW: taskdef

2004-11-30 Thread Jan . Materne
> > > I get the error: > taskdef class com.util.infrastructure.ant.tasks.PRTagDiff > cannot be found > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 10:07 AM > To: [EMAIL PROTECTED] > Subject: AW: taskdef > &

AW: taskdef

2004-11-30 Thread Jan . Materne
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: Jan > -Ursprüngliche Nachricht- > Von: Radha Sangal [mailto:[EMAIL PROTECTED] > Gesendet am: Dien