Dan Moore wrote:

--- David Sean Taylor <[EMAIL PROTECTED]> wrote:


Dan Moore wrote:


Hi David.

It's all working now. I don't think I was changing my
project.properties.



cool


Thanks for your help.

For posterity, what I did to generate working oracle Torque classes

and

sql was:
rm -rf jetspeed-1.5/
jar -xf jetspeed-current-src.zip
cd jetspeed-1.5/
vi project.properties
changed 'database' property to 'oracle'
vi webapp/WEB-INF/conf/Torque.properties
changed 'torque.database.default.adapter' to 'oracle'
maven clean dist -Dmaven.test.skip=true
cp target/jetspeed-1.5.jar ~/save
maven torque:sql
cp target/classes/sql/*.sql ~/save


calling

maven clean dist -Dmaven.test.skip=true

should automatically call both torque:sql and torque:om


Hrrm...

Well, when I called that, nothing was created in target/classes/sql. In fact, after a 'maven clean dist -Dmaven.test.skip=true' these are
the only sql files with psml in their name:


./src/sql/external/psml-db-oracle.sql
./target/jetspeed-1.5/src/jetspeed-1.5/src/sql/external/psml-db-oracle.sql


My mistake ... java:compile is not dependent on torque:sql Try this:

maven clean torque:sql dist -Dmaven.test.skip=true


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



Reply via email to