Hi Dan,
You will need some of the properties in the build.properties file as torque-gen maven plugin does not pick up
some the properties for some reason. I had most of these properties because I am not sure which properties it
will pick up. Also you may need to do a clean up before running maven again.
Hope it helps,
Wei
# ------------------------------------------------------------------- # B U I L D P R O P E R T I E S # # $Id: build.properties,v 1.5 2003/06/09 13:33:12 henning Exp $ # # Add local changes to the build process here. # ------------------------------------------------------------------- torque.addGetByNameMethod = true torque.addIntakeRetrievable = false torque.retrievableInterface = org.apache.turbine.om.Retrievable torque.addSaveMethod = true torque.addTimeStamp = true torque.basePrefix = Base torque.complexObjectModel = true torque.saveException = Exception torque.useClasspath = true torque.useManagers = false
torque.omzip.src.base = false torque.omzip.src.extension = false torque.omzip.bin.base = false torque.omzip.bin.extension = false torque.omzip.deleteFiles = false
torque.generateDeprecated = true
torque.runOnlyOnSchemaChange = false
Dan K. wrote:
Hi,
I'm trying to build Turbine 2.3 from cvs tag TURBINE_2_3, and also tried TURBINE_2_3_BRANCH but am encountering MANY of errors following the "generate-om" step.
I have maven 1.0 rc1 and issued the command "maven" to build the project as stated on: http://jakarta.apache.org/turbine/turbine-2.4/how-to-build.html
I also followed the readme.txt, and installed the "maven-torque-plugin" by checking out the Torque source and using the command "maven plugin:install".
Are there any other steps I need to do?
Here's the beginning of the errors:
<snip> torque:om-check:
torque:om: [echo] Schema files have not changed since last generation.
generate-om:
[echo] Compiling to C:\CVS\root.turbine23\jakarta-turbine-2/target/classes [javac] Compiling 431 source files to C:\CVS\root.turbine23\jakarta-turbine- 2\target\classes C:\CVS\root.turbine23\jakarta-turbine-2\target\src\org\apache\turbine\services\s chedule\${basePrefix}JobEntry.java:29: class $basePrefixJobEntry is public, shou ld be declared in a file named $basePrefixJobEntry.java public abstract class $basePrefixJobEntry extends BaseObject ^ C:\CVS\root.turbine23\jakarta-turbine-2\target\src\org\apache\turbine\services\s ecurity\torque\om\${basePrefix}TurbineGroup.java:29: class $basePrefixTurbineGro up is public, should be declared in a file named $basePrefixTurbineGroup.java public abstract class $basePrefixTurbineGroup extends BaseObject ^ C:\CVS\root.turbine23\jakarta-turbine-2\target\src\org\apache\turbine\services\s ecurity\torque\om\${basePrefix}TurbinePermission.java:29: class $basePrefixTurbi nePermission is public, should be declared in a file named $basePrefixTurbinePer mission.java public abstract class $basePrefixTurbinePermission extends BaseObject ^ C:\CVS\root.turbine23\jakarta-turbine-2\target\src\org\apache\turbine\services\s ecurity\torque\om\${basePrefix}TurbineRole.java:29: class $basePrefixTurbineRole is public, should be declared in a file named $basePrefixTurbineRole.java public abstract class $basePrefixTurbineRole extends BaseObject
I guess it's just missing the ${basePrefix}? Where do I set that?
Thanks.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
