Tutorials for Design Pattern descriptions (using Java)
HTML Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DesignPatternAdapter
DesignPatternBuilder
DesignPatternFacade
DesignPatternObserver
DesignPatternSingleton
DesignPatterns
DesignPrinciples
gradle/wrapper
web
.gitignore
.project
CONTRIBUTING.adoc
README.adoc
build.gradle
copyright.adoc
docinfo.html
gradlew
gradlew.bat
services.adoc
settings.gradle
support.adoc

README.adoc

Design pattern tutorials from vogella.com

How to build

In the root directory the following commands can be used to build different outputs.

// create HTML 5
./gradlew cH

// create PDF
./gradlew cP

// create EPub 3
./gradlew cE

// create All (HTML 5, PDF, EPub 3)
./gradlew cA

If these commands are run in the root directory all subprojects will be build.

Tip
Single subprojects can be build when navigating into a subproject and for example run ../gradlew cH
Note
On Windows OS ./gradlew.bat must be used
See CSS tutorial

Create a new tutorial

  1. Create a new project(a sub-directory) in the root directory

  2. Add the new project to the settings.gradle file (include '{newProjectName}')

  3. Open new project in terminal and run ../gradlew cT to run the createTemplate task

Publish HTML task for Jenkins

Currently the jenkins build server is used to copy the HTML tutorials from an '/output' folder to the actual webserver, therefore the publishHtml task can be used to create the HTML Tutorials and copy the HTML tutorials to a '/asciidocOutput' folder.