Hi, Andrew,
I’ve added
baseLocation property to the build.propertes files, but it still throw the same
exception.
I added some log info in
the genericTarget.xml before generate script target:
[echo] generating Scripts...
[echo] elements=feature@xxxxxxxxxxxxxxxx
[echo] buildDirectory=/home/adb/farrah/BIRTBuilder/../src
[echo] baseLocation=/home/adb/farrah/src/baseLocation
[echo] buildingOSGi=true
[echo] outputUpdateJars=${outputUpdateJars}
[echo] product=${product}
[echo] forceContextQualifier=v20060816-1341
[echo] generateJnlp=false
[echo] signJars=false
[echo] generateFeatureVersionSuffix=true
[echo] generateVersionsLists=true
[echo] groupConfiguration=false
[echo] pluginPath=
[eclipse.buildScript] Some
inter-plug-in dependencies have not been satisfied.
[eclipse.buildScript]
Optional plug-in org.eclipse.emf.ant_[2.2.0,3.0.0) is not availble.
[eclipse.buildScript]
Missing required plug-in org.eclipse.core.runtime_[3.2.0,4.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.emf.edit_[2.2.0,3.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.core.runtime_[3.2.0,4.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.emf.ecore_[2.2.0,3.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.emf.ecore.edit_[2.2.0,3.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.emf.ecore.xmi_[2.2.0,3.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.emf.mapping_[2.2.0,3.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.core.runtime_[3.2.0,4.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.emf.mapping.ecore2ecore_[2.2.0,3.0.0).
[eclipse.buildScript]
Missing required plug-in org.eclipse.emf.mapping.ui_[2.2.0,3.0.0).
…….
It seems that buildDirectory
and baseLocation were set to point to the right place both, and all EMF plugins
were placed under baseLocation.
Is it because “pluginPath”
property was not set? What’s difference between pluginPath and
baseLocation?
Thanks,
-Xiaoying
From:
pde-build-dev-bounces@xxxxxxxxxxx [mailto:pde-build-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Niefer
Sent: Wednesday, August 16, 2006
1:12 AM
To: Eclipse
PDE Build developers list.
Cc: Eclipse
PDE Build developers list.; pde-build-dev-bounces@xxxxxxxxxxx
Subject: 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