You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jeff Tulley <JT...@novell.com> on 2001/11/01 00:58:57 UTC

Re: [PATCH] Exec.java does not properly function on NetWare

Forgot to answer one of your questions, Stefan.  Yes, NetWare ships with Perl, version 5 I think.  It is pretty good, but recently I am finding some features that aren't implemented correctly, that are making my life difficult.
In some of the build scripts (bootstrap.bat mainly), the command, "rmdir /r" to prune a directory occurs, and is difficult to implement in Perl, especially given a bug in NetWare's Perl.  I'll see what I can do with these scripts though.  At least the antRun.pl is completely done, only lacking testing time  (and tests; there is no "Execute" test...) 

Jeff Tulley  (jtulley@novell.com)
(801)861-5322
Novell, Inc., the leading provider of Net services software.

>>> bodewig@apache.org 10/30/01 2:19:24 AM >>>
> I'm actually working on a better solution for Exec and Execute right
> now.

Good, so we'll wait with that.

> I thought that maybe using a Perl Script would be best,

Does Netware ship with Perl?



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [PATCH] Exec.java does not properly function on NetWare

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 31 Oct 2001, Jeff Tulley <JT...@novell.com> wrote:

> Forgot to answer one of your questions, Stefan.

Don't worry.

> Yes, NetWare ships with Perl, version 5 I think.

There already is a runant.pl that could replace ant.bat - bootstrap
may be a bit more difficult than that (given the problems you
describe).

> In some of the build scripts (bootstrap.bat mainly), the command,
> "rmdir /r" to prune a directory occurs, and is difficult to
> implement in Perl, especially given a bug in NetWare's Perl.

If you brand it as "NetWare Perl", you could simply use system("") -
if NetWare has an OS command to recursively remove directories.  I
don't think you need to pay too much attention to portability in the
scripts that are platform specific by definition.

BTW, is NetWare the correct capitalization (just showing my ignorance,
I know).  If so, condition.html should be patched.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>