Hi,

I am trying to build Jetspeed2 with Sybase database. I modified the
build.properties to add Sybase as the db as mentioned in this link
http://portals.apache.org/jetspeed-2/database.html

The maven build failed first with the following
torque:init:
db.scripts.gen:
    [echo] Generating SQL schema creation scripts for HSQLDB
    [torque-sql] Using classpath
    [torque-sql] Generating to file C:\users\hmenon\jakarta-jetspeed-2\target\sr
.............................................
    [torque-sql] Generating to file C:\users\hmenon\jakarta-jetspeed-2\target\sr
c\sql\mssql\report.portal.sql.generation
    [echo] Generating SQL schema creation scripts for Postgres
    [torque-sql] Using classpath
    [torque-sql] Generating to file C:\users\hmenon\jakarta-jetspeed-2\target\sr
c\sql\postgres\report.portal.sql.generation
BUILD FAILED
File...... C:\users\hmenon\jakarta-jetspeed-2\maven.xml
Element... sql
Line...... 355
Column.... 39
Source file does not exist!

I found that there are no sql scripts for sybase. So added the sql
scripts under src/sql/sybase. Also modified the maven.xml to contain
one more <torque-sql> entry for sybase.Tried again, but this time it
failed with the following exception.

Database-specific properties file does not exist: C:\users\hmenon\jakarta-jetspe
ed-2\sql\base\Sybase\db.props
org.apache.torque.engine.EngineException: Database-specific properties file does
 not exist: C:\users\hmenon\jakarta-jetspeed-2\sql\base\Sybase\db.props
        at org.apache.torque.engine.database.model.AppData.getIdiosyncrasies(App
Data.java:183)
        at org.apache.torque.engine.database.model.Database.getProperty(Database
.java:373)
        at org.apache.torque.engine.database.model.ConstraintNameGenerator.gener
ateName(ConstraintNameGenerator.java:100)


 Does anyone know anything about this error? Has anyone tried to build
jetspeed2 against sybase? Can someone please help me with this?

Thanks,
Hema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hema Menon

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

Reply via email to