Now I am frustrated...

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

Now I am frustrated...

Dave Woodman

Or maybe I am just being thick...

 

In jEdit, using the NetREXXDE plugin, with the 3.01RC2 NetRexxC.jar or the bundled jar

 

Compiling

 

class test

                method main(args = String[]) static

                                arglist = Rexx(args)

                                say arglist

 

Gives me “Error: Variable or type expected” at String[]

 

Changing to

 

class test

                method main(args = java.lang.String[]) static

                                arglist = Rexx(args)

                                say arglist

 

 

results in “Error: The method 'Rexx(java.lang.String[])' cannot be found in class 'test' or a superclass.” Importing java.lang instead of making it explicit yields the same result.

 

It works under the Eclipse plugin, and it works with NetRexxScript it also works.

 

A few sleepless nights courtesy of the kids – my brain may well be firing on a less than optimal cylinder count, so, what am I missing?

 

Expecting a “Doh” moment...

 

                Dave.

 

 


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

Reply | Threaded
Open this post in threaded view
|

Re: Now I am frustrated...

Patric Bechtel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dave,

I bet there's a strictimport somewhere in your compiler options.

doh?

Dave Woodman schrieb am 29.02.2012 00:52:

>
> method main(args = String[]) static
>
> arglist = Rexx(args)
>
> Gives me “Error: Variable or type expected” at String[]
>
> class test
>
> method main(args = java.lang.String[]) static
>
> arglist = Rexx(args)
>
> results in “Error: The method 'Rexx(java.lang.String[])' cannot be
> found in class 'test' or a superclass.” Importing java.lang instead
> of making it explicit yields the same result.
>
> It works under the Eclipse plugin, and it works with NetRexxScript
> it also works.
>
> A few sleepless nights courtesy of the kids – my brain may well be
> firing on a less than optimal cylinder count, so, what am I
> missing?
>
> Expecting a “Doh” moment...

- --
cu, Patric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: GnuPT 2.5.2

iEYEARECAAYFAk9NcAQACgkQfGgGu8y7ypD55ACeKTIsKB6LlvVc7QBLx8YL4xJf
A8AAoPKChTuIBvuGJRfAzjEGiVXxeWbM
=+5en
-----END PGP SIGNATURE-----

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

Reply | Threaded
Open this post in threaded view
|

Re: Now I am frustrated...

Robert L Hamilton
In reply to this post by Dave Woodman
-- the following saved as test_2.nrx compiles ok in netrexxDE.
--BobH
class test_2

                method main(args = String[]) static

                                arglist = Rexx(args)

                                say arglist

On Tue, Feb 28, 2012 at 5:52 PM, Dave Woodman <[hidden email]> wrote:

Or maybe I am just being thick...

 

In jEdit, using the NetREXXDE plugin, with the 3.01RC2 NetRexxC.jar or the bundled jar

 

Compiling

 

class test

                method main(args = String[]) static

                                arglist = Rexx(args)

                                say arglist

 

Gives me “Error: Variable or type expected” at String[]

 

Changing to

 

class test

                method main(args = java.lang.String[]) static

                                arglist = Rexx(args)

                                say arglist

 

 

results in “Error: The method 'Rexx(java.lang.String[])' cannot be found in class 'test' or a superclass.” Importing java.lang instead of making it explicit yields the same result.

 

It works under the Eclipse plugin, and it works with NetRexxScript it also works.

 

A few sleepless nights courtesy of the kids – my brain may well be firing on a less than optimal cylinder count, so, what am I missing?

 

Expecting a “Doh” moment...

 

                Dave.

 

 


_______________________________________________
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: Now I am frustrated...

Dave Woodman
In reply to this post by Patric Bechtel
Oh how I wish it were that simple -  I should have mentioned that had
checked that, and I should have also said that the options in use from the
(java.keep when the source is modified to make it compile) is

        Options: Compact Crossref Decimal Java Logo Trace2 Verbose3

So no "Doh!" Or at least not here.



-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Patric Bechtel
Sent: 29 February 2012 00:24
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Now I am frustrated...

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dave,

I bet there's a strictimport somewhere in your compiler options.

doh?

Dave Woodman schrieb am 29.02.2012 00:52:

>
> method main(args = String[]) static
>
> arglist = Rexx(args)
>
> Gives me "Error: Variable or type expected" at String[]
>
> class test
>
> method main(args = java.lang.String[]) static
>
> arglist = Rexx(args)
>
> results in "Error: The method 'Rexx(java.lang.String[])' cannot be
> found in class 'test' or a superclass." Importing java.lang instead of
> making it explicit yields the same result.
>
> It works under the Eclipse plugin, and it works with NetRexxScript it
> also works.
>
> A few sleepless nights courtesy of the kids - my brain may well be
> firing on a less than optimal cylinder count, so, what am I missing?
>
> Expecting a "Doh" moment...

- --
cu, Patric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: GnuPT 2.5.2

iEYEARECAAYFAk9NcAQACgkQfGgGu8y7ypD55ACeKTIsKB6LlvVc7QBLx8YL4xJf
A8AAoPKChTuIBvuGJRfAzjEGiVXxeWbM
=+5en
-----END PGP SIGNATURE-----

_______________________________________________
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: Now I am frustrated...

Dave Woodman
In reply to this post by Robert L Hamilton

The plot thickens...

 

Time, perhaps, to start all over again in installation land

 

Off with its head!

 

                Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Robert Hamilton
Sent: 29 February 2012 03:45
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Now I am frustrated...

 

-- the following saved as test_2.nrx compiles ok in netrexxDE.
--BobH
class test_2

                method main(args = String[]) static

                                arglist = Rexx(args)

                                say arglist

On Tue, Feb 28, 2012 at 5:52 PM, Dave Woodman <[hidden email]> wrote:

Or maybe I am just being thick...

 

In jEdit, using the NetREXXDE plugin, with the 3.01RC2 NetRexxC.jar or the bundled jar

 

Compiling

 

class test

                method main(args = String[]) static

                                arglist = Rexx(args)

                                say arglist

 

Gives me “Error: Variable or type expected” at String[]

 

Changing to

 

class test

                method main(args = java.lang.String[]) static

                                arglist = Rexx(args)

                                say arglist

 

 

results in “Error: The method 'Rexx(java.lang.String[])' cannot be found in class 'test' or a superclass.” Importing java.lang instead of making it explicit yields the same result.

 

It works under the Eclipse plugin, and it works with NetRexxScript it also works.

 

A few sleepless nights courtesy of the kids – my brain may well be firing on a less than optimal cylinder count, so, what am I missing?

 

Expecting a “Doh” moment...

 

                Dave.

 

 


_______________________________________________
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: Now I am frustrated... - plugin interaction

Dave Woodman

Well, I have made the problem go away by removing  the Completion plugin.

 

Now all is well, and the “Doh” is spared.

 

As to why the plugin conflicts – another day...

 

                Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Dave Woodman
Sent: 29 February 2012 06:45
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] Now I am frustrated...

 

The plot thickens...

 

Time, perhaps, to start all over again in installation land

 

Off with its head!

 

                Dave

 

From: [hidden email] [[hidden email]] On Behalf Of Robert Hamilton
Sent: 29 February 2012 03:45
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Now I am frustrated...

 

-- the following saved as test_2.nrx compiles ok in netrexxDE.
--BobH
class test_2

                method main(args = String[]) static

                                arglist = Rexx(args)

                                say arglist

On Tue, Feb 28, 2012 at 5:52 PM, Dave Woodman <[hidden email]> wrote:

Or maybe I am just being thick...

 

In jEdit, using the NetREXXDE plugin, with the 3.01RC2 NetRexxC.jar or the bundled jar

 

Compiling

 

class test

                method main(args = String[]) static

                                arglist = Rexx(args)

                                say arglist

 

Gives me “Error: Variable or type expected” at String[]

 

Changing to

 

class test

                method main(args = java.lang.String[]) static

                                arglist = Rexx(args)

                                say arglist

 

 

results in “Error: The method 'Rexx(java.lang.String[])' cannot be found in class 'test' or a superclass.” Importing java.lang instead of making it explicit yields the same result.

 

It works under the Eclipse plugin, and it works with NetRexxScript it also works.

 

A few sleepless nights courtesy of the kids – my brain may well be firing on a less than optimal cylinder count, so, what am I missing?

 

Expecting a “Doh” moment...

 

                Dave.

 

 


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