Mark Johnson | 1 May 2002 07:26

Re: BeanShell error - problem solved

I misinstalled the jde files when upgrading. I apologize for wasting 
your time.

On 04/25/02, I received this from markj <at> gilanet.com:
> Paul - thanks for looking at my problem! Looks like bsh.jar is in the 
> right location:
> 
> markj <at> hotdog$ ls -l /home/markj/jde/site/jde/java/lib/bsh.jar
> -rw-r--r--    1 markj    markj      179200 Mar 11 21:45 /home/markj/jde/site/jde/java/lib/bsh.jar
> markj <at> hotdog$ /opt/j2sdk1.4.0/bin/java -classpath
/opt/j2sdk1.4.0/lib/dt.jar:/opt/j2sdk1.4.0/lib/htmlconverter.jar:/opt/j2sdk1.4.0/lib/pgjdbc2.jar:/opt/j2sdk1.4.0/lib/tools.jar:/home/markj/jde/site/jde/java/bsh-commands:/opt/j2sdk1.4.0/lib/tools.jar:/opt/jakarta/jakarta-ant/lib/ant.jar:/home/markj/jde/site/jde/java/lib/checkstyle.jar:/home/markj/jde/site/jde/java/lib/jakarta-regexp.jar:/home/markj/jde/site/jde/java/lib/jde.jar:/home/markj/jde/site/jde/java/lib/bsh.jar bsh.Interpreter
> Exception in thread "main" java.lang.NoClassDefFoundError: bsh/Interpreter
> 
> On 04/25/02, I received this from paulk <at> mathworks.com:
> > Mark Johnson writes:
> >  > I get this error whenever BeanShell tries to run.
> >  > 
> >  > Here's the *bsh* buffer contents:
> >  > ------begin *bsh*--------------- 
> >  > cd /home/markj/pollux/WEB-INF/src/pollux/login/
> >  > /opt/j2sdk1.4.0/bin/java -classpath
/opt/j2sdk1.4.0/lib/dt.jar:/opt/j2sdk1.4.0/lib/htmlconverter.jar:/opt/j2sdk1.4.0/lib/pgjdbc2.jar:/opt/j2sdk1.4.0/lib/tools.jar:/home/markj/jde/site/jde/java/bsh-commands:/opt/j2sdk1.4.0/lib/tools.jar:/opt/jakarta/jakarta-ant/lib/ant.jar:/home/markj/jde/site/jde/java/lib/checkstyle.jar:/home/markj/jde/site/jde/java/lib/jakarta-regexp.jar:/home/markj/jde/site/jde/java/lib/jde.jar:/home/markj/jde/site/jde/java/lib/bsh.jar bsh.Interpreter
> >  > 
> >  > Exception in thread "main" java.lang.NoClassDefFoundError: bsh/Interpreter
> >  > 
> > 
> > Is bsh.jar in /home/markj/jde/site/jde/java/lib/bsh.jar? If so, what happens
> > if you run the above command in a shell outside Emacs?
> > 
> > - Paul
(Continue reading)

ARTER | 1 May 2002 20:49
Picon

Re: VB ile Programlama / % 50 indirim

xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

ARTER YAYINCILIK MUHENDISLIK DANISMANLIK

 

Referanslarimizdan  bazilari:

Türk Telekom Genel Müdürlügü

Disbank Gn. Md.

Alarko Holding

Anadolu Sigorta Gn. Md.    

Telsim

Ege Üniversitesi  

Alkim Kimya Sanayii

Hema Disli ve Makina San. Tic. A.S.

DSi Antalya Böl. Md.

DSi Bursa   Böl. Md.

inönü Üniversitesi

Kombassan

……..

 

 

 

 

 

 

Amatör veya profesyonel olarak,

 

Visual Basic ile Programlama

Database

Visual Basic ve Database

 

konulari ile ilgileniyorsaniz sitemizi ziyaret ediniz.

-----------------------------------------------------

Sitemizi daha evvel ziyaret ettiyseniz,

 %50'yi asan indirimlerimizi

ve

sitemizi güncelledigimizi

 

sizlere duyurmaktan mutluyuz.

 

www.arterweb.com

 

 

Aradiginiz pek çok seyi sitemizde bulabileceksiniz.

 

ARTER YAYINCILIK MÜHENDiSLiK DANISMANLIK

 

 

 

Ed Soniat | 2 May 2002 17:12
Picon

Share your keymap for xrefactory in JDEE environment

Gentle Reader:

I use Xrefactory on linux with JDEE from a VNC client on windoz.  The
VNC client will not relinquish the function keys Xrefactory uses.  If
you have a non function key based xrefactory mapping that works well
for you in the JDEE environment sharing it would be much appreciated.

Thank you
Ed Soniat

Ed Soniat | 2 May 2002 19:51
Picon

Share your keymap for xrefactory in JDEE environment

Gentle Reader:

I use Xrefactory on linux with JDEE from a VNC client on windoz.  The
VNC client will not relinquish the function keys Xrefactory uses.  If
you have a non function key based xrefactory mapping that works well
for you in the JDEE environment sharing it would be much appreciated.

Thank you
Ed Soniat

Nic Pottier | 2 May 2002 20:35

Smarter find-tag does it exist?


Hi guys,

Just revisiting JDE after 3 years of doing C++ work and am awed at the progress it's made, good stuff!

Anyways, by far the coolest new feature is jde-complete-at-point which I'll be using constantly I
suspect, but I'm missing one other which I would think is possible but I haven't found any luck finding.

Specifically I'd like this:

When located over a method name or class, I want to be able to do a 'find-tag' like thing which is smart enough
to realize what class that method is being called on, AND load the correct one.

IE, if I have:

class A{
  public void foo(){}
}

class B{
  public void foo(){}
}

A a = new A();
B b = new B();

b.foo();

And my cursor is on a.foo() I want a 'find-tag' like thing to bring me to the source for b.foo().  (currently,
it'll bring me to A.foo instead) The java bean stuff works awesome, so I suspect this is possible, I'm just
not finding the right command.

Does this exist?  If not, how hard would it be to implement, I might be willing to spend a day doing so.

-Nic

Paul Kinnucan | 2 May 2002 21:34
Picon
Favicon

Smarter find-tag does it exist?

Nic Pottier writes:
 > 
 > Hi guys,
 > 
 > Just revisiting JDE after 3 years of doing C++ work and am awed at the progress it's made, good stuff!
 > 
 > Anyways, by far the coolest new feature is jde-complete-at-point which I'll be using constantly I
suspect, but I'm missing one other which I would think is possible but I haven't found any luck finding.
 > 
 > Specifically I'd like this:
 > 
 > When located over a method name or class, I want to be able to do a 'find-tag' like thing which is smart enough
to realize what class that method is being called on, AND load the correct one.
 > 
 > IE, if I have:
 > 
 > class A{
 >   public void foo(){}
 > }
 > 
 > class B{
 >   public void foo(){}
 > }
 > 
 > A a = new A();
 > B b = new B();
 > 
 > b.foo();
 > 
 > And my cursor is on a.foo() I want a 'find-tag' like thing to bring me to the source for b.foo().  (currently,
it'll bring me to A.foo instead) The java bean stuff works awesome, so I suspect this is possible, I'm just
not finding the right command.
 > 
 > Does this exist?  If not, how hard would it be to implement, I might be willing to spend a day doing so.
 > 

The next beta release of the JDEE will include this capability.

- Paul

System Attendant | 3 May 2002 00:08

ScanMail Message: To Recipient virus found or matched file blocki ng setting.

ScanMail for Microsoft Exchange has taken action on the message, please
refer to the contents of this message for further details.

Sender = ed <at> texas.gtri.gatech.edu
Recipient(s) = jde <at> sunsite.dk;
Subject = jde Digest 2 May 2002 22:04:36 -0000 Issue 452
Scanning Time = 05/03/2002 06:08:04
Engine/Pattern = 6.150-1001/271

Action on message:
The attachment face.bat contained WORM_KLEZ.H virus. ScanMail has taken the
Moved action.  The attachment was moved to d:\Virus\face3cd1b8c488.bat_.

Warning to recipient. ScanMail has removed  an attachment which contains
virus or blocked file type!  If this mail is from Internet, the sender don't
know his/her attachment has been removed. Please ask the send to clean and
re-send or remove the blocked attachment.

Picon

Report to Recipient(s)

Incident Information:-

Originator: jde-digest-help <at> sunsite.dk
Recipients: jde <at> sunsite.dk
Subject:    jde Digest 2 May 2002 22:04:36 -0000 Issue 452

WARNING:  The file face.bat you received was infected with the
W32/Klez.h <at> MM virus.  The file attachment was not successfully cleaned.

Randy Kerber | 3 May 2002 18:51

RE: Smarter find-tag does it exist?

Paul,

Super!...that's been at the top of my wish-list.

Suppose I have the following class hierarchy:
____________________
abstract class A extends Object
{
//  no def for foo()
}

class B extends A
{
  public void foo() {}
}

class C extends B
{
//  no def for foo()
}

class D extends C
{
  public void foo() {}
}

class E extends D
{
//  no def for foo()
}
_______________________

For the following calls to "foo()", will the command first go to
D.foo(), B.foo(), or
neither?

{
  E x = new E();
  x.foo();
}

{
  C x = new C();
  x.foo();
}

{
  C x = new D();
  x.foo();
}

{
  A x = new E();
  ( (B)x ).foo();
}

{
  Object x = new D();
  ( (C)x ).foo();
}

Will there be a "M-x next-defn" type of command, so that after visiting
D.foo() I could
proceed to B.foo(), and on up the class tree?  This would save loads of
time
now spent traversing class hierarchies looking for the right version of
foo().

Thanks for the great tools,
  Randy 
___________________
Randy Kerber

Data Mining Consultant 
 -- software development & data analysis

randy <at> techstories.com
randy <at> kerber.name 

-----Original Message-----
From: Paul Kinnucan [mailto:paulk <at> mathworks.com] 
Sent: Thursday, May 02, 2002 12:34 PM
To: Nic Pottier
Cc: jde <at> sunsite.dk
Subject: Smarter find-tag does it exist?

Nic Pottier writes:
 > 
 > Hi guys,
 > 
 > Just revisiting JDE after 3 years of doing C++ work and am awed at
the progress it's made, good stuff!  > 
 > Anyways, by far the coolest new feature is jde-complete-at-point
which I'll be using constantly I suspect, but I'm missing one other
which I would think is possible but I haven't found any luck finding.  >

 > Specifically I'd like this:
 > 
 > When located over a method name or class, I want to be able to do a
'find-tag' like thing which is smart enough to realize what class that
method is being called on, AND load the correct one.  > 
 > IE, if I have:
 > 
 > class A{
 >   public void foo(){}
 > }
 > 
 > class B{
 >   public void foo(){}
 > }
 > 
 > A a = new A();
 > B b = new B();
 > 
 > b.foo();
 > 
 > And my cursor is on a.foo() I want a 'find-tag' like thing to bring
me to the source for b.foo().  (currently, it'll bring me to A.foo
instead) The java bean stuff works awesome, so I suspect this is
possible, I'm just not finding the right command.  > 
 > Does this exist?  If not, how hard would it be to implement, I might
be willing to spend a day doing so.  > 

The next beta release of the JDEE will include this capability.

- Paul

Javier S. Lopez | 3 May 2002 20:07

Re: Smarter find-tag does it exist?


Randy,

It looks for the method in the current class first 
and then in the super class.

For example, if your are in class E, and you have the following:
E x = new E();
x.foo();
     ^ 
it will go to D.foo();

If the definition is 
C x = new C();
x.foo();
     ^ 

It will go to B.foo()

"Randy Kerber" <randy <at> techstories.com> writes:
> _______________________
> 
> For the following calls to "foo()", will the command first go to
> D.foo(), B.foo(), or
> neither?
> 
> {
>   E x = new E();
>   x.foo();
> }
D.foo()
> 
> {
>   C x = new C();
>   x.foo();
> }
B.foo()
> 
> {
>   C x = new D();
>   x.foo();
> }
D.foo()
> 
> {
>   A x = new E();
>   ( (B)x ).foo();
> }
> 
B.foo()
> {
>   Object x = new D();
>   ( (C)x ).foo();
> }
B.foo()

There is a caveat ( (C)x ).foo() does not get parse as you would expect.
in order to do what you except the code needs to be ((C)x).foo() with no spaces.

If you have the spaces it will look for the definition in the current class.

Javier
> 
> Will there be a "M-x next-defn" type of command, so that after visiting
> D.foo() I could
> proceed to B.foo(), and on up the class tree?  This would save loads of
> time
> now spent traversing class hierarchies looking for the right version of
> foo().
> 
> Thanks for the great tools,
>   Randy 
> ___________________
> Randy Kerber
>  
> Data Mining Consultant 
>  -- software development & data analysis
>  
> randy <at> techstories.com
> randy <at> kerber.name 
> 
> 
> -----Original Message-----
> From: Paul Kinnucan [mailto:paulk <at> mathworks.com] 
> Sent: Thursday, May 02, 2002 12:34 PM
> To: Nic Pottier
> Cc: jde <at> sunsite.dk
> Subject: Smarter find-tag does it exist?
> 
> 
> Nic Pottier writes:
>  > 
>  > Hi guys,
>  > 
>  > Just revisiting JDE after 3 years of doing C++ work and am awed at
> the progress it's made, good stuff!  > 
>  > Anyways, by far the coolest new feature is jde-complete-at-point
> which I'll be using constantly I suspect, but I'm missing one other
> which I would think is possible but I haven't found any luck finding.  >
> 
>  > Specifically I'd like this:
>  > 
>  > When located over a method name or class, I want to be able to do a
> 'find-tag' like thing which is smart enough to realize what class that
> method is being called on, AND load the correct one.  > 
>  > IE, if I have:
>  > 
>  > class A{
>  >   public void foo(){}
>  > }
>  > 
>  > class B{
>  >   public void foo(){}
>  > }
>  > 
>  > A a = new A();
>  > B b = new B();
>  > 
>  > b.foo();
>  > 
>  > And my cursor is on a.foo() I want a 'find-tag' like thing to bring
> me to the source for b.foo().  (currently, it'll bring me to A.foo
> instead) The java bean stuff works awesome, so I suspect this is
> possible, I'm just not finding the right command.  > 
>  > Does this exist?  If not, how hard would it be to implement, I might
> be willing to spend a day doing so.  > 
> 
> The next beta release of the JDEE will include this capability.
> 
> - Paul
> 
> 

--

-- 
Javier S. Lopez                 
jslopez <at> forumsys.com            Forum Systems, Inc.
(781) 263-5406                  40 Williams St., Suite G20,
http://www.forumsys.com         Wellesley, MA 02481


Gmane