Thanks, Paul... I have now setup 2.4.0.1 and find jde-gen-class to indeed work 
fine.

A minor note regarding an abstract parent-class [or interface] if specified:
If I actually specify a class-to-extend at the 'extends:' prompt, then:
1. the "... extends MyAbstract ..." DOES appear in the new class' declaration
// which is fine!

2a. implementation-stubs for the abstract methods in MyAbstract do *NOT* appear 
in the body of the new class
// which could be a little better - since 'extend' is used in the prompts that 
jde-gen-class creates,
// it would be nice to have the jde-wiz-extend-abstract-class functionality 
kick in *if* the specified 'parent' class is abstract
// - just a thought! :)

2b similarly, if an interface is being implemented, 'stubs' for the Interface's 
methods would be nice to have.

Livin Stephen Sharma
[email protected]



On Jan 22, 2010, at 09:01:28 , Paul Landes wrote:

> Hi Livin,
> 
> This has been fixed on the 2.4.0 branch and 2.4.0.1 packages have been 
> uploaded to the sourceforge site.  The change has been made on the trunk as 
> well.
> 
> Thanks for finding this and telling us about it!
> 
> 
> On Jan 15, 2010, at 8:27 AM, Livin Stephen Sharma wrote:
> 
>> jde-gen-class seems to be broken for me on jdee 2.4.0.0 [released] and emacs 
>> 23.1.50.1 on Mac OS 10.6.2
>> 
>> I get this:
>>> byte-code: Invalid function: " * Describe class "
>> 
>> 
>> 
>> 
>> 
>> I was trying to see if there was any improvement in 
>> 'jde-wiz-extend-abstract-class'.
>> [which did not work for me on a previous 2-month old build - and in fact 
>> still doesn't]
>> 
>> 
>> Also, i'd like to know if there are any updates on the previous 
>> jde-wiz-extend-abstract-class thread/mail [see quoted text below below]?
>> 
>> @Paul Landes,
>>  I tried the *jdee bsh* step and found that
>>  if I type packagename.ClassName.class RET, there is no output
>>  if I use only ClassName.class RET, I get this error:
>> // Error: EvalError: Class: ClassName not found in namespace : at Line: 39 : 
>> in file: <unknown file> : ClassName 
>> 
>> In both case i have to hit enter *twice* to get bsh to process my input [or 
>> at least return any output!]
>> 
>> 
>> this is the previous email i mentioned / asked about above:
>> 
>>> Message: 8
>>> Date: Sun, 10 Jan 2010 23:41:03 -0600
>>> From: Paul Landes <[email protected]>
>>> Subject: Re: [jdee-users] jde-wiz-extend-abstract-class
>>> To: James L?pez <[email protected]>
>>> Cc: JDEE Users <[email protected]>
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>>> 
>>> You say the classpath is fine but it looks to be that 'MyClass' isn't  
>>> in the classpath, which is defined with variable jde-global-classpath.
>>> 
>>> When you go to the *JDEE bsh* buffer and type "MyClass.class", what is  
>>> the output?
>>> 
>>> 
>>> On Jan 9, 2010, at 8:25 AM, James L?pez wrote:
>>> 
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>> 
>>>> Hello,
>>>> 
>>>> I'm having troubles with jde-wiz-extend-abstract-class, I don't know
>>>> exactly why, since my last SVN update I can implement an interface  
>>>> right
>>>> but this function gives me the following error:
>>>> Target exception: java.lang.NoClassDefFoundError: MyClass
>>>> 
>>>> (I'm using emacs 22.3.1 with jde 2.4.0 svn)
>>>> ...
>>>> 
>>>>       at bsh.BSHTryStatement.eval(Unknown Source)
>>>> 
>>>>       at bsh.BSHBlock.evalBlock(Unknown Source)
>>>> at bsh.BSHBlock.eval(Unknown Source) [2 times]
>> 
>> 
>> 
>> Livin Stephen Sharma
>> [email protected]
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for 
>> Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev_______________________________________________
>> jdee-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jdee-users
> 

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to