incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject svn commit: r1607064 - in /sling/site/trunk: content/downloads.list lib/view.pm templates/downloads.html
Date Tue, 01 Jul 2014 13:05:45 GMT
Author: rombert
Date: Tue Jul  1 13:05:44 2014
New Revision: 1607064

URL: http://svn.apache.org/r1607064
Log:
Updated downloads to include Sling IDE Tooling 1.0.0

Includes required updates to templates and scripts.

Modified:
    sling/site/trunk/content/downloads.list
    sling/site/trunk/lib/view.pm
    sling/site/trunk/templates/downloads.html

Modified: sling/site/trunk/content/downloads.list
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/downloads.list?rev=1607064&r1=1607063&r2=1607064&view=diff
==============================================================================
--- sling/site/trunk/content/downloads.list (original)
+++ sling/site/trunk/content/downloads.list Tue Jul  1 13:05:44 2014
@@ -4,17 +4,21 @@
 # lines starting with a hash sign and empty lines are ignored
 
 #
-# This file contains three parts:
+# This file contains four parts:
 #   (1) version number of the Sling Launchpad
-#   (2) Sling Bundles and Components
-#   (3) Maven Plugins
+#   (2) version number of the Sling IDE Tooling
+#   (3) Sling Bundles and Components
+#   (4) Maven Plugins
 
 #
 # (1) Sling Launchpad Application and Web App Version
 sling|6
 
+# (2) Sling IDE Tooling Versoin
+sling-ide-tooling|1.0.0
+
 #
-# (2) Sling Bundles and Components
+# (3) Sling Bundles and Components
 # This list is sorted by the title before writing the table
 # Format: title|artifactId|version[|classifier[|extension]]
 Adapter|org.apache.sling.adapter|2.1.0
@@ -128,7 +132,7 @@ Tenant|org.apache.sling.tenant|1.0.0
 Test Tools|org.apache.sling.testing.tools|1.0.6
 Tooling Support Install|org.apache.sling.tooling.support.install|1.0.0
 
-# (3) Maven Plugins
+# (4) Maven Plugins
 # This list is sorted by the title before writing the table
 # Format: title|artifactId|version[|classifier[|extension]]
 Maven JSPC Plugin|maven-jspc-plugin|2.0.8

Modified: sling/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/sling/site/trunk/lib/view.pm?rev=1607064&r1=1607063&r2=1607064&view=diff
==============================================================================
--- sling/site/trunk/lib/view.pm (original)
+++ sling/site/trunk/lib/view.pm Tue Jul  1 13:05:44 2014
@@ -114,6 +114,7 @@ sub downloads {
     my $result = "|Artifact | Version | Binary | Source|\n|--|--|--|--|\n";
     my $maven = "|Artifact | Version | Binary | Source|\n|--|--|--|--|\n";
     my $launchpad = "| Artifact | Version | Provides | Package |\n|-|-|-|-|\n";
+    my $ide = "|Artifact | Version | Online update site | Zipped update site |\n|--|--|--|--|\n";
 
     my @lines = split( /\n/, $args{content} );
     @lines = sort @lines;
@@ -129,7 +130,9 @@ sub downloads {
             $launchpad .="| Sling Standalone Application | $artifact | A self-runnable Sling
jar. | " . downloadLink("org.apache.sling.launchpad-$artifact-standalone.jar"). "|\n";
             $launchpad .="| Sling Web Application | $artifact | A ready-to run Sling webapp
as a war file. | " . downloadLink("org.apache.sling.launchpad-$artifact.war"). "|\n";
             $launchpad .="| Sling Source Package | $artifact | The released Sling source
code. | " . downloadLink("sling-$artifact-source-release.tar.gz")."<br/>" . downloadLink("sling-$artifact-source-release.zip")."
|\n";
-            
+        } elsif ( $title eq "sling-ide-tooling" ) {
+
+            $ide .= "| Sling IDE Tooling for Eclipse | $artifact | A p2 update site to be
installed in Eclipse. | " . downloadLink("org.apache.sling.ide.p2update-$artifact.zip"). "
| " . downloadLinkWithoutSigs("eclipse/$artifact") ." |\n";
     	} else {
 	    	
 	    	my $target = \$result;
@@ -349,6 +352,14 @@ sub downloadLink {
     return "[$label]([preferred]/sling/$artifact) ([asc]($dp/sling/$artifact.asc), [md5]($dp/sling/$artifact.md5))";
 }
 
+sub downloadLinkWithoutSigs {
+
+	my ($artifact, $label) = @_;
+    my $dp = "http://www.apache.org/dist";
+    $label = $artifact unless ($label);
+    return "[$label]([preferred]/sling/$artifact) ";
+}
+
 sub breadcrumbs {
     my @path = split m!/!, shift;
     pop @path;

Modified: sling/site/trunk/templates/downloads.html
URL: http://svn.apache.org/viewvc/sling/site/trunk/templates/downloads.html?rev=1607064&r1=1607063&r2=1607064&view=diff
==============================================================================
--- sling/site/trunk/templates/downloads.html (original)
+++ sling/site/trunk/templates/downloads.html Tue Jul  1 13:05:44 2014
@@ -75,6 +75,10 @@ incubator releases of Apache Sling, have
 <a href="http://archive.apache.org/dist/incubator/sling/">Incubator archives</a>.
 </p>
 
+<h2 id="ide-tooling">Sling IDE Tooling</h2>
+
+{{ ide|markdown }}
+
 <h2 id="components">Sling Components</h2>
 {{ content|markdown }}
 



Mime
View raw message