Heather Buch <[EMAIL PROTECTED]> writes:

> Hello,
> 
> I don't seem to have much luck getting jde to auto-complete code within
> my package (though it will auto-complete methods from the current class,
> "this").
> 
> The beginning of my package name is "edu", and it sits in 
> 
> /var/local/https-1.0/https/tomcat/lib/apps/classes
> 
> As an example, I have a class called DatePatterns. It is in the
> following directory (which may not be what Tomcat wants, but it's worked
> ok so far):
> 
> 
>/var/local/https-1.0/https/tomcat/lib/apps/classes/edu/mit/emcc/util/DatePatterns.class
> 
> The path to my package is configured in my jde-global-classpath as
> follows:
> 
> /var/local/https-1.0/https/tomcat/lib/apps
> 
> (I have also set it as
> /var/local/https-1.0/https/tomcat/lib/apps/classes in 
> jde-global-classpath, but no luck)
This is the right setting.
Set it to this path and restart the beanshell. Check that the beanshell
classpath includes that directory /var/.../classes

Javier
> 
> Whenever I try to autocomplete on DatePatterns (or any other in my
> package, except
> the one I am currently in), I get this sort of error:
> 
>  Error: // Error: // Uncaught Exception: TargetError : at Line: 295 : in
> file: <unknown file> : jde .util .Completion .getClassInfo (
> "edu.mit.emcc.util.DatePatterns" , 0 ) 
> Target exception: java.lang.NullPointerException
>  [2 times]
> progn: Beanshell eval error. See messages buffer for details.
> No completion at this point
> if: Quit
> Auto-saving...done
> <<< Press Return to bury the buffer list >>> 
> 
> Any help would be great.
> 
> Thanks,
> -- 
> Heather

-- 
Javier S. Lopez                 
[EMAIL PROTECTED]            Forum Systems, Inc.
(781) 263-5406                  40 Williams St., Suite G20,
http://www.forumsys.com         Wellesley, MA 02481

Reply via email to