-
Couldn't load subscription status.
- Fork 8
How to build
Andre Bossert edited this page Nov 13, 2017
·
2 revisions
- Eclipse IDE for Eclipse Committers, see https://www.eclipse.org/downloads/packages/eclipse-ide-eclipse-committers/neon1
- Maven: just install the m2e plugin, see https://www.eclipse.org/m2e
- Tycho: do not need separate installation, will be fetched by Maven during the build automattically, see https://eclipse.org/tycho/
- Clone LogViewer from
https://github.com/anb0s/LogViewer.gitto new directoryLogViewer - switch to
masterbranch - Import all projects to Eclipse and add them to new "Working Set" LogViewer
- LogViewer: root project, needed only for readme, headless build etc.
- de.anbos.eclipse.logviewer.feature: feature project
- de.anbos.eclipse.logviewer.platform: platform definition
- de.anbos.eclipse.logviewer.plugin: plugin with main sources
- de.anbos.eclipse.logviewer.site: update site
- Clone LogViewer from
https://github.com/anb0s/LogViewer.gitto new directoryLogViewer-gh-pages - switch to
gh-pagesbranch - Import the project to Eclipse and add it to "Wortking Set" LogViewer
- LogViewer-gh-pages: root project, needed for web- and update-site
- select target platform you want to test LogViewer against:
- go to project de.anbos.eclipse.logviewer.platform
- open wanted platform definition file, e.g. for Eclipse 4.6 Neon use Eclipse-4.6.target
- use
Set as Target Platformand wait until the platform defition is loaded from Eclipse mirrors
- now there should be no build errors anymore
- use
Run | Debug As | Eclipse Applicationand wait until the new Eclipse instance is opened - use LogViewer, set breakpoint etc. :)
- go to project LogViewer
- build
- from Eclipse: run launch configuration
LogViewer-Testing-Build - from commandline / headless / CI server:
mvn clean verifywith parametersite.dir=testing
- from Eclipse: run launch configuration
- go to project de.anbos.eclipse.logviewer.site and use one of:
- directory
target\repositoryOR - zip file e.g.
target\de.anbos.logviewer.logviewer.site-0.9.9-SNAPSHOT.zipOR - last version from
updates\testing
- directory
- deploy
- synchronize the directory
updates\testingto project LogViewer-gh-pages directorytesting - commit and push project LogViewer-gh-pages to GitHub and check the new version from site
http://anb0s.github.io/LogViewer/testing
- synchronize the directory
- go to project LogViewer
- build
- from Eclipse: run launch configuration
LogViewer-Release-Build - from commandline / headless / CI server:
mvn clean verifywith parametersite.dir=release
- from Eclipse: run launch configuration
- go to project de.anbos.eclipse.logviewer.site and use one of:
- directory
target\repositoryOR - zip file e.g.
target\de.anbos.eclipse.logviewer.site-0.9.9-SNAPSHOT.zipOR - last version from directory
updates\release
- directory
- deploy
- synchronize the directory
updates\releaseto project LogViewer-gh-pages directoryrelease - commit and push project LogViewer-gh-pages to GitHub and check the new version from site
http://anb0s.github.io/LogViewer
- synchronize the directory