[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-user
Subject:    Re: maven b8 + torque v3.0 odd error message
From:       Emmanuel Florent <eflorent () formaguide ! com>
Date:       2003-04-24 15:38:59
[Download RAW message or body]

I guess this can happen because you try to reach
 http://jakarta.apache.org/turbine/dtd/database_3_1.dtd
but you're offline. You  may check this by going online.
If you update your ${project}-schema.xml with :

<!DOCTYPE database SYSTEM
"http://jakarta.apache.org/turbine/dtd/database.dtd">

Torque may use it's embeded DTD, and you can go offline again.
Please correct me if 'm wrong.

Emmanuel Florent
eflorent@devaki.org
http://www.devaki.org/

 


On Tue, 2003-04-22 at 16:04, Graham Leggett wrote:
> Hi all,
> 
> For no reason I can tell offhand, torque stopped working today, giving a 
> message like so:
> 
> [minfrin@sam patricia-db]$ maven torque
>   __  __
> |  \/  |__ Jakarta _ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|   v. 1.0-beta-8
> 
> 
> torque:main:
>      [echo] +------------------------------------------+
>      [echo] |                                          |
>      [echo] | Generating SQL for YOUR Torque project!  |
>      [echo] | Woo hoo!                                 |
>      [echo] |                                          |
>      [echo] +------------------------------------------+
>      [torque-sql] Using contextProperties file: 
> /home/sam/minfrin/src/fma/patricia-db/build.properties
>      [torque-sql] Using classpath
>      [torque-sql] Generating to file 
> /home/sam/minfrin/src/fma/patricia-db/src/sql/report.patricia.sql.generation
> Resolver: used http://jakarta.apache.org/turbine/dtd/database_3_1.dtd
> 
> BUILD FAILED
> Generation failed. For more information consult the velocity log, or 
> invoke ant with the -debug flag.
> Total time:  17 seconds
> 
> The above report file supposedly generated is of zero length. Neither 
> the OM objects nor the sql is created at all.
> 
> Again, the maven.log shows problems with:
> 
> 2003-04-22 17:58:29,966 ERROR org.apache.commons.jelly.tags.ant.AntTag - 
> Class com.werken.werkz.jelly.GoalTag doesn't support the nested "ant" 
> element.
> 
> The velocity log shows nothing out of the ordinary that I can see.
> 
> Is there a way of getting torque to log an actual error message when it 
> fails?
> 
> I am completely stuck: maven b8 has stopped working, and maven b9 is 
> broken out the box. Any suggestions on getting some kind of coherent 
> error message out of the torque code?
> 
> Regards,
> Graham


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic