Re: Ant problem in WOLips

From: Sako! (webobject..tcc.datos.de)
Date: Wed Sep 08 2004 - 07:36:30 EDT

  • Next message: Sako!: "Re: Ant problem in WOLips"

    thank you for Answering Ulrich,

    but this is what i dont understand.

    I checked the VM setts must be correct, cos i can run WO applications in WOLips.
    as much as i understodd the problem is in Ant!

    first, maybe is helpfull to tell how my computer looks like:

    --------------------------------------------
    1. i have uder "D:\Eclipse_2_1_3" Eclipse 2.1.3, i can run WO Apps but not compile.
    2. under "D:\Eclipse_3_0" i have Eclipse 3.0 with WOLips Beta 3 it still workS fine and compiles
    3. i thought if i run another Eclipse i will solve my problem so i have under
        "D:\Eclipse_2_1_3_New" Eclipse 2.1.3 wiht WOLips, it can runs Apps but not compiling.
    --------------------------------------------
    i did the folowing also:
    1. i checked the org.apache.tools.ant.Task class, it is already in the Ant.jar
    2. i tried to use the 1.6.1 Ant version which comes with Eclipse 3.0. Didnt help.
    3. i downloaded the Ant 1.6.2 version and tried to use it with Eclipse "D:\Eclipse_2_1_3" Eclipse 2.1.3. This also didnt help.
    4. i save everywhile my Eclipse Preferences with exporting them. i tried to import old Preferences. also didnt help :(
    --------------------------------------------

    maybe its helpful to give me a hint which VM settings should i check in Eclipse? cos i wonder how can i run an Application if the setts are worng?

    Regards.

    Sako.

      ----- Original Message -----
      From: Ulrich Köster
      To: WOLips <woproject-de..bjectstyle.org>
      Sent: Wednesday, September 08, 2004 9:44 AM
      Subject: Re: Ant problem in WOLips

      Hi Sako,

      make sure that the VM settings are correct in the Eclipse preferences. After that restore the defaults for the ant runtime preferences.

      Ulrich

      Am 07.09.2004 um 15:51 schrieb Sako!:

        this is the problem:
        WOLips: Could not find one or more classes: "org.apache.tools.ant.Task". Please check the Ant classpath.
         
        what is the solution? the Task.class is already in the jar file under
            "\Eclipse_2_1_3\plugins\org.apache.ant_1.5.3\ant.jar"
        and this jar is in the Eclipse Menu: Windows|performences|Ant|Runtime|Runtime Classpath|
         
        Regards.
        ----- Original Message -----
        From: Sako!
        To: WOLips
        Sent: Tuesday, September 07, 2004 2:41 PM
        Subject: Ant problem in WOLips

         
        hello,
         
        as much as i know, i installed the new java sdk.
        j2sdk1.4.2_05 and uninstalled the j2sdk1.4.2_04.
         
        maybe i did something els, but NOT with Ant.
        know i get get this error in the log file of Eclipse
        i use Eclipse 2.1.3 / WOLipse 1.0.7.50
        help please?
         
        thanks.
        Sako.
         
        ---------------------------------------------------------------------
        !SESSION Sep 07, 2004 14:39:50.599 ---------------------------------------------
        java.version=1.4.2_05
        java.vendor=Sun Microsystems Inc.
        BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
        Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/Eclipse_2_1_3/
        !ENTRY org.eclipse.ant.core 4 1 Sep 07, 2004 14:39:50.599
        !MESSAGE Could not find one or more classes: "org.apache.tools.ant.Task". Please check the Ant classpath.
        !STACK 0
        java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at org.eclipse.ant.internal.core.AntClassLoader.loadClassURLs(AntClassLoader.java:78)
         at org.eclipse.ant.internal.core.AntClassLoader.loadClass(AntClassLoader.java:54)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at org.eclipse.ant.internal.core.AntClassLoader.loadClassURLs(AntClassLoader.java:78)
         at org.eclipse.ant.internal.core.AntClassLoader.loadClass(AntClassLoader.java:54)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at org.eclipse.ant.internal.core.ant.InternalAntRunner.setTasks(InternalAntRunner.java:242)
         at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:550)
         at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
         at org.objectstyle.wolips.core.project.ant.RunAnt.asAnt(RunAnt.java:140)
         at org.objectstyle.wolips.core.project.ant.RunAnt.asAnt(RunAnt.java:111)
         at org.objectstyle.wolips.projectbuild.builder.WOAntBuilder.execute(WOAntBuilder.java:193)
         at org.objectstyle.wolips.projectbuild.builder.WOAntBuilder.build(WOAntBuilder.java:139)
         at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:427)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
         at org.eclipse.core.runtime.Platform.run(Platform.java:413)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:125)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:181)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)
         at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:151)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
         at org.eclipse.core.runtime.Platform.run(Platform.java:413)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:165)
         at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:265)
         at org.eclipse.core.internal.resources.Project.build(Project.java:85)
         at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:156)
         at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:122)
         at org.eclipse.ui.actions.WorkspaceAction$1.execute(WorkspaceAction.java:279)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

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



    This archive was generated by hypermail 2.0.0 : Wed Sep 08 2004 - 07:47:52 EDT