Eclipse, eclipsenetrexx and Windowbuilder

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

Eclipse, eclipsenetrexx and Windowbuilder

KP Kirchdörfer
Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu and
eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have a steep
learning curve and lots of options (:= lot's of possibilities to make an
error). I haven't changed any options/settings, if not really needed by now -
so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short
time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder and
the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the biggest
hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This
doesn't work for me. I have had to choose  "Use default JRE" which points to
"java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the
project (packages) and NetRexxC.jar. He explained also how to do that within
Eclipse, but I failed (too many options, to many possibilities...). Instead I
edited  the file ".classpath"  in the workspace of the project with a simple
text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to
Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some
feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save the
file before. For java files I can enable an "autosave feature" (and the NetRexx
plugin for jedit provides that also). So enabling "autosave" , and course an
option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to
detect any class  from the javax.swing package (a leftover from pre-3.0.2
days, should be automatically imported since 3.0.2), but this seems not to
work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to add
the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace" I
have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which
editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

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

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse, eclipsenetrexx and Windowbuilder

Dave Woodman
Hi KP - I hope that you had a good holiday!

I was thinking about your "issue" with import:- did you point the NetRexx
plugin to the "recent" compiler?

Window->Preferences->NetRexx Editor->Classpath ->NetRexx jar file

Just a thought...

        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of KP Kirchdoerfer
Sent: 08 September 2013 16:55
To: [hidden email]
Subject: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu and
eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have a
steep learning curve and lots of options (:= lot's of possibilities to make
an error). I haven't changed any options/settings, if not really needed by
now - so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short
time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder
and the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the
biggest hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This
doesn't work for me. I have had to choose  "Use default JRE" which points to
"java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the
project (packages) and NetRexxC.jar. He explained also how to do that within
Eclipse, but I failed (too many options, to many possibilities...). Instead
I edited  the file ".classpath"  in the workspace of the project with a
simple text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to
Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some
feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save
the file before. For java files I can enable an "autosave feature" (and the
NetRexx plugin for jedit provides that also). So enabling "autosave" , and
course an option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to
detect any class  from the javax.swing package (a leftover from pre-3.0.2
days, should be automatically imported since 3.0.2), but this seems not to
work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to
add the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace" I
have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which
editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

_______________________________________________
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: Eclipse, eclipsenetrexx and Windowbuilder

Bill Fenlason
In reply to this post by KP Kirchdörfer
Dave,

Funny you should mention that - I was just working on that very code, now
that I have some time.  The plugin is undergoing a major, major rewrite and
cleanup, and a new version is long overdue.

The new version has a link to the NetRexx installer and all a user has to
do is a couple of clicks to download and use a new version of NetRexx.
It's good to see a working installer, although I think there are
improvements to be made.  I'll reserve comments until I try it out on
Linux, Mac, XP, etc.

I added a help facility which links to the documentation and I need to
update it to use the downloaded versions.  A PDF is OK to read stand alone,
but I had hoped to link F1 help directly to the matching NetRexx document
content.  The best I could do is to just provide access to the PDFs.

I think well done HTML versions of the documents would be very useful, and
that the Open Document Format is more appropriate than Latex (originally
designed for typesetting mathematical equations), but that is just my
opinion.  I'm sure that Latex is wonderful, but who has time to learn it?
I believe that Rene is doing all the documentation and prefers Latex, so
presumably that won't change - a good workman gets to choose his tools :).

I've switched to git, and have found it superior to SVN, even though I am
the only one working on my project.  Being able to work productively
without good internet is very convenient - the last speedtest at my current
location was 0.04 Mip :(.  The concepts of "pushing and pulling" are an
adjustment, but by and large, converting is not a big deal.  I think it is
just a matter of time before git (or Mecurial etc.) pretty much make CVS
and SVN obsolete in the open source world.  Consider how big github has
become.  I assume NetRexx will switch at some point, but probably not for
quite a while.

KP, thanks for your comments and suggestions!  Do try Dave's suggestion and
set the classpath to the NetRexxC.jar or NetRexxF.jar file.

Bill

PS sorry for the rambling response - it's a slow day here in Northern Maine.


Original email:
-----------------
From: Dave Woodman [hidden email]
Date: Sun, 15 Sep 2013 14:01:23 +0100
To: [hidden email], [hidden email]
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx  and Windowbuilder


Hi KP - I hope that you had a good holiday!

I was thinking about your "issue" with import:- did you point the NetRexx
plugin to the "recent" compiler?

Window->Preferences->NetRexx Editor->Classpath ->NetRexx jar file

Just a thought...

        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of KP Kirchdoerfer
Sent: 08 September 2013 16:55
To: [hidden email]
Subject: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu and
eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have a
steep learning curve and lots of options (:= lot's of possibilities to make
an error). I haven't changed any options/settings, if not really needed by
now - so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short
time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder
and the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the
biggest hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This
doesn't work for me. I have had to choose  "Use default JRE" which points to
"java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the
project (packages) and NetRexxC.jar. He explained also how to do that within
Eclipse, but I failed (too many options, to many possibilities...). Instead
I edited  the file ".classpath"  in the workspace of the project with a
simple text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to
Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some
feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save
the file before. For java files I can enable an "autosave feature" (and the
NetRexx plugin for jedit provides that also). So enabling "autosave" , and
course an option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to
detect any class  from the javax.swing package (a leftover from pre-3.0.2
days, should be automatically imported since 3.0.2), but this seems not to
work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to
add the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace" I
have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which
editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

_______________________________________________
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/


--------------------------------------------------------------------
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/

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse, eclipsenetrexx and Windowbuilder

kenner
In reply to this post by KP Kirchdörfer
So where can I find this README and those sample/examples? I have installed eclipse and something called content.jar from the eclipsenetrexx page on sourceforge but now I'm wondering which rabbit hole I should dive into.....



-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of KP Kirchdoerfer
Sent: Sunday, September 08, 2013 11:55 AM
To: [hidden email]
Subject: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu and eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have a steep learning curve and lots of options (:= lot's of possibilities to make an error). I haven't changed any options/settings, if not really needed by now - so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder and the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the biggest hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This doesn't work for me. I have had to choose  "Use default JRE" which points to "java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the project (packages) and NetRexxC.jar. He explained also how to do that within Eclipse, but I failed (too many options, to many possibilities...). Instead I edited  the file ".classpath"  in the workspace of the project with a simple text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save the file before. For java files I can enable an "autosave feature" (and the NetRexx plugin for jedit provides that also). So enabling "autosave" , and course an option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to detect any class  from the javax.swing package (a leftover from pre-3.0.2 days, should be automatically imported since 3.0.2), but this seems not to work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to add the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace" I have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

_______________________________________________
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: Eclipse, eclipsenetrexx and Windowbuilder

Dave Woodman
Hi,

I posted them here on the 13th and 15th August.

http://ibm-netrexx.215625.n3.nabble.com/NetRexx-Eclipse-Swing-WindowBuilder-
tp4026734.html and
http://ibm-netrexx.215625.n3.nabble.com/More-Swing-Things-Long-Running-Proce
sses-Button-control-Progress-bar-Change-listener-etc-tp4026736.html


        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Ken Klein (TEMA
TPC)
Sent: 17 September 2013 14:20
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

So where can I find this README and those sample/examples? I have installed
eclipse and something called content.jar from the eclipsenetrexx page on
sourceforge but now I'm wondering which rabbit hole I should dive into.....



-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of KP Kirchdoerfer
Sent: Sunday, September 08, 2013 11:55 AM
To: [hidden email]
Subject: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu and
eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have a
steep learning curve and lots of options (:= lot's of possibilities to make
an error). I haven't changed any options/settings, if not really needed by
now - so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short
time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder
and the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the
biggest hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This
doesn't work for me. I have had to choose  "Use default JRE" which points to
"java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the
project (packages) and NetRexxC.jar. He explained also how to do that within
Eclipse, but I failed (too many options, to many possibilities...). Instead
I edited  the file ".classpath"  in the workspace of the project with a
simple text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to
Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some
feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save
the file before. For java files I can enable an "autosave feature" (and the
NetRexx plugin for jedit provides that also). So enabling "autosave" , and
course an option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to
detect any class  from the javax.swing package (a leftover from pre-3.0.2
days, should be automatically imported since 3.0.2), but this seems not to
work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to
add the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace" I
have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which
editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

_______________________________________________
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/

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

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse, eclipsenetrexx and Windowbuilder

rvjansen
In reply to this post by Bill Fenlason
Bill,

I wholeheartedly support your preference for git. I also appreciate you letting me choose my tools; I think we must extend the privilege to Kermit who is more at ease with Subversion, at the moment.
HTML, we must look into a good, automatic conversion. If it can run as a job step in the build process, we must adopt it.

best regards,

René.



On 15 sep. 2013, at 19:26, [hidden email] wrote:

>
>
> I've switched to git, and have found it superior to SVN, even though I am
> the only one working on my project.  Being able to work productively
> without good internet is very convenient - the last speedtest at my current
> location was 0.04 Mip :(.  The concepts of "pushing and pulling" are an
> adjustment, but by and large, converting is not a big deal.  I think it is
> just a matter of time before git (or Mecurial etc.) pretty much make CVS
> and SVN obsolete in the open source world.  Consider how big github has
> become.  I assume NetRexx will switch at some point, but probably not for
> quite a while.

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

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse, eclipsenetrexx and Windowbuilder

Bill Fenlason
In reply to this post by KP Kirchdörfer
Ken, the way to install the Eclipse NetRexx plugin is to goto the Eclipse
MarketPlace, via the Help menu item, and search for NetRexx.  If you have a
version of Eclipse which does not have the MarketPlace client installed you
will have to install that first, but I think it has been added to the
standard download.

The plugin is an alpha version, and admittedly has some problems.  I'm
currently working on the next, much improved version.

Bill

Original email:
-----------------
From: Ken Klein (TEMA TPC) [hidden email]
Date: Tue, 17 Sep 2013 13:20:19 +0000
To: [hidden email]
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx  and Windowbuilder


So where can I find this README and those sample/examples? I have installed
eclipse and something called content.jar from the eclipsenetrexx page on
sourceforge but now I'm wondering which rabbit hole I should dive into.....



-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of KP Kirchdoerfer
Sent: Sunday, September 08, 2013 11:55 AM
To: [hidden email]
Subject: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu
and eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have
a steep learning curve and lots of options (:= lot's of possibilities to
make an error). I haven't changed any options/settings, if not really
needed by now - so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short
time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder
and the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the
biggest hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This
doesn't work for me. I have had to choose  "Use default JRE" which points
to "java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the
project (packages) and NetRexxC.jar. He explained also how to do that
within Eclipse, but I failed (too many options, to many possibilities...).
Instead I edited  the file ".classpath"  in the workspace of the project
with a simple text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to
Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some
feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save
the file before. For java files I can enable an "autosave feature" (and the
NetRexx plugin for jedit provides that also). So enabling "autosave" , and
course an option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to
detect any class  from the javax.swing package (a leftover from pre-3.0.2
days, should be automatically imported since 3.0.2), but this seems not to
work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to
add the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace"
I have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which
editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

_______________________________________________
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/


--------------------------------------------------------------------
mail2web.com – What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint


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

Reply | Threaded
Open this post in threaded view
|

Re: Eclipse, eclipsenetrexx and Windowbuilder

kenner
In reply to this post by Dave Woodman
Thanks, I found them. Now I have a problem getting to the Market Place.

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Server returned HTTP response code: 403 for URL: http://marketplace.eclipse.org/catalogs/api/p
Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Server returned HTTP response code: 403 for URL: http://marketplace.eclipse.org/catalogs/api/p


But I can get to the site and that page with my browser!   ??????

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Dave Woodman
Sent: Tuesday, September 17, 2013 9:27 AM
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi,

I posted them here on the 13th and 15th August.

http://ibm-netrexx.215625.n3.nabble.com/NetRexx-Eclipse-Swing-WindowBuilder-
tp4026734.html and
http://ibm-netrexx.215625.n3.nabble.com/More-Swing-Things-Long-Running-Proce
sses-Button-control-Progress-bar-Change-listener-etc-tp4026736.html


        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Ken Klein (TEMA
TPC)
Sent: 17 September 2013 14:20
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

So where can I find this README and those sample/examples? I have installed eclipse and something called content.jar from the eclipsenetrexx page on sourceforge but now I'm wondering which rabbit hole I should dive into.....



-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of KP Kirchdoerfer
Sent: Sunday, September 08, 2013 11:55 AM
To: [hidden email]
Subject: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu and eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have a steep learning curve and lots of options (:= lot's of possibilities to make an error). I haven't changed any options/settings, if not really needed by now - so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder and the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the biggest hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This doesn't work for me. I have had to choose  "Use default JRE" which points to "java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the project (packages) and NetRexxC.jar. He explained also how to do that within Eclipse, but I failed (too many options, to many possibilities...). Instead I edited  the file ".classpath"  in the workspace of the project with a simple text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save the file before. For java files I can enable an "autosave feature" (and the NetRexx plugin for jedit provides that also). So enabling "autosave" , and course an option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to detect any class  from the javax.swing package (a leftover from pre-3.0.2 days, should be automatically imported since 3.0.2), but this seems not to work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to add the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace" I have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

_______________________________________________
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/

_______________________________________________
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: Eclipse, eclipsenetrexx and Windowbuilder

Bill Fenlason
In reply to this post by KP Kirchdörfer
Ken,

Here are some directions on how to install Marketplace.

First, I assume you have downloaded 4.3, called the Kepler Release.  If you
have an earlier version of Eclipse, the directions should be essentially
the same.

Go to Main Menu -> Help -> Install New Software.  Select "--All Available
Sites-- in the topmost box titled "Work with".

Next in the box below, type market.  a check box with "General Purpose
Tools" will show up - click the little + sign to show the next level if
necessary.

You should see "Marketplace Client" in bold letters.
check the box next to it.

Then down at the bottom of the screen, click "Next >".

Follow the directions, and you should end up with the marketplace
installed.  When that happens, just search for NetRexx.  It's all pretty
simple once you have done it.

Bill

Original email:
-----------------
From: Ken Klein (TEMA TPC) [hidden email]
Date: Fri, 20 Sep 2013 19:18:42 +0000
To: [hidden email]
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx  and Windowbuilder


Thanks, I found them. Now I have a problem getting to the Market Place.

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Unable to read repository at
http://marketplace.eclipse.org/catalogs/api/p.
Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Server returned HTTP response code: 403 for URL:
http://marketplace.eclipse.org/catalogs/api/p
Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Server returned HTTP response code: 403 for URL:
http://marketplace.eclipse.org/catalogs/api/p


But I can get to the site and that page with my browser!   ??????

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Dave Woodman
Sent: Tuesday, September 17, 2013 9:27 AM
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi,

I posted them here on the 13th and 15th August.

http://ibm-netrexx.215625.n3.nabble.com/NetRexx-Eclipse-Swing-WindowBuilder-
tp4026734.html and
http://ibm-netrexx.215625.n3.nabble.com/More-Swing-Things-Long-Running-Proce
sses-Button-control-Progress-bar-Change-listener-etc-tp4026736.html


        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Ken Klein (TEMA
TPC)
Sent: 17 September 2013 14:20
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

So where can I find this README and those sample/examples? I have installed
eclipse and something called content.jar from the eclipsenetrexx page on
sourceforge but now I'm wondering which rabbit hole I should dive into.....



-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of KP Kirchdoerfer
Sent: Sunday, September 08, 2013 11:55 AM
To: [hidden email]
Subject: [Ibm-netrexx] Eclipse, eclipsenetrexx and Windowbuilder

Hi;

just a short report and a big "Thank you" to Bill Fenlason and Dave Woodman.

I'm a real newbie to eclipse, I useNetRexx 3.02, Eclipse  3.7 on kubuntu
and eclipsenetrexx installed two weeks ago. As Bill said Eclipse does have
a steep learning curve and lots of options (:= lot's of possibilities to
make an error). I haven't changed any options/settings, if not really
needed by now - so that's the background for the experiences below.

With Bill's README I was able to add the eclipsenetrexx plugin in a short
time, and a fiirst Hello World worked immediately.

With Dave's samples, help and patience I managed to get the Windowsbuilder
and the "bridge" to NetRexx before I went on holidays.

Two caveates where the working with the samples failed  (at least the
biggest hurdles I remember):

1) When creating a new "Java Project" Eclipse defaults to JavaSE 1.7. This
doesn't work for me. I have had to choose  "Use default JRE" which points
to "java-7-openjdk-amd64".

2) Dave told me that I have to set the classpath in each project for the
project (packages) and NetRexxC.jar. He explained also how to do that
within Eclipse, but I failed (too many options, to many possibilities...).
Instead I edited  the file ".classpath"  in the workspace of the project
with a simple text editor.

The lines added after creating a project looks like:
 
<classpathentry kind="lib"
path="/home/kapeka/workspace/Demo/src/org/netrexx"/>
                 
 <classpathentry kind="lib" path="/usr/lib/jvm/java-7-openjdk-
amd64/jre/lib/ext/NetRexxC.jar"/>


This weekend I started as homework to port a self-written GUI app to
Eclipse/eclipsenetrexx using the Windowbuilder. While doing the work some
feature requests for eclipsenetrexx came to mind.

- when modifying a netrexx file and start the compiler I have always save
the file before. For java files I can enable an "autosave feature" (and the
NetRexx plugin for jedit provides that also). So enabling "autosave" , and
course an option to disable it later,  would ba a nice-to-have.

- with jedit the NetRexx feature to just call "import javax.swing" works to
detect any class  from the javax.swing package (a leftover from pre-3.0.2
days, should be automatically imported since 3.0.2), but this seems not to
work with eclipsenetrexx. I do have to import e.g.

import javax.swing.event.HyperlinkEvent
import javax.swing.event.HyperlinkEvent.EventType
etc.

- when creating a netrexx file in a project from a package it will help to
add the package statement e.g.
(package org.netrexx)

- default compiler options would also be a nice to have ("options replace"
I have to add regulary)

- "Undo typing" is confusing. To me it's completly unpredictable, in which
editor window it happens, but usually not in the active one...????

Anyway, it's fun to explore Eclipse/NetRexx.
kp

_______________________________________________
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/

_______________________________________________
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/


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web


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