options keepasjava

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

options keepasjava

Tom Maynard

I don’t usually care about the Java output from the nrc command, but today I wanted to see it.  Imagine my surprise when this spat out at me:

 

Tom@venus c:\users\tom

$ nrc rj

NetRexx portable processor, version NetRexx 3.02, build 172-20130625-1742

Copyright (c) RexxLA, 2011,2013.  All rights reserved.

Parts Copyright (c) IBM Corporation, 1995,2008.

Program rj.nrx

6 +++ options java keepasjava replace format nocrossref

   +++              ^^^^^^^^^^

   +++ Warning: Unknown program option 'keepasjava' ignored

 

(And yes, “rj” means just what you think it means J)


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

Reply | Threaded
Open this post in threaded view
|

Re: options keepasjava

rvjansen
<base href="x-msg://386/">This must be because it is indeed an unknown program option - it is a known command line option. I will check.
I must admit I was suprised lately by the warnings for these, and for the 'lonely properties' issue - in my own sources. So many that it could not be an error because it would break too much at once.

Yes, these warnings are new.

best regards,

René.


On 26 jul. 2013, at 23:47, "Tom Maynard" <[hidden email]> wrote:

I don’t usually care about the Java output from the nrc command, but today I wanted to see it.  Imagine my surprise when this spat out at me:
 
Tom@venus c:\users\tom
$ nrc rj
NetRexx portable processor, version NetRexx 3.02, build 172-20130625-1742
Copyright (c) RexxLA, 2011,2013.  All rights reserved.
Parts Copyright (c) IBM Corporation, 1995,2008.
Program rj.nrx
6 +++ options java keepasjava replace format nocrossref
   +++              ^^^^^^^^^^
   +++ Warning: Unknown program option 'keepasjava' ignored
 
(And yes, “rj” means just what you think it means J)
_______________________________________________
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: options keepasjava

Tom Maynard
<base href="x-msg://386/">

This must be because it is indeed an unknown program option - it is a known command line option.

 

Of course you are correct.  I did a little RTFM and learned that:

 

 

And, when I use it on the command line itself it behaves as advertised.  Perhaps command line options should be grouped together in the manual?

 

I confess that my original interpretation of “compiler option” didn’t include the command line.  I just thought that meant “NetRexx compiler.”

 


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

Reply | Threaded
Open this post in threaded view
|

Re: options keepasjava

rvjansen
<base href="x-msg://386/">
On 27 jul. 2013, at 00:24, "Tom Maynard" <[hidden email]> wrote:

This must be because it is indeed an unknown program option - it is a known command line option.
 
Of course you are correct.  I did a little RTFM and learned that:
 
<image001.png>
 
And, when I use it on the command line itself it behaves as advertised.  Perhaps command line options should be grouped together in the manual?

Good that you mention it. In the current 3.03 versions of the pdf's as they are checked in, (e.g. NetRexx Quickstart Guide 3.03, p 33) and the NetRexx Programmer's Guide, there is a new chapter with a number of tables that try to distinguish the different types of options - NetRexxC versus Language, and command line versus program. This setup did not make the new Language Reference yet, because I was focussing more on faithfully reproducing the GML sources here before modifying them - also, the nrl has a more official status than the other books.

René.

 
I confess that my original interpretation of “compiler option” didn’t include the command line.  I just thought that meant “NetRexx compiler.”
 
_______________________________________________
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: options keepasjava

George Hovey-2
Slightly tangential.  The releases are starting to come with some frequency.  Any chance docs could be named using the pattern "NetRexx Version Document_Title", e.g. "NetRexx 3.02GA Release Notes"?  That (Latin) order of qualifiers causes docs to group together according to their most significant characteristics in directory listings.  (I hope I'm not the only one who moves all docs to a central repository, rather than having to track them down in individual directories.)


On Fri, Jul 26, 2013 at 7:12 PM, René Jansen <[hidden email]> wrote:

On 27 jul. 2013, at 00:24, "Tom Maynard" <[hidden email]> wrote:

This must be because it is indeed an unknown program option - it is a known command line option.
 
Of course you are correct.  I did a little RTFM and learned that:
 
<image001.png>
 
And, when I use it on the command line itself it behaves as advertised.  Perhaps command line options should be grouped together in the manual?

Good that you mention it. In the current 3.03 versions of the pdf's as they are checked in, (e.g. NetRexx Quickstart Guide 3.03, p 33) and the NetRexx Programmer's Guide, there is a new chapter with a number of tables that try to distinguish the different types of options - NetRexxC versus Language, and command line versus program. This setup did not make the new Language Reference yet, because I was focussing more on faithfully reproducing the GML sources here before modifying them - also, the nrl has a more official status than the other books.

René.

 
I confess that my original interpretation of “compiler option” didn’t include the command line.  I just thought that meant “NetRexx compiler.”
 
_______________________________________________
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/





--
"One can live magnificently in this world if one knows how to work and how to love."  --  Leo Tolstoy

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

Reply | Threaded
Open this post in threaded view
|

Re: options keepasjava

Tom Maynard
In reply to this post by rvjansen
<base href="x-msg://386/">

there is a new chapter with a number of tables that try to distinguish the different types of options

 

Yup, found them.  Thank you very much!

 

I also edited the TeX source file for the UG and extracted just the Options table into a local text file.  In that file, I segregated the command line options (at the top), and the “both” options (at the bottom).  (Of course I also stripped out all of the TeX markup, for readability.)

 

Now I have the crutch I need, at least temporarily.  If I feel industrious, I may even hack the NetRexxC.bat file to do the same thing.  It’s hard to believe that all these years I simply assumed that any options could be specified anywhere.  Live and learn, eh?

 


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

Reply | Threaded
Open this post in threaded view
|

Re: options keepasjava

rvjansen
In reply to this post by George Hovey-2
That is a good idea and probably makes for less 'stretching' of columns to look at the version number. I'll start using it for 3.03

best regards,

René

On 27 jul. 2013, at 02:29, George Hovey <[hidden email]> wrote:

> Slightly tangential.  The releases are starting to come with some frequency.  Any chance docs could be named using the pattern "NetRexx Version Document_Title", e.g. "NetRexx 3.02GA Release Notes"?  That (Latin) order of qualifiers causes docs to group together according to their most significant characteristics in directory listings.  (I hope I'm not the only one who moves all docs to a central repository, rather than having to track them down in individual directories.)
>
>

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