> -----Original Message-----
> From: Robert Nicholson [mailto:[EMAIL PROTECTED]]
> Sent: 2. desember 2002 12:20
> To: Aslak Hellesoy
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Middlegen-user] Something isn't working.
>
>
> There are two scenarios posted below...
>

Sorry, I didn't see that. It was so long.

> the first is when gui = true
>
> ie. it stops after middlegen (after I hit generate and quit the gui and
> the ant tasks stops) and does _NOT_ proceed to ejbdoclet after it's
> generated the jsps.
>

It looks like the VM just dies. I'm not able to reproduce this on
CVS HEAD / Ant 1.5.1 / jdk1.3.1_06 / W2K

-So I suspect this might have something to do with your MACOSX. According to
the JFrame API, the VM should not exit when a frame is closed unless
setDefaultCloseOperation(EXIT_ON_CLOSE) has been called on it earlier. I
never call that method, but maybe the MACOSX JDK behaves differently? I
couldn't find any info about this on the web either.

I have added some code in JMiddlegenFrame that installs a security manager
that disallows a VM exit. Please check it out, uncomment line 119, rebuild
middlegen and run the samples again.

If you get a security exception, I have confirmed my hypothesis, and I
should be able to fix it. Otherwise I'm clueless.

HTH,
Aslak

> the second scenario is when gui = false and then it goes the whole way
> thru.
>
> please read my comment before the beginning of the second scenario.
>
> On Monday, December 2, 2002, at 04:54  PM, Aslak Hellesoy wrote:
>



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to