You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by ra...@apache.org on 2014/12/15 23:54:31 UTC

[3/3] deltaspike git commit: DELTASPIKE-690 minor improvments

DELTASPIKE-690 minor improvments


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/53c8efe7
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/53c8efe7
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/53c8efe7

Branch: refs/heads/master
Commit: 53c8efe7166bce6bbccd1dbb30f736e66e53115c
Parents: 7a12866
Author: Rafael Benevides <ra...@gmail.com>
Authored: Mon Dec 15 20:52:59 2014 -0200
Committer: Rafael Benevides <ra...@gmail.com>
Committed: Mon Dec 15 20:52:59 2014 -0200

----------------------------------------------------------------------
 documentation/src/main/asciidoc/addons.adoc   | 22 -----------
 documentation/src/main/asciidoc/articles.adoc | 29 --------------
 documentation/src/main/asciidoc/external.adoc | 46 ----------------------
 documentation/src/main/asciidoc/index.adoc    |  6 +--
 site/src/main/asciidoc/addons.adoc            | 22 +++++++++++
 site/src/main/asciidoc/articles.adoc          | 29 ++++++++++++++
 site/src/main/asciidoc/external.adoc          | 46 ++++++++++++++++++++++
 template/document.html.erb                    |  4 +-
 8 files changed, 102 insertions(+), 102 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/documentation/src/main/asciidoc/addons.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/addons.adoc b/documentation/src/main/asciidoc/addons.adoc
deleted file mode 100644
index 05ad2bc..0000000
--- a/documentation/src/main/asciidoc/addons.adoc
+++ /dev/null
@@ -1,22 +0,0 @@
-= Add-ons
-
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-:toc:
-
-Add-ons extend the functionality of DeltaSpike and several have been developed external to the DeltaSpike project. Brief information is given here about each of the add-ons, with details of where they can be obtained from.
-
-== Monitoring
-`ds-monitoring-addon` provides simple monitoring for several common use-cases (exceptions, performance, audits), collecting information about the monitored method-invocations during a request and enabling you to process the entries based on your requirements. For more information about its use and implementation, see http://os890.blogspot.com.au/2014/04/add-on-monitoring-lite-with-deltaspike.html[os890: [add-on\] monitoring lite with deltaspike].
-
-**Source code:** https://github.com/os890/ds-monitoring-addon
-
-== Spring Bridge
-`ds-spring-bridge-addon` is a two-way cdi-spring bridge that allows spring-beans to be injected into cdi-beans and vice versa provided the concepts, for example qualifiers, are compatible. For more information about its use and implementation, see http://os890.blogspot.com.au/2013/12/add-on-spring-bridge-with-deltaspike.html[os890: [add-on\] spring-bridge with deltaspike].
-
-**Source code:** https://github.com/os890/ds-spring-bridge-addon.
-
-== Disruptor
-`ds-disruptor-addon` improves CDI synchronous event-processing performance by creating a disruptor process for every observer method, enabling CDI synchronous events in conjunction with asynchronous observers. This add-on currently works with Apache TomEE and JBoss AS 7. For more information about its use and implementation, see http://os890.blogspot.com.au/2014/05/faster-cdi-like-events.html[os890: [add-on\] fast event processing with disruptor + deltaspike].
-
-**Source code:** https://github.com/os890/ds-disruptor-addon
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/documentation/src/main/asciidoc/articles.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/articles.adoc b/documentation/src/main/asciidoc/articles.adoc
deleted file mode 100644
index f16fdfa..0000000
--- a/documentation/src/main/asciidoc/articles.adoc
+++ /dev/null
@@ -1,29 +0,0 @@
-= Articles and Blogs
-
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-:toc:
-
-You can find lots of content related to DeltaSpike with a quick internet search. But here is a list of some useful articles and blogs to get you started.
-
-If you know of useful DeltaSpike articles or blogs that are not listed, link:https://deltaspike.apache.org/community.html[let us know]. 
-
-== Ongoing
-
-* https://twitter.com/DeltaSpikeTeam[@DeltaSpikeTeam on Twitter]
-* https://twitter.com/hashtag/deltaspike[#deltaspike on Twitter]
-* http://os890.blogspot.com.au/search/label/deltaspike[os890 DeltaSpike posts]
-* http://rafabene.com/?s=deltaspike&submit=Search[Rafael Benevides DeltaSpike posts]
-* http://rmannibucau.wordpress.com/?s=deltaspike[RManiiBucau DeltaSpike posts]
-* https://struberg.wordpress.com/?s=deltaspike[Struberg DeltaSpike posts]
-
-
-== One-offs
-
-* https://blogs.oracle.com/theaquarium/entry/introducing_deltaspike_1_0[The Aquarium: Introducing DeltaSpike 1.0]
-* http://blog.arungupta.me/2014/06/deltaspike-1-0-extend-javaee-techtip32/[DeltaSpike 1.0 – Extend #JavaEE beyond #JavaEE]
-* http://www.tearsofaunicorn.com/articles/2014/06/10/configuring-deltaspike-through-environment-variables.html[Configuring Apache Deltaspike through environment variables]
-* http://blog.ctp.com/2013/11/27/bye-bye-cdi-query-hello-deltaspike-data/[Bye Bye CDI Query, Hello DeltaSpike Data]
-* http://rmannibucau.wordpress.com/2013/11/20/deltaspike-data-repositories-with-dtos/[DeltaSpike Data: repositories with DTOs!]
-* http://jaxenter.com/introducing-apache-deltaspike-42925.html[Closing the Gaps: Introducing Apache Deltaspike]
-* http://jsfcorner.blogspot.com.au/2013/01/deltaspike-jsf-message-system.html[DeltaSpike JSF message system]

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/documentation/src/main/asciidoc/external.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/external.adoc b/documentation/src/main/asciidoc/external.adoc
deleted file mode 100644
index 3420d27..0000000
--- a/documentation/src/main/asciidoc/external.adoc
+++ /dev/null
@@ -1,46 +0,0 @@
-= External Examples and Templates
-
-:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
-:toc:
-
-A number of DeltaSpike examples and templates have been developed external to the DeltaSpike project. These extend the DeltaSpike resources from which you can see DeltaSpike in action. Brief information is given here about the examples and templates, with details of where they can be obtained from.
-
-== Examples
-
-=== Confess 2012 Workshop Demo
-This example was prepared for the Confess workshop and demonstrates how to use DeltaSpike instead of and side-by-side with MyFaces CODI. The secured web application demonstrates presenting users with differentiating content based on their account status.
-
-**Source code:** https://github.com/confess/confess2012_deltaspike
-
-=== Fullstack EE6+ with DeltaSpike
-Simple example based on Java EE6+ and DeltaSpike (tested with EE6 and EE7).
-
-**Source code:** https://github.com/os890/ee6-ds-demo
-
-=== Fullstack CODI to DeltaSpike
-This pair of examples show how to achieve the most important MyFaces CODI features with DeltaSpike and also how to migrate a CODI project to DeltaSpike. The examples are basic, compacting core CODI features into just a few JSF pages, and are intended for deployment with TomEE. 
-
-**Source code:** https://github.com/os890/tomee_mf_stack_001
-
-* CODI version in master branch
-* Migrated DeltaSpike version in codi2ds branch
-
-=== JBoss Quickstarts 
-The JBoss quickstarts are small working examples that demonstrate recommended practices for specific Java EE technology use cases. A subset of these quickstarts are dedicated to demonstrating DeltaSpike, including custom authorization restrictions using annotations, constructing and modifying beans, extending the influence of CDI using BeanManager, and deactivating DeltaSpike features.
-
-**Source code:** https://github.com/jboss-developer/jboss-wfk-quickstarts
-
-== Templates
-=== Java SE + CDI + DS
-**Source code:** https://github.com/os890/javase-cdi-ds-project-template
-
-=== JSF + CDI + DS (Servlet-Container)
-**Source code:** https://github.com/os890/javaweb-cdi-ds-project-template
- 
-=== EJB + CDI + DS (Module)
-**Source code:** https://github.com/os890/javaee_cdi_ejb_ds_project_template
-
-=== JSF + EJB + CDI + DS (EE-Server)
-**Source code:** https://github.com/os890/javaee_jsf_cdi_ejb_ds_project_template
-

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/documentation/src/main/asciidoc/index.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/index.adoc b/documentation/src/main/asciidoc/index.adoc
index 5ad6044..91acff8 100644
--- a/documentation/src/main/asciidoc/index.adoc
+++ b/documentation/src/main/asciidoc/index.adoc
@@ -27,6 +27,6 @@
 ** <<source#,Contribute to the DeltaSpike Source>>
 ** <<spi#,DeltaSpike Service Provider Interface (SPI)>>
 * Access More DeltaSpike Resources
-** <<articles#,Articles and Blogs>>
-** <<addons#,Add-ons>>
-** <<external#,External Examples>>
+** link:http://deltaspike.apache.org/articles.html[Articles and Blogs]
+** link:http://deltaspike.apache.org/addons.html[Add-ons]
+** link:https://deltaspike.apache.org/external.html[External Examples]

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/site/src/main/asciidoc/addons.adoc
----------------------------------------------------------------------
diff --git a/site/src/main/asciidoc/addons.adoc b/site/src/main/asciidoc/addons.adoc
new file mode 100644
index 0000000..05ad2bc
--- /dev/null
+++ b/site/src/main/asciidoc/addons.adoc
@@ -0,0 +1,22 @@
+= Add-ons
+
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+
+:toc:
+
+Add-ons extend the functionality of DeltaSpike and several have been developed external to the DeltaSpike project. Brief information is given here about each of the add-ons, with details of where they can be obtained from.
+
+== Monitoring
+`ds-monitoring-addon` provides simple monitoring for several common use-cases (exceptions, performance, audits), collecting information about the monitored method-invocations during a request and enabling you to process the entries based on your requirements. For more information about its use and implementation, see http://os890.blogspot.com.au/2014/04/add-on-monitoring-lite-with-deltaspike.html[os890: [add-on\] monitoring lite with deltaspike].
+
+**Source code:** https://github.com/os890/ds-monitoring-addon
+
+== Spring Bridge
+`ds-spring-bridge-addon` is a two-way cdi-spring bridge that allows spring-beans to be injected into cdi-beans and vice versa provided the concepts, for example qualifiers, are compatible. For more information about its use and implementation, see http://os890.blogspot.com.au/2013/12/add-on-spring-bridge-with-deltaspike.html[os890: [add-on\] spring-bridge with deltaspike].
+
+**Source code:** https://github.com/os890/ds-spring-bridge-addon.
+
+== Disruptor
+`ds-disruptor-addon` improves CDI synchronous event-processing performance by creating a disruptor process for every observer method, enabling CDI synchronous events in conjunction with asynchronous observers. This add-on currently works with Apache TomEE and JBoss AS 7. For more information about its use and implementation, see http://os890.blogspot.com.au/2014/05/faster-cdi-like-events.html[os890: [add-on\] fast event processing with disruptor + deltaspike].
+
+**Source code:** https://github.com/os890/ds-disruptor-addon
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/site/src/main/asciidoc/articles.adoc
----------------------------------------------------------------------
diff --git a/site/src/main/asciidoc/articles.adoc b/site/src/main/asciidoc/articles.adoc
new file mode 100644
index 0000000..f16fdfa
--- /dev/null
+++ b/site/src/main/asciidoc/articles.adoc
@@ -0,0 +1,29 @@
+= Articles and Blogs
+
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+
+:toc:
+
+You can find lots of content related to DeltaSpike with a quick internet search. But here is a list of some useful articles and blogs to get you started.
+
+If you know of useful DeltaSpike articles or blogs that are not listed, link:https://deltaspike.apache.org/community.html[let us know]. 
+
+== Ongoing
+
+* https://twitter.com/DeltaSpikeTeam[@DeltaSpikeTeam on Twitter]
+* https://twitter.com/hashtag/deltaspike[#deltaspike on Twitter]
+* http://os890.blogspot.com.au/search/label/deltaspike[os890 DeltaSpike posts]
+* http://rafabene.com/?s=deltaspike&submit=Search[Rafael Benevides DeltaSpike posts]
+* http://rmannibucau.wordpress.com/?s=deltaspike[RManiiBucau DeltaSpike posts]
+* https://struberg.wordpress.com/?s=deltaspike[Struberg DeltaSpike posts]
+
+
+== One-offs
+
+* https://blogs.oracle.com/theaquarium/entry/introducing_deltaspike_1_0[The Aquarium: Introducing DeltaSpike 1.0]
+* http://blog.arungupta.me/2014/06/deltaspike-1-0-extend-javaee-techtip32/[DeltaSpike 1.0 – Extend #JavaEE beyond #JavaEE]
+* http://www.tearsofaunicorn.com/articles/2014/06/10/configuring-deltaspike-through-environment-variables.html[Configuring Apache Deltaspike through environment variables]
+* http://blog.ctp.com/2013/11/27/bye-bye-cdi-query-hello-deltaspike-data/[Bye Bye CDI Query, Hello DeltaSpike Data]
+* http://rmannibucau.wordpress.com/2013/11/20/deltaspike-data-repositories-with-dtos/[DeltaSpike Data: repositories with DTOs!]
+* http://jaxenter.com/introducing-apache-deltaspike-42925.html[Closing the Gaps: Introducing Apache Deltaspike]
+* http://jsfcorner.blogspot.com.au/2013/01/deltaspike-jsf-message-system.html[DeltaSpike JSF message system]

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/site/src/main/asciidoc/external.adoc
----------------------------------------------------------------------
diff --git a/site/src/main/asciidoc/external.adoc b/site/src/main/asciidoc/external.adoc
new file mode 100644
index 0000000..3420d27
--- /dev/null
+++ b/site/src/main/asciidoc/external.adoc
@@ -0,0 +1,46 @@
+= External Examples and Templates
+
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+
+:toc:
+
+A number of DeltaSpike examples and templates have been developed external to the DeltaSpike project. These extend the DeltaSpike resources from which you can see DeltaSpike in action. Brief information is given here about the examples and templates, with details of where they can be obtained from.
+
+== Examples
+
+=== Confess 2012 Workshop Demo
+This example was prepared for the Confess workshop and demonstrates how to use DeltaSpike instead of and side-by-side with MyFaces CODI. The secured web application demonstrates presenting users with differentiating content based on their account status.
+
+**Source code:** https://github.com/confess/confess2012_deltaspike
+
+=== Fullstack EE6+ with DeltaSpike
+Simple example based on Java EE6+ and DeltaSpike (tested with EE6 and EE7).
+
+**Source code:** https://github.com/os890/ee6-ds-demo
+
+=== Fullstack CODI to DeltaSpike
+This pair of examples show how to achieve the most important MyFaces CODI features with DeltaSpike and also how to migrate a CODI project to DeltaSpike. The examples are basic, compacting core CODI features into just a few JSF pages, and are intended for deployment with TomEE. 
+
+**Source code:** https://github.com/os890/tomee_mf_stack_001
+
+* CODI version in master branch
+* Migrated DeltaSpike version in codi2ds branch
+
+=== JBoss Quickstarts 
+The JBoss quickstarts are small working examples that demonstrate recommended practices for specific Java EE technology use cases. A subset of these quickstarts are dedicated to demonstrating DeltaSpike, including custom authorization restrictions using annotations, constructing and modifying beans, extending the influence of CDI using BeanManager, and deactivating DeltaSpike features.
+
+**Source code:** https://github.com/jboss-developer/jboss-wfk-quickstarts
+
+== Templates
+=== Java SE + CDI + DS
+**Source code:** https://github.com/os890/javase-cdi-ds-project-template
+
+=== JSF + CDI + DS (Servlet-Container)
+**Source code:** https://github.com/os890/javaweb-cdi-ds-project-template
+ 
+=== EJB + CDI + DS (Module)
+**Source code:** https://github.com/os890/javaee_cdi_ejb_ds_project_template
+
+=== JSF + EJB + CDI + DS (EE-Server)
+**Source code:** https://github.com/os890/javaee_jsf_cdi_ejb_ds_project_template
+

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/53c8efe7/template/document.html.erb
----------------------------------------------------------------------
diff --git a/template/document.html.erb b/template/document.html.erb
index 75dcf2e..a73d813 100644
--- a/template/document.html.erb
+++ b/template/document.html.erb
@@ -46,11 +46,11 @@ body {
 					data-target=".nav-collapse"> <span class="icon-bar"></span> <span
 					class="icon-bar"></span> <span class="icon-bar"></span>
 				</a> <a class="brand logocolor"
-					href="http://deltaspike.apache.org/index.html">Apache DeltaSpike</a>
+					href="<%= (attr :basedir) %>/index.html">Apache DeltaSpike</a>
 				<div class="nav-collapse">
 					<ul class="nav">
 						<li class="active"><a
-							href="index.html">Home</a></li>
+							href="<%= (attr :basedir) %>/index.html">Home</a></li>
 						<li><a href="<%= (attr :basedir) %>/documentation">Documentation</a></li>
 						<li><a href="<%= (attr :basedir) %>/javadoc.html">Javadoc</a></li>
 						<li><a href="<%= (attr :basedir) %>/documentation/source.html">Source</a></li>