-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Getting debug data out of Hibernate 3 Ant tasks
PostPosted: Tue Jun 21, 2005 8:09 am 
Beginner
Beginner

Joined: Sat Feb 26, 2005 12:09 pm
Posts: 27
Location: Helsinki, Finland
I changed my mapping file and now the codegen and schemaexport ant tasks fail. The final error emitted by ant is not useful in pinpointing the problem.

How do I get log4j debug output from the ant tasks when running ant inside Eclipse?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 10:05 am 
Beginner
Beginner

Joined: Sat Feb 26, 2005 12:09 pm
Posts: 27
Location: Helsinki, Finland
Specifically, how do I configure log4j for the Hibernate Ant tasks?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 10:43 am 
Newbie

Joined: Tue May 03, 2005 3:18 pm
Posts: 9
hsivonen wrote:
Specifically, how do I configure log4j for the Hibernate Ant tasks?


I think that what you're looking for is the -v or -verbose option on ant. Just configure this under external tools->Run for the relevant build.xml.

Raj


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 3:27 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes, use ant -debug/-verbose to get the specific error message.

regarding configuring log4j - just include a log4j.properties/xml into the classpath of the hibernatetool.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 4:32 am 
Beginner
Beginner

Joined: Sat Feb 26, 2005 12:09 pm
Posts: 27
Location: Helsinki, Finland
Thanks. Found the build problem.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.