Permalink
Browse files

optional Maven/Tycho build; 100% ready for Travis CI

  • Loading branch information...
1 parent b18ba58 commit 43ead42dd35ac4d0486a9c36e3c5483f599b82df @paulvi paulvi committed Sep 14, 2013
Showing with 250 additions and 16 deletions.
  1. +4 −3 .gitignore
  2. +1 −0 .travis.yml
  3. +19 −0 README.markdown
  4. +20 −0 feature/pom.xml
  5. +13 −13 misc/sourceforge-htaccess/index.html
  6. +19 −0 plugin/pom.xml
  7. +143 −0 pom.xml
  8. +12 −0 site/category.xml
  9. +19 −0 site/pom.xml
View
@@ -1,3 +1,4 @@
-*.bak
-*~
-powermock-mockito-junit-1.4.11
+*.bak
+*~
+powermock-mockito-junit-1.4.11
+target
View
@@ -0,0 +1 @@
+language: java
View
@@ -1,6 +1,8 @@
StartExplorer
=============
+[![Build Status](https://secure.travis-ci.org/basti1302/startexplorer.png)](http://travis-ci.org/basti1302/startexplorer)
+
Just drag-and-drop the button to the Eclipse menu bar to install the plug-in:<br/>
<a href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=641101" title="Drag and drop into a running Eclipse workspace to install StartExplorer">
@@ -114,6 +116,23 @@ Also in Eclipse, you should have at least two projects, the plug-in project and
* You can also import the complete git-repository (that is, the parent folder of plugin and feature) into Eclipse, for example, if you need to change this file (README.markdown).
* In addition, you might want to check out the branch gh-pages to a separate location (required for building and publishing new versions to the update site).
+### Optional maven build
+
+[Maven](http://maven.apache.org/) build (using [Tycho plugin](http://eclipse.org/tycho/)) is headless build, that doesn't require Eclipse.
+
+From base folder just run `mvn package`. Run offline when to re-build `mvn clean package -o`.
+
+#### Install site.zip (quick and simple way)
+
+1. Locate zip file under `site\target` in Project Explorer, StartExplore-> Copy Resource Path to Clipboard
+2. Help -> Install New Software ...
+3. <kbd>Add...</kbd>
+4. <kbd>Archive...</kbd>
+5. Insert copied string into name and path.
+ E.g. `C:\Users\pverest\git\startexplorer\site\target\de.bastiankrol.startexplorer.site-1.4.1.zip`
+
+For the next time just select the zip entry from Work With drop-down list.
+
Release Notes
-------------
View
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>de.bastiankrol.startexplorer</groupId>
+ <artifactId>de.bastiankrol.startexplorer.parent</artifactId>
+ <version>1.4.1</version>
+ </parent>
+
+ <artifactId>de.bastiankrol.startexplorer.feature</artifactId>
+ <packaging>eclipse-feature</packaging>
+
+ <name>StartExplorer (feature)</name>
+ <description>StartExplorer (feature)</description>
+
+</project>
+
@@ -1,14 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
-<title>The StartExplorer plug-in has moved</title>
-</head>
-<body>
- <p>
- The StartExplorer plug-in has moved to <a
- href="http://basti1302.github.com/startexplorer/">GitHub</a>.
- </p>
-</body>
-</html>
-
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>The StartExplorer plug-in has moved</title>
+</head>
+<body>
+ <p>
+ The StartExplorer plug-in has moved to <a
+ href="http://basti1302.github.com/startexplorer/">GitHub</a>.
+ </p>
+</body>
+</html>
+
View
@@ -0,0 +1,19 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>de.bastiankrol.startexplorer</groupId>
+ <artifactId>de.bastiankrol.startexplorer.parent</artifactId>
+ <version>1.4.1</version>
+ </parent>
+
+ <artifactId>de.bastiankrol.startexplorer</artifactId>
+ <version>1.4.1-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <name>StartExplorer (plugin)</name>
+ <description>StartExplorer</description>
+
+</project>
+
View
143 pom.xml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>de.bastiankrol.startexplorer</groupId>
+ <artifactId>de.bastiankrol.startexplorer.parent</artifactId>
+ <version>1.4.1</version>
+ <packaging>pom</packaging>
+ <name>StartExplorer (parent)</name>
+
+ <organization>
+ <name>Bastian Krol</name>
+ <url>https://github.com/basti1302/startexplorer</url>
+ </organization>
+ <!-- http://maven.apache.org/scm/git.html -->
+ <scm>
+ <url>https://github.com/basti1302/startexplorer/</url>
+ <connection>scm:git:https://github.com/basti1302/startexplorer1.git</connection>
+ <developerConnection>scm:git:https://github.com/basti1302/startexplorer.git</developerConnection>
+ </scm>
+ <issueManagement>
+ <system>GitHub</system>
+ <url>https://github.com/basti1302/startexplorer/issues</url>
+ </issueManagement>
+ <ciManagement>
+ <system>Travis CI</system>
+ <url>http://travis-ci.org/basti1302/startexplorer</url>
+ </ciManagement>
+
+ <developers>
+ <developer>
+ <id>daniel.winterstein</id>
+ <name>Bastian Krol</name>
+ <email></email>
+ <organization></organization>
+ <roles>
+ <role>Lead Developer</role>
+ </roles>
+ <timezone>+1</timezone>
+ </developer>
+ </developers>
+ <contributors>
+ <contributor>
+ <name>Paul Verest</name>
+ <organization>Nodeclipse organization</organization>
+ <organizationUrl>http://www.nodeclipse.org/</organizationUrl>
+ <timezone>+8</timezone>
+ </contributor>
+ </contributors>
+
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
+
+ <properties>
+ <tycho-version>0.18.1</tycho-version>
+
+ <!-- PROJECT SETTINGS -->
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ </properties>
+
+
+ <modules>
+ <module>plugin</module>
+ <module>feature</module>
+ <module>site</module>
+ </modules>
+
+ <repositories>
+ <!-- ECLIPSE 3.7
+ <repository>
+ <id>eclipse-indigo</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/indigo</url>
+ </repository>
+ -->
+ <!-- -->
+ <repository>
+ <id>kepler</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/kepler</url>
+ </repository>
+
+ </repositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <environments>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ </environments>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+
+</project>
View
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <feature url="features/de.bastiankrol.startexplorer.feature_1.4.1.jar" id="de.bastiankrol.startexplorer.feature" version="1.4.1">
+ <category name="tools"/>
+ </feature>
+ <category-def name="tools" label="Tools">
+ <description>
+ The StartExplorer Eclipse plug-in offers tight integration of the system file manager (Windows Explorer,
+ Gnome Nautilus, KDE Konqueror, Mac Finder, ...) and the shell (cmd.exe, Linux/Mac terminal) in Eclipse.
+ </description>
+ </category-def>
+</site>
View
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>de.bastiankrol.startexplorer</groupId>
+ <artifactId>de.bastiankrol.startexplorer.parent</artifactId>
+ <version>1.4.1</version>
+ </parent>
+
+ <artifactId>de.bastiankrol.startexplorer.site</artifactId>
+ <packaging>eclipse-repository</packaging>
+
+ <name>StartExplorer (site)</name>
+ <description>StartExplorer (site)</description>
+
+</project>

0 comments on commit 43ead42

Please sign in to comment.