Re: [groovy-dev] Problems in building groovy eclipse plugin from source

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [groovy-dev] Problems in building groovy eclipse plugin from source

Andrew Eisenberg-2
Ajay,

Please send all future questions of this nature to the
eclipse-plugin-dev mailing list.

Your problem has nothing to do with a duplicate jdt bundle.  Rather,
your problem is that there are a bunch of missing required bundles.
You need to trace back the missing bundles to the source:

[java] [eclipse.buildScript]     Missing required plug-in
org.eclipse.jdt.ui_3.5.0
[java] [eclipse.buildScript]     Missing required plug-in
org.eclipse.ui.workbench.texteditor_3.5.0.
[java] [eclipse.buildScript]     Missing required plug-in
org.eclipse.ui.editors_3.5.0.

These might be the base plugins that you are missing.  You said that
you are using Eclipse 3.4.  I hope that you are using it only to drive
the build, rather than to build against.  Ie- your plugin path should
be 3.5, but your eclipse executable (and associated classpath) must be
3.4.

On Fri, Dec 11, 2009 at 2:01 AM, Ajay Rathore <[hidden email]> wrote:

> Hi Everyone,
>
> I am trying to build groovy features from source code using groovy plugin
> builder, i am using eclipse rcp ganymede 3.4 for this and have changed
> build_local.properties accordingly. My build_local.properties looks like
> this:-
>
>
> ########################################################################
>
> workDir=/home/ajay/Groovy-Plugin-Source-Oct11/trunk
>
>
> # The location of this pluginbuilder project. It provides the base directory
> for the build scripts.
> # @category localsettings
> # @type Directory
> buildHome=/home/ajay/Groovy-Plugin-Source-Oct11/trunk/ide/org.codehaus.groovy.eclipse.pluginbuilder
>
> # The directory where the build takes place. This directory WILL BE DELETED
> before every build.
> # @category localsettings
> # @type Directory
> buildDirectory=${workDir}/build
>
> # The eclipse build host. Must be an Eclipse 3.4 SDK installation with JDT
> and PDE. And in the case of RCP builds the RCP Delta Pack must be included,
> too.
> # @category localsettings
> # @type Directory
> eclipseDir=/home/ajay/Desktop/eclipse
>
> # Environment for the build host.  Do not change these.
> os=*
> ws=*
> arch=*
>
> # Environment for the test host.  Change to your local environment
> #test_os=linux
> #test_ws=gtk
> #test_arch=x86_64
> test_os=linux
> test_ws=gtk
> test_arch=x86
>
> eclipse.local.tar.non.server=/home/ajay/Desktop/eclipse-SDK-3.4.2-linux-gtk.tar.gz
>
>
> # location to install the downloaded eclipse into
> eclipse.installation.dir=${workDir}/build/automatedTests
>
> # svn support
> pluginbuilder.svn.user=empty
> pluginbuilder.svn.password=empty
>
> # uncomment if no clean should be performed before build (saves lots of
> time)
> #do.not.clean=true
>
> # set to false if there should be no svn checkout
> # and instead copy from the workspace specified below
> pluginbuilder.is.svn=false
>
> # Set this property to be the workspace where a
> # full source version of the groovy-eclipse plugin
> # can be found.  This is used instead of fetching from svn
> # @type Directory
> workspaceDirBase=${workDir}/base
> workspaceDirBaseTest=${workDir}/base-test
> workspaceDirIde=${workDir}/ide
> workspaceDirIdeTest=${workDir}/ide-test
>
> # Run the tests after the build
> isRunTests=true
>
>
> # N for nightly
> # I for integration
> # M for milestone
> # R for release
> buildType=M
>
> buildTypePresentation=e35
>
> # Leave blank to avoid publishing (eg- local builds where publishing is not
> necessary)
> publishLocation=/home/ajay/groovy-build/e35
>
> ###################################################################################
>
> However during build i am getting the following EXCEPTION -
>
>
>
> [java] [eclipse.buildScript] Some inter-plug-in dependencies have not been
> satisfied.
>      [java] [eclipse.buildScript] Bundle org.eclipse.jdt.core:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.eclipse.jdt.core_3.5.1.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.junit.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_2.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codeassist.completion:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.editors_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codebrowsing_2.0.0.
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.eclipse.ui:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ltk.core.refactoring_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ltk.ui.refactoring_3.4.100.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.jdt.core.manipulation_1.3.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.refactoring_2.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.browser_3.2.300.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codebrowsing.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codeassist.completion_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codebrowsing_1.6.3.
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.eclipse.tests:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.console_3.4.0.
>      [java] [eclipse.buildScript] Bundle
> org.eclipse.jdt.groovy.core.tests.builder:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.eclipse.jdt.groovy.core.tests.builder_3.3.100.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.cstviewer:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.astviews:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codeassist.completion.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codeassist.completion_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_2.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.core.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_0.0.0.
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.alltests:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.refactoring.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.junit.test_1.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codeassist.completion.test_1.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codebrowsing.test_1.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codebrowsing:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.refactoring.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.refactoring_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_2.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.editors_3.5.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.refactoring:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.jdt.ui_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.workbench.texteditor_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.editors_3.5.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.junit.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_2.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codeassist.completion:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.editors_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codebrowsing_2.0.0.
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.eclipse.ui:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ltk.core.refactoring_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ltk.ui.refactoring_3.4.100.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.jdt.core.manipulation_1.3.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.refactoring_2.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.browser_3.2.300.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codebrowsing.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codeassist.completion_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codebrowsing_1.6.3.
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.eclipse.core:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.codehaus.groovy.eclipse.core_2.0.0.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.eclipse.ant:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.codehaus.groovy.eclipse.ant_2.0.0.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.eclipse.tests:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.console_3.4.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.cstviewer:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.eclipse:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.codehaus.groovy.eclipse_2.0.0.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle org.eclipse.jdt.core:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.eclipse.jdt.core_3.5.1.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.astviews:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codeassist.completion.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codeassist.completion_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_2.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.core.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_0.0.0.
>      [java] [eclipse.buildScript] Bundle org.codehaus.groovy.alltests:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.core.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.refactoring.test_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_1.6.3.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.junit.test_1.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codeassist.completion.test_1.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.codebrowsing.test_1.0.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.codebrowsing:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript] Bundle org.eclipse.jdt.groovy.core:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.eclipse.jdt.groovy.core_1.0.0.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.refactoring.test:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.ui_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.refactoring_0.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.codehaus.groovy.eclipse.tests_2.0.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.editors_3.5.0.
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.core.help:
>      [java] [eclipse.buildScript]     Another singleton version selected:
> org.codehaus.groovy.eclipse.core.help_2.0.0.xx-20091211-0100-e35
>      [java] [eclipse.buildScript] Bundle
> org.codehaus.groovy.eclipse.refactoring:
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.jdt.ui_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.workbench.texteditor_3.5.0.
>      [java] [eclipse.buildScript]     Missing required plug-in
> org.eclipse.ui.editors_3.5.0.
>
>
>
> I believe that this exception is coming because there is  a jdt core plugin
> as part of groovy source code which is conflicting with target eclipse jdt
> core plugin.
>
> Is there any work around this problem?
>
>
> Thanks,
> Ajay
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email