You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Holger Wiechert <Ho...@coconet.de> on 2000/08/03 15:03:56 UTC

"build clean" and "build" don't run after another

Hi,

I know, it's not a real important thing, but to those that are interested
and/or with the knowledge to explain:

I have a simple batch file (on NT4.0) that does nothing else but calling the
two batch files

build clean
build

Anything after the build clean will never be executed (no build, nor echo or
anything like this).

In the Task Manager, the java.exe just disappears after the output of "build
clean" is shown. 

Does anybody have a clou, what it is about? I don't even know whether it's
an NT thing or not.

I'm using JDK1.3 and the Ant from tomcat 3.1

Thanks for your time, Holger


Re: "build clean" and "build" don't run after another

Posted by do...@mad.scientist.com.
On Thu, 3 Aug 2000, Holger Wiechert wrote:
> Does anybody have a clou, what it is about? I don't even know whether it's
> an NT thing or not.

it's a "feature" of dos.

you have to do 

call build clean
call build 


because otherwise the other script will never return
> 
> I'm using JDK1.3 and the Ant from tomcat 3.1
> 
> Thanks for your time, Holger
> 
> 

-- 
Cheers,

Pete

*--------------------------------------------------*
| Latrobe University,     |                        |
| Bundoora, Australia     | Does the name 'Pavlov' |
| Office: PW220           |    ring a bell ?       |
| Ex: 2503                |                        |
*--------------------------------------------------*