Add the product definition in the releng part.

Change-Id: Ib30616bc45d0276b6db9d157fb872b8c7b8e7ffe
Signed-off-by: Jonathan Dumont <jonathan.dumont@all4tec.net>
diff --git a/releng/org.polarsys.esf.product/.checkstyle b/releng/org.polarsys.esf.product/.checkstyle
new file mode 100644
index 0000000..227a385
--- /dev/null
+++ b/releng/org.polarsys.esf.product/.checkstyle
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
+  <fileset name="all" enabled="true" check-config-name="Checkstyle ESF" local="false">
+    <file-match-pattern match-pattern="." include-pattern="true"/>
+  </fileset>
+</fileset-config>
diff --git a/releng/org.polarsys.esf.product/.project b/releng/org.polarsys.esf.product/.project
new file mode 100644
index 0000000..411ff2c
--- /dev/null
+++ b/releng/org.polarsys.esf.product/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.polarsys.esf.product</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
+	</natures>
+</projectDescription>
diff --git a/releng/org.polarsys.esf.product/esf.product b/releng/org.polarsys.esf.product/esf.product
new file mode 100644
index 0000000..84d7103
--- /dev/null
+++ b/releng/org.polarsys.esf.product/esf.product
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product name="Eclipse Safety Framework" uid="esf" id="org.polarsys.esf.core.root.esf" application="org.polarsys.esf.core.root.application" version="0.7.0.qualifier" useFeatures="true" includeLaunchers="true">
+
+   <aboutInfo>
+      <image path="/org.polarsys.esf.core.ui/icons/about/logo_about.png"/>
+   </aboutInfo>
+
+   <configIni use="default">
+   </configIni>
+
+   <launcherArgs>
+      <vmArgs>-Dosgi.requiredJavaVersion=1.7 -Xms256m -Xmx1024m -XX:MaxPermSize=256m
+      </vmArgs>
+      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
+      </vmArgsMac>
+   </launcherArgs>
+
+   <windowImages i16="/org.polarsys.esf.core.ui/icons/logos/icon_esf_16x16.png" i32="/org.polarsys.esf.core.ui/icons/logos/icon_esf_32x32.png" i48="/org.polarsys.esf.core.ui/icons/logos/icon_esf_48x48.png" i64="/org.polarsys.esf.core.ui/icons/logos/icon_esf_64x64.png" i128="/org.polarsys.esf.core.ui/icons/logos/icon_esf_128x128.png"/>
+
+   <splash
+      location="org.polarsys.esf.core.root"
+      startupProgressRect="0,315,500,15"
+      startupMessageRect="5,295,470,20"
+      startupForegroundColor="FFFFFF" />
+   <launcher name="ESF">
+      <solaris/>
+      <win useIco="true">
+         <ico path="icons/logos/icon_esf.ico"/>
+         <bmp/>
+      </win>
+   </launcher>
+
+   <vm>
+   </vm>
+
+   <plugins>
+   </plugins>
+
+   <features>
+      <feature id="org.polarsys.esf.core" version="0.7.0.qualifier"/>
+   </features>
+
+   <configurations>
+      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
+      <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
+      <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
+      <plugin id="org.eclipse.osgi" autoStart="true" startLevel="1" />
+      <property name="osgi.configuration.area" value="@user.home/.esf-home/${product.version}/configuration" />
+      <property name="osgi.nl" value="en" />
+   </configurations>
+
+</product>
diff --git a/releng/org.polarsys.esf.product/icons/logos/icon_esf.ico b/releng/org.polarsys.esf.product/icons/logos/icon_esf.ico
new file mode 100644
index 0000000..afabe51
--- /dev/null
+++ b/releng/org.polarsys.esf.product/icons/logos/icon_esf.ico
Binary files differ
diff --git a/releng/org.polarsys.esf.product/plugin_customization.ini b/releng/org.polarsys.esf.product/plugin_customization.ini
new file mode 100644
index 0000000..333fab9
--- /dev/null
+++ b/releng/org.polarsys.esf.product/plugin_customization.ini
@@ -0,0 +1 @@
+org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP = true
diff --git a/releng/org.polarsys.esf.product/pom.xml b/releng/org.polarsys.esf.product/pom.xml
new file mode 100644
index 0000000..fcdb906
--- /dev/null
+++ b/releng/org.polarsys.esf.product/pom.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" 
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  
+  <parent>
+    <groupId>org.polarsys.esf</groupId>
+    <artifactId>esf-parent</artifactId>
+    <version>0.7.0-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.polarsys.esf</groupId>
+  <artifactId>esf</artifactId>
+  <packaging>eclipse-repository</packaging> 
+    
+  <build>
+  
+    <!-- Resources configuration to filter the plugin.properties with the Hudson 
+      variable -->
+    <resources>
+      <resource>
+        <directory>.</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+        
+    <plugins>
+
+     <!-- Avoid materialisation like zip of p2 artifact repository -->
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-p2-repository-plugin</artifactId>
+        <version>${tycho-version}</version>
+        <configuration>
+          <createArtifactRepository>false</createArtifactRepository>
+        </configuration>
+      </plugin>
+      
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-p2-director-plugin</artifactId>
+        <version>${tycho-version}</version>
+        <executions>
+          <execution>
+            <!-- (optional) install the product for all configured os/ws/arch environments
+            using p2 director -->
+            <id>materialize-products</id>
+            <goals>
+              <goal>materialize-products</goal>
+            </goals>
+          </execution>
+          <execution>
+           <!-- (optional) create product zips (one per os/ws/arch) -->
+            <id>archive-products</id>
+            <goals>
+              <goal>archive-products</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+    </plugins>
+  </build>
+  
+</project>
\ No newline at end of file