Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [pde-build-dev] Build script generation problem


Xiaoying, are you setting the baseLocation property in your build configuration build.properties?  It is not sufficient to simply have a directory named baseLocation.
Generally speaking, the convention has been to place 3rd party/binary plugins in the baseLocation.

Richard, you can set the baseLocation to point at your fallback directory.  Or, if you have a separate baseLocation, you can also set the property pluginPath to point to your fallback directory.

Note however, that your plugins directory does not necessarily take precedence over the baseLocation or the pluginPath.  If the same plug-in exists in both locations, generally the one with the higher version number will be selected.

-Andrew



"Xiaoying Gu" <xgu@xxxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx

08/15/2006 04:55 AM

Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>

To
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
cc
Subject
RE: [pde-build-dev] Build script generation problem





Hi,
 
I’ve encountered the same problem.
 
My build structure is:
 
  buildDirectory/src
   +--- maps   // contains maps checked out from CVS
   |
   +--- plugins  // contains plugins to be built
   |
   +--- features // contains features to be built
   |
   +--- baseLocation // contains pre-build components
   |      +--- plugins    // contains pre-build components plugins
   |      |
   |      +--- features  // contain pre-build components features
   |      |
When I got to the generate build script step, I got the same error like “unable to find plug-in: XXXXX_0.0.0”.
And the error log says:
….
[eclipse.buildScript] Missing required plug-in org.eclipse.datatools.sqltools.result_0.0.0.
[eclipse.buildScript] Missing required plug-in org.eclipse.debug.core_0.0.0.
[eclipse.buildScript] Missing required plug-in org.eclipse.debug.ui_0.0.0.
[eclipse.buildScript] Missing required plug-in com.ibm.icu_0.0.0.
[eclipse.buildScript] Missing required plug-in org.eclipse.datatools.sqltools.sqleditor_0.0.0.
[eclipse.buildScript] Missing required plug-in org.eclipse.jface.text_0.0.0.
[eclipse.buildScript] Missing required plug-in org.eclipse.ui_0.0.0.
[eclipse.buildScript] Missing required plug-in org.eclipse.core.resources_0.0.0.
[eclipse.buildScript] Missing required plug-in org.eclipse.core.runtime_0.0.0.
….
Should I put these plugins under baseLocation or PDE BaseBuilder??
Actually I’ve put all org.eclipse.datatools.* plugins under baseLocation, but it still appears in the missing required plug-in list. So I’m really confused…..
And another question ,  where should the 3rd party plugins be put? Under baseLocation, or src/plugins/, where contains the plugins to be built??
 
Thanks in advance!
 
-Xiaoying



From: pde-build-dev-bounces@xxxxxxxxxxx [mailto:pde-build-dev-bounces@xxxxxxxxxxx] On Behalf Of Hermansson, Richard
Sent:
Tuesday, August 15, 2006 2:50 PM
To:
pde-build-dev@xxxxxxxxxxx
Subject:
[pde-build-dev] Build script generation problem

 
 

I'm not sure if this is the right forum, please direct me to the right one if this wrong.

I want to build my feature headless using eclipse 3.1.2 (building from the PDE works fine)

The feature consists of several plugins located in the following directory structure:

buildDirectory/

        features/       - Feature(s) to be built
       
plugins/                - Plugins to be built
       
fallback/       - Plugins to be built     (Plugins that act as fallback if corresponding plugin in "plugins/" fail)

The problem occurs when executing the "eclipse.buildScript" task for a plugin in located in the "fallback" directory:

...\genericTargets.xml:74: org.eclipse.core.runtime.CoreException: Unable to find plug-in: com.sonyericsson.eclipse.clearcase_0.0.0. Please check the

 error log for more details.

If I move the plugin to the "plugins" directory, script generation works fine, but then the logic for the directory structure is broken.

How do I make "eclipse.buildScript" to resolve plugins in the "fallback" directory?

Thanks,
Richard
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev


Back to the top