Need custom classloader in Ant while running

2007-01-26 Thread hanasaki
I have a need for a custom classloader that Ant will delegate too when running. Classloader is written, how can it be hooked in? In the past, I wrote a hook into the Ant source code that would delegate to a Classloader based on an env var. If set, the value for the key would be used as the FQN

RE: Problem with classpath of taskdef

2007-01-26 Thread Stephen McConnell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, 26 January 2007 7:44 PM > To: user@ant.apache.org > Subject: AW: Problem with classpath of taskdef > > What means "ant -d" ? It short form for the following option: ant -diagnostics I

Re: java task question

2007-01-26 Thread Peter Reilly
On 1/26/07, Leo <[EMAIL PROTECTED]> wrote: Hi, I have recently started to use Ant on Eclipse IDE. I am trying to run a file called HelloWorld located in the jse.core package. The build.xml is located at: C:\dev\eclipse\workspace32\jse-core\build.xml HelloWorld.java and HelloWorld.cla

java task question

2007-01-26 Thread Leo
Hi, I have recently started to use Ant on Eclipse IDE. I am trying to run a file called HelloWorld located in the jse.core package. The build.xml is located at: C:\dev\eclipse\workspace32\jse-core\build.xml HelloWorld.java and HelloWorld.class is located at: C:\dev\eclipse\workspace3

Can Ant Parse a Property

2007-01-26 Thread Robert Pepersack
Hello. I have a custom Ant task that populates a property in by build file. I would like to parse the property in the build file. Does anyone know how? If not, then I'll parse it in the custom Ant task. Thanks, Bob Robert Pepersack Senior Lead Developer Maryland Insurance Administration 410-

Re: AW: Exec task not to show a console window under Windows

2007-01-26 Thread dperez
Hi Jan Your comments have been very valuable. I didn't know the existence of the apply task. I use it with parallel="true" and works if I use in addition this: maxparallel="15" I also use relative="true" for avoiding reaching the command line length limit. Now I get much less console windows an

AW: Problem with classpath of taskdef

2007-01-26 Thread Jan.Materne
What means "ant -d" ? Jan Von: Farhdine Boutzakhti [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 25. Januar 2007 17:58 An: Ant Users List Betreff: Problem with classpath of taskdef Hi all !

AW: Trying to convert a path reference to use as a fileset for packaging jars in an ear

2007-01-26 Thread Jan.Materne
>>> I use >>> >>> ... >>> >>> which is composed of various filelists and filesets >referencing jars >>> used to build my application. I use this refid >(projectSpecificLibs) >>> as part of my classpath. >>> >>> I want to be able to use this same list when packaging my EAR file >>> using the