Problems with 'The NetRexx Language' book

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

Problems with 'The NetRexx Language' book

Mike Cowlishaw-2
The import instruction should work as advertised.   Try running with options
'-verbose5 -diag' -- this will show the classpath segments as seen by NetRexxC
and also list packages recognized.  If the problem isn't obvious, please mail
me the result of running with those options.

Mike Cowlishaw
IBM Fellow, IBM UK Laboratories
[hidden email]   [http://www2.hursley.ibm.com]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Problems with 'The NetRexx Language' book

dIon Gillard/Multitask Consulting/AU
At 11:28 22/01/98 +0000, you wrote:
>The import instruction should work as advertised.   Try running with options
>'-verbose5 -diag' -- this will show the classpath segments as seen by
NetRexxC
>and also list packages recognized.  If the problem isn't obvious, please mail
>me the result of running with those options.
Ok....here's my analysis of the problem: I'm stuffed if I know why it's not
working.

When importing com.sun.java.swing. NetRexxC does an AddPackage for the
correct packages, and adds 300 odd classes. But then can't find one of the
classes.

This is very easy to replicate.

/* */
import com.sun.java.swing.

t = TreeListener

And you'll need the swing jar's installed...
dIon Gillard
Sun Certified Java 1.1 Programmer
Work: http://www.multitask.com.au
NetRexx: http://www.multitask.com.au/netrexx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>