sts4 distribtion build and repo upload added
This commit is contained in:
6
eclipse-distribution/common/html/jquery-2.0.3.min.js
vendored
Normal file
6
eclipse-distribution/common/html/jquery-2.0.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
43
eclipse-distribution/common/html/nightly-distributions.html
Normal file
43
eclipse-distribution/common/html/nightly-distributions.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>STS 4 - Nightly builds</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="http://www.springsource.org/sites/all/themes/s2org11/favicon.ico"/>
|
||||
<link rel="stylesheet" href="stylesheet.css" type="text/css">
|
||||
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
|
||||
<script src="jquery-2.0.3.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div style="margin:40px;">
|
||||
|
||||
<h1>STS4 - Nightly builds</h1>
|
||||
|
||||
<h2>p2 repositories</h2>
|
||||
|
||||
<p>Note: please do NOT use your browser to access these p2 repositories directly, there is no web index content being served.
|
||||
Instead add them to the available update sites in your Eclipse/STS preferences or paste them into the "Install New Software" dialog.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li>for Eclipse Neon (4.7): <a href="http://dist.springsource.com/snapshot/TOOLS/sts4/nightly/e4.6">http://dist.springsource.com/snapshot/TOOLS/sts4/nightly/e4.6</a></li>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<h2>distribution builds</h2>
|
||||
|
||||
<h3>STS 4 - based on Eclipse Oxygen (4.7) - snapshot builds</h3>
|
||||
<div id="e47"></div>
|
||||
<script type="text/javascript">
|
||||
$('#e47').load('sts4-nightly-e4.7.html');
|
||||
</script>
|
||||
|
||||
<h2>vscode extensions</h2>
|
||||
<h3>will arrive soon</h3>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,7 @@
|
||||
<ul>
|
||||
|
||||
<li><a href="http://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-boot-ide-@QUALIFIER@-@TARGET@-win32-x86_64.zip">spring-boot-ide-@QUALIFIER@-@TARGET@-win32-x86_64.zip</li>
|
||||
<li><a href="http://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-boot-ide-@QUALIFIER@-@TARGET@-macosx-cocoa-x86_64.tar.gz">spring-boot-ide-@QUALIFIER@-@TARGET@-macosx-cocoa-x86_64.tar.gz</li>
|
||||
<li><a href="http://download.springsource.com/snapshot/STS4/nightly/dist/@MAJOR-TARGET@/spring-boot-ide-@QUALIFIER@-@TARGET@-linux-gtk-x86_64.tar.gz">spring-boot-ide-@QUALIFIER@-@TARGET@-linux-gtk-x86_64.tar.gz</li>
|
||||
|
||||
</ul>
|
||||
81
eclipse-distribution/common/html/stylesheet.css
Normal file
81
eclipse-distribution/common/html/stylesheet.css
Normal file
@@ -0,0 +1,81 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin:0;
|
||||
background:#eeeeee;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #666;
|
||||
font-size:14px;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
color: #666;
|
||||
font-size:14px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration:none;
|
||||
color: #0A96C5;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #666;
|
||||
text-transform:uppercase;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
font-size:32px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: normal;
|
||||
color: #666;
|
||||
text-transform:uppercase;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
font-size:24px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-weight:normal;
|
||||
color:#666;
|
||||
text-transform:uppercase;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color:#666;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.menuaction {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
table {
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
border-width: 1px;
|
||||
border-color: #666666;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table th {
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: #dedede;
|
||||
}
|
||||
|
||||
table td {
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
@@ -13,7 +13,11 @@
|
||||
<artifactId>org.springframework.boot.ide.product</artifactId>
|
||||
|
||||
<packaging>eclipse-repository</packaging>
|
||||
<name>org.springframework.boot.ide.product</name>
|
||||
|
||||
<properties>
|
||||
<dist.accessKey>${accessKey}</dist.accessKey>
|
||||
<dist.secretKey>${secretKey}</dist.secretKey>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
@@ -96,9 +100,162 @@
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
<execution>
|
||||
<id>zip-sts-repository</id>
|
||||
<phase>install</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
|
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
||||
<taskdef resource="org/springframework/build/aws/ant/antlib.xml" />
|
||||
|
||||
<property name="dist.full.version" value="${unqualifiedVersion}.${p2.qualifier}-${dist.target}" />
|
||||
<property name="dist.file.name" value="${dist.project}-${dist.full.version}-updatesite.zip" />
|
||||
|
||||
<zip zipfile="${project.build.directory}/repository/${dist.file.name}" filesonly="true">
|
||||
<zipfileset
|
||||
dir="${project.build.directory}/repository">
|
||||
<exclude name="*.zip" />
|
||||
<exclude name="**/*.gz" />
|
||||
</zipfileset>
|
||||
</zip>
|
||||
|
||||
<checksum file="${project.build.directory}/repository/${dist.file.name}" algorithm="SHA1" fileext=".sha1" />
|
||||
<checksum file="${project.build.directory}/repository/${dist.file.name}" algorithm="MD5" fileext=".md5" />
|
||||
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>upload-sts-repository</id>
|
||||
<phase>deploy</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
|
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
||||
<taskdef resource="org/springframework/build/aws/ant/antlib.xml" />
|
||||
|
||||
<s3 accessKey="${dist.accessKey}" secretKey="${dist.secretKey}">
|
||||
|
||||
<delete bucketName="${dist.bucket}">
|
||||
<fileset dir="${dist.path.repo}">
|
||||
<include name="site.xml" />
|
||||
<include name="content.jar" />
|
||||
<include name="artifacts.jar" />
|
||||
<include name="plugins/**" />
|
||||
<include name="features/**" />
|
||||
<include name="binary/**" />
|
||||
<include name="*.zip" />
|
||||
<include name="*.sha1" />
|
||||
<include name="*.md5" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<upload bucketName="${dist.bucket}" toDir="${dist.path.repo}" publicRead="true">
|
||||
<fileset
|
||||
dir="${project.build.directory}/repository">
|
||||
<include name="**/*" />
|
||||
<include name="**" />
|
||||
</fileset>
|
||||
</upload>
|
||||
|
||||
</s3>
|
||||
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>upload-product-bundles</id>
|
||||
<phase>deploy</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
|
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
||||
<taskdef resource="org/springframework/build/aws/ant/antlib.xml" />
|
||||
|
||||
<property name="site.target.dir" value="${project.build.directory}" />
|
||||
|
||||
<s3 accessKey="${dist.accessKey}" secretKey="${dist.secretKey}">
|
||||
|
||||
<delete bucketName="${dist.bucket}">
|
||||
<fileset dir="${dist.path.product}">
|
||||
<include name="spring-boot-ide*.zip" />
|
||||
<include name="spring-boot-ide*.zip.md5" />
|
||||
<include name="spring-boot-ide*.zip.sha1" />
|
||||
<include name="spring-boot-ide*.tar.gz" />
|
||||
<include name="spring-boot-ide*.tar.gz.md5" />
|
||||
<include name="spring-boot-ide*.tar.gz.sha1" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<upload bucketName="${dist.bucket}" toDir="${dist.path.product}"
|
||||
publicRead="true">
|
||||
<fileset dir="${site.target.dir}">
|
||||
<include name="spring-boot-ide*.zip" />
|
||||
<include name="spring-boot-ide*.zip.md5" />
|
||||
<include name="spring-boot-ide*.zip.sha1" />
|
||||
<include name="spring-boot-ide*.tar.gz" />
|
||||
<include name="spring-boot-ide*.tar.gz.md5" />
|
||||
<include name="spring-boot-ide*.tar.gz.sha1" />
|
||||
</fileset>
|
||||
</upload>
|
||||
|
||||
</s3>
|
||||
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>update-nightly-downloads</id>
|
||||
<phase>deploy</phase>
|
||||
<configuration>
|
||||
<skip>${skip.update-nightly-download-page}</skip>
|
||||
<target>
|
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
||||
<taskdef resource="org/springframework/build/aws/ant/antlib.xml" />
|
||||
|
||||
<copy file="../../common/html/nightly-generic-snippet.html" tofile="../../common/html/sts4-nightly-${dist.target.major}.html"/>
|
||||
|
||||
<replace file="../../common/html/sts4-nightly-${dist.target.major}.html" token="@QUALIFIER@" value="${unqualifiedVersion}.${p2.qualifier}" summary="yes" />
|
||||
<replace file="../../common/html/sts4-nightly-${dist.target.major}.html" token="@TARGET@" value="${dist.target}" summary="yes" />
|
||||
<replace file="../../common/html/sts4-nightly-${dist.target.major}.html" token="@MAJOR-TARGET@" value="${dist.target.major}" summary="yes" />
|
||||
|
||||
<s3 accessKey="${accessKey}" secretKey="${secretKey}">
|
||||
<upload bucketName="${dist.bucket}" file="../../common/html/sts4-nightly-${dist.target.major}.html"
|
||||
toFile="snapshot/STS4/sts4-nightly-${dist.target.major}.html" publicRead="true">
|
||||
</upload>
|
||||
</s3>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.build</groupId>
|
||||
<artifactId>org.springframework.build.aws.ant</artifactId>
|
||||
<version>3.1.0.RELEASE</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.java.dev.jets3t</groupId>
|
||||
<artifactId>jets3t</artifactId>
|
||||
<version>0.8.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ant-contrib</groupId>
|
||||
<artifactId>ant-contrib</artifactId>
|
||||
|
||||
@@ -44,18 +44,55 @@
|
||||
<skip.osx.signing>true</skip.osx.signing>
|
||||
|
||||
<dist.name>Spring Boot IDE</dist.name>
|
||||
<dist.type>snapshot</dist.type>
|
||||
|
||||
<dist.bucket>dist.springsource.com</dist.bucket>
|
||||
<dist.key>TOOLS</dist.key>
|
||||
<dist.project>sts4</dist.project>
|
||||
|
||||
<dist.pathpostfix>nightly</dist.pathpostfix>
|
||||
<dist.path>${dist.type}/${dist.key}/${dist.project}/${dist.pathpostfix}</dist.path>
|
||||
<dist.dependencies-version-path>nightly</dist.dependencies-version-path>
|
||||
<dist.springboot-language-servers-pathpostfix>${dist.dependencies-version-path}</dist.springboot-language-servers-pathpostfix>
|
||||
<dist.springide-pathpostfix>${dist.dependencies-version-path}</dist.springide-pathpostfix>
|
||||
<dist.eclipse-integration-commons-version>${dist.dependencies-version-path}</dist.eclipse-integration-commons-version>
|
||||
|
||||
<tycho-version>0.24.0</tycho-version>
|
||||
<tycho-version>0.25.0</tycho-version>
|
||||
<encoding>UTF-8</encoding>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
|
||||
<profile>
|
||||
<id>snapshot</id>
|
||||
<properties>
|
||||
<dist.type>snapshot</dist.type>
|
||||
<dist.path.repo>${dist.type}/TOOLS/sts4/nightly/${dist.target.major}</dist.path.repo>
|
||||
<dist.path.product>${dist.type}/STS4/nightly/dist/${dist.target.major}</dist.path.product>
|
||||
<skip.update-nightly-download-page>false</skip.update-nightly-download-page>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>milestone</id>
|
||||
<properties>
|
||||
<dist.type>milestone</dist.type>
|
||||
<dist.path.repo>${dist.type}/TOOLS/sts4/update/${unqualifiedVersion}.${p2.qualifier}/${dist.target.major}</dist.path.repo>
|
||||
<dist.path.product>${dist.type}/STS4/${unqualifiedVersion}.${p2.qualifier}/dist/${dist.target.major}</dist.path.product>
|
||||
<skip.update-nightly-download-page>true</skip.update-nightly-download-page>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<properties>
|
||||
<dist.type>release</dist.type>
|
||||
<dist.path.repo>${dist.type}/TOOLS/sts4/update/${unqualifiedVersion}.${p2.qualifier}/${dist.target.major}</dist.path.repo>
|
||||
<dist.path.product>${dist.type}/STS4/${unqualifiedVersion}.${p2.qualifier}/dist/${dist.target.major}</dist.path.product>
|
||||
<skip.update-nightly-download-page>true</skip.update-nightly-download-page>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
|
||||
<profile>
|
||||
<id>e47</id>
|
||||
<properties>
|
||||
|
||||
Reference in New Issue
Block a user