At 10:02 AM 4/12/00 -0500, you wrote:
>I am new to emacs and have downloaded the latest jde(JDE-Beta-22) with Emacs
>20.4 on
>windows NT 4.0(sp5).
>
>When I try to execute the commands jde-gen-session-bean/jde-gen-entity-bean
>I get the following error:
>Scan error "Unbalanced parentheses" 1 1
>
>Here is the full back trace of that I get:
>
>Signaling: (scan-error "Unbalanced parentheses" 1 1)
>  scan-lists(1 -1 1)
>  jde-wiz-update-implements-clause("SessionBean")
>  eval((jde-wiz-update-implements-clause "SessionBean"))
>  tempo-insert((jde-wiz-update-implements-clause "SessionBean") nil)
>  #[(elt) "�   \"�" [elt on-region tempo-insert]
>3]((jde-wiz-update-implements-clause "SessionBean"))
>  mapcar(#[(elt) "�    \"�" [elt on-region tempo-insert] 3]
>((jde-wiz-insert-imports-into-buffer (list "javax.ejb.*"
>"java.rmi.RemoteException")) (jde-wiz-update-implements-clause
>"SessionBean") (quote >) "public void ejbActivate() throws RemoteException
>\n          {" (quote n>) "}" (quote n) (quote n) (quote >) "public void
>ejbPassivate() throws RemoteException \n          {" (quote n>) "}" (quote
>n) (quote n) (quote >) "public void ejbRemove() throws RemoteException {"
>(quote n>) "}" (quote n) (quote n) (quote >) "public void
>setSessionContext(SessionContext ctx) throws\nRemoteException {" (quote n>)
>"}" (quote n) (quote n) (quote >) "public void unsetSessionContext() throws
>RemoteException {" (quote n>) "}" (quote n) (quote n)))
>  tempo-insert-template(tempo-template-ejb-session-bean nil)
>  jde-gen-session-bean(nil)
>  call-interactively(jde-gen-session-bean)
>  execute-extended-command(nil)
>* call-interactively(execute-extended-command)
>
>Any help would be appreciated.


I cannot reproduce this error. It may be that the way you indent your code
has triggered some bug in the code. I've tried the following variations

public class Test {

public class Test
{

public class Test
  implements Foo
{

The code generator works fine on all these variants on my system.

- Paul


Reply via email to