From: Eric P. <de...@us...> - 2006-04-25 18:59:12
|
dep4b 06/04/25 11:59:11 Modified: schemaspy plugin.properties plugin.jelly schemaspy/xdocs properties.xml Added: schemaspy/xdocs changes.xml Log: Driver classpath was using a platform independent seperator. Revision Changes Path 1.2 +2 -2 maven-plugins/schemaspy/plugin.properties Index: plugin.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/schemaspy/plugin.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- plugin.properties 25 Apr 2006 17:46:58 -0000 1.1 +++ plugin.properties 25 Apr 2006 18:59:11 -0000 1.2 @@ -25,8 +25,8 @@ # Classpath to driver to use # an example for mssql is: -# ${pom.getDependencyPath("mssqlserver:mssqlserver")}:${pom.getDependencyPath("mssqlserver:msbase")}:${pom.getDependencyPath("mssqlserver:msutil")} -# notice the ":" characters between elements. +# ${pom.getDependencyPath("mssqlserver:mssqlserver")}${_sep}${pom.getDependencyPath("mssqlserver:msbase")}${_sep}${pom.getDependencyPath("mssqlserver:msutil")} +# notice the "${_sep}" line between elements. Used for platform independence maven.schemaspy.driver.classpath= # optional schema to use 1.3 +4 -0 maven-plugins/schemaspy/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/schemaspy/plugin.jelly,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- plugin.jelly 25 Apr 2006 18:02:20 -0000 1.2 +++ plugin.jelly 25 Apr 2006 18:59:11 -0000 1.3 @@ -7,6 +7,10 @@ xmlns:doc="doc" xmlns:maven="jelly:maven"> + <!-- Determine path seperator for the platform --> + <j:set var="_sep" value="${path.separator}"/> + + <!-- ================================================================== --> <!-- S C H E M A S P Y --> <!-- ================================================================== --> 1.2 +1 -1 maven-plugins/schemaspy/xdocs/properties.xml Index: properties.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/schemaspy/xdocs/properties.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- properties.xml 25 Apr 2006 17:46:59 -0000 1.1 +++ properties.xml 25 Apr 2006 18:59:11 -0000 1.2 @@ -17,7 +17,7 @@ <tr><td>maven.schemaspy.database.username</td><td></td><td>no</td><td>The database user to login as</td></tr> <tr><td>maven.schemaspy.database.password</td><td></td><td>no</td><td>The database password to use</td></tr> <tr><td>maven.schemaspy.database.schema</td><td></td><td>no</td><td>The database schema</td></tr> - <tr><td>maven.schemaspy.database.classpath</td><td>${pom.getDependencyPath("mssqlserver:mssqlserver")}:${pom.getDependencyPath("mssqlserver:msbase")}</td><td>no</td><td>The classpath to the driver. Notice the ":" seperating jars.</td></tr> + <tr><td>maven.schemaspy.database.classpath</td><td>${pom.getDependencyPath("mssqlserver:mssqlserver")}${_sep}${pom.getDependencyPath("mssqlserver:msbase")}</td><td>no</td><td>The classpath to the driver. Notice the "${_sep}" seperating jars. The ${_sep} is replaced by whatever platform dependenct seperator you need.</td></tr> </table> </section> 1.1 maven-plugins/schemaspy/xdocs/changes.xml Index: changes.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <document> <properties> <title>Changes</title> <author email="epu...@op...">Eric Pugh</author> </properties> <body> <release version="1.2-SNAPSHOT" date="in CVS"> </release> <release version="1.1" date="2006-04-25"> <action dev="dep4b" type="add">Make classpath seperator platform independent when defining the driver classpath.</action> </release> <release version="1.0" date="2006-04-25"> <action dev="dep4b" type="add">Initial contribution of plugin.</action> </release> </body> </document> |