Author: tfischer
Date: Thu Jan 10 21:06:12 2013
New Revision: 1431639
URL: http://svn.apache.org/viewvc?rev=1431639&view=rev
Log:
TORQUE-250: Fix documentation issues
Modified:
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/test-project.xml
Modified:
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml?rev=1431639&r1=1431638&r2=1431639&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml
(original)
+++
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml
Thu Jan 10 21:06:12 2013
@@ -34,9 +34,13 @@
<section name="Building from SVN">
<p>
The Torque build process uses
- <a href="http://maven.apache.org">Maven 2</a>.
- You need to install Maven 2 in order to be able to build torque.
- Then, you need to check out the <code>torque4/trunk</code>
+ <a href="http://maven.apache.org">Maven 2</a> for building;
+ the recommended version is Maven 2.2.1.
+ Also, due to a
+ <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=98379">bug in
the java compiler</a>
+ Java 1.6.0_25 or later is needed to bould Torque,
+ (although once built, Torque supports java 1.5 and later).
+ You need to check out the <code>torque4/trunk</code>
part of the <code>db/torque</code> SVN repository.
Please read the <a href="subversion.html">Torque Subversion</a> page
for more information.
Modified:
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/test-project.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/test-project.xml?rev=1431639&r1=1431638&r2=1431639&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/test-project.xml
(original)
+++
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/test-project.xml
Thu Jan 10 21:06:12 2013
@@ -52,19 +52,21 @@
from the svn repository.
</li>
<li>
- Change into the each of the directories <i>torque-runtime</i>,
- <i>torque-generator</i>, <i>torque-templates</i>,
- <i>torque-generator-maven-plugin</i>
- and <i>torque-ant-tasks</i>
- and run the command <code>mvn install</code>
- in each of the directories (in the order above).
+ Run the command <code>mvn install</code>
+ in the directory you just checked out.
</li>
<li>
Change into the directory <i>torque-test</i>,
- and change one of the profiles in the file <i>profiles.xml</i>
+ and change one of the profiles in the file <i>pom.xml</i>
to match the database which you want to test against.
</li>
<li>
+ Also change the file <i>Torque.properties</i> in the directory
+ <i>torque-test/src/test/profile/${profile}</i>
+ (where ${profile} is the name of the profile you have chosen)
+ to match the database settings.
+ </li>
+ <li>
In the directory <i>torque-test</i>,
run the command <code>mvn -P${profile} clean test</code>
to run the test, replacing the variable
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]