NetRexx as a scripting engine

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

NetRexx as a scripting engine

billfen
Is anyone looking into the use of NetRexx as a windows scripting engine?
i.e. integrated into the WSH mechanism.

OORexx has done that.  Perhaps NetRexx might offer some advantages as a
scripting engine, perhaps with a file suffix of .nxs (.nrs is currently
used).  Using .nrx might be a bit confusing - I'm still trying to figure
out if there should be default options when I double click on a .nrx file
to execute it.  (issues with setting PATHEXT and the default file
association).  Certainly "java hello" should execute, but should "hello" or
"hello.nrx" compile or execute by default?

Off subject: I was reading the RC2 version of the users guide - I don't
know if it was mentioned earlier, but the section on Visual J++ has to be
deleted.  That product died around 2004 when Sun sued M$ for copyright
infringement.



--------------------------------------------------------------------
mail2web.com – Enhanced email for the mobile individual based on Microsoft®
Exchange - http://link.mail2web.com/Personal/EnhancedEmail



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

Fernando Cassia-2
On Sat, Oct 1, 2011 at 00:47, [hidden email] <[hidden email]> wrote:
>  That product died around 2004 when Sun sued M$ for copyright
> infringement.

I agree, Microsoft Java has been dead and buried for ages.

FC


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

ThSITC
In reply to this post by billfen
Hello Bill,

I wold suggest to do the following when double clicking a .nrx file:

1.) Compare the DTS (Date time stamp) of the .class file with the source
(.nrx) file.
2.) When the source (.nrx) *is newer* than the .class, then compile it!
3.) When the source (.nrx) is OLDER than the .class, then directly execute
the associated .class

This is at least the way I'm doing it, and my personal suggestion!

(No advertisments attached <grin>)

Thomas Schneider
========================================================
Am 01.10.2011 05:47, schrieb [hidden email]:

> Is anyone looking into the use of NetRexx as a windows scripting engine?
> i.e. integrated into the WSH mechanism.
>
> OORexx has done that.  Perhaps NetRexx might offer some advantages as a
> scripting engine, perhaps with a file suffix of .nxs (.nrs is currently
> used).  Using .nrx might be a bit confusing - I'm still trying to figure
> out if there should be default options when I double click on a .nrx file
> to execute it.  (issues with setting PATHEXT and the default file
> association).  Certainly "java hello" should execute, but should "hello" or
> "hello.nrx" compile or execute by default?
>
> Off subject: I was reading the RC2 version of the users guide - I don't
> know if it was mentioned earlier, but the section on Visual J++ has to be
> deleted.  That product died around 2004 when Sun sued M$ for copyright
> infringement.
>
>
>
> --------------------------------------------------------------------
> mail2web.com – Enhanced email for the mobile individual based on Microsoft®
> Exchange - http://link.mail2web.com/Personal/EnhancedEmail
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>


--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge
Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team
(www.netrexx.org)
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

rvjansen
In reply to this post by billfen
Bill,

there is an example of using the http://sourceforge.net/projects/jacob-project/ jacob library - this must fulfill all our needs.

I would leave the J++ references in (we also include OS/2) but these will be de-emphasized as there needs to be information about a lot more platforms than is in there now.

best regards,

René.

On 1 okt. 2011, at 05:47, [hidden email] wrote:

> Is anyone looking into the use of NetRexx as a windows scripting engine?
> i.e. integrated into the WSH mechanism.
>
> OORexx has done that.  Perhaps NetRexx might offer some advantages as a
> scripting engine, perhaps with a file suffix of .nxs (.nrs is currently
> used).  Using .nrx might be a bit confusing - I'm still trying to figure
> out if there should be default options when I double click on a .nrx file
> to execute it.  (issues with setting PATHEXT and the default file
> association).  Certainly "java hello" should execute, but should "hello" or
> "hello.nrx" compile or execute by default?
>
> Off subject: I was reading the RC2 version of the users guide - I don't
> know if it was mentioned earlier, but the section on Visual J++ has to be
> deleted.  That product died around 2004 when Sun sued M$ for copyright
> infringement.
>
>
>
> --------------------------------------------------------------------
> mail2web.com – Enhanced email for the mobile individual based on Microsoft®
> Exchange - http://link.mail2web.com/Personal/EnhancedEmail
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

Aviatrexx
Methinks that a reference to OS/2 is not a good enough reason to keep
a J++ reference, René.

OS/2 Warp (eComStation) is still supported, has a fresh JVM, and still
manages to pull off an annual conference every year. :-/  None of
which can be said of J++/J#.

More practically, do we have anyone who can verify that the procedures
still work?  From the fact that the only reference to Windows XP is in
the title, and all the other references are to Windows 2000 and XT, I
infer that this entry is rather old.

Furthermore, by including this section we are tacitly implying that
NetRexx will continue to work with J++.  Do we have anyone who has J++
installed and can regression test NetRexx updates?

If nothing else, we will be setting ourselves up for complaints from
both users of J++NetRexx if for some perfectly legitimate reason
NetRexx won't work with it at some point.  Or a lot of work.

I see this as the same issue as "Do we continue to support NetRexx on
Java x.x".  At some point we need to draw a line, jettison the
obsolete, and level-set the environment in which we will support
NetRexx going forward.

The first RexxLA version of NetRexx is the best place to that, imho.

-Chip-

On 10/1/11 12:10 René Jansen said:
> I would leave the J++ references in (we also include OS/2) but these will be de-emphasized as there needs to be information about a lot more platforms than is in there now.
>
> On 1 okt. 2011, at 05:47, [hidden email] wrote:
>> Off subject: I was reading the RC2 version of the users guide - I don't
>> know if it was mentioned earlier, but the section on Visual J++ has to be
>> deleted.  That product died around 2004 when Sun sued M$ for copyright
>> infringement.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

rvjansen
Well, I concede to the majority. It will probably be hard to locate a copy and test it anyway. Consider it gone.


best regards,

René.

On 1 okt. 2011, at 21:41, Chip Davis wrote:

> Methinks that a reference to OS/2 is not a good enough reason to keep a J++ reference, René.
>
> OS/2 Warp (eComStation) is still supported, has a fresh JVM, and still manages to pull off an annual conference every year. :-/  None of which can be said of J++/J#.
>
> More practically, do we have anyone who can verify that the procedures still work?  From the fact that the only reference to Windows XP is in the title, and all the other references are to Windows 2000 and XT, I infer that this entry is rather old.
>
> Furthermore, by including this section we are tacitly implying that NetRexx will continue to work with J++.  Do we have anyone who has J++ installed and can regression test NetRexx updates?
>
> If nothing else, we will be setting ourselves up for complaints from both users of J++NetRexx if for some perfectly legitimate reason NetRexx won't work with it at some point.  Or a lot of work.
>
> I see this as the same issue as "Do we continue to support NetRexx on Java x.x".  At some point we need to draw a line, jettison the obsolete, and level-set the environment in which we will support NetRexx going forward.
>
> The first RexxLA version of NetRexx is the best place to that, imho.
>
> -Chip-
>
> On 10/1/11 12:10 René Jansen said:
>> I would leave the J++ references in (we also include OS/2) but these will be de-emphasized as there needs to be information about a lot more platforms than is in there now.
>> On 1 okt. 2011, at 05:47, [hidden email] wrote:
>>> Off subject: I was reading the RC2 version of the users guide - I don't
>>> know if it was mentioned earlier, but the section on Visual J++ has to be
>>> deleted.  That product died around 2004 when Sun sued M$ for copyright
>>> infringement.
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

Fernando Cassia-2
In reply to this post by Aviatrexx
On Sat, Oct 1, 2011 at 16:41, Chip Davis <[hidden email]> wrote:
> At some point we need to draw a line, jettison the obsolete, and level-set
> the environment in which we will support NetRexx going forward.

+1

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

Hugh Sweeney
In reply to this post by ThSITC
On Sat, Oct 1, 2011 at 6:07 AM, Thomas Schneider <[hidden email]> wrote:
Hello Bill,

I wold suggest to do the following when double clicking a .nrx file:

1.) Compare the DTS (Date time stamp) of the .class file with the source (.nrx) file.
2.) When the source (.nrx) *is newer* than the .class, then compile it!
3.) When the source (.nrx) is OLDER than the .class, then directly execute
the associated .class

This is at least the way I'm doing it, and my personal suggestion!

Well, as long as we're only talking about personal preferences and not an objectively right way of doing things, my preference is that double-clicking a file should do exactly the same thing every time, with no hidden conditionality. That fits with my wish for least astonishment.
 
It also strikes me as odd that double-clicking on THIS (.nrx) file in the OS's files display would cause a process to go look somewhere else for a similarly-named .class file and do something with THAT file. If the action is "interpret this .nrx file", I have no problem. But with removable devices there are too many possible combinations of out-of-synch .nrx and .class files being present for me to reliably foresee them all. And if I can't foresee them all, I'm going to be unpleasantly astonished some day.
 
I'd have no objection inside an IDE where a list of class names (not file names) is displayed if the action was "run this class, re-synchronising with the source if necessary". That's part of the business of a development environment.
 
Regards,
Hugh
--

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

alansam


On 4 October 2011 09:19, Hugh Sweeney <[hidden email]> wrote:

Well, as long as we're only talking about personal preferences and not an objectively right way of doing things, my preference is that double-clicking a file should do exactly the same thing every time, with no hidden conditionality. That fits with my wish for least astonishment.
 

My personal preference would be for the computer to know instinctively what I wish to do with the file "right now" and just do that action.  It's too tiring to have to jump through hoops to tell the computer what to do next; they're supposed to be time-saving devices after all!  :-D

A.

--
Can't tweet, won't tweet!

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Alan

--
Needs more cowbell.
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

Robert L Hamilton
What ever happened to artificial intelligence, anyway?

BobH

On 10/4/11, Alan Sampson <[hidden email]> wrote:

> On 4 October 2011 09:19, Hugh Sweeney <[hidden email]> wrote:
>
>>
>>> Well, as long as we're only talking about personal preferences and not an
>> objectively right way of doing things, my preference is that
>> double-clicking
>> a file should do exactly the same thing every time, with no hidden
>> conditionality. That fits with my wish for least astonishment.
>>
>>
>
> My personal preference would be for the computer to know instinctively what
> I wish to do with the file "right now" and just do that action.  It's too
> tiring to have to jump through hoops to tell the computer what to do next;
> they're supposed to be time-saving devices after all!  :-D
>
> A.
>
> --
> Can't tweet, won't tweet!
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx as a scripting engine

Fernando Cassia-2
On Tue, Oct 4, 2011 at 14:31, Robert Hamilton <[hidden email]> wrote:
> What ever happened to artificial intelligence, anyway?
>
> BobH

They're using it to track and blow up terrorists from a distance with
unmanned drones ;)

Knowing the couch potato's preferences in advance can wait. ;-)

FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/