Re: forking new jvm in ExecuteJava?

2002-04-10 Thread tek1
thank you very much. using execute rather than executeJava seemed to do the trick. At 13:14 02/04/10 +1000, you wrote: On Wed, 10 Apr 2002 12:57, tek1 wrote: hello. i've written a custom task that make a call to a third-party java .class. unfortunately, that .class is calling

deprecation

2002-04-10 Thread Lister, Tom (ANTS)
I am running the javac task with deprecation=on but I am not getting any messages. JBuilder does report the methods I have deprecated in our api is this a bug :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] *** This

RE: deprecation

2002-04-10 Thread Lister, Tom (ANTS)
stand easy chaps it seems to be working now i've complied the right source - doh! :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -Original Message- From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]] Sent: 10 April 2002 11:14 To: 'Ant Users List' Subject: deprecation I am running

Ant commit + log message editing

2002-04-10 Thread Durk Strooisma
Hi, I want to specify manually a log message on the cvs commit command runned while building a build file with Ant. When I build that file, an editor opens, but it isn't my $EDITOR which I 'm used to use with cvs. I don't know how to use that editor that Ant provides... 2 questions: - Which

Re: Ant commit + log message editing

2002-04-10 Thread Durk Strooisma
Update: Answers: - it's the same one cvs uses, but cause there are some warnings, vi starts in simple mode. Warning: Output is not to a terminal Warning: Input is not from a terminal - No, see first answer Hi, I want to specify manually a log message on the cvs commit command runned while

RE: Javac Task(Urgent Help)

2002-04-10 Thread subhendukumar mohanty
Thanks For reply. But I have tried with failonerror=no in javac task. It seems that after one of the compilation error for one class , it does not compile other classes which are not depend upon the failed class. Actually in my project there are 700 classes. After compilation of classes , the

Ant from Cron problem

2002-04-10 Thread Mike Lecza
This may be more of a cron issue than an Ant issue – but sure many of you have done this. Perhaps you can help. I setup cron that calls a script that looks something like this: #!/bin/sh echo echo $ANT_HOME $ANT_HOME/bin/ant -logfile /export/programs/backups/antoutput -buildfile

RE: Ant from Cron problem

2002-04-10 Thread Mckenna, Rob
ANT_HOME isn't defined in the shell the cron task runs in unless you run a profile script as part of the cron job. eg 0 2 * * * /u/user/.profile.sh;yourscript.sh -Original Message- From: Mike Lecza [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 10:05 AM To: [EMAIL PROTECTED]

RE: Ant from Cron problem

2002-04-10 Thread Chappell, Simon P
I suspected an environment variable issue, but I would recommend having your system administrator putting ANT_HOME (remember to export it!) in the /etc/profile or /etc/profile.d/rc.local startup file and then it'll be available to all appropriate tasks. Simon

Problems during Cactus build

2002-04-10 Thread laurent . duperval
Hi, I'm attaching the (gzipped) log for compilation of cactus from CVS. You will notice that when it comes time to run the tests, the first test fails and everything else cr*ps out. I'm pretty sure that's not normal; if anyone can point to me what direction I should look to in order to fix the

RE: Can't run Ant from 4NT on Win32

2002-04-10 Thread Chappell, Simon P
If you want to try an alternative command-line for your NT/W2k boxes, try Cygwin (www.cygwin.com). I use it on the W2K box that I am forced to use and it makes the whole experience much less painful. Ant runs just fine under Cygwin. Simon

RE: Javac Task(Urgent Help)

2002-04-10 Thread Dominique Devienne
As Diane says, using failonerror=no just makes the ANT build continue rather than abort because of the compile error. There's no way to do what you ask directly, since it's the Javac compiler that stops on the first error, not ANT. Failing on compile errors is entirely reasonable to most people.

Re: Javac Task(Urgent Help)

2002-04-10 Thread John Keyes
But I have tried with failonerror=no in javac task. It seems that after one of the compilation error for one class , it does not compile other classes which are not depend upon the failed class. failonerror prevents that build execution from stopping. It does not continue the compilaton.

Re: Javac Task(Urgent Help)

2002-04-10 Thread Diane Holt
--- John Keyes [EMAIL PROTECTED] wrote: failonerror prevents that build execution from stopping. It does not continue the compilaton. ^of the current javac task. [...] (I usually either have a separate build file per package or a separate compilation target per

RE: Ant from Cron problem

2002-04-10 Thread Mike Lecza
Yep - you guys where right about the environment variable stuff. Thanx! -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 10:18 AM To: Ant Users List Subject: RE: Ant from Cron problem I suspected an environment variable issue, but

Re: Can't run Ant from 4NT on Win32

2002-04-10 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: I'm not sure if any of you folks use 4NT (from the 4DOS folks), but if you do, Ant runs really strangely. Fixed in 1.5alpha -- see: http://marc.theaimsgroup.com/?l=ant-userm=101595544203313w=2 If you can't go with 1.5 until it's released, you should be able to

Re: Can't run Ant from 4NT on Win32

2002-04-10 Thread kenyee
On 04/10/2002 12:19:22 PM, Diane Holt wrote: Fixed in 1.5alpha -- see: Thanks. Modified the one line in ant.bat that detects 4NT to read %@eval[2+2]%. I had searched the ant-users mailing list archive w/ no luck before posting. And thanks, Simon, for the reference to Cygwin. I was just

ant problems on windows

2002-04-10 Thread Miriam Aguirre
hello, i've got a couple of things, i downloaded jakarta-ant-1.4.1-bin.zip (and tar.gz) and when i do an ant -verbose target i get the following: Ant version 1.2 compiled on October 24 2000 Searching for build.xml ... Searching in C:\project\core\build\nt Buildfile:

RE: ant problems on windows

2002-04-10 Thread Shoemaker, Michael (STL)
Are you sure you don't have 2 ant installations and its hitting the old one first? -Original Message- From: Miriam Aguirre [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 11:48 AM To: '[EMAIL PROTECTED]' Subject: ant problems on windows hello, i've got a couple of things,

RE: ant problems on windows

2002-04-10 Thread John Niven
-Original Message- From: Miriam Aguirre [mailto:[EMAIL PROTECTED]] Sent: 10 April 2002 17:48 To: '[EMAIL PROTECTED]' Subject: ant problems on windows hello, i've got a couple of things, i downloaded jakarta-ant-1.4.1-bin.zip (and tar.gz) and when i do an ant -verbose target i

auto dependency generation?

2002-04-10 Thread kenyee
Is there a simple way to generate a dependency file for inclusion into build.xml? I have several .java files in a com.blah.blah package (in a directory). One of the files is an Interface that one of the other files uses. Ant chose to compile the non-Interface file first, so it can't get the

RE: ant problems on windows

2002-04-10 Thread Diane Holt
--- Miriam Aguirre [EMAIL PROTECTED] wrote: i added the full path to the bin as well : C:\project\core\build\ntf:\jakarta-ant-1.4.1\bin\ant -verbose compile Ant version 1.2 compiled on October 24 2000 What version of the wrapper script you're running won't make the difference -- what you

RE: forking new jvm in ExecuteJava?

2002-04-10 Thread Daniel Barclay
From: tek1 [mailto:[EMAIL PROTECTED]] ... hello. i've written a custom task that make a call to a third-party java .class. unfortunately, that .class is calling System.exit(0) and stopping the entire vm, which ant is running on. how do i fork a new java vm within my custom

RE: Javac Task(Urgent Help)

2002-04-10 Thread Daniel Barclay
From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]] ... But I have tried with failonerror=no in javac task. It seems that after one of the compilation error for one class , it does not compile other classes which are not depend upon the failed class. Isn't it the compiler, not Ant,

RE: ant problems on windows

2002-04-10 Thread Shoemaker, Michael (STL)
Thats weird. I downloaded 1.4.1 and get the following C:\ant -version Ant version 1.4.1 compiled on October 11 2001 -Original Message- From: Miriam Aguirre [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 11:55 AM To: 'Ant Users List' Subject: RE: ant problems on windows

RE: Javac Task(Urgent Help)

2002-04-10 Thread subhendukumar mohanty
i am using jdk1.3.1_02 -Original Message- From: Daniel Barclay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 1:27 PM To: Ant Users List Subject: RE: Javac Task(Urgent Help) From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]] ... But I have tried with failonerror=no

RE: Javac Task(Urgent Help)

2002-04-10 Thread Daniel Barclay
-Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Failing on compile errors is entirely reasonable to most people. If you really want to build as many jars as possible, do not compile all the classes at onee. Compile only the classes of each jar by using

Deleting files that are X days old

2002-04-10 Thread Mike Lecza
Is there a way in Ant to delete files/folders that are older than X days? Regards

RE: auto dependency generation?

2002-04-10 Thread Dominique Devienne
There is normally no such issue with javac. Without seeing the relevant extracts from your build.xml, it's hard to tell what you problem might be. --DD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:09 PM To: Ant Users List

Re: auto dependency generation?

2002-04-10 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: Is there a simple way to generate a dependency file for inclusion into build.xml? There's the depend task, but it works once the class files are all compiled (since it uses them to determine the dependencies). I have several .java files in a com.blah.blah package

Generating Java Docs..

2002-04-10 Thread Vijay Shinde
Hey, I am generating javadocs using Ant Javadoc tag But it is failing.It tries to find thesource files for all the Jar's/Zip files i have included in the classpath.I don't understand why it tries to find the source file for the Jar's is any one has any clues? Here is my javadoc target..

Environment variables

2002-04-10 Thread Sarkar, Sudipta
Hi, How do I access an environment variable in my build.xml file. e.g I have an env variable - ORACLE_HOME I want to have something like target name=init property name=ora.home value=ORACLE_HOME/ /target Here I want to set the value of the property ora.home to environment

RE: Environment variables

2002-04-10 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
you can access these variables directly by setting the environment property: property environment=env/ property name=ora.home value=${env.ORACLE_HOME} / --Tim -Original Message- From: Sarkar, Sudipta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 3:54 PM To:

RE: Environment variables

2002-04-10 Thread Shoemaker, Michael (STL)
Add the following to your init property environment=env / property name=ora.home value=${env.ORACLE_HOME} / -Original Message- From: Sarkar, Sudipta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 3:54 PM To: [EMAIL PROTECTED] Subject: Environment variables Hi, How do

RE: Javac Task(Urgent Help)

2002-04-10 Thread subhendukumar mohanty
What is the depend attribute does in javac task. Whether it will help me to solve the problem. -Original Message- From: Daniel Barclay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 1:33 PM To: Ant Users List Subject: RE: Javac Task(Urgent Help) -Original

Re: Javac Task(Urgent Help)

2002-04-10 Thread Vijay Shinde
This is my setting works fine.. target name=compile depends= description=Compile Java source code !-- Compile the java code from ${src} into ${build} -- javac srcdir=${src} destdir=${build} debug=on deprecation=on classpath refid=project.class.path/ /javac /target subhendukumar

Re: Problems during Cactus build

2002-04-10 Thread laurent . duperval
On 10 Apr, To: Ant Users mailing List wrote: Hi, I'm attaching the (gzipped) log for compilation of cactus from CVS. You will notice that when it comes time to run the tests, the first test fails and everything else cr*ps out. I'm pretty sure that's not normal; if anyone can point to me

Re: auto dependency generation?

2002-04-10 Thread Denis N . Antonioli
On Mercredi, avril 10, 2002, at 09:10 , Diane Holt wrote: --- [EMAIL PROTECTED] wrote: Is there a simple way to generate a dependency file for inclusion into build.xml? There's the depend task, but it works once the class files are all compiled (since it uses them to determine the

Auto Create depend

2002-04-10 Thread comp boy
Is there any software out there that given a java file can create depend tags for it? I have about 258 files and I really dont want to do these by hand if I dont have to. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: this it is the problem with cvs:

2002-04-10 Thread Diane Holt
--- Jorge Cardenas [EMAIL PROTECTED] wrote: cvs -d :pserver:[EMAIL PROTECTED]:/usr/local/cvsroot checkout error=2 Usted necesita agregar el directorio donde 'cvs.exe' vive a su %Path%. Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!?

Re: forking new jvm in ExecuteJava?

2002-04-10 Thread Steve Loughran
- Original Message - From: Daniel Barclay [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Wednesday, April 10, 2002 10:15 Subject: RE: forking new jvm in ExecuteJava? From: tek1 [mailto:[EMAIL PROTECTED]] ... hello. i've written a custom task that make a

Re: J2SE 1.4

2002-04-10 Thread Steve Loughran
- Original Message - From: Jim Urban [EMAIL PROTECTED] To: ant user [EMAIL PROTECTED] Sent: Wednesday, April 10, 2002 10:05 Subject: J2SE 1.4 Is a J2SE 1.4 version of Ant available? the version in CVS has a fix for property environment under XP, and a source attr for javac and

RE: auto dependency generation?

2002-04-10 Thread Conor MacNeill
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On 04/10/2002 03:10:30 PM, Diane Holt wrote: There's the depend task, but it works once the class files are all compiled (since it uses them to determine the dependencies). Found that as well...seemed like a backwards thing do do

typedef

2002-04-10 Thread Schaefer, Don
Folks, I created new datatype to for use by a new task. But typedef does not appear to be working. (See bug 4452). I found that typedef was fixed for ant 1.5. Is there a workaround for setting up typedef in 1.4.1? Apologies if this has been asked before Thanks for your help, don

Re: auto dependency generation?

2002-04-10 Thread Jeff Sahol
I think I know what the original post is about, or maybe it's just similar to my own situation. Mine is with creating EJB jar files for hot deployment. In general, though, if (1) you are creating many different jarfiles off of one build, (2) each jarfile has a core class or classes, and (3)

RE: auto dependency generation?

2002-04-10 Thread Conor MacNeill
From: Jeff Sahol [mailto:[EMAIL PROTECTED]] So yes, javac picks up the dependencies quite well, but it's not suited for determining jar file contents. Check out the new type classfileset which should help you here. Conor -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Generating Java Docs..

2002-04-10 Thread Stefan Bodewig
On Wed, 10 Apr 2002, Vijay Shinde [EMAIL PROTECTED] wrote: javadoc sourcepath=${src} destdir=${javadoc} excludepackagenames=com.* author=true version=true use=true windowtitle=EMPPORTAL bottom=/ does it work if you remove bottom=?