bash nrx script?

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

bash nrx script?

Rick Younie
I'm just now reading all the archived messages in the two
mailing lists and haven't come across this yet.

Has anyone posted a bash script that does the work of
the OS/2 or batchfile nrx scripts included with the
NetRexx package?

And are the messages since Jan, 1999 on the NetRexx list
not available because of a glitch or are they available
elsewhere?

Thanks,
Rick
--
[hidden email]
http://members.home.net/younie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: bash nrx script?

Colin Paul Adams
>>>>> "Rick" == Rick Younie <[hidden email]> writes:

    Rick> Has anyone posted a bash script that does the work of the
    Rick> OS/2 or batchfile nrx scripts included with the NetRexx
    Rick> package?

I assume you mean nrc, rather than nrx?

I've not seen one, but then, is it really necessary?

I use two approaches.

1) For running casual compiles, I run the following script (i call it /usr/bin/nrc):

#!/bin/bash

rexx /usr/java/bin/NetRexxC.cmd $*


2) For projects, I simply include the full java command in my Makefile
   - here's an extract from the Makefile for my current project:

# set any java options you choose - experience shows that turning
#  off the JIT Compiler speeds up NetRexx compilation times
JAVAOPTS = -Djava.compiler=NONE
JAVACOPTS = -target 1.1 -deprecation
JAVAHOME = /usr/java
CLASSES = Directions.class Lighting.class  MoveStatus.class DotDataFileFilter.class \
                   etcetera

%.java: %.nrx
         java -ms4M $(JAVAOPTS) COM.ibm.netrexx.process.NetRexxC $< -nocompile

%.class: %.java
        javac $(JAVACOPTS) $<

--
Colin Paul Adams
Preston Lancashire
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: bash nrx script?

mcbrides
In reply to this post by Rick Younie
** Reply to message from Rick Younie <[hidden email]> on Tue, 11 Jan 2000
20:15:40 -0800


> I'm just now reading all the archived messages in the two
> mailing lists and haven't come across this yet.
>
> Has anyone posted a bash script that does the work of
> the OS/2 or batchfile nrx scripts included with the
> NetRexx package?
>

Not yet, but it's on my to-do-list. If you can hang on a tad bit longer, I'll
try and finish it off.


> And are the messages since Jan, 1999 on the NetRexx list
> not available because of a glitch or are they available
> elsewhere?
>

They are either gone or not yet posted. Most, if not all, the really old
messages were lost to the Ozone a year or so ago... Hmmm... I wonder how Sean is
doing these days?




"It's a small world, but I wouldn't want to paint it." s.w.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>