Skip to content

Commit

Permalink
camel-tooling#21 - provide a index.html in the repo folders
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Heinemann <[email protected]>
  • Loading branch information
lhein committed May 31, 2018
1 parent eea10c4 commit c940352
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ after_success:
- mkdir com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/
- mkdir com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/${DEPLOY_REPO_ROOT}/
- mv com.github.camel-tooling.lsp.eclipse.updatesite/target/repository/* com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/${DEPLOY_REPO_ROOT}/
- find website/* -name 'index.html' | xargs perl -pi -e "s/##VERSION##/${PLUGIN_VERSION}/g"
- find website/* -name 'index.html' | xargs perl -pi -e "s/##TYPE##/${DEPLOY_REPO_ROOT}/g"
- cp website/index.html com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/${DEPLOY_REPO_ROOT}/
addons:
sonarcloud:
organization: "camel-tooling"
Expand All @@ -45,5 +48,10 @@ deploy:
overwrite: true
on:
branch: master
- provider: script
script: bash .travis_publish
skip_cleanup: true
overwrite: true
on:
tags: true

37 changes: 37 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<html>
<head>
<title>Camel Tooling - Eclipse ##TYPE## Update Site - &shy; ##VERSION##</title>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<center>
<img src="https://raw.githubusercontent.com/camel-tooling/camel-tooling-common/master/artwork/camel-tooling-logo.png">
<h1>Language Support for Apache Camel - Eclipse Update Site (##TYPE##)</h1>
<h2>Latest Build: ##VERSION##</h2>

<p><b>This is the Update Site for Camel Tooling Language Server for Eclipse</b>
<blockquote style="border: 1px dashed #1778be; padding: 2px">
</br>
To <a href="https://github.com/camel-tooling/camel-lsp-client-eclipse/blob/master/README.md">install</a> from this site, start up Eclipse, then do:<br/>
<code><strong>Help > Install New Software... ></strong></code></br>
Copy this site's URL into Eclipse, and hit Enter.</br>
When the site loads, select the features to install, or click the <code><strong>Select All</strong></code> button.</br>
To properly resolve all dependencies, check</br>
<code><strong>[x] Contact all update sites during install to find required software</strong></code></br>
Click <code><strong>Next</strong></code>, agree to the license terms, and install.</br>
<p>
You can also download Camel Tooling Language Server plugin as individual zip for
offline installation. See <a href="https://github.com/camel-tooling/camel-lsp-client-eclipse/releases">Github Releases</a>.<br />
If you downloaded this site as a zip, you have to extract it into your local Eclipse folder.
</p>
</br>
</blockquote>
</p>

<h4>Stable Releases</h4>
<a href="https://camel-tooling.github.io/camel-lsp-client-eclipse-update-site/updatesite/stable/">Stable releases</a> are - as indicated by their name - stable.<br/>
<br/>
<h4>Nightly Builds</h4>
The <a href="https://camel-tooling.github.io/camel-lsp-client-eclipse-update-site/updatesite/nightly/">bleeding edge</a> contains the latest and greatest new features, but nothing is
stable or guaranteed - yet. If you're using a Release and need a fix, you can update to the latest Nightly, or wait for the next reelase.<br/>
</center>
</html>

0 comments on commit c940352

Please sign in to comment.