You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2013/09/27 14:17:42 UTC

svn commit: r880091 - in /websites/staging/isis/trunk: cgi-bin/ content/ content/core/dynamic-layouts.html

Author: buildbot
Date: Fri Sep 27 12:17:42 2013
New Revision: 880091

Log:
Staging update by buildbot for isis

Modified:
    websites/staging/isis/trunk/cgi-bin/   (props changed)
    websites/staging/isis/trunk/content/   (props changed)
    websites/staging/isis/trunk/content/core/dynamic-layouts.html

Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Sep 27 12:17:42 2013
@@ -1 +1 @@
-1524510
+1526869

Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Sep 27 12:17:42 2013
@@ -1 +1 @@
-1524510
+1526869

Modified: websites/staging/isis/trunk/content/core/dynamic-layouts.html
==============================================================================
--- websites/staging/isis/trunk/content/core/dynamic-layouts.html (original)
+++ websites/staging/isis/trunk/content/core/dynamic-layouts.html Fri Sep 27 12:17:42 2013
@@ -446,6 +446,30 @@ public class ToDoItem {
 
 <p>Although advisable, it is not necessary to list all class members in this file.  Any members not listed with be ordered according either to annotations (if present) or fallback/default values.</p>
 
+<h3>Required updates to the dom project's pom.xml</h3>
+
+<p>If using the <code>.layout.json</code> files, these must be compiled and available in the CLASSPATH.  When using an IDE such as Eclipse+M2E, any <code>.layout.json</code> files in <code>src/main/java</code> or <code>src/main/resources</code> will be part of the CLASSPATH automatically.  However, unless the <code>pom.xml</code> is changed, these will not be part of the compiled WAR.</p>
+
+<p>Therefore, make sure the following is added to the dom project's <code>pom.xml</code>:</p>
+
+<pre><code>&lt;resources&gt;
+    &lt;resource&gt;
+        &lt;filtering&gt;false&lt;/filtering&gt;
+        &lt;directory&gt;src/main/resources&lt;/directory&gt;
+    &lt;/resource&gt;
+    &lt;resource&gt;
+        &lt;filtering&gt;false&lt;/filtering&gt;
+        &lt;directory&gt;src/main/java&lt;/directory&gt;
+        &lt;includes&gt;
+            &lt;include&gt;**&lt;/include&gt;
+        &lt;/includes&gt;
+        &lt;excludes&gt;
+            &lt;exclude&gt;**/*.java&lt;/exclude&gt;
+        &lt;/excludes&gt;
+    &lt;/resource&gt;
+&lt;/resources&gt;
+</code></pre>
+
 
 
       </div>