Troubles with eclipse.buildScript and versions of dependent plugins [message #281348] |
Fri, 18 February 2005 23:27 |
Larry Messages: 26 Registered: July 2009 |
Junior Member |
|
|
In 3.1.0_200409240800, I'm using this:
<?xml version="1.0" encoding="UTF-8"?>
<project name="ant" default="buildOne" basedir=".">
<property name="bootclasspath" value=""/>
<property name="basews" value="${ws}"/>
<property name="baseos" value="${os}"/>
<property name="basearch" value="${arch}"/>
<property name="basenl" value="${nl}"/>
<property name="javacFailOnError" value="true"/>
<property name="javacDebugInfo" value="on"/>
<property name="javacVerbose" value="true"/>
<property name="javacSource" value="1.4"/>
<property name="javacTarget" value="1.4"/>
<property name="compilerArg" value=""/>
<!-- advance this manually, with the manifest version -->
<target name="buildOne">
<eclipse.buildScript buildDirectory="c:/workspace/RUNTIME"
elements="plugin@RUNTIME" buildingOSGI="true"/>
</target>
</project>
to generate a build script from this:
<plugin
name = "%pluginName"
id = "runtime"
version = "1.0.0"
provider-name = "%providerName">
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.emf.codegen.ecore"/>
<import plugin="org.eclipse.emf.ecore"/>
<import plugin="org.eclipse.emf.ecore.edit"/>
<import plugin="org.eclipse.emf.ecore.xmi"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.xsd"/>
<import plugin="org.eclipse.core.resources"/>
</requires>
<runtime>
<library name="runtime/runtime.jar">
<export name="*"/>
</library>
<library name="commons-jxpath-1.1.jar">
</library>
</runtime>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri = "http://www..com//2005/runtime"
class = "runtime.RuntimePackage" />
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri = "http:////runtime/adapter.ecore"
class = "runtime.adapter.AdapterPackage" />
</extension>
</plugin>
and I get this:
!ENTRY org.eclipse.pde.build 2 1 Feb 18, 2005 15:14:08.456
!MESSAGE Some inter-plug-in dependencies have not been satisfied.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.core.runtime_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.emf.codegen.ecore_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.emf.ecore_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.emf.ecore.edit_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.emf.ecore.xmi_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.ui_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.ui.ide_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.xsd_0.0.0.
!SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
!MESSAGE Missing required plug-in org.eclipse.core.resources_0.0.0.
These plugins exist in eclipse/plugins, but they have 3.x version #'s
attached.
Question: where is it getting 0.0.0? How do I get past this?
|
|
|
Re: Troubles with eclipse.buildScript and versions of dependent plugins [message #281501 is a reply to message #281348] |
Mon, 21 February 2005 00:58 |
Eclipse User |
|
|
|
Originally posted by: pascal.ibm.canada
To use this mechanism makes sure your plugins are in a plugins folder
and features in a feature folder.
Larry Stevens wrote:
> In 3.1.0_200409240800, I'm using this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project name="ant" default="buildOne" basedir=".">
> <property name="bootclasspath" value=""/>
> <property name="basews" value="${ws}"/>
> <property name="baseos" value="${os}"/>
> <property name="basearch" value="${arch}"/>
> <property name="basenl" value="${nl}"/>
> <property name="javacFailOnError" value="true"/>
> <property name="javacDebugInfo" value="on"/>
> <property name="javacVerbose" value="true"/>
> <property name="javacSource" value="1.4"/>
> <property name="javacTarget" value="1.4"/>
> <property name="compilerArg" value=""/>
> <!-- advance this manually, with the manifest version -->
> <target name="buildOne">
> <eclipse.buildScript buildDirectory="c:/workspace/RUNTIME"
> elements="plugin@RUNTIME" buildingOSGI="true"/>
> </target>
> </project>
>
> to generate a build script from this:
>
> <plugin
> name = "%pluginName"
> id = "runtime"
> version = "1.0.0"
> provider-name = "%providerName">
>
> <requires>
> <import plugin="org.eclipse.core.runtime"/>
> <import plugin="org.eclipse.emf.codegen.ecore"/>
> <import plugin="org.eclipse.emf.ecore"/>
> <import plugin="org.eclipse.emf.ecore.edit"/>
> <import plugin="org.eclipse.emf.ecore.xmi"/>
> <import plugin="org.eclipse.ui"/>
> <import plugin="org.eclipse.ui.ide"/>
> <import plugin="org.eclipse.xsd"/>
> <import plugin="org.eclipse.core.resources"/>
> </requires>
>
> <runtime>
> <library name="runtime/runtime.jar">
> <export name="*"/>
> </library>
> <library name="commons-jxpath-1.1.jar">
> </library>
> </runtime>
>
> <extension point="org.eclipse.emf.ecore.generated_package">
> <package uri = "http://www..com//2005/runtime" class =
> "runtime.RuntimePackage" />
> </extension>
>
> <extension point="org.eclipse.emf.ecore.generated_package">
> <package uri = "http:////runtime/adapter.ecore" class =
> "runtime.adapter.AdapterPackage" />
> </extension>
>
> </plugin>
>
> and I get this:
>
> !ENTRY org.eclipse.pde.build 2 1 Feb 18, 2005 15:14:08.456
> !MESSAGE Some inter-plug-in dependencies have not been satisfied.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.core.runtime_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.emf.codegen.ecore_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.emf.ecore_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.emf.ecore.edit_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.emf.ecore.xmi_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.ui_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.ui.ide_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.xsd_0.0.0.
> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
> !MESSAGE Missing required plug-in org.eclipse.core.resources_0.0.0.
>
> These plugins exist in eclipse/plugins, but they have 3.x version #'s
> attached.
>
> Question: where is it getting 0.0.0? How do I get past this?
>
|
|
|
Re: Troubles with eclipse.buildScript and versions of dependent plugins [message #281543 is a reply to message #281501] |
Mon, 21 February 2005 16:57 |
Larry Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Thanks for responding.
The required plugins are in c:\eclipse\plugins (with the 3.x version
suffixes. RUNTIME is a plugin project for which I am trying to generate a
build script. Are you saying that I need to put the RUNTIME project files
in a plugins directory?
Pascal Rapicault wrote:
> To use this mechanism makes sure your plugins are in a plugins folder
> and features in a feature folder.
> Larry Stevens wrote:
>> In 3.1.0_200409240800, I'm using this:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <project name="ant" default="buildOne" basedir=".">
>> <property name="bootclasspath" value=""/>
>> <property name="basews" value="${ws}"/>
>> <property name="baseos" value="${os}"/>
>> <property name="basearch" value="${arch}"/>
>> <property name="basenl" value="${nl}"/>
>> <property name="javacFailOnError" value="true"/>
>> <property name="javacDebugInfo" value="on"/>
>> <property name="javacVerbose" value="true"/>
>> <property name="javacSource" value="1.4"/>
>> <property name="javacTarget" value="1.4"/>
>> <property name="compilerArg" value=""/>
>> <!-- advance this manually, with the manifest version -->
>> <target name="buildOne">
>> <eclipse.buildScript buildDirectory="c:/workspace/RUNTIME"
>> elements="plugin@RUNTIME" buildingOSGI="true"/>
>> </target>
>> </project>
>>
>> to generate a build script from this:
>>
>> <plugin
>> name = "%pluginName"
>> id = "runtime"
>> version = "1.0.0"
>> provider-name = "%providerName">
>>
>> <requires>
>> <import plugin="org.eclipse.core.runtime"/>
>> <import plugin="org.eclipse.emf.codegen.ecore"/>
>> <import plugin="org.eclipse.emf.ecore"/>
>> <import plugin="org.eclipse.emf.ecore.edit"/>
>> <import plugin="org.eclipse.emf.ecore.xmi"/>
>> <import plugin="org.eclipse.ui"/>
>> <import plugin="org.eclipse.ui.ide"/>
>> <import plugin="org.eclipse.xsd"/>
>> <import plugin="org.eclipse.core.resources"/>
>> </requires>
>>
>> <runtime>
>> <library name="runtime/runtime.jar">
>> <export name="*"/>
>> </library>
>> <library name="commons-jxpath-1.1.jar">
>> </library>
>> </runtime>
>>
>> <extension point="org.eclipse.emf.ecore.generated_package">
>> <package uri = "http://www..com//2005/runtime" class =
>> "runtime.RuntimePackage" />
>> </extension>
>>
>> <extension point="org.eclipse.emf.ecore.generated_package">
>> <package uri = "http:////runtime/adapter.ecore" class =
>> "runtime.adapter.AdapterPackage" />
>> </extension>
>>
>> </plugin>
>>
>> and I get this:
>>
>> !ENTRY org.eclipse.pde.build 2 1 Feb 18, 2005 15:14:08.456
>> !MESSAGE Some inter-plug-in dependencies have not been satisfied.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.core.runtime_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.emf.codegen.ecore_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.emf.ecore_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.emf.ecore.edit_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.emf.ecore.xmi_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.ui_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.ui.ide_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.xsd_0.0.0.
>> !SUBENTRY 1 RUNTIME 2 2 Feb 18, 2005 15:14:08.456
>> !MESSAGE Missing required plug-in org.eclipse.core.resources_0.0.0.
>>
>> These plugins exist in eclipse/plugins, but they have 3.x version #'s
>> attached.
>>
>> Question: where is it getting 0.0.0? How do I get past this?
>>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03312 seconds