Re: I want to specify no -g flags to javac

2002-04-09 Thread TAKAHASHI Hideo(BSD-M1G)
Thank you. Just what I wanted. I will switch to 1.5 when its ready to go. Diane Holt wrote: > > --- "TAKAHASHI Hideo(BSD-M1G)" <[EMAIL PROTECTED]> wrote: > > No -g flags is an alias to -g:source,lines and is helpful for trouble > > shooting, without revealing the variable information. We want to

Re: forking new jvm in ExecuteJava?

2002-04-09 Thread Adam Murdoch
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 System.exit(0) and stopping the > entire vm, which ant is running on. how do i fork a new java vm within my > custom task for the t

forking new jvm in ExecuteJava?

2002-04-09 Thread tek1
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 task for the third-party java .class to execute in? thank yo

Re: I want to specify no -g flags to javac

2002-04-09 Thread Diane Holt
--- "TAKAHASHI Hideo(BSD-M1G)" <[EMAIL PROTECTED]> wrote: > No -g flags is an alias to -g:source,lines and is helpful for trouble > shooting, without revealing the variable information. We want to use > this for production build. > > -g is an alias to -g:source,lines,vars and is helpful for use

Re: I want to specify no -g flags to javac

2002-04-09 Thread Adam Murdoch
On Wed, 10 Apr 2002 12:24, TAKAHASHI Hideo(BSD-M1G) wrote: > My chances seems to be: > > (1) Change the source to alter the behaviour of debug="false", but that > isn't very nice. I don't want to make a branch. > > (2) Make an enhancement request, however it seems that the javac task is > designe

I want to specify no -g flags to javac

2002-04-09 Thread TAKAHASHI Hideo(BSD-M1G)
Hi. Based on the boolean "debug" attribute of the javac task, ant will specifiy either "-g" or "-g:none" to javac. However -g:none is actually not the same as not specifying "-g" at all to javac, as for javac.exe of JDK1.3 and JDK1.4 AFAIK. I happen to want to do a build with no -g flags at all.

Re: Retrieving Project Properties across ant calls

2002-04-09 Thread Diane Holt
--- Ravi Dodla <[EMAIL PROTECTED]> wrote: > I have a build script build-A.xml wholse target A invokes build-B.xml > target B using an AntCall .. > > I need to query some project properties which are set by a task in > target B after the target A executes .. > > How do I do this .. The problem I

Retrieving Project Properties across ant calls

2002-04-09 Thread Ravi Dodla
Hello, I have a build script build-A.xml wholse target A invokes build-B.xml target B using an AntCall .. I need to query some project properties which are set by a task in target B after the target A executes .. How do I do this .. The problem I am having is that the project properties set by b

Re: CVS Problems

2002-04-09 Thread jinwei
I had this problem before. It was OK after I set the CVS path. Please check if you have set the cvs path properly. jw "Andrew C.

Re: Javac Task(Urgent Help)

2002-04-09 Thread Diane Holt
> Is there any way to mention in the task so that if one of the file has > compilation error Ant should skip that class and other classes which > depends on it , not all the classes. > And it should compile rest of the class. failonerror="no" (It won't tell it to skip other classes that depend o

Re: CVS Problems

2002-04-09 Thread Andrew C. Oliver
I'm not familiar with this particular task, but one would suppose (based on CVS knowledge alone) that you'd need to login to the pserver. Perhaps you skipped a step. On Tue, 2002-04-09 at 15:16, Jorge Cardenas wrote: > I have the following line: > > >cvsRoot=":pserver:[EMAIL PROTECTED]:/usr/l

CVS Problems

2002-04-09 Thread Jorge Cardenas
I have the following line: and me it gives the following error: BUILD FAILED D:\Temp\Proyecto\jorge\build.xml:74: java.io.IOException: CreateProcess: cvs -d :pserver:[EMAIL PROTECTED]:/usr/local/cvsroot checkout error=2 at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:221)

RE: pingURL: A better way to start and stop application servers?

2002-04-09 Thread Park, Sihyung
Angie we are already using the script version of this to start all managed servers when the servers are bounced.. If you would like to see how it works you can ask Chase (we wrote it together, and I may not be here by the time you get around to it). Having an ANT task that wrapped this is cool..

Javac Task(Urgent Help)

2002-04-09 Thread subhendukumar mohanty
Hi , I am using Ant for my build process. However if one of the class fail on compilation it does not compile, rest of the classes irrespective of whether the classes are dependant on the failed class or not. Is there any way to mention in the task so that if one of the file has compilation

Re: Unjar/Unzip taskdef?

2002-04-09 Thread Diane Holt
unjar=org.apache.tools.ant.taskdefs.Expand unzip=org.apache.tools.ant.taskdefs.Expand Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail:

Re: Ant start on a given file

2002-04-09 Thread Diane Holt
--- comp boy <[EMAIL PROTECTED]> wrote: > Well I have this part so far: > > > > > > > > > When this file (com/nex/mwt/app/MWTApp.java) gets compiled I also want > all the files that this file depends on to also be compiled. > > How can I do this? Won't a Java compiler do just that -- ie.

Unjar/Unzip taskdef?

2002-04-09 Thread tek1
hello. i'm trying to call the Unjar taskdef from within my own custom taskdef, but can't seem to find the Unjar taskdef. any advice on how to do this is appreciated. thank you. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Ant start on a given file

2002-04-09 Thread Dominique Devienne
is not designed to work like javac.exe, finding what needs to be recompiled automatically thanks to the -classpath and -sourcepath arguments. With , you specify yourself all the sources to compiles (by specifying the directory where the code lies in scrdir attribute if only one, or with sub-elem

Re: Don't invoke target X if output file is "current"

2002-04-09 Thread Stefan Bodewig
On Tue, 9 Apr 2002, John Lindwall <[EMAIL PROTECTED]> wrote: > Do I have to create a custom task every time I want to implement > this kind of checking? In general, yes. > DependSet does not seem to be what I want. together with target's if attribute? ? Stefan -- To unsubscribe, e-mail:

RE: Don't invoke target X if output file is "current"

2002-04-09 Thread Donald Mitchell
Ant has an uptodate task that you can call before you run your regular task. It will set a property if the specified file or files (via a fileset) are all up-to-date with respect to a specified source area. Then in your regular task just add either an "if" attribute or "unless" attribute to perfo

Re: Ant start on a given file

2002-04-09 Thread comp boy
Well I have this part so far: When this file (com/nex/mwt/app/MWTApp.java) gets compiled I also want all the files that this file depends on to also be compiled. How can I do this? - Original Message - From: "Sujan Digumarti" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL P

Don't invoke target X if output file is "current"

2002-04-09 Thread John Lindwall
I'm missing a feature from make. How can I avoid invoking a target if the "output file" is "current" (ie newer then the "input file")? In ant it seems that this kind of dependency checking is left to the task implementation. Do I have to create a custom task every time I want to implement thi

CVS

2002-04-09 Thread Jorge Cardenas
I have the following line: and me it gives the following error: D:\Temp\Proyecto\jorge\build.xml:74: java.io.IOException: CreateProcess: cvs -d :pserver:[EMAIL PROTECTED]:/usr/local/cvsroot update -a -d error=2 at org.apache.tools.ant.taskdefs.

Re: custom ant task can't find classpath

2002-04-09 Thread tek1
looks like: ExecuteJava execJava = new ExecuteJava(); execJava.setClasspath( helperJarFile ); did the trick. thank you. i missed the "setClasspath()" method. perhaps it's just me, but that method seems better suited for the CommandlineJava class... anyway, the ant task works (at the command

"silent" attribute perforce task

2002-04-09 Thread Emmanuel Sciara
Hi there, I was wondering if it was possible (or if you thought of developing) a attribute that would allow to filter the messages coming back from p4. Right now, all the information (aka every successful get, add etc during a sync) is printed to the screen. This makes it difficult to pinpoint po

Re: Help for using ANT

2002-04-09 Thread jbjk
> i want to build all EJB's with one shot using ANT, can any body give > solution. > at present i am using ant for building one ejb at a time. > is there any way to build all ejbs under one project to build at once. Sure. Just repeat the same steps that you use to currently build your EJ

RE: Help for using ANT

2002-04-09 Thread Sujan Digumarti
Have a look at the and tasks. -Original Message- From: SreenivasaMT [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 11:55 AM To: [EMAIL PROTECTED] Subject: Help for using ANT hi, i want to build all EJB's with one shot using ANT, can any body give solution. at present i am u

Help for using ANT

2002-04-09 Thread SreenivasaMT
hi, i want to build all EJB's with one shot using ANT, can any body give solution. at present i am using ant for building one ejb at a time. is there any way to build all ejbs under one project to build at once. thanks in advance -- To unsubscribe, e-mail:

Antwort: Weblogic 6.1

2002-04-09 Thread Thomas_Landgraf/GFIDOR/IHK . IHK
Hi Scott, we're buildung with WL6.1SP2 and Ant1.4 without any problems. The optional Ant-Task works very fine. Regards, Thomas "Baldry, Scot M" <[EMAIL PROTECTED]> 08.04.02 13:39 Bitte antworten an "Ant Users List" An: "'Ant Users List'" <[EMAIL PROTECTED]> Kopie:

RE: Ant start on a given file

2002-04-09 Thread Sujan Digumarti
You can create two targets in the build.xml file for this purpose and call them accordingly for ex: $ ant $ ant For compiling only specific files or excluding specific files you can use the include and exclude tags with javac Have a look at the docs for javac Rgds, Sujan -Original Messag

Ant start on a given file

2002-04-09 Thread comp boy
I have source code directory that has files to create both an applet version and a standalone application version. Most of the src files are needed by both versions but some have files only necessary for one or the other. Is there a tag in the build.xml file where I can specify a target and it w

RE: ZipException problem

2002-04-09 Thread dhaval . h . udani
BDY.RTF Description: RTF file

Re: custom ant task can't find classpath

2002-04-09 Thread tek1
At 09:40 02/04/09 +1000, you wrote: >Hi, > >It's kinda hard to figure out what's going wrong without seeing your code. >Using ExecuteJava is pretty straight-forward, though - you should be doing >something like this in your task: > >public void execute() >{ > Path classpath = new Path( getPro

Re: always recompiles

2002-04-09 Thread Stefan Bodewig
On Tue, 9 Apr 2002, Joel Rees <[EMAIL PROTECTED]> wrote: > Stefan Bodewig suggested: > >> On Mon, 8 Apr 2002, Joel Rees <[EMAIL PROTECTED]> wrote: >> >> > >> > >> >> I'd highly recommend location instead of value here. > > Not sure what you mean by location instead of value, Ant now kno

CMVC Access Tasks

2002-04-09 Thread Juergen Damke
This is a request to developers which uses Ant as a build tool and have developed an Ant Task Family to access the CMVC or TeamConnection.. CMVC is an IBM internal tool for Problem tracking and File repostitory. As product it is known as TeamConnect. Before starting writing new Tasks, I want to

Re: CVS access on a non-standard port

2002-04-09 Thread Stefan Bodewig
On Mon, 8 Apr 2002, Steven Ebersole <[EMAIL PROTECTED]> wrote: > Could someone please walk me through the steps in getting Ant to do > cvs commands when the pserver port is something other than 2401? command line CVS uses the CVS_PORT environemnet variable and Ant supports this via the port attr

Re: always recompiles

2002-04-09 Thread Joel Rees
Stefan Bodewig suggested: > On Mon, 8 Apr 2002, Joel Rees <[EMAIL PROTECTED]> wrote: > > > > > > > I'd highly recommend location instead of value here. > > > > srcdir="${src}/${dbdriver_loc}" > > destdir="${build}" > > debug="on"/> > > srcdir should be the top