Problem

Trollchik <andrey_skrypnik-JGs/[email protected]> Sat, 10 Jan 2009 07:46:33 -0800 (PST)
Newsgroups gmane.comp.java.xplanner.devel
Message-ID <[email protected]>
Hi,

I've been trying to get xplanner running using the standalone version.

I've been following the installation guude and created the database
"xplanner"

I'm using MySQL 4.1 so I've changed the xplanner.properties and
xplanner-custom-standalone-install.properties files to use MySql instead:

# Hibernate MySQL Configuration
hibernate.dialect=com.technoetic.xplanner.db.hibernate.XPlannerMySQLDialect
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.connection.dbname=xplanner
hibernate.connection.url=jdbc:mysql://localhost/xplanner
hibernate.connection.username=root
hibernate.connection.password=54dback1.
xplanner.migration.databasetype=mysql
xplanner.migration.patchpath=patches:com.technoetic.xplanner.upgrade:com.technoetic.xplanner.security.install

# Hibernate HSQLDB Configuration
#xplanner.hibernate.mappingtransform=hsqldb-mapping-transform.xsl
#hibernate.dialect=net.sf.hibernate.dialect.HSQLDialect
#hibernate.connection.driver_class=org.hsqldb.jdbcDriver
#hibernate.connection.username=sa
#hibernate.connection.password=
#xplanner.migration.databasetype=hsqldb
#xplanner.migration.patchpath=patches/hsqldb:com.technoetic.xplanner.upgrade:com.technoetic.xplanner.security.install

When I run:  ant install.db.schema I get a migration exception (see stack
trace below).  What am I doing wrong?

Thanking you in advance, 
Trevor

D:\Program Files\xplanner>ant install.db.schema
Buildfile: build.xml does not exist!
Build failed
D:\Program Files\xplanner>cd xplanner-0.7b7-standalone

D:\Program Files\xplanner\xplanner-0.7b7-standalone>ant install.db.schema
Buildfile: build.xml
Overriding previous definition of reference to patch.classpath

build.product:

init:

apply.patch:
     [java] [      0]  ERROR - bc.StandaloneMigrationLauncher -
com.tacitknowled
ge.util.migration.MigrationException: Unable to find migration properties
file '
migration.properties'
     [java] com.tacitknowledge.util.migration.MigrationException: Unable to
find
 migration properties file 'migration.properties'
     [java]     at
com.tacitknowledge.util.migration.jdbc.JdbcMigrationLauncherF
actory.configureFromMigrationProperties(JdbcMigrationLauncherFactory.java:185)
     [java]     at
com.tacitknowledge.util.migration.jdbc.JdbcMigrationLauncherF
actory.createMigrationLauncher(JdbcMigrationLauncherFactory.java:68)
     [java]     at
com.tacitknowledge.util.migration.jdbc.StandaloneMigrationLau
ncher.main(StandaloneMigrationLauncher.java:81)
     [java]     at
com.tacitknowledge.util.migration.jdbc.HsqlAwareStandaloneMig
rationLauncher.main(HsqlAwareStandaloneMigrationLauncher.java:53)
     [java] Exception in thread "main"

-- 
View this message in context: http://www.nabble.com/Problem-tp21369257p21369257.html
Sent from the XPlanner Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB