RE: Problem running CVS task - CVS not found?

2002-07-01 Thread Morrison, John
> From: Mark Reid [mailto:[EMAIL PROTECTED]] > > I'm guessing that this means Ant cannot find the CVS command > since my PATH environment variable is about the only thing > different when I run the script by hand and as a cron job. I > hunted through the docs on the CVS task but can't find any

Problem running CVS task - CVS not found?

2002-07-01 Thread Mark Reid
Hi, I've recently created a build.xml file I want to run nightly via a cron job on a Solaris box. I have a simple shell script which, when I call manually works fine. When I add this task to the crontab I get the following errors mailed to me: [mkdir] Created dir: /opt/autobuild/nightly/sr

Re: Starting a Java application in the background.

2002-07-01 Thread Steve Loughran
It's one of those things I ant to sit down and sort out in the 1.6 timeframe (september or later). Probably not as a variant of exec; give it a name like and set some options (failonerror) the values they should always have been. keep up the reminders :) - Original Message - From: "Domi

Re: How to add files to jar w/ a diff prefix?

2002-07-01 Thread Erik Hatcher
Two options: 1) Use the task instead, with its subelement. 2) use - Original Message - From: "Hanasaki JiJi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 01, 2002 11:47 PM Subject: How to add files to jar w/ a diff prefix? > I have some jar files under the direct

How to add files to jar w/ a diff prefix?

2002-07-01 Thread Hanasaki JiJi
I have some jar files under the directory: ./lib and wish to put them into my .war file under: ./WEB-INF/lib How can this be done? Thank you. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: What to do if ed program hangs?

2002-07-01 Thread Hal Hildebrand \(web\)
Well, for the parallel, just rename it to Parallel2, and use it as a foreign task. As to the patch to execute, the only fix is to the method waitFor(): protected void waitFor(Process process) { try { process.waitFor(); setExitValue(process.exitValue());

RE: What to do if ed program hangs?

2002-07-01 Thread Alexey Solofnenko
Thank you, but replacing existing tasks is dangerous, unless the code will go into ANT sources. I am already using beta 3. I will try your sources. Sincerely, Alexey Solofnenko. -Original Message- From: Hal Hildebrand (web) [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 29, 2002 7:39

RE: Conditional processing in Ant

2002-07-01 Thread Vineet Chaoji
I am running ant 1.4 and the user's manual is for 1.4.1. Thanks, Vineet -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 4:04 PM To: Ant Users List Subject: Re: Conditional processing in Ant Are you running Ant 1.5 (of which the docs online a

Re: Conditional processing in Ant

2002-07-01 Thread Diane Holt
--- Vineet Chaoji <[EMAIL PROTECTED]> wrote: > I want to set a variable based on some conditions. > > > > > This does not seem to work. I get the error > Class org.apache.tools.ant.taskdefs.condition.Os doesn't support the > "name" attribute. > Why should this happen when the Ant manual sa

Re: Conditional processing in Ant

2002-07-01 Thread Erik Hatcher
Are you running Ant 1.5 (of which the docs online are associated with)? Also, for your default value - set that *after* otherwise it will never be set to anything but "windows". Remember - properties are immutable! Erik - Original Message - From: "Vineet Chaoji" <[EMAIL PROTECTED]

Conditional processing in Ant

2002-07-01 Thread Vineet Chaoji
Hi, I want to set a variable based on some conditions. This does not seem to work. I get the error Class org.apache.tools.ant.taskdefs.condition.Os doesn't support the "name" attribute. Why should this happen when the Ant manual says that name attribute is supported? Is there a workaround

RE: testing for update on filter file

2002-07-01 Thread Diane Holt
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > A lot of the other examples you cite could be handled by keeping state > in between invocations, I save state in (generated) properties files, then do checks on their current value vs. their previous value. In the old days, when I had a modified

Re: Control statements in Ant

2002-07-01 Thread Erik Hatcher
Vineet, I'm posting the reply over to the ant-user list as its not appropriate for the ant-dev list. It would be more helpful for you to describe what you are trying to do in higher-level terms rather than pseudo-code. There are many ways to accomplish various things based on the OS-type, so rat

Re: How do I get rid of the "Compile failed..." message from Ant when the javac task reports erros?

2002-07-01 Thread Kendall Collett
Not sure if you can do the equivalent in NetBeans, but I found I could change Emacs to do what I wanted. Basically, I run Ant *without* the -emacs switch, and make the following change to the compilation-error-regexp-alist (in my .emacs file): ; update error regexps to handle Ant builds

Re: testing for update on filter file

2002-07-01 Thread Diane Holt
--- Erik Hatcher <[EMAIL PROTECTED]> wrote: > It is indeed a tough issue. All it takes is one property to change for > all dependency checking to go out the window (-Dbuild.debug=off, for > example). > > But the more smarts we add, the better Ant is. Well, yes and no. "Better" in the sense of le

RE: testing for update on filter file

2002-07-01 Thread Dominique Devienne
True Diane. I didn't think of all those other cases. It seems to me that Ant tasks should nonetheless attempt to strive for as much 'smarts' and convenience though. A lot of the other examples you cite could be handled by keeping state in between invocations, similar to the cache for example. It

Re: testing for update on filter file

2002-07-01 Thread Erik Hatcher
- Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> > I think it basically boils down to the fact that, unlike most build tools, > where you can directly say fileA depends on fileB, in Ant, the way to > associate those sorts of explicit file dependencies is to use tasks such > as

Re: Excludes file problem !!

2002-07-01 Thread Diane Holt
Try running 'ant -verbose' to see what flags/args are being passed to 'javac'. If nothing jumps out at you, send the pertinent output. Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifa

RE: Excludes file problem !!

2002-07-01 Thread Das, Kuntal
I think it IS a bug. I'm sorry for this chain of emails, I'm just trying to throw as much input as I can for this problem. I tried another javac command with the "." or the ${build.dir} b4 the ./oui.jar, and it did display similar error messages that I got using ant. The only difference is that wi

RE: testing for update on filter file

2002-07-01 Thread Diane Holt
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > This works, but is more a work-around. The semantic of (its > 'smarts') is broken if the files are not copied when the filter file > has changed. But if you're going to have check for filter-file-newer, what about also checking for when 's are

Re: Excludes file problem !!

2002-07-01 Thread Thomas Zander
Yes, I tested some stuff myself. The listfiles="yes" variable in the javac task shows all classes to be compiled. It does not show any classes in the excludes path, but some are compiled anyway. The nice thing is; not all are :) Seems to me like a bug. Any core developers that can comment on

RE: Excludes file problem !!

2002-07-01 Thread Das, Kuntal
One more input on this problem : I tried doing the following javac command from the command-line, and it worked !! This command-line is exactly what I want to achieve thru, my build.xml. C:\${build.dir}>javac -d . -classpath ./oui.jar ;.;./dmtcl.jar;./servlet.jar;./vbjapp.jar;./vbjorb.jar;./cos.j

RE: Excludes file problem !!

2002-07-01 Thread Das, Kuntal
That was the first thing that I came to my mind too !! But it didn't work. I even removed the ${build.dir}, from the classpath(although that's not what I want ultimately), but I still got the same error !! Thanks, Kuntal Das Charles Schwab & Co., Inc. Global Wireless Technology 215 Fremont, SF Em

RE: Starting a Java application in the background.

2002-07-01 Thread Dominique Devienne
Perhaps, but the patch in bugzilla (which I also have) looks OK to me (although that doesn't mean much). Somehow the author never pushed it, and no commiter ever tried it that I know of. So whether the patch does it successfully or not in a cross-platform manner, we don't even know... --DD -O

Re: Excludes file problem !!

2002-07-01 Thread Thomas Zander
On Mon, Jul 01, 2002 at 10:24:36AM -0700, Das, Kuntal wrote: > Hi all, > I'm trying not exclude directory structure being compiled, and > instead use a compiled jar file of that directory structure. Here's the > sample build.xml file which I'm trying to compile : > > >

Re: testing for update on filter file

2002-07-01 Thread Erik Hatcher
- Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Monday, July 01, 2002 1:02 PM Subject: Re: testing for update on filter file > For what its worth, I agree completely with Dominique's remarks about > filtered (and in general,

Excludes file problem !!

2002-07-01 Thread Das, Kuntal
Hi all, I'm trying not exclude directory structure being compiled, and instead use a compiled jar file of that directory structure. Here's the sample build.xml file which I'm trying to compile : Almost all the files in the com/Schwab/dmt/views/wml folder imports a package cal

Re: Starting a Java application in the background.

2002-07-01 Thread Thomas Zander
You are mixing up the children and parents relations of the two. A java task is a child of the ant process. Killing the ant process will kill its children as well. With the java process still living after ant died the children died and the parent still lives. There is a way on linux to 'detach

Re: testing for update on filter file

2002-07-01 Thread Erik Hatcher
For what its worth, I agree completely with Dominique's remarks about filtered (and in general, on the topic of dependency checking). Ant is only as good as its smarts under the covers of these tasks. So, DD, gonna send us a path for the copy task? :)) Erik - Original Message -

RE: testing for update on filter file

2002-07-01 Thread Dominique Devienne
This works, but is more a work-around. The semantic of (its 'smarts') is broken if the files are not copied when the filter file has changed. It should be built-in to IMHO, and avoid doing the depends/if dance. I think this is my single real gripe about Ant, all these convolutions one has to go

RE: How to do CONCAT task in ANT 1.4.1

2002-07-01 Thread Dominique Devienne
You can use this 1.4.1-compatible custom task that I assume should be easy to find. If not, I'll send you cat.jar... --DD -Original Message- From: Arthur Lim [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 8:47 AM To: Ant Users List (E-mail) Subject: How to do CONCAT task

RE: vizant optional task

2002-07-01 Thread Dominique Devienne
This looks indeed promising. I hope your version doesn't suffer from the same kind of problems I mentioned about the XSLT approach (with Ant 1.4.1 and entity includes when basedir=".."). On a different note, have you considered not depending on a native executable at all, and do a fully X-platfor

jwsdp and ant install

2002-07-01 Thread "Thébault, Médérick"
Hello, I have install this JWSDP from Sun. Each time I tried to run "ant install" I got a java.ioIOException saying that Server returned HTTP response code 401 for a special URL. Do you have an idea of what 's going on? I think everything is set-up properly but Thanx Mederick -- To unsu

Re: Starting a Java application in the background.

2002-07-01 Thread Ric Searle
Thanks. It seems like a nice feature that ant could do with. I like the idea of saying to our support department, "Get version x.x from CVS, and then just type 'ant' to build and run it.". Here's a thought: Killing any of the ant processes (on Linux at least) kills all of the ant processes,

Re: 'default' option for Input task

2002-07-01 Thread Ric Searle
Thanks... now I feel silly :) Ric On Friday, June 28, 2002, at 05:20 pm, Diane Holt wrote: > --- Ric Searle <[EMAIL PROTECTED]> wrote: >> > ^ > >> > ^ > >> >

Antwort: Re: Feasibility of using ANT...

2002-07-01 Thread David . Ostrovsky
Hallo SCM, Die Makefile-Welt nähert langsam aber sicher ihrem Ende zu. Das hatte ich früher oer später zu erwarten. Also neues SCM-Projekt: "Portierung des gemischteb Build-System - java basierte ant und make basierte C/C++ - auf nur eine Platform: ant"? David