From c5541eed95f492f5fd615e6159115b0840ef0c37 Mon Sep 17 00:00:00 2001 From: nash Date: Sun, 1 May 2011 14:57:07 +0000 Subject: TUSCANY-3860: Build updatesite contents for site-publish as part of the distribution output git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1098346 13f79535-47bb-0310-9956-ffa450edef68 --- .../distribution/src/main/assembly/updatesite.xml | 8 + .../site/updatesite/filtered-resources/.htaccess | 6 + .../updatesite/filtered-resources/site--xml.html | 38 ++++ .../src/main/assembly/updatesite.xml | 15 +- .../trunk/tools/eclipse/site/updatesite/index.html | 60 ++++++ .../trunk/tools/eclipse/site/updatesite/pom.xml | 10 +- .../tools/eclipse/site/updatesite/site--xml.cgi | 6 + .../tools/eclipse/site/updatesite/web/site.css | 12 ++ .../tools/eclipse/site/updatesite/web/site.xsl | 214 +++++++++++++++++++++ 9 files changed, 362 insertions(+), 7 deletions(-) create mode 100644 sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/.htaccess create mode 100644 sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/site--xml.html create mode 100644 sca-java-1.x/trunk/tools/eclipse/site/updatesite/index.html create mode 100644 sca-java-1.x/trunk/tools/eclipse/site/updatesite/site--xml.cgi create mode 100644 sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.css create mode 100644 sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.xsl (limited to 'sca-java-1.x/trunk') diff --git a/sca-java-1.x/trunk/distribution/src/main/assembly/updatesite.xml b/sca-java-1.x/trunk/distribution/src/main/assembly/updatesite.xml index c44807c57d..39e9b47fde 100644 --- a/sca-java-1.x/trunk/distribution/src/main/assembly/updatesite.xml +++ b/sca-java-1.x/trunk/distribution/src/main/assembly/updatesite.xml @@ -33,6 +33,7 @@ tuscany-sca-${tuscany.version}-updatesite/LICENSE + tuscany-sca-${tuscany.version}-updatesite-publish/LICENSE tuscany-sca-${tuscany.version}-updatesite/features/* @@ -43,5 +44,12 @@ LICENSE + + src/main/release/bin + tuscany-sca-${tuscany.version}-updatesite-publish + + LICENSE + + diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/.htaccess b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/.htaccess new file mode 100644 index 0000000000..b23756584f --- /dev/null +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine on + +RewriteBase /updatesite/java/sca/${pom.version} + +RewriteRule ^site.xml$ site--xml.cgi [L] + diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/site--xml.html b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/site--xml.html new file mode 100644 index 0000000000..d3aea230b6 --- /dev/null +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/site--xml.html @@ -0,0 +1,38 @@ + + + + + Apache Tuscany SCA Eclipse Tools + + + + + + + + + + + The Apache Tuscany SCA Eclipse Tools category contains all features related to Apache Tuscany SCA. + + + diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/src/main/assembly/updatesite.xml b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/src/main/assembly/updatesite.xml index b681a1be12..1cc26517f5 100644 --- a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/src/main/assembly/updatesite.xml +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/src/main/assembly/updatesite.xml @@ -26,7 +26,7 @@ - target/classes + . tuscany-sca-${tuscany.version}-updatesite LICENSE @@ -34,6 +34,19 @@ site.xml + + . + tuscany-sca-${tuscany.version}-updatesite-publish + + LICENSE + NOTICE + .htaccess + index.html + site--xml.cgi + site--xml.html + web/** + + diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/index.html b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/index.html new file mode 100644 index 0000000000..fe3fb114dc --- /dev/null +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/index.html @@ -0,0 +1,60 @@ + + +tuscany-updatesite + + + + + + +
+ + diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml index bba37287e5..a9c69d968f 100644 --- a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml @@ -51,16 +51,12 @@ ${basedir}/../../target/filter.properties + ${basedir} - src/** - **/.*/** - pom.xml - build.* - filtered-resources/** - target/** + **/* @@ -121,6 +117,8 @@ site.xml NOTICE + .htaccess + site--xml.html src/** diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/site--xml.cgi b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/site--xml.cgi new file mode 100644 index 0000000000..5fd64f0864 --- /dev/null +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/site--xml.cgi @@ -0,0 +1,6 @@ +#!/bin/sh +# Wrapper script around mirrors.cgi script +# (we must change to that directory in order for python to pick up the +# python includes correctly) +cd /www/www.apache.org/dyn/mirrors +/www/www.apache.org/dyn/mirrors/mirrors.cgi $* diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.css b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.css new file mode 100644 index 0000000000..62c6f9ffa4 --- /dev/null +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.css @@ -0,0 +1,12 @@ + diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.xsl b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.xsl new file mode 100644 index 0000000000..05fb68666f --- /dev/null +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/web/site.xsl @@ -0,0 +1,214 @@ + + + + + + + + tuscany-updatesite + + + +

tuscany-updatesite

+

+ + + + + + + + + + + + + + + + dark-row + + + light-row + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dark-row + + + light-row + + + + + + + + + + + + + + + dark-row + + + light-row + + + + + + + + +
+ + + +
+ + + +
+
+ ( - ) +
+
+ + - + +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Operating Systems:
Windows Systems:
Languages:
Architecture:
+


+ Uncategorized +
+ + + +
+
+ ( - ) +
+
+ + - + +
+

+
+ + + + + + + + + + + + + + + + + + + + + +
Operating Systems:
Windows Systems:
Languages:
Architecture:
+
+ + + +
+
+ ( - ) +
+
+ + - + +
+

+
+ + + + + + + + + + + + + + + + + + + + + +
Operating Systems:
Windows Systems:
Languages:
Architecture:
+
+ + +
+
+
-- cgit v1.2.3