On Mon, Dec 04, 2000 at 09:59:26AM -0800, Craig R. McClanahan wrote: <snip> > > In order to simulate this capability on the Windows platform, I propose that > the > following line be added before Ant is actually executed: > > if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat" > > and the following line after Ant is executed: > > if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat" > > Why two scripts? Because in the Unix case you typically set environment > variables that affect only the script that is currently running, whereas in > Windows the environment variables are essentially global. Having two scripts > would let you set up (for example) a custom classpath in the antrc_pre.bat > script, and clean it up again in antrc_post.bat. > > What do you think? >
I like it! +1. Seems only fair to give those impaired with Windows as much of the Unix power as we can share ;-) sim -- Mustard Seed Software mailto:[EMAIL PROTECTED]
