Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordschaefer2011-08-31 15:43:52 +0000
committerdschaefer2011-08-31 15:43:52 +0000
commit95c0638f1268d864ee2071f6478a8c869c289854 (patch)
treec6de3d7516d88d3a1a2c39a157fa397d0769062d
parent0b0c974dacdc599398ce837dca34af422ef8da55 (diff)
downloadorg.eclipse.tcf-95c0638f1268d864ee2071f6478a8c869c289854.tar.gz
org.eclipse.tcf-95c0638f1268d864ee2071f6478a8c869c289854.tar.xz
org.eclipse.tcf-95c0638f1268d864ee2071f6478a8c869c289854.zip
Publish tcf build to cdt download site.CDT_8_0_1
-rw-r--r--features/org.eclipse.tm.tcf.repo/.project11
-rw-r--r--features/org.eclipse.tm.tcf.repo/pom.xml43
2 files changed, 54 insertions, 0 deletions
diff --git a/features/org.eclipse.tm.tcf.repo/.project b/features/org.eclipse.tm.tcf.repo/.project
new file mode 100644
index 000000000..05f44e25c
--- /dev/null
+++ b/features/org.eclipse.tm.tcf.repo/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.tm.tcf.repo</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/features/org.eclipse.tm.tcf.repo/pom.xml b/features/org.eclipse.tm.tcf.repo/pom.xml
index 49373dcdc..99e526987 100644
--- a/features/org.eclipse.tm.tcf.repo/pom.xml
+++ b/features/org.eclipse.tm.tcf.repo/pom.xml
@@ -14,4 +14,47 @@
<version>0.5.0-SNAPSHOT</version>
<artifactId>org.eclipse.tm.tcf.repo</artifactId>
<packaging>eclipse-repository</packaging>
+
+ <properties>
+ <tcf-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/tcf-maint</tcf-install>
+ </properties>
+
+ <profiles>
+ <profile>
+ <id>production</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy</id>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${tcf-install}"/>
+ <delete>
+ <fileset dir="${tcf-install}">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy
+ file="target/org.eclipse.tm.tcf.repo.zip"
+ tofile="${tcf-install}/org.eclipse.tm.tcf.repo.${unqualifiedVersion}.${buildQualifier}.zip"/>
+ <unzip
+ src="target/org.eclipse.tm.tcf.repo.zip"
+ dest="${tcf-install}"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>

Back to the top