From: Stefan L. <li...@no...> - 2004-03-29 10:49:08
|
hi there, i just downloaded the 0.9 binary version and wanted to install hibernate backend, but there was nothing in the documentation. The Admintool documentation said: -- Currently, the TM4J Administrator's Tool only establishes connections to existing persistent stores and cannot be used to create a new persistent store instance. Please refer to the TM4J Developer's Guide for details on establishing a persistent store. -- I know how this works, cause i know it is described in 0.8.3 src version in the documentation but nothing can be found in 0.9 bin. Or was there a change to 0.9 ? btw. the doc directory does not contain any pic that is used in documentation. stefan |
From: Kal A. <ka...@te...> - 2004-03-29 11:15:13
|
I took out the appendices that documented how to install the Ozone and Hibernate backends because some of the text got moved to the Basics section - but now I review the document I realise that the actual installation instructions did not get moved. So I've reinstated those appendices in CVS. The images missing from the admintool docs is a build file problem - I'll add a bug on this. Cheers, Kal Stefan Lischke wrote: >hi there, > >i just downloaded the 0.9 binary version and wanted to install hibernate >backend, but there was nothing in the documentation. The Admintool >documentation said: > >-- >Currently, the TM4J Administrator's Tool only establishes connections to >existing persistent stores and cannot be used to create a new persistent >store instance. Please refer to the TM4J Developer's Guide for details on >establishing a persistent store. >-- > >I know how this works, cause i know it is described in 0.8.3 src version >in the documentation but nothing can be found in 0.9 bin. >Or was there a change to 0.9 ? > > >btw. the doc directory does not contain any pic that is used in >documentation. > >stefan > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Tm4j-developers mailing list >Tm4...@li... >https://lists.sourceforge.net/lists/listinfo/tm4j-developers > > > > |
From: Stefan L. <li...@no...> - 2004-03-29 12:04:16
|
hi, I just wanna share my experiences with working with hibernate and the admintool. First i had to create the shema, therefor i copied admintool skript and replaced the admintool class with org.tm4j.topicmap.hibernate.InstallDB and started it with the commandline options from 0.8.3 docs. !!attention with windows, the subdir hibernate is not inlcuded in classpath!! I would include those install scripts with the distribution after that i made my way through the org.tm4j.admintool.configuration.TM4JConfigurationReader.java to check what a config file should look like. The documentation doesn't help very much, but i figured it out. So maybe a standard configFile should be include in distr. or in the documentation. Here is my standard config file: <?xml version="1.0" ?> <provider xmlns="http://tm4j.org/configuration/1.0/" name="hibernateSQL" factory="org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl"> <provider-properties> <property name="hibernate.connection.url" value="jdbc:mysql://localhost/tm4j"/> <property name="hibernate.connection.username" value="tm4j"/> <property name="hibernate.connection.password" value="tm4j"/> <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/> <property name="hibernate.dialect" value="net.sf.hibernate.dialect.MySQLDialect"/> </provider-properties> </provider> !!Attention the admintool.bat file does not include hibernate subdir, so please add!! for %%i in ("%TM4J_HOME%\lib\hibernate\*.jar") do call "%TM4J_HOME%\bin\lcp.bat" %%i stefan |
From: Kal A. <ka...@te...> - 2004-03-29 12:48:53
|
Hi Stefan, Thanks for the overview - do you mind if I cut-n-paste this into the docs section on the TM4J sourceforge site ? One thing though - you don't need to edit the config file by hand - if you start admintool without a config file, you can actually create a new one through the UI. The UI is a bit "unfriendly" at the moment, because if you make a mistake you have to go back and enter all the details again - but it can be done :) Cheers, Kal Stefan Lischke wrote: >hi, > >I just wanna share my experiences with working with hibernate and the >admintool. > >First i had to create the shema, therefor i copied admintool skript and >replaced the admintool class with org.tm4j.topicmap.hibernate.InstallDB >and started it with the commandline options from 0.8.3 docs. > >!!attention with windows, the subdir hibernate is not inlcuded in >classpath!! > >I would include those install scripts with the distribution > >after that i made my way through the >org.tm4j.admintool.configuration.TM4JConfigurationReader.java to check >what a config file should look like. The documentation doesn't help very >much, but i figured it out. So maybe a standard configFile should be >include in distr. or in the documentation. > >Here is my standard config file: > ><?xml version="1.0" ?> ><provider > xmlns="http://tm4j.org/configuration/1.0/" > name="hibernateSQL" > factory="org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl"> > <provider-properties> > <property name="hibernate.connection.url" > value="jdbc:mysql://localhost/tm4j"/> > <property name="hibernate.connection.username" > value="tm4j"/> > <property name="hibernate.connection.password" > value="tm4j"/> > <property name="hibernate.connection.driver_class" > value="com.mysql.jdbc.Driver"/> > <property name="hibernate.dialect" > value="net.sf.hibernate.dialect.MySQLDialect"/> > </provider-properties> ></provider> > > >!!Attention the admintool.bat file does not include hibernate subdir, so >please add!! > >for %%i in ("%TM4J_HOME%\lib\hibernate\*.jar") do call "%TM4J_HOME%\bin\lcp.bat" %%i > > >stefan > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Tm4j-developers mailing list >Tm4...@li... >https://lists.sourceforge.net/lists/listinfo/tm4j-developers > > > > |