forwarded by request kp
---------- fwd message ----------
The editor only operates on .nrx files.
There are currently 4 actions:
Interpret: Executes the NetRexx program interpretively without generating or saving anything.
Translate: Converts the NetRexx program to Java, and saves the program as *.java.keep. (The ability to save to *.java is coming)
Compile: Compiles the NetRexx program to a Java class file. The JDK must be installed for this to work.
Run Applet: Runs a compiled NetRexx applet.
Within a week the plugin will be updated to include main menu items and key bindings (e.g Alt-i to interpret, etc.) Adding additional execution options is certainly doable. You have to use f5 to refresh the file tree, or else set the option to automatically do it - the generated class and java files may be there but just not visible.
Bill
Original Message: ----------------- From: KP Kirchdoerfer [hidden email] Date: Tue, 6 Sep 2011 22:04:40 +0200 To: [hidden email], [hidden email] Subject: Re: [Ibm-netrexx] eclipse plugin
Hi;
I've installed eclipse (3.5) the first time ever and with a little work I was able to update/install your plugin via eclipse routines.
I'm surprised by the speed of eclipse (VisualAge (predecessor of eclipse) was painfully slow ten years ago, but then I also had a much slower computer).
I've been able to compile a simple "hello world" and to run/interpret as well.
To get it right:
1) Run (Interpret) NetRexx - compiles and run? But does not save the class file? 2) To compile to a class file it is necessary to run "Compile NetRexx to java class"? 3) Your plugin is bound to the *.nrx file extension?
kp
-------------------------------------------------------------------- mail2web.com - Microsoft® Exchange solutions from a leading provider - http://link.mail2web.com/Business/Exchange
------------------------------------------------------------- _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
How does this compare with jEdit w/ NetRexxDE Plugin?
Bob Hamilton Richardson Texas USA On Tue, Sep 6, 2011 at 4:29 PM, KP Kirchdoerfer <[hidden email]> wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Hello Robert,
why are you not simply *trying both* and do give us afterwards a *report of your findings* ??? ;-) Thomas. ========================================================== Am 07.09.2011 14:47, schrieb Robert Hamilton: How does this compare with jEdit w/ NetRexxDE Plugin? --
Thomas Schneider (www.thsitc.com) _______________________________________________ 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 |
In reply to this post by KP Kirchdörfer
Hi
one note, one question...
Am Dienstag, 6. September 2011, 23:29:13 schrieben Sie: > forwarded by request > kp > > ---------- fwd message ---------- > > > The editor only operates on .nrx files.
Note: The eclipse plugin seems to be very shy about the filename extension. The NetRexx actions are added to the menu, if the extension is choosen at the start, it seems not to work, if I rename a file that has been accidently created without the *.nrx extension. If this can be improved it would be a small, but nice enhancement. Even better, if the actions would be available for every file, silently assuming I'm writing I'm writing netrexx code - but then this is moaning at a very high level and maybe caused by eclipse internals.
Question: I currently have at least 3 versions of NetRexxC- one in "jvm"/lib/ext (yes I read the User Guide today and know, not recommended), one for jedit and the NetRexx plugin and now the third one for eclipse. Is that meant that way, or will/can it be consolidated any time in the future?
kp
> There are currently 4 actions: > > Interpret: Executes the NetRexx program interpretively without generating > or saving anything. > > Translate: Converts the NetRexx program to Java, and saves the program as > *.java.keep. (The ability to save to *.java is coming) > > Compile: Compiles the NetRexx program to a Java class file. The JDK must > be installed for this to work. > > Run Applet: Runs a compiled NetRexx applet. > > Within a week the plugin will be updated to include main menu items and key > bindings (e.g Alt-i to interpret, etc.) Adding additional execution > options is certainly doable. You have to use f5 to refresh the file tree, > or else set the option to automatically do it - the generated class and > java files may be there but just not visible. > > Bill > > Original Message: > ----------------- > From: KP Kirchdoerfer [hidden email] > Date: Tue, 6 Sep 2011 22:04:40 +0200 > To: [hidden email], [hidden email] > Subject: Re: [Ibm-netrexx] eclipse plugin > > Hi; > > I've installed eclipse (3.5) the first time ever and with a little work I > was > able to update/install your plugin via eclipse routines. > > I'm surprised by the speed of eclipse (VisualAge (predecessor of eclipse) > was > painfully slow ten years ago, but then I also had a much slower computer). > > I've been able to compile a simple "hello world" and to run/interpret as > well. > > To get it right: > > 1) Run (Interpret) NetRexx - compiles and run? But does not save the class > file? > 2) To compile to a class file it is necessary to run "Compile NetRexx to > java > class"? > 3) Your plugin is bound to the *.nrx file extension? > > kp > > > -------------------------------------------------------------------- > mail2web.com - Microsoft® Exchange solutions from a leading provider - > http://link.mail2web.com/Business/Exchange > > > > -------------------------------------------------------------
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by KP Kirchdörfer
kp,
When there is an official release of NetRexx from RexxLA (coming in the near future) the Eclipse plugin will be updated to include it. Certainly all the versions should be in sync. The NetRexx jar was included in the plugin so that a user would not have to install NetRexx separately, as some users have encountered problems doing that. I plan to include an option which allows the specification of the path to the NetRexx jar which will allow a single version to be used inside and outside of Eclipse. I'm not sure I understand what you mean about extensions. I think the issue may be about source files which are not within an Eclipse project? The Eclipse IDE is essentially and fundamentally Project oriented, and does not work well with random files outside of an Eclipse project. Files or other projects may be imported into a project, but there is a clear wall between what is in and what is out. For example, within a project I can create a file named "xyz.txt" and edit it. Then when I refactor it and rename it to "xyz.nrx", it is recognized as a NetRexx file. Another trick to know is that if a file within an Eclipse project is updated or renamed by an external action, F5 should be used to re-synchronize Eclipse with the external file system. There is an Eclipse option which will do this automatically every few seconds. Of course there are pros and cons about the project orientation and the way that the Eclipse IDE interacts with the file system - there is nothing that I, as an Eclipse plugin writer, can do about that. "above my pay grade... :)". The NetBeans approach, including JEdit, etc., does not formally distinguish projects from the file system. I found that after I got used to the Eclipse project orientation it has advantages, but some users want only the traditional directory / file structure. For them, the NetBeans approach may be more suitable than using Eclipse and its required project orientation. Bill On 9/8/2011 10:51 AM, KP Kirchdoerfer wrote: (edited) > > Hi > > one note, one question... > > > ---------- fwd message ---------- > > > The editor only operates on .nrx files. > > Note: > > The eclipse plugin seems to be very shy about the filename extension. The start, it seems not to work, if I rename a file that has been accidently created without the *.nrx extension. If this can be improved it would be a small, but nice enhancement. > > Even better, if the actions would be available for every file, silently assuming I'm writing I'm writing netrexx code - but then this is moaning at a very high level and maybe caused by eclipse internals. > > Question: > > I currently have at least 3 versions of NetRexxC- one in "jvm"/lib/ext (yes I read the User Guide today and know, not recommended), one for jedit and the NetRexx plugin and now the third one for eclipse. > > Is that meant that way, or will/can it be consolidated any time in the future? > > kp -------------------------------------------------------------------- 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/ |
Hello Bill,
1.) I did (last week) download your ECLIPSE NetRexx plugin, but get the message (from WINZIP) that both your JAR-Files are corrupted netrexx36feature_1.06.jar * and detto* eclipsenetrexxfeature2.0.0v20110905.jar) Do you have any explanation for this ? Note that I'm running Windows XP, SP3. I do have a registered Winzip vs. 8, but updated for vs. 11 (testing mode) in turn... 2.) I would want to try to use your ECLIPSE plugin (for my first trials) next week for my projects on com.thsitc (quite a lot of structured subdirectories) I would also like to *record* my trials in 2 ways: a) collect some screen-shots in setting up my *projects* b) use those screen-shots to stepwise develop (in joint co-operation with org-netrexx) a *How to use NetRexx user's guide*, with stepwise examples. Please give me (or the whole developer's goup) a mail when your NetRexx plugin is available for tests with NetRexxCRC1 (which I DO have in the ...\java\jdk1.7..\hjre\lib\ext directory (thus strictly following Java recommandations for Java extension's) I personally would like to avoid ANY need's to update my CLASSPATH for ANY software. Major reason is I do have too many packages installed, as IBM's PL/I Compiler (Visual Age version), COBOL IT COBOL Compiler, etc,etc. I am using, instead, some environment variables as: Rexx2Nrx.home PP.home ReyC.home etc ... To define the various environments for my various packages ... But I'm still *experimenting* with this approach, I must admit. Greetings from Vienna, Anyway ... Thomas. ==================================================== Am 08.09.2011 19:38, schrieb [hidden email]: > kp, > > When there is an official release of NetRexx from RexxLA (coming in the > near future) the Eclipse plugin will be updated to include it. Certainly > all the versions should be in sync. The NetRexx jar was included in the > plugin so that a user would not have to install NetRexx separately, as some > users have encountered problems doing that. I plan to include an option > which allows the specification of the path to the NetRexx jar which will > allow a single version to be used inside and outside of Eclipse. > > I'm not sure I understand what you mean about extensions. I think the > issue may be about source files which are not within an Eclipse project? > > The Eclipse IDE is essentially and fundamentally Project oriented, and does > not work well with random files outside of an Eclipse project. Files or > other projects may be imported into a project, but there is a clear wall > between what is in and what is out. > > For example, within a project I can create a file named "xyz.txt" and edit > it. Then when I refactor it and rename it to "xyz.nrx", it is recognized > as a NetRexx file. Another trick to know is that if a file within an > Eclipse project is updated or renamed by an external action, F5 should be > used to re-synchronize Eclipse with the external file system. There is an > Eclipse option which will do this automatically every few seconds. > > Of course there are pros and cons about the project orientation and the way > that the Eclipse IDE interacts with the file system - there is nothing that > I, as an Eclipse plugin writer, can do about that. "above my pay grade... > :)". > > The NetBeans approach, including JEdit, etc., does not formally distinguish > projects from the file system. I found that after I got used to the > Eclipse project orientation it has advantages, but some users want only the > traditional directory / file structure. For them, the NetBeans approach > may be more suitable than using Eclipse and its required project > orientation. > > Bill > > On 9/8/2011 10:51 AM, KP Kirchdoerfer wrote: (edited) >> Hi >> >> one note, one question... >> >>> ---------- fwd message ---------- >>> The editor only operates on .nrx files. >> Note: >> >> The eclipse plugin seems to be very shy about the filename extension. The > NetRexx actions are added to the menu, if the extension is choosen at the > start, it seems not to work, if I rename a file that has been accidently > created without the *.nrx extension. If this can be improved it would be a > small, but nice enhancement. >> Even better, if the actions would be available for every file, silently > assuming I'm writing I'm writing netrexx code - but then this is moaning at > a very high level and maybe caused by eclipse internals. >> Question: >> >> I currently have at least 3 versions of NetRexxC- one in "jvm"/lib/ext > (yes I read the User Guide today and know, not recommended), one for jedit > and the NetRexx plugin and now the third one for eclipse. >> Is that meant that way, or will/can it be consolidated any time in the > future? >> kp > -------------------------------------------------------------------- > 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 |
In reply to this post by KP Kirchdörfer
Thomas,
1) The files at an Eclipse update site are not meant to be directly downloaded or processed by winzip. Eclipse is a large, integrated IDE, and the first step is to download and install it. I won't try to explain it here - there are many, many thousands of web page devoted to Eclipse. Use Google - there is a lot to learn if you choose to go the Eclipse route. There are also many videos at youtube - here is a basic (3 minute) one - a bit old, but will give you an idea of how Eclipse is installed. Search youtube for "eclipse tutorial" for some basic operating instructions. http://www.youtube.com/watch?v=tVfU8ITnOPA Installing plugins is easy: under Help -> Install New Software you paste in an update site name and click on what you want - pretty straight forward. The update site for the NetRexx plugin is https://sourceforge.net/projects/eclipsenetrexx/files/update/ 2) I'll certainly let people know when the plugin update is ready - the process of installing updates under Eclipse is simple: Help-> Check For Updates lets you click to install. Eclipse has an automatic update feature, and if that is on, the updates happen when they are found. 3) Eclipse does not actually change the CLASSPATH variable, but it does dynamically provide an altered version of it as required. Thus when Eclipse runs NetRexx, the java.class.path and java.home variables that it sees are set appropriately. 4) At it turns out, I'm changing my plugin to find the tools jar in the JDK and to provide it in the path that NetRexx sees. The user will only have to install the JDK as the JRE. Copying the tools jar will not be necessary. PS - this is not meant to be a "sales job" for Eclipse. It is one of many paths, and there are thousands of pages and videos about NetBeans as well. But it appeared to me that some of the Eclipse basics would be helpful to Thomas and perhaps others. -------------------------------------------------------------------- myhosting.com - Premium Microsoft® Windows® and Linux web and application hosting - http://link.myhosting.com/myhosting _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
OK, Bill, thanks a lot...
I will review and learn and use as suggested (next week the earliest) ... ;-) And I think, for sure, that those educational hint's are welcome by others there at ibm-netrexx as well. Have a nice weekend. Thomas. =========================================================== Am 09.09.2011 20:01, schrieb [hidden email]: > Thomas, > > 1) The files at an Eclipse update site are not meant to be directly > downloaded or processed by winzip. Eclipse is a large, integrated IDE, and > the first step is to download and install it. I won't try to explain it > here - there are many, many thousands of web page devoted to Eclipse. Use > Google - there is a lot to learn if you choose to go the Eclipse route. > There are also many videos at youtube - here is a basic (3 minute) one - a > bit old, but will give you an idea of how Eclipse is installed. Search > youtube for "eclipse tutorial" for some basic operating instructions. > http://www.youtube.com/watch?v=tVfU8ITnOPA > > Installing plugins is easy: under Help -> Install New Software you paste > in an update site name and click on what you want - pretty straight > forward. The update site for the NetRexx plugin is > https://sourceforge.net/projects/eclipsenetrexx/files/update/ > > 2) I'll certainly let people know when the plugin update is ready - the > process of installing updates under Eclipse is simple: Help-> Check For > Updates lets you click to install. Eclipse has an automatic update > feature, and if that is on, the updates happen when they are found. > > 3) Eclipse does not actually change the CLASSPATH variable, but it does > dynamically provide an altered version of it as required. Thus when > Eclipse runs NetRexx, the java.class.path and java.home variables that it > sees are set appropriately. > > 4) At it turns out, I'm changing my plugin to find the tools jar in the JDK > and to provide it in the path that NetRexx sees. The user will only have > to install the JDK as the JRE. Copying the tools jar will not be > necessary. > > PS - this is not meant to be a "sales job" for Eclipse. It is one of many > paths, and there are thousands of pages and videos about NetBeans as well. > But it appeared to me that some of the Eclipse basics would be helpful to > Thomas and perhaps others. > > > -------------------------------------------------------------------- > myhosting.com - Premium Microsoft® Windows® and Linux web and application > hosting - http://link.myhosting.com/myhosting > > > > _______________________________________________ > 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 |
In reply to this post by billfen
Bill, I installed the plugin on Eclipse on the Mac; unfortunately the compile option does not work anymore. It fails with "The archive: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/tools.jar which is referenced by the classpath, does not exist." On MacOSX, the compiler is located in classes.jar and not in tools.jar. Without help, 3.00 and 3.01 are able to find this, as the name is coded in the classer (in a way that needs changing, but that is beside the point for now). "interpret" and "translate" work fine. best regards, René. _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Bill,
on Mac Eclipse the menu sequence is Eclipse->Preferences->NetRexxEditor. I changed this to /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar and now it works. I saw no way to leave this empty - it resubstitutes the wrong name in there if I leave it blank. On current versions of MacOSX, this classpath entry is not needed. best regards, René. On 20 sep. 2011, at 23:23, Bill Fenlason wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Free forum by Nabble | Edit this page |