DO NOT REPLY [Bug 39359] - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-12-19 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 39359] - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-11-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 39359] - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-10-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 39359] - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 39359] - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-08-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 39359] - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-04-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 39359] - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-04-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 39359] New: - Problems with OSD-5 filespecs and return codes on OpenVMS

2006-04-19 Thread bugzilla
gzilla/show_bug.cgi?id=39359 Summary: Problems with OSD-5 filespecs and return codes on OpenVMS Product: Ant Version: 1.7Alpha (nightly) Platform: HP OS/Version: OpenVMS Status: NEW Severity: normal Pr

RE: on openvms

2003-07-28 Thread Wannheden, Knut
> >>unless java does the VMS filespec generation > >> > > > > > > That's another possibility. But in that case the VMS > specific code wouldn't > > only be inside oat.ant.taskdefs.Execute, but also in > and . > > Worse yet, this translation isn't really trivial either. > The JVM has to do >

Re: on openvms

2003-07-25 Thread Steve Loughran
Wannheden, Knut wrote: What remains to be done: 1. Add a method Execute#isFailure(int result) or something similar 1.1 Modify to use this method 1.2 Update documentation of 2. Write a RUNANT.COM DCL sript for shell execution 3. Write a ANT.COM (and BUILD.COM) script Task 1. (and 1.1, 1.2) should

Re: on openvms

2003-07-25 Thread Stefan Bodewig
On Fri, 25 Jul 2003, Knut Wannheden <[EMAIL PROTECTED]> wrote: > That's right. But it can't be fixed in Execute, as Execute only > deals with the command as a String array. True. > It would have to be done a level up. So either a VMS specific > is needed or the tasks, like , need to be OS awa

RE: on openvms

2003-07-25 Thread Wannheden, Knut
> > The way it is now will make useless on OpenVMS, right? The > code now expects file names to be in OpenVMS format while is > going to add any source/target files in Unix format. > That's right. But it can't be fixed in Execute, as Execute only deals with the

Re: on openvms

2003-07-25 Thread Stefan Bodewig
On Thu, 24 Jul 2003, Knut Wannheden <[EMAIL PROTECTED]> wrote: > 2. could prove to be pretty hard as Java would actually pass a Unix > style path to the DCL script which would have to be parsed into a > VMS filespec. The way it is now will make useless on OpenVMS, right? The c

Re: on openvms

2003-07-25 Thread Wannheden, Knut
Hi, I have now written a simple patch for the task to make it OpenVMS compatible. I've added it to Bugzilla (ID 21877). The Execute class now has an OpenVMS specific CommandLauncher which writes the command into a temporary DCL script. Further a static method Execute#isFailure(int exitValue) i

RE: on openvms

2003-07-25 Thread Wannheden, Knut
> > > > What remains to be done: > > 1. Add a method Execute#isFailure(int result) or something similar > > 1.1 Modify to use this method > > 1.2 Update documentation of > > 2. Write a RUNANT.COM DCL sript for shell execution > > 3. Write a ANT.COM (and BUILD.COM) script > > > > Task 1. (a

Re: on openvms

2003-07-24 Thread Steve Loughran
Wannheden, Knut wrote: If I'm not mistaken then a DCL script can only process a maximum of 8 arguments and the call to a DCL script from Java, including the script filename and its arguments, can at the most be 256 characters long. I'm out of OpenVMs business for too long, to know whether you are c

RE: on openvms

2003-07-24 Thread Wannheden, Knut
> > > If I'm not mistaken then a DCL script can only process a maximum of > > 8 arguments and the call to a DCL script from Java, including the > > script filename and its arguments, can at the most be 256 characters > > long. > > I'm out of OpenVMs business for too long, to know whether you are

RE: on openvms

2003-07-14 Thread Wannheden, Knut
Steve, > > Maybe we could start with a run of the full ant unit test > suite on VMS > to see what happens. > That souds like a good idea. I will try to do that. But I can only run the tests on the system I have access to, which is OpenVMS 7.3.1 for Alpha with HP's JVM version 1.4.1. I'll l

Re: on openvms

2003-07-12 Thread Steve Loughran
Ken Gentle wrote: Guys, if you're willing to introduce a JNI lib for VMS, all the operations you wish to perform are available through VMS System Services, including getting/setting the Logical Names, and, IIRC, launching a DCL interpreter directly, avoiding the need for the DCL wrapper. It's

Re: on openvms

2003-07-11 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Knut Wannheden <[EMAIL PROTECTED]> wrote: > If I'm not mistaken then a DCL script can only process a maximum of > 8 arguments and the call to a DCL script from Java, including the > script filename and its arguments, can at the most be 256 characters > long. I'm out of OpenVM

Re: on openvms

2003-07-11 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Gus Heck <[EMAIL PROTECTED]> wrote: > So I read this and looked to my left at the Design Patterns book > that was already open to the Adapter Pattern for other reasons... We already sort-of use it for the CommandLauncher, I'd decide on a case by case basis whether an if or a

Re: on openvms

2003-07-11 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Knut Wannheden <[EMAIL PROTECTED]> wrote: >> So let's really treat OpenVMS like OS/2 and disable the >> Jdk13Launcher unconditionally. > > The Java CommandLauncher for VMS could catch the IOException with > the message "function not implemented" and tell the user to define >

Re: on openvms

2003-07-10 Thread Gus Heck
esult != 0 on all platforms except OpenVMS (and result % 2 != 0 on OpenVMS). So I read this and looked to my left at the Design Patterns book that was already open to the Adapter Pattern for other reasons... Fate? It does seem that an adapter to the java.Runtime() class that was OS sensitive cou

RE: on openvms

2003-07-10 Thread Wannheden, Knut
ibility issue? > > I don't think so. > > Any user task that used the return value of execute would be as broken > on OpenVMS as it ever was, and should continue working where it did > before. All tasks adapted to the new method should work in OpenVMS as > well without seeing any difference elsewhere. > Great. -- knut

RE: on openvms

2003-07-10 Thread Ken Gentle
On the 8 argument limitation, you could pass *all* the arguments in a single DCL argument, then have the wrapper parse them (DCL has some reasonable tokenizing functions IIRC) I don't recall any restriction on the size of DCL script arguments, but it will documented be in the DCL manual. At 11

RE: on openvms

2003-07-10 Thread Wannheden, Knut
> At the moment it seems that Ant's basic requirements to make > work could be covered by Java and maybe an ANTRUN.COM DCL script along > the lines of antRun and antrun.bat. > If I'm not mistaken then a DCL script can only process a maximum of 8 arguments and the call to a DCL script from Java,

Re: on openvms

2003-07-10 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Ken Gentle <[EMAIL PROTECTED]> wrote: > At 10:45 AM 7/10/2003, you wrote: >>On Thu, 10 Jul 2003, Ken Gentle <[EMAIL PROTECTED]> wrote: >> >> > Guys, if you're willing to introduce a JNI lib for VMS, all the >> > operations you wish to perform are available through VMS System >>

Re: on openvms

2003-07-10 Thread Ken Gentle
At 10:45 AM 7/10/2003, you wrote: On Thu, 10 Jul 2003, Ken Gentle <[EMAIL PROTECTED]> wrote: > Guys, if you're willing to introduce a JNI lib for VMS, all the > operations you wish to perform are available through VMS System > Services, Sure - just like many useful Unix operations (like stat or set

Re: on openvms

2003-07-10 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Ken Gentle <[EMAIL PROTECTED]> wrote: > Guys, if you're willing to introduce a JNI lib for VMS, all the > operations you wish to perform are available through VMS System > Services, Sure - just like many useful Unix operations (like stat or setuid) could be 8-) At the moment

Re: on openvms

2003-07-10 Thread Stefan Bodewig
ich check the return value of > Execute#execute() against zero though, including , > , , and . Would this change be a > backward compatibility issue? I don't think so. Any user task that used the return value of execute would be as broken on OpenVMS as it ever was, and should co

RE: on openvms

2003-07-10 Thread Ken Gentle
the Execute class, in > > the case of VMS, map the exit status to what's common on Unix > > systems? > > Maybe we should provide a Execute.isFailure(int result) method that > returns result != 0 on all platforms except OpenVMS (and > result % 2 != 0 on OpenVMS). >

RE: on openvms

2003-07-10 Thread Wannheden, Knut
gt; > - The Ant task throws a BuildException if the exit code > >> > is unequal zero. > > > > Do you know how to get around that? Should the Execute class, in > > the case of VMS, map the exit status to what's common on Unix > > systems? > >

Re: on openvms

2003-07-10 Thread Stefan Bodewig
Unix > systems? Maybe we should provide a Execute.isFailure(int result) method that returns result != 0 on all platforms except OpenVMS (and result % 2 != 0 on OpenVMS). > Or would ExecTask need some modifications? To accompany that, yes. I'd prefer to keep the platform specific

RE: on openvms

2003-07-10 Thread Wannheden, Knut
Stefan, Thanks for your quick reply. > > > At our company we're developing Ada95 code for various platforms, > > including OpenVMS. > > You are the first person reporting anything about Ant on OpenVMS > AFAIK. > Don't know whether I should be surprised

Re: on openvms

2003-07-10 Thread Stefan Bodewig
On Thu, 10 Jul 2003, Knut Wannheden <[EMAIL PROTECTED]> wrote: > At our company we're developing Ada95 code for various platforms, > including OpenVMS. You are the first person reporting anything about Ant on OpenVMS AFAIK. I used to work with OpenVMS about seven to five ye

on openvms

2003-07-10 Thread Wannheden, Knut
Hi, At our company we're developing Ada95 code for various platforms, including OpenVMS. We've built our own development tools based on Ant for this. I was wondering if someone in the Ant community had some useful tips or other information on this topic to share. E.g. what tasks work / don't wo