Essentials Overview Features License Installation FAQ Sample Sites Resources Todo Changes Download Binaries Source Code Supporting Projects Documentation Configuration Guide Javadocs Development Portlet Howto Portlet Catalog Jetspeed Trailmap Components Registry Security Syndication WAP Customization Cache PSML Get Involved Contributors CVS Repository CVS Branches Coding Spec Bug Database |
Supporting Jakarta Projects
Jetspeed is dependent on many open source projects. We provide downloads to the four most dependent projects used in Jetspeed: Turbine Torque Stratum Fulcrum The supporting projects can be checked out from their cvs repository for the date of October 15, with the exception of Torque which should be checked out before date of October 25. For example: cvs co -D 2002-10-15 jakarta-turbine-2 cvs co -D 2002-10-25 jakarta-turbine-torque cvs co -D 2002-10-15 jakarta-turbine-fulcrum cvs co -D 2002-10-15 jakarta-turbine-stratum The complete builds of supporting Jakarta projects are available at: Jetspeed Supporting Projects
Upgrading Torque 3.0 b2 to Torque 3.0 b5
All Torque queries that used to return java.util.Vector now return java.util.List DBConnection has been removed. You must convert your code to use java.sql.Connection Accessors for PKs and FK columns return the actual data type, including Java primitive data types, not an ObjectKey (or derivative). For ex: a column that is an INTEGER called USER_ID will return have accessors : int getUserId() void setUser(int userId) Torque.getConnection() (with no params) now throws TorqueException, java.sql.SQLException, javax.naming.NamingException (it used to throw just TorqueException) releaseConnection() was changed to closeConnection(), and it no longer throws an exception It appears that maxExpiryTime and connectionWaitTime have changed from milliseconds to seconds {$webapp_root} no longer seems to work, just remove it You have a lot more choice for Connection pooling, such as using JNDI, Jdbc2Pool, and ConnectionPoolDataSource. See the Torque.properties in Jetspeed cvs for examples. The format of the connection properties have changed. You will need to change your Torque.properties to the new format: # MySQL torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver torque.dsfactory.default.connection.url = jdbc:mysql://localhost:3306/torque torque.dsfactory.default.connection.user = user torque.dsfactory.default.connection.password = password Torque.properties now prefixes Torque properties with "torque." Components are all prefixed with "services.ComponentService." We need to include build-torque.properties in your ant build and call it from your build.properties Torque now supports excludes and includes to choose which xml files to build. If you don't specify excludes and includes, Torque will generate for all xml files found in the schemaDirectory: torque.schema.sql.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml torque.schema.create-db.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml torque.schema.init-sql.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml torque.schema.om.includes = security-schema.xml, turbine-schema.xml, coffees-schema.xml Also see the Torque Change Log
Copyright © 1999-2002, Apache Software Foundation