Hm, it seems that your definition of jde-global-classpath is a bit
weird:

>  '(jde-global-classpath (quote ("$CLASSPATH
> ~/wgen/eclipse-workspace/mclass/ampNG/build/classes
> ~/wgen/eclipse-workspace/mclass/javaserver/build/classes")))

The quotes are in the wrong places, it should probably be

 '(jde-global-classpath (quote ("$CLASSPATH"
 "~/wgen/eclipse-workspace/mclass/ampNG/build/classes"
 "~/wgen/eclipse-workspace/mclass/javaserver/build/classes")))

Try changing it and see if it helps. Did you use customize-variable to
set the value? It is definitely preferable to do so rather than manually
editing the prj.el or .emacs. I'm also not 100% sure about including
$CLASSPATH in jde-global-classpath, that might not give the result you
are after.

/ Petter

> -----Original Message-----
> From: otisg [mailto:[EMAIL PROTECTED] 
> Sent: den 28 februari 2003 21:32
> To: [EMAIL PROTECTED]
> Subject: BeanShell can't find my class (jde-import-find-and-import)
> 
> 
> Hello,
> 
> I am trying to use JDE's
> jde-import-find-and-import.
> Unfortunately, JDE/BeanShell cannot find any
> class I specify, and therefore JDE cannot
> insert the import statement.
> 
> In my code I have:
>   Bar bar = new Bar();
> 
> The focus is on Foo when I invoke
> jde-import-find-and-import.
> BeanShell starts and includes this in
> -classpath argument:
> 
>   -classpath
> ~/wgen/eclipse-workspace/mclass/ampNG/build/classes
> 
> This is the directory where Bar class is:
> ~/wgen/eclipse-workspace/mclass/ampNG/build/classes/foo/Bar.class
> 
> So how come BeanShell cannot find it?
> Where is it looking for my class?
> 
> Thank you,
> Otis
> P.S.
> I have the following JDE variables defined:
> 
>  '(jde-global-classpath (quote ("$CLASSPATH
> ~/wgen/eclipse-workspace/mclass/ampNG/build/classes
> ~/wgen/eclipse-workspace/mclass/javaserver/build/classes")))
>  '(jde-sourcepath (quote
> ("~/wgen/eclipse-workspace/mclass/javaserver/src/java"
> "~/wgen/eclipse-workspace/mclass/javaserver/web/src/java"
> "~/wgen/eclipse-workspace/mclass/amp/web/src/java"
> "~/wgen/eclipse-workspace/mclass/ampNG/web/src/java"
> "~/wgen/eclipse-workspace/mclass/reading/src/java"
> "~/wgen/eclipse-workspace/mclass/reading/web/src/java"
> "~/wgen/eclipse-workspace/mclass/rigby/src/java"
> "~/wgen/eclipse-workspace/mclass/rigby/web/src/java")))
> 
> 
> ________________________________________________
> Get your own "800" number
> Voicemail, fax, email, and a lot more
> http://www.ureach.com/reg/tag
> 

Reply via email to