Re: beanshell - how to override classes from jde.jar
Pawel <[email protected]>
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Thank You Martin for detailed explanation Pawel FCC: ~/mail_folders/sent_mail_company Suraj Acharya writes: > 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> > > > > > > > > > Martin,<br><br>Thanks for pointing that out, I hadn't noticed the change.<br><br>Suraj<br><br><div><span class="gmail_quote">On 3/9/06, <b class="gmail_sendername">Martin Schwamberger</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;">Hi Pawel, hi Suraj,<br><br>this has changed with JDEE 2.3.5 > .<br>It's now an additional entry in the classpath before jde.jar<br>rather than a replacement for jde.jar.<br><br>I noticed that the doc-string of jde-devel-debug is slightly out-of-date.<br><br>To reflect the recent change, it could be something like this: > <br><br> "If true, use the JDEE Java classes in the jde/java/classes<br>directory instead of the respective classes found in jde.jar.<br>This variable is intended for use in testing the JDEE's java classes."<br> > <br>BTW, jde/java/bsh-commands is another place where you can put<br>class-files which should be used instead of those found in jde.jar.<br><br>Martin<br><br>Pawel wrote:<br>> This is what I meant.<br>> I noticed that it does not replace > jde.jar, but preceeds jde.jar path with classes path, so that's it!<br>><br>> Thanks<br>><br>><br>> Suraj Acharya writes:<br>> > Set jde-devel-debug to true, it'll replace jde.jar with jde/java/classes in > <br>> > your bsh classpath. If you still need to jde.jar to the classpath, adding it<br>> > to jde-global-classpath should help.<br>> ><br>> > Suraj<br>> ><br>> > On 3/8/06, Pawel < > <a href="mailto:[email protected]">[email protected]</a>> wrote:<br>> > ><br>> > ><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<br>> > > /java/lib/bsh.jar:/root/emacs-packages/jde-2.3.5<br>> > > /java/bsh-commands:/root/emacs-packages/jde- > 2.3.5/java/lib/checkstyle-<br>> > > 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/ > <br>> > > 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>> > ><br>> > 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"> > <br>> > On 3/8/06, <b class="gmail_sendername">Pawel</b> &lt;<a href="mailto:<a href="mailto:[email protected]">[email protected]</a>"><a href="mailto:[email protected]">[email protected]</a></a>&gt; 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>> > <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-<br>> > 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/ > <br>> > bsh.Interpreter<br><br>BeanShell 2.0b2 - by Pat Niemeyer (<a href="mailto:<a href="mailto:[email protected]">[email protected]</a>"><a href="mailto:[email protected]">[email protected]</a></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-<br>> > 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>(&quot;/root/emacs-packages/jde- > 2.3.5/java/classes&quot;)<br><br>Can You tell me how to do that?<br>> > <br><br>Greetings<br></blockquote></div><br><br>><br>><br></blockquote></div><br>