Enable Tycho build for CNF projects
* Add pom.xml to CNF bundle.
* New feature project in order to build the CNF bundle.
* New build project that drives the build and creates a categorized p2
repository.
diff --git a/bundles/org.eclipse.rap.ui.navigator/pom.xml b/bundles/org.eclipse.rap.ui.navigator/pom.xml
new file mode 100644
index 0000000..cf91585
--- /dev/null
+++ b/bundles/org.eclipse.rap.ui.navigator/pom.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2012 EclipseSource 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:
+ EclipseSource - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.rap.incubator</groupId>
+ <artifactId>org.eclipse.rap.incubator-parent</artifactId>
+ <version>0.1.0-SNAPSHOT</version>
+ <relativePath>../../../org.eclipse.rap.incubator.releng/releng/org.eclipse.rap.incubator.releng/parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.rap.ui.navigator</artifactId>
+ <packaging>eclipse-plugin</packaging>
+ <version>1.4.0-SNAPSHOT</version>
+
+</project>
diff --git a/features/org.eclipse.rap.cnf.feature/.project b/features/org.eclipse.rap.cnf.feature/.project
new file mode 100644
index 0000000..3f0ab91
--- /dev/null
+++ b/features/org.eclipse.rap.cnf.feature/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.rap.cnf.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
diff --git a/features/org.eclipse.rap.cnf.feature/.settings/org.eclipse.core.resources.prefs b/features/org.eclipse.rap.cnf.feature/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/features/org.eclipse.rap.cnf.feature/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/features/org.eclipse.rap.cnf.feature/.settings/org.eclipse.core.runtime.prefs b/features/org.eclipse.rap.cnf.feature/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 0000000..5a0ad22
--- /dev/null
+++ b/features/org.eclipse.rap.cnf.feature/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/features/org.eclipse.rap.cnf.feature/build.properties b/features/org.eclipse.rap.cnf.feature/build.properties
new file mode 100644
index 0000000..64f93a9
--- /dev/null
+++ b/features/org.eclipse.rap.cnf.feature/build.properties
@@ -0,0 +1 @@
+bin.includes = feature.xml
diff --git a/features/org.eclipse.rap.cnf.feature/feature.xml b/features/org.eclipse.rap.cnf.feature/feature.xml
new file mode 100644
index 0000000..0cfff8f
--- /dev/null
+++ b/features/org.eclipse.rap.cnf.feature/feature.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.eclipse.rap.cnf.feature"
+ label="RAP Common Navigator Framework (CNF) (Incubation)"
+ version="0.1.0.qualifier"
+ provider-name="Eclipse.org - RAP Incubator">
+
+ <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.eclipse.rap.ui.navigator"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.rap.ui.navigator.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
diff --git a/features/org.eclipse.rap.cnf.feature/pom.xml b/features/org.eclipse.rap.cnf.feature/pom.xml
new file mode 100644
index 0000000..b457fe5
--- /dev/null
+++ b/features/org.eclipse.rap.cnf.feature/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2012 EclipseSource 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:
+ EclipseSource - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.rap.incubator</groupId>
+ <artifactId>org.eclipse.rap.incubator-parent</artifactId>
+ <version>0.1.0-SNAPSHOT</version>
+ <relativePath>../../../org.eclipse.rap.incubator.releng/releng/org.eclipse.rap.incubator.releng/parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.rap.cnf.feature</artifactId>
+ <packaging>eclipse-feature</packaging>
+
+</project>
diff --git a/releng/org.eclipse.rap.cnf.build/.project b/releng/org.eclipse.rap.cnf.build/.project
new file mode 100644
index 0000000..c8ba003
--- /dev/null
+++ b/releng/org.eclipse.rap.cnf.build/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.rap.cnf.build</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/releng/org.eclipse.rap.cnf.build/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.rap.cnf.build/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/releng/org.eclipse.rap.cnf.build/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/releng/org.eclipse.rap.cnf.build/.settings/org.eclipse.core.runtime.prefs b/releng/org.eclipse.rap.cnf.build/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 0000000..5a0ad22
--- /dev/null
+++ b/releng/org.eclipse.rap.cnf.build/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/releng/org.eclipse.rap.cnf.build/pom.xml b/releng/org.eclipse.rap.cnf.build/pom.xml
new file mode 100644
index 0000000..68a7572
--- /dev/null
+++ b/releng/org.eclipse.rap.cnf.build/pom.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2012 EclipseSource 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:
+ EclipseSource - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.rap.incubator</groupId>
+ <artifactId>org.eclipse.rap.incubator-parent</artifactId>
+ <version>0.1.0-SNAPSHOT</version>
+ <relativePath>../../../org.eclipse.rap.incubator.releng/releng/org.eclipse.rap.incubator.releng/parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.rap.cnf.build</artifactId>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>../../bundles/org.eclipse.rap.ui.navigator</module>
+ <module>../../features/org.eclipse.rap.cnf.feature</module>
+ <module>repository</module>
+ </modules>
+
+</project>
diff --git a/releng/org.eclipse.rap.cnf.build/repository/category.xml b/releng/org.eclipse.rap.cnf.build/repository/category.xml
new file mode 100644
index 0000000..01948f7
--- /dev/null
+++ b/releng/org.eclipse.rap.cnf.build/repository/category.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, EclipseSource 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:
+ EclipseSource - initial implementation
+-->
+<site>
+
+ <category-def
+ name="org.eclipse.rap.incubator.category"
+ label="Rich Ajax Platform (RAP) Incubator" />
+
+ <feature url="http://eclipse.org/rap"
+ id="org.eclipse.rap.cnf.feature"
+ version="0.1.0.qualifier">
+ <category name="org.eclipse.rap.category"/>
+ </feature>
+
+</site>
diff --git a/releng/org.eclipse.rap.cnf.build/repository/pom.xml b/releng/org.eclipse.rap.cnf.build/repository/pom.xml
new file mode 100644
index 0000000..3957c2e
--- /dev/null
+++ b/releng/org.eclipse.rap.cnf.build/repository/pom.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2011, 2012 EclipseSource 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:
+ EclipseSource - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.rap.incubator</groupId>
+ <artifactId>org.eclipse.rap.incubator-parent</artifactId>
+ <version>0.1.0-SNAPSHOT</version>
+ <relativePath>../../../../org.eclipse.rap.incubator.releng/releng/org.eclipse.rap.incubator.releng/parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.rap.cnf-repository</artifactId>
+ <packaging>eclipse-repository</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-repository-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <repositoryName>RAP ClientScripting</repositoryName>
+ <includeAllDependencies>false</includeAllDependencies>
+ <compress>true</compress>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>