You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2012/04/10 19:54:05 UTC
svn commit: r1311889 - in /incubator/openmeetings/trunk/singlewebapp:
docs/JUnitTesting.html xdocs/JUnitTesting.xml
Author: sebawagner
Date: Tue Apr 10 17:54:04 2012
New Revision: 1311889
URL: http://svn.apache.org/viewvc?rev=1311889&view=rev
Log:
OPENMEETINGS-122 Add some docs for persistence.xml
Modified:
incubator/openmeetings/trunk/singlewebapp/docs/JUnitTesting.html
incubator/openmeetings/trunk/singlewebapp/xdocs/JUnitTesting.xml
Modified: incubator/openmeetings/trunk/singlewebapp/docs/JUnitTesting.html
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/docs/JUnitTesting.html?rev=1311889&r1=1311888&r2=1311889&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/docs/JUnitTesting.html (original)
+++ incubator/openmeetings/trunk/singlewebapp/docs/JUnitTesting.html Tue Apr 10 17:54:04 2012
@@ -927,7 +927,8 @@ limitations under the License.
-javaagent:${workspace_loc:Openmeetings}/build/lib/om/openjpa-bundle-2.2.0.jar
-Dwebapps.root=${workspace_loc:Openmeetings}/dist/red5/webapps/openmeetings
</div>
- <li>To avoid temporary files being created in OM root, modify "Working Directory" as follows</li>
+ <li>To avoid temporary files being created in OM root, modify
+ "Working Directory" as follows</li>
<div class="xmlcode">${workspace_loc:Openmeetings}/build/junit</div>
</ul>
<p>
@@ -939,6 +940,12 @@ limitations under the License.
<li>Select Debug </li>
</ul>
+ <ul>
+ <li>Note: You need a file called "persistence.xml" in src/META-INF
+ if you run the JUnit test from inside Eclipse. Normally "ant
+ prepare-eclipse" should do that for you. </li>
+
+ </ul>
</blockquote>
</p>
</td></tr>
Modified: incubator/openmeetings/trunk/singlewebapp/xdocs/JUnitTesting.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/xdocs/JUnitTesting.xml?rev=1311889&r1=1311888&r2=1311889&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/xdocs/JUnitTesting.xml (original)
+++ incubator/openmeetings/trunk/singlewebapp/xdocs/JUnitTesting.xml Tue Apr 10 17:54:04 2012
@@ -59,7 +59,8 @@
<p>
<a class="fancybox-buttons" data-fancybox-group="button"
href="images/DebugConfigurations.png">
- <img src="images/DebugConfigurations.png" alt="" width="367" height="262" />
+ <img src="images/DebugConfigurations.png" alt="" width="367"
+ height="262" />
</a>
</p>
<ul>
@@ -70,7 +71,8 @@
<p>
<a class="fancybox-buttons" data-fancybox-group="button"
href="images/NewConfiguration.png">
- <img src="images/NewConfiguration.png" alt="" width="420" height="206" />
+ <img src="images/NewConfiguration.png" alt="" width="420"
+ height="206" />
</a>
</p>
<ul>
@@ -80,7 +82,8 @@
-javaagent:${workspace_loc:Openmeetings}/build/lib/om/openjpa-bundle-2.2.0.jar
-Dwebapps.root=${workspace_loc:Openmeetings}/dist/red5/webapps/openmeetings
</div>
- <li>To avoid temporary files being created in OM root, modify "Working Directory" as follows</li>
+ <li>To avoid temporary files being created in OM root, modify
+ "Working Directory" as follows</li>
<div class="xmlcode">${workspace_loc:Openmeetings}/build/junit</div>
</ul>
<p>
@@ -93,6 +96,12 @@
<li>Select Debug </li>
</ul>
+ <ul>
+ <li>Note: You need a file called "persistence.xml" in src/META-INF
+ if you run the JUnit test from inside Eclipse. Normally "ant
+ prepare-eclipse" should do that for you. </li>
+
+ </ul>
</section>