That could do it. It works by looking
if your current directory is accessible from your classpath, and
use that information to suggest a package.
Since the directory where you have your .java files is not
in the classpath(I am assuming this is the case, by what you
said) is does not suggest anything.
You could probably just add the root directory where you
keep your .java files to the jde-global-classpath variable.
Javier
-----Original Message-----
From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 20, 2001 9:51 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: jde-gen-get-package-statement
Well, I do have jde-global-classpath set up (and everything compiles and
runs just fine now). But, I have the global classpath pointing to my .class
file output directory, NOT my .java sources directory tree. Could that be
the problem?
Thanks.
Steve Molitor
[EMAIL PROTECTED]
-----Original Message-----
From: Javier Lopez [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 20, 2001 7:17 PM
To: Molitor, Stephen; [EMAIL PROTECTED]
Subject: RE: jde-gen-get-package-statement
It already does....
but you have to have the jde-global-classpath variable
set up.
Javier
-----Original Message-----
From: Molitor, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 20, 2001 2:15 PM
To: [EMAIL PROTECTED]
Subject: jde-gen-get-package-statement
Is there any way to get jde-gen-get-package statement to default to the
current package, based on the directory of the buffer relative to the root
source directory?
Thanks!
Steve Molitor
[EMAIL PROTECTED]