Repository: deltaspike
Updated Branches:
  refs/heads/master 617a023fa -> 3e7a13f09


DELTASPIKE-1112 Fixed up the resources directories.


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

Branch: refs/heads/master
Commit: 3e7a13f09529d57fcbe57d10adbfcf7825dd65b2
Parents: 617a023
Author: John D. Ament <[email protected]>
Authored: Sun Apr 24 21:26:20 2016 -0400
Committer: John D. Ament <[email protected]>
Committed: Sun Apr 24 21:26:20 2016 -0400

----------------------------------------------------------------------
 documentation/src/main/asciidoc/configure.adoc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/3e7a13f0/documentation/src/main/asciidoc/configure.adoc
----------------------------------------------------------------------
diff --git a/documentation/src/main/asciidoc/configure.adoc 
b/documentation/src/main/asciidoc/configure.adoc
index b3c03c0..2265dff 100644
--- a/documentation/src/main/asciidoc/configure.adoc
+++ b/documentation/src/main/asciidoc/configure.adoc
@@ -92,10 +92,12 @@ dependencies {
 }
 sourceSets {
    main {
-     //For CDI to work, need to put the resources and classes in the same 
directory
-     output.resourcesDir = 'build/classes/main'
-     output.classesDir   = 'build/classes/main'
+     //To use standard bean discovery mechanisms, CDI expects beans.xml to be 
in your classes directory
+     output.resourcesDir = output.classesDir
    }
+   test {
+        output.resourcesDir = output.classesDir
+   } // and any other sourceSet you might have.
  }
 ----
 

Reply via email to