diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 28a0fef..7630913 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ submissions from users who have signed and returned the Oracle Contributor Agreement. You will find details and the agreement to sign at this OTN web page: [Oracle Contributor Agreement](http://www.oracle.com/technetwork/community/oca-486395.html). -# Other Contrbutions +# Other Contributions For all project Submissions other than source code repository contributions, the following also applies: Oracle does not claim ownership of Your Submissions. However, in order to fulfill the purposes of this project, You must give Oracle and all Users @@ -27,4 +27,4 @@ included in Your Submissions. All Users, Oracle, and their sublicensees are responsible for any modifications they make to the Submissions of others.* -Copyright © 2017 Oracle and/or its affiliates. All rights reserved +Copyright © 2017 Oracle and/or its affiliates. All rights reserved. diff --git a/README.md b/README.md index 9eaef8d..5279436 100644 --- a/README.md +++ b/README.md @@ -1,77 +1,38 @@ -# A JBake project for the Java EE tutorial +# About this Project -## About JBake +The {{site.title}} Project is the official site for the _Java Platform, Enterprise Edition (Java EE) 8 +Tutorial_ that is delivered with the Java EE 8 SDK. The {{site.title}} teaches and demonstrates the +Java EE features that are used to develop enterprise applications. -JBake is a static site generator, it's inspired from jekyll and written -in java. The basic idea is to have templates for the structure of the -page, and the body generated from asciidoc content. +[View the Java EE Tutorial](toc.html) -## Pre requisites +The latest build of the {{site.title}} is automatically published to this site as HTML. The tutorial is authored +in [AsciiDoc](http://asciidoc.org/). AsciiDoc is similar to original markdown but is particularly suited for user +documentation. If you are interested in forking the tutorial source files or building the tutorials locally, then see +the [javaee/tutorial](https://github.com/javaee/tutorial) repository. -- Maven -- JDK8+ +# Related Projects -Deploying to Github will require password-less authentication. +* [javaee/tutorial-examples](https://github.com/javaee/tutorial-examples): this repository contains the example code that +is used in the {{site.title}}. -This is done by exporting your SSH public key into your Github account. +* [Your First Cup: An Introduction to the Java EE Platform](https://javaee.github.io/firstcup/): an introductory tutorial +suitable for beginners. This tutorial is also included in the Java EE 8 SDK. -## Build the site locally +* [javaee/firstcup-examples](https://github.com/javaee/firstcup-examples): this repository contains the example code that +is used in the Your First Cup tutorial. -The site is generated under target/staging. +* [GlassFish Samples](https://github.com/javaee/glassfish-samples): this repository contains the sample applications +that are delivered with the Java EE 8 SDK. -Open file:///PATH_TO_PROJECT_DIR/target/staging in a browser to view the site. -``` -mvn generate-resources -``` +# How-to Contribute +The easiest way to contribute is by opening an [issue](https://github.com/javaee/tutorial/issues) that contains +feedback and review comments. All issues will be addressed as soon as possible. -Or you can invoke the JBake plugin directly. +The {{site.title}} is open for contributions and your help is greatly appreciated. If you have an idea for the +tutorial and want to add a section or update an existing section, then review the following links: -``` -mvn jbake:build -``` - -### Rebuild the site on changes - -``` -mvn jbake:watch -``` - -If you keep this command running, changes to the sources will be -detected and the site will be rendered incrementally. - -This is convenient when writing content. - -### Serve the site locally - -``` -mvn jbake:serve -``` - -If a webserver is required (e.g. absolute path are used), this command -will start a webserver (jetty) at http://localhost:8820. It will also -watch for changes and rebuild incrementally. - -## Deploy the site to Github Pages - -``` -mvn deploy -``` - -## Produce a zip file for download - -To produce a zip file containing the generated html files, use: - -``` -mvn package -``` - -When making a release on GitHub, this zip file should be added to the release. - -## Links - -- [JBake maven plugin documentation](https://github.com/Blazebit/jbake-maven-plugin) -- [JBake documentation](http://jbake.org/docs/2.5.1) -- [Freemarker documentation](http://freemarker.org/docs) -- [AsciiDoc User Guide](http://asciidoc.org/userguide.html) -- [Asciidoctor quick reference](http://asciidoctor.org/docs/asciidoc-syntax-quick-reference) +* [Contribute](https://javaee.github.io/tutorial/CONTRIBUTING) +* [Pull Request Acceptance Workflow](https://javaee.github.io/tutorial/pr_doc_workflow) +* [License](https://javaee.github.io/tutorial/LICENSE) \ No newline at end of file diff --git a/src/main/jbake/assets/_config.yml b/_config.yml similarity index 85% rename from src/main/jbake/assets/_config.yml rename to _config.yml index cd35a3f..eee2e15 100644 --- a/src/main/jbake/assets/_config.yml +++ b/_config.yml @@ -9,6 +9,6 @@ links: download: https://github.com/javaee/tutorial/releases #mailinglist: https://javaee.groups.io/g/tutorial #javadocs: - docs: https://javaee.github.io/tutorial + docs: https://javaee.github.io/tutorial/toc.html #faq: diff --git a/src/main/jbake/assets/_layouts/default.html b/_layouts/default.html similarity index 88% rename from src/main/jbake/assets/_layouts/default.html rename to _layouts/default.html index dc8396a..4097161 100644 --- a/src/main/jbake/assets/_layouts/default.html +++ b/_layouts/default.html @@ -17,6 +17,7 @@
+ + + + {% if site.google_analytics %} + + +|
+ Java Platform, Enterprise Edition (Java EE) 8 + The Java EE Tutorial + + |
+
| + + + Previous + + | + ++ + + Next + + | + ++ + + Contents + + | +
This chapter describes Batch Applications for the Java Platform (JSR +352), which provides support for defining, implementing, and running +batch jobs. Batch jobs are tasks that can be executed without user +interaction. The batch framework is composed of a job specification +language based on XML, a Java API, and a batch runtime.
+The following topics are addressed here:
+| + + + Previous + + | + ++ + + Next + + | + ++ + + Contents + + | +
+ Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
+
+
+
+
+
+