-->
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.  [ 2 posts ] 
Author Message
 Post subject: How specify log4j.properties in schemaexport ant task?
PostPosted: Tue Jul 06, 2004 5:15 am 
Newbie

Joined: Mon Jul 05, 2004 11:49 am
Posts: 4
Location: Italy
I use an ant build.xml file with a hibernatedoclet task to generate hbm.xml files and another schemaexport task to generate the sql.
Each time I run the schemaexport task I obtain

Code:
[schemaexport] log4j:WARN No appenders could be found for logger (net.sf.hibernate.cfg.Environment).
[schemaexport] log4j:WARN Please initialize the log4j system properly.
[...]


How can I specify where to find the log4j.properties file ?

thanks


Top
 Profile  
 
 Post subject: general solution...
PostPosted: Tue Oct 26, 2004 12:21 pm 
Beginner
Beginner

Joined: Fri Oct 15, 2004 2:54 pm
Posts: 33
Location: Austin, TX
You need to put the directory with the .properties file in your classpath.

_________________
--Pierce Krouse


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.