Re: Strange JSPC/Taskdef issues

2004-11-30 Thread Jacob Kjome
At 10:09 AM 11/30/2004 -0800, you wrote: >Jake, > >I tried doing that via but it didn't really work -- IOW, it >didn't reinitialize. Should I use antcall instead? What's the >difference? Did you set so that properties and references don't get propagated? See the Ant task manual for info on what

Make the tools.jar warning less alarming?

2004-11-30 Thread Patrick Surry
This has likely come up before, but if you run Ant with a JRE instead of a JDK, you get an alarming message like this: ... Unable to locate tools.jar. Expected to find it in /home/ruby6/dh/QuadstoneSystem5.0C/server/jre/solaris/1.4.2_03/lib/tools.jar ... But for my application, I don't need any o

classpath question

2004-11-30 Thread Eric Wood
Is there any way I can see the expanded classpath that is being passed to a given task? I am executing a wsEjbDeploy task that I pass a classpath as a ref id. Here is the task: I get the following message on AIX: [wsejbdeploy] Warning: UNIXProcess.forkAndExec native error: The parameter or e

Re: Strange JSPC/Taskdef issues

2004-11-30 Thread Bill Lynch
Jake, I tried doing that via but it didn't really work -- IOW, it didn't reinitialize. Should I use antcall instead? What's the difference? Thanks, --Bill On Mon, 29 Nov 2004 23:36:35 -0600, Jacob Kjome <[EMAIL PROTECTED]> wrote: > > Does it work if you use and (re)initialize the taskdef wit

RE: taskdef

2004-11-30 Thread Radha Sangal
Correct, that is what we are doing but the format which the core task gives the result is manipulated in the custom task , that's all... There is a new problem arising in ant 1.6 .. pls give suggestion ... C:\apache-ant-1.6.1>echo %ANT_HOME% C:\apache-ant-1.6.1 C:\apache-ant-1.6.1>echo %PATH%

RE: taskdef

2004-11-30 Thread Ivan Ivanov
Radha, this is slightly off-topic but from your post I assume that you are trying to generate a diff report between two cvs tags. If I am right, Ant has task that does the job and outputs its result in XML file, so there is no need to write a custam Ant task. If you want you can take a look at it

RE: taskdef

2004-11-30 Thread Radha Sangal
Look at this .. when I set the classpath to point to my jar , I end up messing with the ant -version !!! C:\DiffReport_Scripts>ant -version Apache Ant version 1.6.1 compiled on February 12 2004 C:\DiffReport_Scripts>manualcvsdiffs.bat C:\DiffReport_Scripts>set CLASSPATH=prconfig;lib;lib/log

AW: taskdef

2004-11-30 Thread Jan . Materne
Alternatively: create a JAR containing that class and place that in ${user.home}/.ant/lib then you dont need a on the . That directory is included in Ant´s classpath. Jan > -Ursprüngliche Nachricht- > Von: Radha Sangal [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 30. November 20

RE: Ant 1.6.2 loads very slow

2004-11-30 Thread RADEMAKERS Tanguy
Hello Tony, Did you try the dev list? I think most people here run ant interactively, not embedded, so you might need a more "expert" level of opinion... just my 0.02 $ /t >-Original Message- >From: Tony Thompson [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 30, 2004 3:46 PM >To

RE: taskdef

2004-11-30 Thread Radha Sangal
My lib dir was on the same level as the dir which contained the ant script C:\0402\lib C:\0402\DiffReport_Scripts\ant-script.xml I included the lib inside the scripts dir and got rid of that error but now I have a new one coming :( java.lang.InstantiationException: org.apache.tools.ant.Main

RE: taskdef

2004-11-30 Thread Charles Daniels
You also need to include in your any jars that PRTagDiff depends upon. Since your class is a Task (I assume), I believe that means you need to include the ant jar file at a minimum since you are specifying your own classpath to taskdef. So it's probably not your own class that taskdef can't find

RE: taskdef

2004-11-30 Thread Radha Sangal
yes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 10:23 AM To: [EMAIL PROTECTED] Subject: AW: taskdef Is there a file named C:\0402\lib\com\util\infrastructure\ant\tasks\PRTagDiff.class ? > -Ursprüngliche Nachricht- > Von:

AW: taskdef

2004-11-30 Thread Jan . Materne
Is there a file named C:\0402\lib\com\util\infrastructure\ant\tasks\PRTagDiff.class ? > -Ursprüngliche Nachricht- > Von: Radha Sangal [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 30. November 2004 16:19 > An: Ant Users List > Betreff: RE: taskdef > > Thanks, but it did not work , I

RE: taskdef

2004-11-30 Thread Radha Sangal
Thanks, but it did not work , I did the following for the class in lib directory... I get the error: taskdef class com.util.infrastructure.ant.tasks.PRTagDiff cannot be found -Original Mes

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

taskdef

2004-11-30 Thread Radha Sangal
Hi, I am a new bee in Ant. I am using taskdef as follows 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

Re: Ant 1.6.2 loads very slow

2004-11-30 Thread Tony Thompson
Can anyone provide some insight into this? The only thing I have received in response is a ton more SPAM. Tony >>> [EMAIL PROTECTED] 11/23/04 01:21PM >>> Actually, I want to retract my previous message. Even when I don't have debug on, if all of the extra "ant-*.jar" files are not in my classpa

AW: build dependent projects

2004-11-30 Thread Jan . Materne
It doesnt matter how you call the jar target in xxx buildfile. That buildfile should ensure to create the jar only if it´s needed. So running the first time (with non existing jars) xxx:jar should compile the source and create the jar. Then the master could do its work against that new jars. Runni

RE: build dependent projects

2004-11-30 Thread Mikael Petterson \(KI/EAB\)
Hi, I try So this will only be done if there is a need to rebuild. That means that ant will check if the jar is out of date? //Mikael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 30 november 2004 15:24 To: [EMAIL PROTECTED] Subject: AW: build dependent

AW: build dependent projects

2004-11-30 Thread Jan . Materne
Simply let Ant build the two jars. It should only work if the JARs needs to be updated. Jan > -Ursprüngliche Nachricht- > Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 30. November 2004 15:20 > An: [EMAIL PROTECTED] > Betreff: build dependent projects

build dependent projects

2004-11-30 Thread Mikael Petterson \(KI/EAB\)
Hi! In order to build a specific java project I use proj1.jar and proj2.jar in classpath. But these projects could be uncompiled at the time we are building our project. I am thinking of doing the following: * check if the dependant jars exists. * If jars does not exist, then we compile the s

Advice on major build system

2004-11-30 Thread Mikael Petterson \(KI/EAB\)
Hi, I am using ant to build our products. I am using ant 1.6.2 I have a common.xml containing the following targets: * init * compile * jar * clean * test:compile * test:test also a test-target that depends on test:setup, test:compile and test:test. I also have a build.properties with with