Re: beanshell - how to override classes from jde.jar
"Suraj Acharya" <[email protected]>
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Martin, Thanks for pointing that out, I hadn't noticed the change. Suraj On 3/9/06, Martin Schwamberger <[email protected]> wrote: > > Hi Pawel, hi Suraj, > > this has changed with JDEE 2.3.5. > It's now an additional entry in the classpath before jde.jar > rather than a replacement for jde.jar. > > I noticed that the doc-string of jde-devel-debug is slightly out-of-date. > > To reflect the recent change, it could be something like this: > > "If true, use the JDEE Java classes in the jde/java/classes > directory instead of the respective classes found in jde.jar. > This variable is intended for use in testing the JDEE's java classes." > > BTW, jde/java/bsh-commands is another place where you can put > class-files which should be used instead of those found in jde.jar. > > Martin > > Pawel wrote: > > This is what I meant. > > I noticed that it does not replace jde.jar, but preceeds jde.jar path > with classes path, so that's it! > > > > Thanks > > > > > > Suraj Acharya writes: > > > Set jde-devel-debug to true, it'll replace jde.jar with > jde/java/classes in > > > your bsh classpath. If you still need to jde.jar to the classpath, > adding it > > > to jde-global-classpath should help. > > > > > > Suraj > > > > > > On 3/8/06, Pawel <[email protected]> wrote: > > > > > > > > > > > > Hallo > > > > when I'm running beanshell I get the following classpath: > > > > cd /home/java/ > > > > /usr/java/jdk1.5.0_06/bin/java -classpath /root/emacs-packages/jde- > 2.3.5 > > > > /java/lib/bsh.jar:/root/emacs-packages/jde-2.3.5 > > > > /java/bsh-commands:/root/emacs-packages/jde-2.3.5 > /java/lib/checkstyle- > > > > > all.jar:/root/emacs-packages/jde-2.3.5/java/lib/jakarta-regexp.jar:/root/emacs-packages/jde-2.3.5/java/lib/jde.jar:/usr/java/jdk1.5.0_06/lib/tools.jar:/root/emacs-packages/jde-2.3.5/plugins/usages/classes:/root/emacs-packages/jde-2.3.5/plugins/usages/lib/usages.jar:/home/java/ > > > > bsh.Interpreter > > > > > > > > BeanShell 2.0b2 - by Pat Niemeyer ([email protected]) > > > > bsh % bsh % bsh % bsh % bsh % bsh % bsh % > > > > > > > > I want to put additional path before jde.jar, it is: > > > > /root/emacs-packages/jde-2.3.5/java/classes > > > > > > > > I tried to modify `bsh-classpath', but it did not make the effect. > > > > > > > > bsh-classpath's value is > > > > ("/root/emacs-packages/jde-2.3.5/java/classes") > > > > > > > > Can You tell me how to do that? > > > > > > > > Greetings > > > > > > > Set jde-devel-debug to true, it'll replace jde.jar with > jde/java/classes in your bsh classpath. If you still need to jde.jar to > the classpath, adding it to jde-global-classpath should > help.<br><br>Suraj<br><br><div><span class="gmail_quote"> > > > On 3/8/06, <b class="gmail_sendername">Pawel</b> <<a href="mailto: > [email protected]">[email protected]</a>> wrote:</span><blockquote > class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); > margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> > > > <br>Hallo<br>when I'm running beanshell I get the following > classpath:<br>cd /home/java/<br>/usr/java/jdk1.5.0_06/bin/java -classpath > /root/emacs-packages/jde-2.3.5/java/lib/bsh.jar:/root/emacs-packages/jde- > 2.3.5/java/bsh-commands:/root/emacs-packages/jde- > > > 2.3.5/java/lib/checkstyle- > all.jar:/root/emacs-packages/jde-2.3.5/java/lib/jakarta-regexp.jar:/root/emacs-packages/jde-2.3.5/java/lib/jde.jar:/usr/java/jdk1.5.0_06/lib/tools.jar:/root/emacs-packages/jde-2.3.5/plugins/usages/classes:/root/emacs-packages/jde-2.3.5/plugins/usages/lib/usages.jar:/home/java/ > > > bsh.Interpreter<br><br>BeanShell 2.0b2 - by Pat Niemeyer (<a > href="mailto:[email protected]">[email protected]</a>)<br>bsh % bsh % bsh % bsh % bsh > % bsh % bsh %<br><br>I want to put additional path before jde.jar, it > is:<br>/root/emacs-packages/jde- > > > 2.3.5/java/classes<br><br>I tried to modify `bsh-classpath', but it > did not make the effect.<br><br>bsh-classpath's value > is<br>("/root/emacs-packages/jde-2.3.5/java/classes")<br><br>Can > You tell me how to do that? > > > <br><br>Greetings<br></blockquote></div><br> > > > > >