Hello Jason,
> I was hoping to get to it today, but did not. I wanted to look
> more at the
> files before I added them across modules. It has been many, many years
You now have the proof it was a good decision ;)
> since I have written and dos batch (I would prefer not to either).
proof 2: you are a normal human being.
> All build.sh does, as should build.bat or build.cmd or whatever,
> is try and
> find $ANT_HOME. Currently, when one of the jboss-* modules is
> checked out,
> the tools directory is a peer (../tools) to most modules and a parent of a
> peer (../../tools) for plugins. So all it has to do is check for
>
> ../tools/apache/ant
> ../../tools/apache/ant
>
> build.sh checs for a few more, actually it will look down the working
> directory until it gets to root (/) for a list of possible ant directory
> names.
>
> Once it has found $ANT_HOME, it sets $ANT ($ANT_HOME/bin/ant) and executes
> it will whatever arguments were passed to the script.
OK, but for what is the PWD search for? do you have more infor on it? it
does not seem to search for ANT_HOME at least.
> I would have provided one myself, except I can't stand batch. I would
> recommend to all batch haters which are in a win32 environment to install
> Cygwin and use bash. Your life will be more fulfilling =) Down with the
> evil batch language!
Ok, ok... ;)
> If you (or anyone else) can fix these scripts, make them
> better... please do
> or at least publish your better versions and I will do it. I am a unix
> user and will continue to be one. I tested things initially
> under win32 to
> make sure it would work, but I added ant to my path or use cygwin. Batch
> experts to the front. Cygwin users, your in charge. Unix guys sit back,
> relax and enjor the show =)
I now well understand that you love win32 batch scripts. It is quite clear.
I will *try* to take a look at them. But, what if I provide nice wsh
(Windows Scripting Host) scripts? they are a lot more powerfull and thought
to replace old dos-style batchs. I would be a lot more motivated in writting
such scripts. If my memory serves well, WSH is installed by default on any
98/2K/ME/XP box. For 95, I do not remember if you need to install it
yourself or if 95b had it installed by default. Anyway, this "OS" is quited
well aged.
Cheers,
Sacha
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development