diff options
author | Daron Chabot <daron.chabot@gmail.com> | 2009-02-25 03:43:47 +0000 |
---|---|---|
committer | Daron Chabot <daron.chabot@gmail.com> | 2009-02-25 03:43:47 +0000 |
commit | 8e6327a29be44c3284327abc02928b33dea09088 (patch) | |
tree | 0b20b7a14a8557e0b93bfd5a53a191347095cac8 | |
parent | Improved error messages. (diff) | |
download | rtems-eclipse-plug-in-8e6327a29be44c3284327abc02928b33dea09088.tar.bz2 |
Addition of Hello World template and RTEMS icons to preference page and About Eclipse dialog.
28 files changed, 399 insertions, 46 deletions
diff --git a/org.rtems.cdt.feature/about.html b/org.rtems.cdt.feature/about.html new file mode 100644 index 0000000..a388210 --- /dev/null +++ b/org.rtems.cdt.feature/about.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> +<html> +<head> +<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> +<title>Eclipse.org Software User Agreement</title> +</head> + +<body lang="EN-US" link=blue vlink=purple> +<h2>Eclipse Foundation Software User Agreement</h2> + + +</body>
\ No newline at end of file diff --git a/org.rtems.cdt.feature/build.properties b/org.rtems.cdt.feature/build.properties index 94bb883..e69de29 100644 --- a/org.rtems.cdt.feature/build.properties +++ b/org.rtems.cdt.feature/build.properties @@ -1,4 +0,0 @@ -bin.includes = feature.xml,\ - feature.properties,\ - license.html,\ - epl-v10.html diff --git a/org.rtems.cdt.feature/feature.xml b/org.rtems.cdt.feature/feature.xml index 9706e60..a50485c 100644 --- a/org.rtems.cdt.feature/feature.xml +++ b/org.rtems.cdt.feature/feature.xml @@ -2,7 +2,7 @@ <feature id="org.rtems.cdt" label="%featureName" - version="1.0.1" + version="1.1.0" provider-name="%providerName"> <description url="www.rtems.com"> @@ -21,24 +21,4 @@ <update label="%updateSiteName" url="http://www.rtems.org/ftp/pub/rtems/eclipse/updates/"/> </url> - <requires> - <import plugin="org.eclipse.cdt.managedbuilder.core"/> - <import plugin="org.eclipse.swt"/> - <import plugin="org.eclipse.ui"/> - <import plugin="org.eclipse.core.resources"/> - <import plugin="org.eclipse.cdt.ui"/> - <import plugin="org.eclipse.core.runtime"/> - <import plugin="org.eclipse.cdt.managedbuilder.ui"/> - <import plugin="org.eclipse.cdt.core"/> - <import plugin="org.eclipse.jface"/> - <import plugin="org.eclipse.ui.ide"/> - </requires> - - <plugin - id="org.rtems.cdt" - download-size="0" - install-size="0" - version="1.0.0" - unpack="false"/> - </feature> diff --git a/org.rtems.cdt.update/artifacts.xml b/org.rtems.cdt.update/artifacts.xml index 4261a11..9c8464e 100644 --- a/org.rtems.cdt.update/artifacts.xml +++ b/org.rtems.cdt.update/artifacts.xml @@ -3,30 +3,24 @@ <repository name='file:/Users/djc/PluginWorkspace/org.rtems.cdt.update/ - artifacts' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1.0.0'> <properties size='2'> <property name='p2.compressed' value='false'/> - <property name='p2.timestamp' value='1233928113553'/> + <property name='p2.timestamp' value='1235346733080'/> </properties> <mappings size='3'> <rule filter='(& (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/> <rule filter='(& (classifier=binary))' output='${repoUrl}/binary/${id}_${version}'/> <rule filter='(& (classifier=org.eclipse.update.feature))' output='${repoUrl}/features/${id}_${version}.jar'/> </mappings> - <artifacts size='6'> + <artifacts size='14'> <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.0.1'> <properties size='2'> <property name='artifact.size' value='10692'/> <property name='download.size' value='10692'/> </properties> </artifact> - <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.0.1'> + <artifact classifier='osgi.bundle' id='org.rtems.cdt' version='1.1.0'> <properties size='2'> - <property name='artifact.size' value='10695'/> - <property name='download.size' value='10695'/> - </properties> - </artifact> - <artifact classifier='osgi.bundle' id='org.rtems.cdt' version='1.0.0'> - <properties size='2'> - <property name='artifact.size' value='33837'/> - <property name='download.size' value='33837'/> + <property name='artifact.size' value='35207'/> + <property name='download.size' value='35207'/> </properties> </artifact> <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.0.0'> @@ -47,5 +41,59 @@ <property name='download.size' value='33938'/> </properties> </artifact> + <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.1.0'> + <properties size='2'> + <property name='artifact.size' value='10691'/> + <property name='download.size' value='10691'/> + </properties> + </artifact> + <artifact classifier='osgi.bundle' id='org.rtems.cdt' version='1.1.0'> + <properties size='2'> + <property name='artifact.size' value='35973'/> + <property name='download.size' value='35973'/> + </properties> + </artifact> + <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.1.0'> + <properties size='2'> + <property name='artifact.size' value='11007'/> + <property name='download.size' value='11007'/> + </properties> + </artifact> + <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.1.0'> + <properties size='2'> + <property name='artifact.size' value='11005'/> + <property name='download.size' value='11005'/> + </properties> + </artifact> + <artifact classifier='osgi.bundle' id='org.rtems.cdt' version='1.1.0'> + <properties size='2'> + <property name='artifact.size' value='110050'/> + <property name='download.size' value='110050'/> + </properties> + </artifact> + <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.0.1'> + <properties size='2'> + <property name='artifact.size' value='10695'/> + <property name='download.size' value='10695'/> + </properties> + </artifact> + <artifact classifier='osgi.bundle' id='org.rtems.cdt' version='1.0.0'> + <properties size='2'> + <property name='artifact.size' value='33837'/> + <property name='download.size' value='33837'/> + </properties> + </artifact> + <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.1.0'> + <properties size='2'> + <property name='artifact.size' value='11771'/> + <property name='download.size' value='11771'/> + </properties> + </artifact> + <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.1.0'> + <properties size='2'> + <property name='artifact.size' value='10996'/> + <property name='download.size' value='10996'/> + </properties> + </artifact> </artifacts> </repository> diff --git a/org.rtems.cdt.update/content.xml b/org.rtems.cdt.update/content.xml index 0ba51cc..d400c86 100644 --- a/org.rtems.cdt.update/content.xml +++ b/org.rtems.cdt.update/content.xml @@ -3,13 +3,13 @@ <repository name='file:/Users/djc/PluginWorkspace/org.rtems.cdt.update/ - metadata' type='org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository' version='1.0.0'> <properties size='2'> <property name='p2.compressed' value='false'/> - <property name='p2.timestamp' value='1233928113560'/> + <property name='p2.timestamp' value='1235346733083'/> </properties> <references size='2'> <repository url='http://www.rtems.org/ftp/pub/rtems/eclipse/updates/' type='1' options='1'/> <repository url='http://www.rtems.org/ftp/pub/rtems/eclipse/updates/' type='0' options='1'/> </references> - <units size='10'> + <units size='13'> <unit id='config.a.jre' version='1.6.0' singleton='false'> <hostRequirements size='1'> <required namespace='org.eclipse.equinox.p2.iu' name='a.jre' range='1.6.0'/> @@ -452,5 +452,140 @@ Bundle-Version: 1.0.0 %copyright </copyright> </unit> + <unit id='org.rtems.cdt.feature.group' version='1.1.0' singleton='false'> + <update id='org.rtems.cdt.feature.group' range='[0.0.0,1.1.0)' severity='0'/> + <properties size='10'> + <property name='org.eclipse.equinox.p2.name' value='%featureName'/> + <property name='org.eclipse.equinox.p2.description' value='%description'/> + <property name='org.eclipse.equinox.p2.description.url' value='www.rtems.com'/> + <property name='org.eclipse.equinox.p2.provider' value='%providerName'/> + <property name='org.eclipse.equinox.p2.type.group' value='true'/> + <property name='df_LT.featureName' value='RTEMS CDT Support'/> + <property name='df_LT.copyright' value='Copyright (c) 2008 Embedded Brains GmbH and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html'/> + <property name='df_LT.providerName' value='www.rtems.com'/> + <property name='df_LT.description' value='RTEMS Support for Eclipse CDT.'/> + <property name='df_LT.license' value='ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT March 17, 2005 Usage Of Content THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT. Applicable Licenses Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program" will mean the Content. Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS modules ("Modules") and made available as downloadable archives ("Downloads"). - Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive) in a directory named "plugins". - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with that Feature. - Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features. Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features. The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module including, but not limited to the following locations: - The top-level (root) directory - Plug-in and Fragment directories - Inside Plug-ins and Fragments packaged as JARs - Sub-directories of the directory named "src" of certain Plug-ins - Feature directories Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license ("Feature Update License") during the installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties". Such Abouts, Feature Licenses and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in that directory. THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html) - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is provided, please contact the Eclipse Foundation to determine what terms and conditions govern that particular Content. Cryptography Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.'/> + </properties> + <provides size='2'> + <provided namespace='org.eclipse.equinox.p2.iu' name='org.rtems.cdt.feature.group' version='1.1.0'/> + <provided namespace='org.eclipse.equinox.p2.localization' name='df_LT' version='1.0.0'/> + </provides> + <requires size='12'> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.cdt.managedbuilder.core' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.swt' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.ui' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.core.resources' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.cdt.ui' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.core.runtime' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.cdt.managedbuilder.ui' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.cdt.core' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.jface' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.ui.ide' range='0.0.0'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.rtems.cdt' range='[1.1.0,1.1.0]'/> + <required namespace='org.eclipse.equinox.p2.iu' name='org.rtems.cdt.feature.jar' range='[1.1.0,1.1.0]'> + <filter> + (org.eclipse.update.install.features=true) + </filter> + </required> + </requires> + <touchpoint id='null' version='0.0.0'/> + <licenses size='1'> + <license> + %license + </license> + </licenses> + <copyright url='http://www.eclipse.org/legal/epl-v10.html'> + %copyright + </copyright> + </unit> + <unit id='org.rtems.cdt.feature.jar' version='1.1.0'> + <update id='org.rtems.cdt.feature.jar' range='[0.0.0,1.1.0)' severity='0'/> + <properties size='9'> + <property name='org.eclipse.equinox.p2.name' value='%featureName'/> + <property name='org.eclipse.equinox.p2.description' value='%description'/> + <property name='org.eclipse.equinox.p2.description.url' value='www.rtems.com'/> + <property name='org.eclipse.equinox.p2.provider' value='%providerName'/> + <property name='df_LT.featureName' value='RTEMS CDT Support'/> + <property name='df_LT.copyright' value='Copyright (c) 2008 Embedded Brains GmbH and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html'/> + <property name='df_LT.providerName' value='www.rtems.com'/> + <property name='df_LT.description' value='RTEMS Support for Eclipse CDT.'/> + <property name='df_LT.license' value='ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT March 17, 2005 Usage Of Content THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT. Applicable Licenses Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program" will mean the Content. Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS modules ("Modules") and made available as downloadable archives ("Downloads"). - Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive) in a directory named "plugins". - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with that Feature. - Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features. Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features. The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module including, but not limited to the following locations: - The top-level (root) directory - Plug-in and Fragment directories - Inside Plug-ins and Fragments packaged as JARs - Sub-directories of the directory named "src" of certain Plug-ins - Feature directories Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license ("Feature Update License") during the installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties". Such Abouts, Feature Licenses and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in that directory. THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html) - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is provided, please contact the Eclipse Foundation to determine what terms and conditions govern that particular Content. Cryptography Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.'/> + </properties> + <provides size='4'> + <provided namespace='org.eclipse.equinox.p2.iu' name='org.rtems.cdt.feature.jar' version='1.1.0'/> + <provided namespace='org.eclipse.equinox.p2.eclipse.type' name='feature' version='1.0.0'/> + <provided namespace='org.eclipse.update.feature' name='org.rtems.cdt' version='1.1.0'/> + <provided namespace='org.eclipse.equinox.p2.localization' name='df_LT' version='1.0.0'/> + </provides> + <filter> + (org.eclipse.update.install.features=true) + </filter> + <artifacts size='1'> + <artifact classifier='org.eclipse.update.feature' id='org.rtems.cdt' version='1.1.0'/> + </artifacts> + <touchpoint id='org.eclipse.equinox.p2.osgi' version='1.0.0'/> + <touchpointData size='1'> + <instructions size='1'> + <instruction key='zipped'> + true + </instruction> + </instructions> + </touchpointData> + <licenses size='1'> + <license> + %license + </license> + </licenses> + <copyright url='http://www.eclipse.org/legal/epl-v10.html'> + %copyright + </copyright> + </unit> + <unit id='org.rtems.cdt' version='1.1.0'> + <update id='org.rtems.cdt' range='[0.0.0,1.1.0)' severity='0'/> + <properties size='2'> + <property name='org.eclipse.equinox.p2.name' value='RTEMS CDT Plug-in'/> + <property name='org.eclipse.equinox.p2.provider' value='Embedded Brains GmbH'/> + </properties> + <provides size='3'> + <provided namespace='org.eclipse.equinox.p2.iu' name='org.rtems.cdt' version='1.1.0'/> + <provided namespace='osgi.bundle' name='org.rtems.cdt' version='1.1.0'/> + <provided namespace='org.eclipse.equinox.p2.eclipse.type' name='bundle' version='1.0.0'/> + </provides> + <requires size='12'> + <required namespace='osgi.bundle' name='org.eclipse.cdt.managedbuilder.core' range='0.0.0'/> + <required namespace='osgi.bundle' name='org.eclipse.swt' range='0.0.0'/> + <required namespace='osgi.bundle' name='org.eclipse.ui' range='0.0.0'/> + <required namespace='osgi.bundle' name='org.eclipse.core.resources' range='0.0.0'/> + <required namespace='osgi.bundle' name='org.eclipse.cdt.ui' range='0.0.0'/> + <required namespace='osgi.bundle' name='org.eclipse.core.runtime' range='0.0.0'/> + <required namespace='osgi.bundle' name='org.eclipse.cdt.managedbuilder.ui' range='0.0.0'/> + <required namespace='osgi.bundle' name='org.eclipse.cdt.core' range='0.0.0'/> + <required namespace='java.package' name='org.eclipse.cdt.core.model' range='0.0.0'/> + <required namespace='java.package' name='org.eclipse.cdt.managedbuilder.ui.wizards' range='0.0.0'/> + <required namespace='java.package' name='org.eclipse.jface.resource' range='0.0.0'/> + <required namespace='java.package' name='org.eclipse.ui.wizards.newresource' range='0.0.0'/> + </requires> + <artifacts size='1'> + <artifact classifier='osgi.bundle' id='org.rtems.cdt' version='1.1.0'/> + </artifacts> + <touchpoint id='org.eclipse.equinox.p2.osgi' version='1.0.0'/> + <touchpointData size='1'> + <instructions size='1'> + <instruction key='manifest'> + Bundle-Vendor: Embedded Brains GmbH +Bundle-ManifestVersion: 2 +Bundle-Activator: org.rtems.cdt.Activator +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-Name: RTEMS CDT Plug-in +Import-Package: org.eclipse.cdt.core.model,org.eclipse.cdt.managedbuilder.ui.wizards,org.eclipse.jface.resource,org.eclipse.ui.wizards.newresource +Require-Bundle: org.eclipse.cdt.managedbuilder.core,org.eclipse.swt,org.eclipse.ui,org.eclipse.core.resources,org.eclipse.cdt.ui,org.eclipse.core.runtime,org.eclipse.cdt.managedbuilder.ui,org.eclipse.cdt.core +Bundle-ActivationPolicy: lazy +Manifest-Version: 1.0 +Bundle-SymbolicName: org.rtems.cdt;singleton:=true +Bundle-Version: 1.1.0 + </instruction> + </instructions> + </touchpointData> + </unit> </units> </repository> diff --git a/org.rtems.cdt.update/copyUpdateSite.sh b/org.rtems.cdt.update/copyUpdateSite.sh new file mode 100755 index 0000000..75b08e4 --- /dev/null +++ b/org.rtems.cdt.update/copyUpdateSite.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +SRCDIR=$1 +DESTDIR=$2 +COPYCMD="cp -r" + +set -ex + +${COPYCMD} ${SRCDIR}/features ${SRCDIR}/plugins \ + ${SRCDIR}/web ${SRCDIR}/site.xml ${SRCDIR}/index.html \ + ${DESTDIR} diff --git a/org.rtems.cdt.update/features/org.rtems.cdt_1.0.0.jar b/org.rtems.cdt.update/features/org.rtems.cdt_1.0.0.jar Binary files differdeleted file mode 100644 index 44fe220..0000000 --- a/org.rtems.cdt.update/features/org.rtems.cdt_1.0.0.jar +++ /dev/null diff --git a/org.rtems.cdt.update/features/org.rtems.cdt_1.0.1.jar b/org.rtems.cdt.update/features/org.rtems.cdt_1.1.0.jar Binary files differindex 0b1faa7..03cb949 100644 --- a/org.rtems.cdt.update/features/org.rtems.cdt_1.0.1.jar +++ b/org.rtems.cdt.update/features/org.rtems.cdt_1.1.0.jar diff --git a/org.rtems.cdt.update/plugins/org.rtems.cdt_1.0.0.jar b/org.rtems.cdt.update/plugins/org.rtems.cdt_1.0.0.jar Binary files differdeleted file mode 100644 index 92878ae..0000000 --- a/org.rtems.cdt.update/plugins/org.rtems.cdt_1.0.0.jar +++ /dev/null diff --git a/org.rtems.cdt.update/plugins/org.rtems.cdt_1.1.0.jar b/org.rtems.cdt.update/plugins/org.rtems.cdt_1.1.0.jar Binary files differnew file mode 100644 index 0000000..dddc3bf --- /dev/null +++ b/org.rtems.cdt.update/plugins/org.rtems.cdt_1.1.0.jar diff --git a/org.rtems.cdt.update/site.xml b/org.rtems.cdt.update/site.xml index 0ae97ec..18d8a7b 100644 --- a/org.rtems.cdt.update/site.xml +++ b/org.rtems.cdt.update/site.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <site> - <feature url="features/org.rtems.cdt_1.0.1.jar" id="org.rtems.cdt" version="1.0.1"> + <feature url="features/org.rtems.cdt_1.1.0.jar" id="org.rtems.cdt" version="1.1.0"> <category name="org.rtems.cdt.update.category"/> </feature> <category-def name="org.rtems.cdt.update.category" label="RTEMS CDT-Support Plugin"/> diff --git a/org.rtems.cdt/META-INF/MANIFEST.MF b/org.rtems.cdt/META-INF/MANIFEST.MF index 04bf62d..21dd38f 100644 --- a/org.rtems.cdt/META-INF/MANIFEST.MF +++ b/org.rtems.cdt/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: RTEMS CDT Plug-in Bundle-SymbolicName: org.rtems.cdt;singleton:=true -Bundle-Version: 1.0.1 +Bundle-Version: 1.1.0 Bundle-RequiredExecutionEnvironment: J2SE-1.5 Require-Bundle: org.eclipse.cdt.managedbuilder.core, org.eclipse.swt, diff --git a/org.rtems.cdt/about.ini b/org.rtems.cdt/about.ini new file mode 100644 index 0000000..8f5761d --- /dev/null +++ b/org.rtems.cdt/about.ini @@ -0,0 +1,7 @@ +# about.ini +# contains info about the RTEMS CDT support feature. +# "%key" are externalized strings defined in about.properties + +aboutText=%about + +featureImage=icons/rtems_logo-32x32.png
\ No newline at end of file diff --git a/org.rtems.cdt/about.mappings b/org.rtems.cdt/about.mappings new file mode 100644 index 0000000..9bdadf0 --- /dev/null +++ b/org.rtems.cdt/about.mappings @@ -0,0 +1,3 @@ + +# version number +0=1.1.0
\ No newline at end of file diff --git a/org.rtems.cdt/about.properties b/org.rtems.cdt/about.properties new file mode 100644 index 0000000..fe3665d --- /dev/null +++ b/org.rtems.cdt/about.properties @@ -0,0 +1,14 @@ +# about.properties +# contains externalized strings utilized within about.properties +# fill-ins (e.g. {0}) are supplied by about.mappings + +about=RTEMS CDT Support\n\ +\n\ +Version: {0}\n\ +\n\ +(c) Embedded Brains GmbH and others. 2008, 2009. All rights reserved.\n\ +Visit http://www.rtems.com\n\ +\n\ +This offering is powered by Eclipse technology and includes\n\ +Eclipse plug-ins that can be installed and used with other\n\ +Eclipse (3.4)-based offerings.
\ No newline at end of file diff --git a/org.rtems.cdt/build.properties b/org.rtems.cdt/build.properties index f0f1974..8b13789 100644 --- a/org.rtems.cdt/build.properties +++ b/org.rtems.cdt/build.properties @@ -1,6 +1 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.xml,\ - license.html + diff --git a/org.rtems.cdt/icons/rtems_logo-128x128.png b/org.rtems.cdt/icons/rtems_logo-128x128.png Binary files differnew file mode 100644 index 0000000..0d908d0 --- /dev/null +++ b/org.rtems.cdt/icons/rtems_logo-128x128.png diff --git a/org.rtems.cdt/icons/rtems_logo-32x32.png b/org.rtems.cdt/icons/rtems_logo-32x32.png Binary files differnew file mode 100644 index 0000000..9eb92b6 --- /dev/null +++ b/org.rtems.cdt/icons/rtems_logo-32x32.png diff --git a/org.rtems.cdt/icons/rtems_logo-48x48.png b/org.rtems.cdt/icons/rtems_logo-48x48.png Binary files differnew file mode 100644 index 0000000..7dad6ad --- /dev/null +++ b/org.rtems.cdt/icons/rtems_logo-48x48.png diff --git a/org.rtems.cdt/icons/rtems_logo-64x32.png b/org.rtems.cdt/icons/rtems_logo-64x32.png Binary files differnew file mode 100644 index 0000000..0251a60 --- /dev/null +++ b/org.rtems.cdt/icons/rtems_logo-64x32.png diff --git a/org.rtems.cdt/icons/rtems_logo-64x64.png b/org.rtems.cdt/icons/rtems_logo-64x64.png Binary files differnew file mode 100644 index 0000000..0a440c5 --- /dev/null +++ b/org.rtems.cdt/icons/rtems_logo-64x64.png diff --git a/org.rtems.cdt/icons/rtems_logo.png b/org.rtems.cdt/icons/rtems_logo.png Binary files differnew file mode 100644 index 0000000..ddd0bae --- /dev/null +++ b/org.rtems.cdt/icons/rtems_logo.png diff --git a/org.rtems.cdt/plugin.xml b/org.rtems.cdt/plugin.xml index 9eabb6a..d141430 100644 --- a/org.rtems.cdt/plugin.xml +++ b/org.rtems.cdt/plugin.xml @@ -386,4 +386,24 @@ </enabledWhen> </page> </extension> + <extension + point="org.eclipse.cdt.core.templates"> + <template + id="org.rtems.cdt.template.hello" + location="$nl$/templates/hello/template.xml" + projectType="org.eclipse.cdt.build.core.buildArtefactType.exe"> + </template> + </extension> + <extension + point="org.eclipse.cdt.core.templateAssociations"> + <template + id="org.rtems.cdt.template.hello"> + <toolChain + id="org.rtems.cdt.toolchain"> + </toolChain> + <toolChain + id="org.rtems.cdt.toolchain.cygwin"> + </toolChain> + </template> + </extension> </plugin> diff --git a/org.rtems.cdt/src/org/rtems/cdt/preferences/PreferencePage.java b/org.rtems.cdt/src/org/rtems/cdt/preferences/PreferencePage.java index c56379a..de9cb5d 100644 --- a/org.rtems.cdt/src/org/rtems/cdt/preferences/PreferencePage.java +++ b/org.rtems.cdt/src/org/rtems/cdt/preferences/PreferencePage.java @@ -25,6 +25,7 @@ package org.rtems.cdt.preferences; import org.eclipse.core.runtime.Platform; import org.eclipse.jface.preference.DirectoryFieldEditor; import org.eclipse.jface.preference.FieldEditorPreferencePage; +import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.ui.IWorkbenchPreferencePage; import org.eclipse.ui.IWorkbench; import org.rtems.cdt.Activator; @@ -37,6 +38,7 @@ public class PreferencePage super( GRID); setPreferenceStore( Activator.getDefault().getPreferenceStore()); setDescription( "Select the RTEMS base installation path and the board support package (BSP) installation path. This provides the default values for all projects."); + setImageDescriptor(Activator.imageDescriptorFromPlugin("org.rtems.cdt", "icons/rtems_logo-64x64.png")); } public void createFieldEditors() { diff --git a/org.rtems.cdt/templates/hello/src/init.c b/org.rtems.cdt/templates/hello/src/init.c new file mode 100644 index 0000000..e02a23c --- /dev/null +++ b/org.rtems.cdt/templates/hello/src/init.c @@ -0,0 +1,36 @@ +/* Init + * + * This routine is the initialization task for this test program. + * It is called from init_exec and has the responsibility for creating + * and starting the tasks that make up the test. If the time of day + * clock is required for the test, it should also be set to a known + * value by this function. + * + * Input parameters: NONE + * + * Output parameters: NONE + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#define CONFIGURE_INIT +#include "system.h" +#include <stdio.h> +#include <stdlib.h> + +rtems_task Init( + rtems_task_argument ignored +) +{ + printf( "\n\n*** HELLO WORLD TEST ***\n" ); + printf( "Hello World\n" ); + printf( "*** END OF HELLO WORLD TEST ***\n" ); + exit( 0 ); +} diff --git a/org.rtems.cdt/templates/hello/src/system.h b/org.rtems.cdt/templates/hello/src/system.h new file mode 100644 index 0000000..a4ac1a5 --- /dev/null +++ b/org.rtems.cdt/templates/hello/src/system.h @@ -0,0 +1,40 @@ +/* system.h + * + * This include file contains information that is included in every + * function in the test set. + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include <rtems.h> + +/* functions */ + +rtems_task Init( + rtems_task_argument argument +); + +/* configuration information */ + +#include <bsp.h> /* for device driver prototypes */ + +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM + +#include <rtems/confdefs.h> + +/* end of include file */ diff --git a/org.rtems.cdt/templates/hello/template.properties b/org.rtems.cdt/templates/hello/template.properties new file mode 100644 index 0000000..af22a9e --- /dev/null +++ b/org.rtems.cdt/templates/hello/template.properties @@ -0,0 +1,3 @@ +#Template Default Values +RTEMS.Hello.Template.Label=RTEMS Hello-World Project +RTEMS.Hello.Template.Label.Description=The prototypical "Hello World" project. Creates a single folder for sources. diff --git a/org.rtems.cdt/templates/hello/template.xml b/org.rtems.cdt/templates/hello/template.xml new file mode 100644 index 0000000..5feb599 --- /dev/null +++ b/org.rtems.cdt/templates/hello/template.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<template type="ProjTempl" version="1.0" + supplier="www.rtems.com" revision="1.0" + author="chabotd" + copyright="" + id="RTEMSHelloWorldProject" + label="%RTEMS.Hello.Template.Label" + description="%RTEMS.Hello.Template.Label.Description" + help="help.html"> + + <property-group id="basics" label="RTEMS Hello-World Project" description="Specify per-project variables." type="PAGES-ONLY" help="help.html"> + <property id="sourceDir" + label="Source" + description="Directory for project source files" + type="input" + default="src" + pattern="[a-zA-Z0-9]+" + mandatory="false" + persist="true"> + </property> + </property-group> + + <process type="org.eclipse.cdt.managedbuilder.core.NewManagedProject"> + <simple name="name" value="$(projectName)" /> + <simple name="artifactExtension" value="exe" /> + <simple name="isCProject" value="true" /> + </process> + + <process type="org.eclipse.cdt.core.CreateSourceFolder"> + <simple name="projectName" value="$(projectName)"/> + <simple name="path" value="$(sourceDir)"/> + </process> + + <process type="org.eclipse.cdt.core.AddFiles"> + <simple name="projectName" value="$(projectName)"/> + <complex-array name="files"> + <element> + <simple name="source" value="src/init.c"/> + <simple name="target" value="$(sourceDir)/$(projectName).c"/> + <simple name="replaceable" value="true"/> + </element> + <element> + <simple name="source" value="src/system.h"/> + <simple name="target" value="$(sourceDir)/system.h"/> + <simple name="replaceable" value="true"/> + </element> + </complex-array> + </process> + +</template> + |