Skip to content

Commit

Permalink
Adds a SDK download page
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc Bourlier committed Apr 29, 2013
1 parent 987b46a commit dfb17c3
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 2 deletions.
1 change: 1 addition & 0 deletions _includes/footermenu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<div class="container">
<ul>
<li><h5>Download</h5></li>
<li><a href="{{ site.baseurl }}/download/sdk.html">SDK</a></li>
<li><a href="{{ site.baseurl }}/download/current.html">Stable</a></li>
<li><a href="{{ site.baseurl }}/download/milestone.html">Milestone</a></li>
<li><a href="{{ site.baseurl }}/download/nightly.html">Nightlies</a></li>
Expand Down
2 changes: 1 addition & 1 deletion _includes/frontpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="release-text">
<p>Scala IDE provides advanced editing and debugging support for the development of pure Scala and mixed Scala-Java applications.</p>
<p>Now with a shiny Scala debugger, semantic highlight, more reliable JUnit test finder, an ecosystem of related plugins, and <a href="{{ site.baseurl }}/docs/current-user-doc/features.html">much more</a>.</p>
<br/><a href="{{ site.baseurl }}/download/current.html" class="btn large success"><b>Get it now!</b></a>
<a href="{{ site.baseurl }}/download/sdk.html" class="btn large success"><b>Get the SDK</b></a><div class="flat large">or use the<h3><a href="{{ site.baseurl }}/download/current.html"><b>update sites</b></a></h3></div>
</div>
</div>
<span class="arrow"><img src="{{ site.baseurl }}/resources/images/arrow.png" /></span>
Expand Down
47 changes: 47 additions & 0 deletions _includes/sdk-download-box-2-10-indigo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<div class="download-section">

<div id="download-link-2-10-indigo" class="download-link">
<a href="#" id="downloadIDE210">
Download SDK
<small></small>
</a>
</div>

<script type="text/javascript">
var osTuple = [];
if (navigator.appVersion.indexOf("Win")!=-1) osTuple = ["Windows - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-win32.win32.x86_64.zip"];
else if (navigator.appVersion.indexOf("Mac")!=-1) osTuple = ["Mac - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-macosx.cocoa.x86_64.zip"];
else if (navigator.appVersion.indexOf("X11")!=-1) osTuple = ["Linux - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-linux.gtk.x86_64.tar.gz"];
else if (navigator.appVersion.indexOf("Linux")!=-1) osTuple = ["Linux - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-linux.gtk.x86_64.tar.gz"];
else $("#downloadIDE210").hide();
$("#downloadIDE210").attr("href", osTuple[1]).find("small").html(osTuple[0]);
</script>

<div class="row">
<div class="span4 offset1">
<div>
<h4 class="inline">Windows</h4>
</div>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-win32.win32.x86_64.zip">Windows 64 bit</a>
<br/>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-win32.win32.x86.zip">Windows 32 bit</a>
</div>
<div class="span4">
<div>
<h4 class="inline">Mac</h4>
</div>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-macosx.cocoa.x86_64.zip">Mac OS X Cocoa 64 bit</a>
<br/>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-macosx.cocoa.x86.zip">Mac OS X Cocoa 32 bit</a>
</div>
<div class="span4">
<div>
<h4 classs="inline">Linux</h4>
</div>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-linux.gtk.x86_64.tar.gz">Linux GTK 64 bit</a>
<br/>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-210-20130326/scala-SDK-3.0.0-vfinal-2.10-linux.gtk.x86.tar.gz">Linux GTK 32 bit</a>
</div>
</div>

</div>
49 changes: 49 additions & 0 deletions _includes/sdk-download-box-2-9-indigo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<div class="download-section">

<div id="download-link-2-10-indigo" class="download-link">
<a href="#" id="downloadIDE29">
Download SDK
<small></small>
</a>
</div>

<script type="text/javascript">
var osTuple = [];
if (navigator.appVersion.indexOf("Win")!=-1) osTuple = ["Windows - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-win32.win32.x86_64.zip"];
else if (navigator.appVersion.indexOf("Mac")!=-1) osTuple = ["Mac - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-macosx.cocoa.x86_64.zip"];
else if (navigator.appVersion.indexOf("X11")!=-1) osTuple = ["Linux - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-linux.gtk.x86_64.tar.gz"];
else if (navigator.appVersion.indexOf("Linux")!=-1) osTuple = ["Linux - 64 bit" , "http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-linux.gtk.x86_64.tar.gz"];
else $("#downloadIDE29").hide();
$("#downloadIDE29").attr("href", osTuple[1]).find("small").html(osTuple[0]);
</script>

<div class="row">
<div class="span4 offset1">
<div>
<h4 class="inline">Windows</h4>
</div>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-win32.win32.x86_64.zip">Windows 64 bit</a>
<br/>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-win32.win32.x86.zip">Windows 32 bit</a>
</div>
<div class="span4">
<div>
<h4 class="inline">Mac</h4>
</div>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-macosx.cocoa.x86_64.zip">Mac OS X Cocoa 64 bit</a>
<br/>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-macosx.cocoa.x86.zip">Mac OS X Cocoa 32 bit</a>
</div>
<div class="span4">
<div>
<h4 classs="inline">Linux</h4>
</div>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-linux.gtk.x86_64.tar.gz">Linux GTK 64 bit</a>
<br/>
<a href="http://downloads.typesafe.com/scalaide-pack/3.0.0.vfinal-29-20130326/scala-SDK-3.0.0-vfinal-2.9-linux.gtk.x86.tar.gz">Linux GTK 32 bit</a>
</div>
</div>

</div>


9 changes: 9 additions & 0 deletions _includes/sdk-download-requirements-indigo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
* [JDK 5][jdk5] or [JDK 6][jdk6] ([JDK 7][jdk7] can be used but there have been issues reported when using Eclipse 3.7 with Java 7, e.g., [1][issue-1-jdk7] or or [2][issue-2-jdk7] if you are on MacOSX - a workaround for the latter issue is described [here][workaround-issue-2-jdk7]).

[jdk5]: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html
[jdk6]: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html
[jdk7]: http://www.oracle.com/technetwork/java/javase/downloads/index.html
[eclipse-indigo]: http://www.eclipse.org/downloads/packages/release/indigo/sr2
[issue-1-jdk7]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=381612
[issue-2-jdk7]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=374791
[workaround-issue-2-jdk7]: http://stackoverflow.com/questions/10352715/how-do-i-run-eclipse-using-oracles-new-1-7-jdk-for-the-mac
1 change: 1 addition & 0 deletions _includes/topbar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<li class="menu">
<a href="#" class="menu">Download</a>
<ul class="menu-dropdown">
<li><a href="{{ site.baseurl }}/download/sdk.html">SDK</a></li>
<li><a href="{{ site.baseurl }}/download/current.html">Stable</a></li>
<li><a href="{{ site.baseurl }}/download/milestone.html">Milestone</a></li>
<li><a href="{{ site.baseurl }}/download/nightly.html">Nightlies</a></li>
Expand Down
40 changes: 40 additions & 0 deletions _layouts/sdk-download.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
layout: default
---

{% include headertop.txt %}
<!-- Stylesheet for doc-like pages -->
<link rel="stylesheet" href="{{ site.baseurl }}/resources/stylesheets/doc.css" type="text/css" />
<!-- js specific to download pages -->
<script type="text/javascript" src="{{ site.baseurl }}/resources/javascript/ZeroClipboard.js"></script>
<!-- js for popovers -->
<script src="{{ site.baseurl }}/resources/javascript/bootstrap-twipsy.js"></script>
<script src="{{ site.baseurl }}/resources/javascript/bootstrap-popover.js"></script>
<style type="text/css">
.bottom h2 { margin-top: 18px;}
h2.label { text-shadow:0 0 0 rgba(0, 0, 0, 0);}
</style>
{% include headerbottom.txt %}
{% include topbar.txt %}

<div class="slider">
<div class="container">
<div class="row">
<div class="span16">
<h1>{{ page.title }}</h1>
</div>
</div>
</div>
</div>

<div class="bottom">
<div class="container">
<div class="row">
<div class="span13">
{{ content }}
</div>
</div>
</div>
</div>

{% include footer.txt %}
28 changes: 28 additions & 0 deletions download/sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: sdk-download
title: Download the SDK of the Scala IDE for Eclipse
---

The SDK contains the lastest release version of the Scala IDE for Eclipse and it comes pre-configured
for optimal performance. No need to configure update sites, and *Check for updates* will keep your
development environment up to date.

Whether you are a seasoned Scala developer, or just picking up the language, this is the fastest way to get productive.

# Improved in This Release
{% include current-download-features.txt %}

# 3.0.0 Release

This release is available for both *Scala 2.9 and Scala 2.10*,
and is based on *Eclipse 3.7 (Indigo)*.

### Requirements
{% include sdk-download-requirements-indigo.txt %}

## For Scala 2.10.1
{% include sdk-download-box-2-10-indigo.txt %}

## For Scala 2.9.3
{% include sdk-download-box-2-9-indigo.txt %}

24 changes: 23 additions & 1 deletion resources/stylesheets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ body {background-color: #8d8d8d;}
border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.flat.large {
float: right;
margin: 5px 35px 0 0;
}

.flat.large a {
font-size: 26px;
}

.footer {
padding-top: 15px;
clear: both;
Expand Down Expand Up @@ -260,6 +269,19 @@ body {background-color: #8d8d8d;}
box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.download-link a {
color: rgba(0,0,0,0.6);
}

.download-link:hover a {
color: rgba(13,68,0,1);
text-decoration: none;
}

.download-link small {
font-size: 75%;
}

.download-link.hover{
color: rgba(13,68,0,1);
background-color:#bfeb9b;
Expand Down Expand Up @@ -293,4 +315,4 @@ a:hover { color: #79c176; }

.inline {
display: inline;
}
}

0 comments on commit dfb17c3

Please sign in to comment.