You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Declan Shanaghy <tu...@shanaghy.com> on 2006/09/08 18:09:10 UTC
RE: How to build the scheduler om
The schema for the table can be found in the turbine source.
I will paste it in below to save u some touble.
I also have a question related to this topic.
I copied the scheduler-schema.xml from the turbine source package and
dropped it into
My src/schema directory assuming that the torque:om goal would pick it up
and process it, but it didnt. Is there something I need to do when I wish
to add a new -schema.xml file to my build?
In the end my solution was to just put the table definition into my own
schema.
<table name="TURBINE_SCHEDULED_JOB" javaName="JobEntry">
<column name="JOB_ID" required="true" primaryKey="true"
type="INTEGER" autoIncrement="true"/>
<column name="SECOND" javaName="Second" default="-1" required="true"
type="INTEGER"/>
<column name="MINUTE" javaName="Minute" default="-1" required="true"
type="INTEGER"/>
<column name="HOUR" javaName="Hour" default="-1" required="true"
type="INTEGER"/>
<column name="WEEK_DAY" default="-1" required="true"
type="INTEGER"/>
<column name="DAY_OF_MONTH" default="-1" required="true"
type="INTEGER"/>
<column name="TASK" required="true" size="99" type="VARCHAR"/>
<column name="EMAIL" size="99" type="VARCHAR"/>
<column name="PROPERTY" javaName="Property" type="VARBINARY"/>
<unique>
<unique-column name="JOB_ID"/>
</unique>
</table>
-----Original Message-----
From: Benedikt Göbel [mailto:b.goebel@web.de]
Sent: Tuesday, August 29, 2006 2:02 AM
To: turbine-user@jakarta.apache.org
Subject: How to build the scheduler om
I have deployed a turbine-application with M.E.T.A. Now I want to add the
scheduler-service to the application.
How do I get the maven-goals for generating the om? I only have the
following goals:
torque:check-om-zip
torque:om-check
torque:om-generate
torque:om-zip-worker
torque:om-zip-worker-delete
torque:sql-generate
turbine:check-runtime-environment
turbine:check-setup-environment
turbine:clean-clean
turbine:init
turbine:install-demo
turbine:java-compile
turbine:setup-torque
turbine:torque-copy-app-om
turbine:torque-copy-data-dtd
turbine:torque-copy-id-table-om
turbine:torque-copy-om
turbine:torque-copy-security-om
turbine:torque-datadtd
turbine:torque-datasql
turbine:torque-init
turbine:torque-insert-sql
turbine:torque-om-check
turbine:torque-security-datadtd
turbine:torque-security-datasql
turbine:torque-sql
turbine:war-webapp
turbine:webapp
Can anyone describe how to build the scheduler om?
Regards,
Benedikt Göbel
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org