[daisy] MySQL classpath after 1.5->2.0 upgrade

Bruno Dumon bruno at outerthought.org
Fri Apr 6 04:59:42 CDT 2007


On Fri, 2007-04-06 at 11:03 +0200, Robert Kindl wrote:
> Following change which is neccessary to successfully update from Daisy 1.5
> to 2.0 is not mentioned in upgrade document:
> 
> Original 1.5:
> <classname>com.mysql.jdbc.Driver</classname>
> <classpath>c:/Daisy-1.5/daisyhome/lib/mysql/jars/mysql-connector-java-3.1.12
> -bin.jar</classpath>
> 
> New 2.0
> <classname>com.mysql.jdbc.Driver</classname>
> <classpath>C:/Daisy-2.0/lib/mysql/jars/mysql-connector-java-3.1.12-bin.jar</
> classpath>
> 
> Path is "hardcoded" - maybe it's possible to use something like?
> <classpath>${daisy.home}/lib/mysql/jars/mysql-connector-java-3.1.12-bin.jar<
> /classpath>
> But I don't know correct variable name...
> 

${daisy.home} is correct.

Similarly, you might want to check if the paths of the blobstore and
indexstore are still absolute. You can make them relative by using the
${daisy.datadir} variable.

Once this is done, you can move around the datadirectory on your system,
just specify the new location as argument when starting the repository
(while the repository is not running of course).

All this is the by default the case for fresh Daisy 1.5-and-up
installations.

It was covered by the 1.4->1.5 upgrade instructions
http://cocoondev.org/daisydocs-1_5/13-cd/328-cd.html

though it might not have been clear that one could actually leave the
${daisy.home} in there.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list