RE: Waiting for virtual machine to exit...

From: Schoenenberger Dominique (dominique.schoenenberge..agra.com)
Date: Fri Aug 06 2004 - 16:19:08 EDT

  • Next message: Ulrich Köster: "Re: Commit logs availability"

    I also had the problem but it's solved now.
    I found first it works with new projects created from scratch. Then I try to make my old projects working:

    I don't know exactly how but hereafter some action I performed:

    1) I change the way of compiling. I use now "external tool" in the tool bar (this seems not necessary for new projects...). I had to change the ant home for the old projects.

    2) I had a message "Could not find the main class. Program will exit". To solve this I changed my old project ".project" file:

    replace
                            <name>org.eclipse.jdt.core.javabuilder</name>
    with
                            <name>org.objectstyle.wolips.incrementalbuilder</name>

    replace (for framework)
                    <nature>org.objectstyle.wolips.antframeworknature</nature>
    with
                    <nature>org.objectstyle.wolips.incrementalframeworknature</nature>

    or for application
    replace
                    <nature>org.objectstyle.wolips.antapplicationnature</nature>
    with
                    <nature>org.objectstyle.wolips.incrementalapplicationnature</nature>

    3) I changed the .classpath. I had explicit path to the jar files in my old .classpath and I change it like this:

    replace
            <classpathentry kind="var" path="NEXT_ROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar"/>
            <classpathentry kind="var" path="NEXT_ROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar"/>
            <classpathentry kind="var" path="NEXT_ROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar"/>

    with
            <classpathentry kind="con" path="org.objectstyle.wolips.WO_CLASSPATH/JavaEOAccess/JavaEOControl/JavaFoundation"/>

    4) I removed some workspace\.metadata\.plugins\org.eclipse.debug.core\.launches:

    For example, I have 2 launch configurations for the same project: With one (the old one) I have the "Waiting for virtual machine to exit..." message and with the other one (new created, shorter) it's ok.

    Now all is compiling but my Wonder project doesn't start correctly because it failed to initialize...

    Dominique

    > -----Original Message-----
    > From: Christian Mittendorf [mailto:christian.mittendor..reenet.de]
    > Sent: Thursday, July 29, 2004 4:11 PM
    > To: WOLips
    > Subject: Re: Waiting for virtual machine to exit...
    >
    >
    > Hello,
    >
    > this problem does still appear on my machine using version
    > "eclipse_3_0_0 1.1.0.75".
    >
    > Christian
    >
    > On 27.07.2004, at 21:01, ulrich köster wrote:
    >
    > > Hi,
    > >
    > > the problem is that the virtual machine used by the ant run does not
    > > complete sometimes. Turning the build off (with the toggle button)
    > > does not
    > > solve the problem.
    > > Eclipse continues to build your classes but does not build
    > the woa or
    > > framework.
    > >
    > > It may work for a while. At least when you change your
    > eomodel you're
    > > in
    > > trouble.
    > >
    > > Does this problem occur with the latest version in the cvs?
    > >
    > > Ulrich
    > >
    > > ----- Original Message -----
    > > From: "Shelli D. Orton" <shelli.orto..mode.com>
    > > To: "Geoff Hopson" <ghopso..ac.com>
    > > Cc: <woproject-de..bjectstyle.org>
    > > Sent: Tuesday, July 27, 2004 8:36 PM
    > > Subject: RE: Waiting for virtual machine to exit...
    > >
    > >
    > >> I turned the toggle off and I can do a build without it hanging.
    > >>
    > >> Thanks!!
    > >>
    > >> Shelli
    > >>
    > >>> -----Original Message-----
    > >>> From: Geoff Hopson [mailto:ghopso..ac.com]
    > >>> Sent: Tuesday, July 27, 2004 11:51 AM
    > >>> To: Shelli D. Orton
    > >>> Cc: woproject-de..bjectstyle.org
    > >>> Subject: Re: Waiting for virtual machine to exit...
    > >>>
    > >>>
    > >>> The button is on the toolbar in the WOLIps perspective,
    > as opposed to
    > >>> on the menus.
    > >>>
    > >>> I also had this error, and following the same email you
    > found, I was
    > >>> able to get a build done.
    > >>>
    > >>> I subsequent changed all my build files to use the incremental
    > >>> builder
    > >>> as opposed to the ant builder (poke around, you'll find it - build
    > >>> properties or something), and that fixed a few things
    > when I saved a
    > >>> file and didn't see it in the build (eg changed a html
    > file, and the
    > >>> change not pushed through).
    > >>>
    > >>> I have since put the 'toggle WOBuild' button back on, and
    > have not
    > >>> had
    > >>> any issues.
    > >>>
    > >>> So maybe the problem is using the ant builder with toggle wobuild?
    > >>> Dunno, just speculating.
    > >>>
    > >>> HTH,
    > >>> Geoff
    > >>>
    > >>> On 27 Jul 2004, at 17:00, Shelli D. Orton wrote:
    > >>>
    > >>>> I have recently upgraded to Eclipse 3.0.0 and am using WOLips
    > > 1.1.0.71.
    > >>>> When I try to compile an WO app project, the build seems
    > to hang and
    > >>>> the
    > >>>> message "Waiting for virtual machine to exit..." is displayed. I
    > >>>> found a
    > >>>> post on this mailing list where someone was having the
    > same problem
    > >>>> and the
    > >>>> posted workaround was:
    > >>>>
    > >>>> ----
    > >>>>
    > >>>> This issue is present in the final version of Eclipse 3.
    > what I did
    > >>>> to
    > >>>> work around it was:
    > >>>>
    > >>>>
    > >>>> 1) Make sure the "Toggle WOBuild" button is NOT clicked.
    > >>>> 2) I go to Run -> External Tools -> Run As -> Ant Build until it
    > >>>> gives
    > >>>> me the same message "Waiting for virtual machine to
    > exit... " and I
    > >>>> click Cancel
    > >>>> 3) Click on Project -> Clean, select "Clean all projects" and
    > >>>> "Start a
    > >>>> build immediately" and click OK
    > >>>> 4) I click on the Run button and it runs perfectly
    > >>>>
    > >>>>
    > >>>> I am guessing this is a WOLips bug? At least the
    > workaround lets me
    > >>>> test
    > >>>> my app. :)
    > >>>>
    > >>>> ----
    > >>>>
    > >>>> I've looked in Windows -> Preferences and Project ->
    > Preferences and
    > >>>> could
    > >>>> not find a "Toggle WOBuild" button. Where does this
    > button exist?
    > > Has
    > >>>> anyone else run into this problem and found a solution?
    > >>>>
    > >>>> Thanks for any help.
    > >>>>
    > >>>> Shelli
    > >>>>
    > >>>
    > >>
    > >
    > >
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Aug 06 2004 - 16:18:58 EDT