Hi All,

Thank you for your help Michael. But everything I do gives the same error.
For example: 
- Download the database_3_1.dtd and reference it by
"file://database_3_1.dtd"   
- Reduce the amount of tables down to one table
- Delete the "<!DOCTYPE" line
- Exchange the varables @DATABASE_NAME@ etc. to hardcoded values.
- All changes I have done for the three schema.xml files 
  (gRelease-schema.xml,id_table-schema.xml and turbine-security-schema.xml) 
- Extend the ..\webapps\gRelease\build.properties with the additional
properties from ~\build.properties

A maven torque:om -X (Debug) didn't give something helpful for me. 

Did I forget something ?  

Thanks

Dieter 

> -----Urspr�ngliche Nachricht-----
> Von: Michael Kunze [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 2. M�rz 2005 15:45
> An: Turbine Users List
> Betreff: Re: Maven torque:om
> 
> Johannsmeier, Dieter wrote:
> 
> > Yes it looks exactly like this ...
> > 
> > But what is needed to set for @[EMAIL PROTECTED] Is it: mysql?
> > And what is needed to set for @[EMAIL PROTECTED]
> 
> Can't really help you there but try this:
> 
> This is a little HowTo that gets you started. Initially 
> posted by Jeffery a few weeks ago. It helped me alot btw  ;) 
> And after that everything was working.
> 
> --------------------------------------------------------------
> --------------
>      #
>      # build.properties - for META
>      #
> 
>      #
>      # Application Server configuration
>      #
>      maven.appserver.home = <directory_for_appserver_home>
>      maven.appserver.name = tomcat
> 
>      #
>      # app config
>      #
>      turbine.app.name = <appname>
>      turbine.app.flavor=turbine-2.3.1
> 
>      #
>      # create the om layer interfaces for torque
>      #
>      turbine.app.om.layer=torque
> 
>      #
>      # don't create demo pages
>      #
>      turbine.app.setup.demo=false
> 
>      #
>      # Inplace dev mode
>      #
>      turbine.plugin.mode=inplace
> 
>      #
>      # Initial ID values for the ID_TABLE
>      #
>      initialID = 1100
>      initialIDValue = 100
>      initialIDStep = 10
> 
>      #
>      # database settings
>      #
>      torque.database=mysql
>      torque.database.driver = com.mysql.jdbc.Driver
>      torque.database.user = myuser
>      torque.database.password = mypassword
>      torque.database.buildUrl = jdbc:mysql://localhost/<appname>
>      torque.database.createUrl = jdbc:mysql://localhost/<appname>
> 
> --------------------------------------------------------------
> --------------
> 
> 2. change to the webapps directory of your servlet container.
> 3. Create the skeleton for the app
> 
>      % maven -Dturbine.setup.properties=~/build.properties 
> turbine:setup
> 
> 4. change into your webapps/<newapp> directory
> 
> 5. modify the <appname>-schema.xml accordingly (found in
>     src/schema/<appname>-schema.xml)
> 
> 6. Create SQL (all commands run from webapps/<appname> directory
> 
>      1. create the database
>      % maven torque:create-db
> 
>      2. generate SQL code
>      % maven turbine:sql
> 
>      3. put SQL in database
>      % maven torque:insert-sql
> 
> 7. Compile your application
> 
>      % maven java:compile
> 
> no need to deploy since we are inplace development mode
> 
> --------------------------------------------------------------
> ---------
> 
> What he was missing tho is to get tomcat working with it. So 
> the 8th step would be:
> 
> 8. Start tomcat. Point your browser to 
> http://localhost:8080/manager/html
> Login with the password you set during installation of tomcat 
> and use the 'Installation' form on that site (It's the one 
> with the 3 input fields)
> 
> I got it in german so i'm not sure what the actual translation is.
> The first field (context path) would be: /<newapp> The second 
> field leave empty. And in the third field you need to put the 
> path to your webapp root folder. It needs to look like this:
> file:C:/path/to/your/webapplication
> 
> Note: You need to prepend 'file:' and you have to use forward 
> slashes. 
> If you did everything fine tomcat should find the 'WEB-INF' 
> folder below the specified folder automatically and you 
> should be ready to go.
> 
> Just in case you didn't got it, the URL to your webapp is:
> http://localhost:8080/<webapp>
> 
> 9. Here is an optional 9th step you'd like to take.
> Find the following file:
> <tomcat root>\conf\Catalina\localhost\<appname>.xml
> open it in editor and add reloadable="true" to the <context> 
> tag as an attribute like this:
> <Context path="/..." docBase="..." reloadable="true">
> 
> That way you can just compile the classes in your favourite 
> IDE and don't need to worry about restarting tomcat.
> 
> Please follow that to see if you made any mistakes during deployment.
> 
> Michael
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to