Author: snjeza
Date: 2011-03-22 20:04:18 -0400 (Tue, 22 Mar 2011)
New Revision: 29963
Added:
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties
trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html
Modified:
trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml
trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml
Log:
JBIDE-8618 Add JUnit tests for Project Examples
Modified:
trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties
===================================================================
---
trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties 2011-03-22
23:57:09 UTC (rev 29962)
+++
trunk/examples/features/org.jboss.tools.project.examples.test.feature/build.properties 2011-03-23
00:04:18 UTC (rev 29963)
@@ -1 +1,3 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties,\
+ license.html
Added:
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties
===================================================================
---
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties
(rev 0)
+++
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.properties 2011-03-23
00:04:18 UTC (rev 29963)
@@ -0,0 +1,54 @@
+###############################################################################
+# Copyright (c) 2008-2010 JBoss by Red Hat 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
+#
+# Contributors:
+# JBoss by Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=Project Examples Test Suite
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+# "description" property - description of the feature
+description=Project Examples Test Suite
+
+# "copyright" property - text of the "Feature Update Copyright"
+copyright=Copyright (c) 2008-2011 JBoss by Red Hat and others.\nAll rights reserved. This
program and the accompanying materials\n
+are made available under the terms of the Eclipse Public License v1.0\n\
+which accompanies this distribution, and is available at\n\
+http\://www.eclipse.org/legal/epl-v10.html\n\
+\n\
+Contributors\:\n\
+JBoss by Red Hat - Initial implementation.\n
+ ############### end of copyright property ####################################
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=Red Hat, Inc. licenses these features and plugins to you under \
+certain open source licenses (or aggregations of such licenses), which \
+in a particular case may include the Eclipse Public License, the GNU \
+Lesser General Public License, and/or certain other open source \
+licenses. For precise licensing details, consult the corresponding \
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive, \
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ##########################################
Modified:
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml
===================================================================
---
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml 2011-03-22
23:57:09 UTC (rev 29962)
+++
trunk/examples/features/org.jboss.tools.project.examples.test.feature/feature.xml 2011-03-23
00:04:18 UTC (rev 29963)
@@ -1,26 +1,27 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.project.examples.test.feature"
- label="Project Examples Test Suite Feature"
- version="1.1.0.qualifier">
-
- <description
url="http://www.example.com/description">
- [Enter Feature Description here.]
- </description>
-
- <copyright
url="http://www.example.com/copyright">
- [Enter Copyright Description here.]
- </copyright>
-
- <license
url="http://www.example.com/license">
- [Enter License Description here.]
- </license>
-
- <plugin
- id="org.jboss.tools.project.examples.test"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.project.examples.test.feature"
+ label="Project Examples Test Suite Feature"
+ version="1.2.0.qualifier"
+ provider-name="JBoss by Red Hat">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <plugin
+ id="org.jboss.tools.project.examples.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Added: trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html
===================================================================
--- trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html
(rev 0)
+++
trunk/examples/features/org.jboss.tools.project.examples.test.feature/license.html 2011-03-23
00:04:18 UTC (rev 29963)
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+
+<body>
+<p>Red Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+</p>
+</body>
+</html>
\ No newline at end of file
Modified: trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml
===================================================================
---
trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml 2011-03-22
23:57:09 UTC (rev 29962)
+++
trunk/examples/features/org.jboss.tools.project.examples.test.feature/pom.xml 2011-03-23
00:04:18 UTC (rev 29963)
@@ -8,6 +8,6 @@
</parent>
<groupId>org.jboss.tools.examples.features</groupId>
<artifactId>org.jboss.tools.project.examples.test.feature</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.2.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
\ No newline at end of file