This is probably not the right mailing list, but there is no list for
fulcrum.
What i wanted to do, is to use the scheduler-service of fulcrum standalone
for my projekt.
According to the building-instructions, i checked out
jakarta-turbine-fulcrum and jakarta-turbin-torque from the CVS.
Following the instruction, i tried first du build the maven-plugin for
torque. But i couldn't find src/maven-plugin described in the readme of
fulcrum. I found in the mail-archiv that the soure has moved to
src/generator but ist wasn't there.
After another long research in different mailing-archives i found that the
torque-plugin has already be integrated in the maven beta 0.9.
So i had to ceck out the most recent maven-source und build it. That worked.
But now, when i build fulcrum i run into a new error:
cannot resolve import org.apache.torque.NoRowsException;
cannot resolve import org.apache.torque.TooManyRowsException;
I found that these classes are missing in torque-3.1-dev.jar downloadet by
maven.
After replaceing the torque jar-file with that one i build recently, it
worked and i could build fulcrum.
I think there are two tasks to do:
1. Provide the neccessary information on the Maven-Howto of the Torque-Site.
2. Replace the wrong torque-jarfile which is downloaded for the
fulcrum-build.
For 1 i already made the changes and attached it on this mail. I hope
someone will replace it in CVS.
For 2 i don't know how becouse im new to Maven but i guess its not posible
for me.
Hope i made some progress to the project.
Regards
Dieter
<?xml version="1.0"?>
<document>
<properties>
<title>Torque - Example Configuration for a Mavenized Project</title>
<author email="[EMAIL PROTECTED]">Stephen Haberman</author>
<author email="[EMAIL PROTECTED]">Quinton McCombs</author>
</properties>
<body>
<section name="Table of Contents">
<p>
<ol>
<li>
<a href="#Introduction">Introduction</a>
</li>
<li>
<a href="#Installation">Installation</a>
</li>
<li>
<a href="#Configuration">Configuration</a>
</li>
<li>
<a href="#Other Tips">Other Tips</a>
</li>
</ol>
</p>
</section>
<section name="Introduction">
<p>
Torque projects used to be built with all of the Torque elements (templates,
property files, <code>build-torque.xml</code>, etc.) locally installed in
each project's source tree.
</p>
<p>
The advent of Maven allows Torque to be used in a much simpler manner. With
the Maven plugin, absolutely no Torque-related resources (except the Torque
jar file iteself) are required to be locally installed in each project.
Instead, the plugin will automatically download any required resources for
you.
</p>
</section>
<section name="Installation">
<p>
The torque-plugin which is needed is now integrated in Maven beta 0.9.
Currently you must manually build Maven by checking it out from CVS.
Building-instructions for Maven can be found <a href="http://jakarta.apache.org/turbine/maven/start/bootstrap.html">here</a>
</p>
</section>
<section name="Configuration">
<p>
The Torque Maven plugin is configured via properties defined in your
project.properties file. See the
<a href="/torque/properties-reference.html">properties reference</a> for
details on the various properties that can be configured.
</p>
<subsection name="project.properties">
<p>
Instead of relying on the typical <code>build.properties</code>, the Maven
plugin uses the project-wide settings in the <code>project.properties</code>
file.
</p>
<p>
The Torque settings in <code>project.properties</code> follow the same
format as they would in the old <code>build.properties</code> except the
default directories are different to better fit a maven-ized project.
</p>
<p>
Here is a sample configuration from <code>project.properties</code>:
<source><![CDATA[
... other project settings...
# -------------------------------------------------------------------
#
# T O R Q U E S E T T I N G S
#
# -------------------------------------------------------------------
torque.project = yourproject
torque.database = mysql
torque.database.createUrl = jdbc:mysql://localhost:3306/
torque.database.buildUrl = jdbc:mysql://localhost:3306/yourprojectdb
torque.database.url = jdbc:mysql://localhost:3306/yourprojectdb
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = user
torque.database.password = password
torque.database.host = localhost
]]></source>
</p>
</subsection>
</section>
<section name="Other Tips">
<p>
If you run into problems, try the following tips:
<ul>
<li>
Don't place your <code>project-schema.xml</code> file in a directory
with other files. This can lead to various DTD errors.
</li>
</ul>
</p>
</section>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]