Re: WOLips perhaps not building...

From: Ray Kiddy (ra..anymede.org)
Date: Sun Nov 23 2008 - 22:08:38 EST

  • Next message: Q: "Re: WOLips perhaps not building..."

    On Oct 23, 2008, at 3:42 PM, Q wrote:

    > Our internal build server it configured to build WOLips nightlies
    > and getting it to work (and keep working over time) is something of
    > an art. You need to have a couple of dependencies available that
    > you might not otherwise have installed in your day to day copy of
    > eclipse, or may not be the version currently available from the
    > update sites.
    >
    > In your case you need jprofiler, but you will also need M2E 0.9.4
    > to build successfully.
    >
    > Unless you are building a custom version of WOLips for some reason
    > I would suggest just using the nighties from the mdimension site.
    >

    I tried adding something and this, of course, requires that I build
    WOLips. I was able to do this by adding two lines to my
    wobuild.properties file:

            wolips.no.jbuilder=true
            wolips.no.maven=true

    And then the diff below. After all, are JProfiler and Maven required
    to use WOLips? I would suggest not. And if somebody wants to build
    WOLips in the usual way, they can do nothing and the default is to
    require JProfiler and Maven. Not everyone needs to use these.

    I would file a bug in the WOLips JIRA but I am not finding my login
    info. It has been too long. Would someone be willing to commit this
    very low risk code, or something like it?

    cheers - ray

    Index: wolips/jprofiler/build.xml
    ===================================================================
    --- wolips/jprofiler/build.xml (revision 5563)
    +++ wolips/jprofiler/build.xml (working copy)
    ..-9,7 +9,7 @@
             <!-- ========================================== -->
             <!-- Build all. -->
             <!-- ========================================== -->
    - <target name="all">
    + <target name="all" unless="wolips.no.jbuilder">
                     <ant dir="plugins" target="all" />
                     <ant dir="features" target="all" />
             </target>
    ..-17,7 +17,7 @@
             <!-- ========================================== -->
             <!-- Build dist. -->
             <!-- ========================================== -->
    - <target name="dist">
    + <target name="dist" unless="wolips.no.jbuilder">
                     <ant dir="plugins" target="dist" />
                     <ant dir="features" target="dist" />
             </target>
    Index: wolips/apple/plugins/build.xml
    ===================================================================
    --- wolips/apple/plugins/build.xml (revision 5563)
    +++ wolips/apple/plugins/build.xml (working copy)
    ..-8,13 +8,13 @@
             <!-- ========================================== -->
             <!-- Build all. -->
             <!-- ========================================== -->
    - <target name="all">
    + <target name="all" unless="wolips.no.maven">
                     <ant
    dir="org.objectstyle.wolips.apple.mavenintegration" target="all" />
             </target>
             <!-- ========================================== -->
             <!-- Build dist. -->
             <!-- ========================================== -->
    - <target name="dist">
    + <target name="dist" unless="wolips.no.maven">
                     <ant
    dir="org.objectstyle.wolips.apple.mavenintegration" target="dist" />
             </target>
      </project>

    > On 24/10/2008, at 2:02 AM, Ray Kiddy wrote:
    >
    >>
    >>
    >> WOLips, from a fresh checkout (r5523), is not building. I am also
    >> getting an error that prevents upgrading of the WOLips plugin
    >> stuff in eclipse (cannot find repository...).
    >>
    >> I will review the list. Perhaps there was a mandatory upgrade of
    >> something that is not mentioned on the page:
    >>
    >> http://wiki.objectstyle.org/confluence/display/WOL/Building+WOLips
    >>
    >> We'll see.
    >>
    >> cheers - ray
    >>
    >> % ant
    >> ...
    >> java:
    >> [javac] Compiling 5 source files to /Users/ray/wo/woproject/
    >> temp/classes
    >> [javac] /Users/ray/wo/woproject/wolips/jprofiler/plugins/
    >> org.objectstyle.wolips.jprofiler.launching/java/org/objectstyle/
    >> wolips/jprofiler/launching/
    >> JProfilerWOJavaLocalApplicationLaunchConfigurationDelegate.java:
    >> 57: package com.jprofiler.integrations.eclipse.internal does not
    >> exist
    >> [javac] import
    >> com.jprofiler.integrations.eclipse.internal.ProfilingSession;
    >> [javac] ^
    >> [javac] /Users/ray/wo/woproject/wolips/jprofiler/plugins/
    >> org.objectstyle.wolips.jprofiler.launching/java/org/objectstyle/
    >> wolips/jprofiler/launching/
    >> JProfilerWOJavaLocalApplicationLaunchConfigurationDelegate.java:
    >> 67: cannot find symbol
    >> [javac] symbol : class ProfilingSession
    >> [javac] location: class
    >> org.objectstyle.wolips.jprofiler.launching.JProfilerWOJavaLocalApplic
    >> ationLaunchConfigurationDelegate
    >> [javac] private ProfilingSession profilingSession;
    >> [javac] ^
    >> [javac] /Users/ray/wo/woproject/wolips/jprofiler/plugins/
    >> org.objectstyle.wolips.jprofiler.launching/java/org/objectstyle/
    >> wolips/jprofiler/launching/
    >> JProfilerWOJavaLocalApplicationLaunchConfigurationDelegate.java:
    >> 71: cannot find symbol
    >> [javac] symbol : variable ProfilingSession
    >> [javac] location: class
    >> org.objectstyle.wolips.jprofiler.launching.JProfilerWOJavaLocalApplic
    >> ationLaunchConfigurationDelegate
    >> [javac] profilingSession =
    >> ProfilingSession.createProfilingSession(this,
    >> [javac] ^
    >> [javac] Note: /Users/ray/wo/woproject/wolips/jprofiler/plugins/
    >> org.objectstyle.wolips.jprofiler.launching/java/org/objectstyle/
    >> wolips/jprofiler/launching/
    >> JProfilerWOLocalJavaApplicationTabGroup.java uses unchecked or
    >> unsafe operations.
    >> [javac] Note: Recompile with -Xlint:unchecked for details.
    >> [javac] 3 errors
    >>
    >> BUILD FAILED
    >> /Users/ray/wo/woproject/build.xml:114: The following error
    >> occurred while executing this line:
    >> /Users/ray/wo/woproject/wolips/build.xml:41: The following error
    >> occurred while executing this line:
    >> /Users/ray/wo/woproject/wolips/jprofiler/build.xml:13: The
    >> following error occurred while executing this line:
    >> /Users/ray/wo/woproject/wolips/jprofiler/plugins/build.xml:13: The
    >> following error occurred while executing this line:
    >> /Users/ray/wo/woproject/wolips/jprofiler/plugins/
    >> org.objectstyle.wolips.jprofiler.launching/build.xml:29: The
    >> following error occurred while executing this line:
    >> /Users/ray/wo/woproject/buildscripts/plugin-project.xml:30:
    >> Compile failed; see the compiler error output for details.
    >> %
    >>
    >
    >
    >
    > --
    > Seeya...Q
    >
    > Quinton Dolan - qdola..mail.com
    > Gold Coast, QLD, Australia (GMT+10)
    > Ph: +61 419 729 806
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Sun Nov 23 2008 - 22:09:27 EST