P2-fied Emfatic update site
diff --git a/updatesites/org.eclipse.emf.emfatic.updatesite/.externalToolBuilders/P2 Metadata Builder.launch b/updatesites/org.eclipse.emf.emfatic.updatesite/.externalToolBuilders/P2 Metadata Builder.launch
new file mode 100644
index 0000000..76e7f68
--- /dev/null
+++ b/updatesites/org.eclipse.emf.emfatic.updatesite/.externalToolBuilders/P2 Metadata Builder.launch
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>

+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">

+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>

+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>

+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>

+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>

+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>

+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>

+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.emf.emfatic.updatesite"/>

+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>

+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.emf.emfatic.updatesite/build.xml&quot; type=&quot;1&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>

+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.emf.emfatic.updatesite/build.xml}"/>

+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>

+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>

+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/org.eclipse.emf.emfatic.updatesite}"/>

+</launchConfiguration>

diff --git a/updatesites/org.eclipse.emf.emfatic.updatesite/.gitignore b/updatesites/org.eclipse.emf.emfatic.updatesite/.gitignore
new file mode 100644
index 0000000..df44fe0
--- /dev/null
+++ b/updatesites/org.eclipse.emf.emfatic.updatesite/.gitignore
@@ -0,0 +1,4 @@
+features
+plugins
+*.jar
+*.jar.pack.gz
diff --git a/updatesites/org.eclipse.emf.emfatic.updatesite/.project b/updatesites/org.eclipse.emf.emfatic.updatesite/.project
new file mode 100644
index 0000000..8c6861c
--- /dev/null
+++ b/updatesites/org.eclipse.emf.emfatic.updatesite/.project
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.eclipse.emf.emfatic.updatesite</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.pde.UpdateSiteBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
+			<triggers>full,incremental,</triggers>
+			<arguments>
+				<dictionary>
+					<key>LaunchConfigHandle</key>
+					<value>&lt;project&gt;/.externalToolBuilders/P2 Metadata Builder.launch</value>
+				</dictionary>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.UpdateSiteNature</nature>
+	</natures>
+</projectDescription>
diff --git a/updatesites/org.eclipse.emf.emfatic.updatesite/build.xml b/updatesites/org.eclipse.emf.emfatic.updatesite/build.xml
new file mode 100644
index 0000000..c194887
--- /dev/null
+++ b/updatesites/org.eclipse.emf.emfatic.updatesite/build.xml
@@ -0,0 +1,37 @@
+<project default="main">

+	

+	<target name="main" depends="categorise,compress,refresh"/>

+	

+	<target name="categorise">

+		<echo>Adding category information to repository</echo>

+		<eclipse.publish.featuresAndBundles

+			compress="true"

+			site="file:${basedir}/site.xml"

+			repository="file:${basedir}"/>

+	</target>

+

+	<target name="compress">

+		<echo>Packing JARS</echo>

+		<p2.process.artifacts

+			pack="true"

+			normalize="true"

+			repositorypath="file:${basedir}"/>

+	</target>

+	

+	<target name="clean" depends="delete,refresh" />

+	

+	<target name="delete">

+		<delete file="content.jar"/>

+		<delete file="content.jar.pack.gz"/>

+		

+		<delete file="artifacts.jar"/>

+		<delete file="artifacts.jar.pack.gz"/>

+		

+		<delete dir="plugins"/>

+		<delete dir="features"/>

+	</target>

+	

+	<target name="refresh">

+		<eclipse.refreshLocal resource="org.eclipse.epsilon.updatesite" depth="infinite" />

+	</target>

+</project>
\ No newline at end of file
diff --git a/updatesites/org.eclipse.emf.emfatic.updatesite/site.xml b/updatesites/org.eclipse.emf.emfatic.updatesite/site.xml
index 3b0ebbf..df62e2a 100644
--- a/updatesites/org.eclipse.emf.emfatic.updatesite/site.xml
+++ b/updatesites/org.eclipse.emf.emfatic.updatesite/site.xml
@@ -1,7 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<site>
-   <feature url="features/org.eclipse.emf.emfatic_0.8.0.201209291929.jar" id="org.eclipse.emf.emfatic" version="0.8.0.201209291929">
-      <category name="Emfatic (Incubation)"/>
-   </feature>
-   <category-def name="Emfatic (Incubation)" label="Emfatic (Incubation)"/>
-</site>
+<?xml version="1.0" encoding="UTF-8"?>

+<site

+      digestURL="http://download.eclipse.org/emfatic/update/">

+   <feature url="features/org.eclipse.emf.emfatic_0.8.0.201301242224.jar" id="org.eclipse.emf.emfatic" version="0.8.0.201301242224">

+      <category name="Emfatic (Incubation)"/>

+   </feature>

+   <category-def name="Emfatic (Incubation)" label="Emfatic (Incubation)"/>

+</site>