Bill,

Ran through all the steps successfully ( assume step 5 refers to the
project.xml in $MAVEN_HOME/plugins/maven-torque-plugin-3.1/project.xml )
except the last step, turbine will not compile it still fails the same 3
tests as before.

[ERROR] TEST org.apache.turbine.ConfigurationTest FAILED
[ERROR] TEST org.apache.turbine.services.schedule.JobEntryTest FAILED
[ERROR] TEST
org.apache.turbine.services.schedule.TurbineNonPersistentSchedulerServiceTes
t FAILED

Only the first of these leaves any evidence of what is wrong.

Testcase: testConfigurationValuesInSameOrder took 0.461 sec
        FAILED
expected:<FactoryService.classname> but was:<ComponentService.earlyInit>
junit.framework.AssertionFailedError: expected:<FactoryService.classname>
but was:<ComponentService.earlyInit>
        at
org.apache.turbine.ConfigurationTest.testConfigurationValuesInSameOrder(Conf
igurationTest.java:193)

And the category symbol is still not resolved when I refresh the project in
eclipse, but weirdly this does not seem to occur when I use Maven to build
the T2.3-dev project with "maven jar"?.

This is getting way too complicated to work out what is wrong here. I am
really regretting changing my project to use T2.3-dev now.

David

-----Original Message-----
From: Bill [mailto:[EMAIL PROTECTED]
Sent: 03 July 2003 14:31
To: Turbine Users List
Subject: Re: Setting up T2.3 dev


David

I'm having similar problems.  This is what I believe you need to do fix
the generator problem:

1.  Checkout Torque HEAD from cvs
2.  cd to db-torque/src/generator
3.  run 'maven jar'
4.  cp db-torque/src/generator/target/torque-gen-3.1-alpha3-dev.jar to
$MAVEN_HOME/repository/torque/jars/
5.  Change the version entry in your dependency from 20030327.070220 to
3.1-alpha3-dev
6.  cd db-torque/src/generator/src/maven-plugin
7.  run 'maven plugin:install'
8.  rebuild turbine

I'm still getting errors at this point, but they are not the category
errors I was experiencing previously.  Let me know if this works for
you, that'll confirm my suspicion that my current errors are a
misconfiguration issue.

-b

On Thu, 2003-07-03 at 07:07, David Wynter wrote:
> Hi,
>
> I saw the message about the 'category' refernece getting created by a
Torque
> 3.0 generator and then the compile by the Torque 3.1 aplha1 causing the
> unresolvable problem. I checked my project.xml for the maven torque plugin
> and it has
>
>     <dependency>
>       <groupId>torque</groupId>
>       <artifactId>torque-gen</artifactId>
>       <version>20030327.070220</version>
>       <properties>
>         <classloader>root</classloader>
>       </properties>
>     </dependency>
>
> I am just not sure what I need to do with maven to bring this up to date.
> Also I could not find a newer version of the torque generator? any clues
on
> how I fix this problem?
>
> Thanks
>
> David
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Bill <[EMAIL PROTECTED]>


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

Reply via email to