Wei, thanks, both TURBINE_2_3 and TURBINE_2_3_BRANCH worked but I got
log4j:ERROR's while building...

<snip>
test:compile:
    [javac] Compiling 33 source files to
E:\CVS\root.turbine23-branch\jakarta-turbine-2\target\test-classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

test:test:
    [junit] dir attribute ignored if running in the same VM
log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".
    [junit] Running org.apache.turbine.ConfigurationTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.813 sec
    [junit] dir attribute ignored if running in the same VM
log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".
    [junit] Running org.apache.turbine.DestroyTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.031 sec
    [junit] dir attribute ignored if running in the same VM
log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".
    [junit] Running org.apache.turbine.modules.GenericLoaderTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
    [junit] dir attribute ignored if running in the same VM
log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine
...more similar log4j errors...
<snip>

Anyway,  I've narrowed it down to the following 3 need settings:

torque.addSaveMethod = true
torque.basePrefix = Base
torque.saveException = Exception

(I put them into the <jakarta-turbine-2>/build.properties file)

Can anyone else verify if this is correct procedure?


On Fri, 28 Nov 2003, Wei He wrote:

>
> 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

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

Reply via email to