You need to learn some things about Hibernate. The hibernate-schema target in the Hibernate-template is only there for generating the DB creation script. It does not need to connect to a DB to do that, so no properties being available is OK.
The properties file is only useful if you are actually running Hibernate classes, which is not happening during the AndroMDA build time. Additionally, the Hibernate-template uses Hibernate 1.2, which is quite old now. Sherman -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luciano Macedo Rodrigues (Opensoft) Sent: Thursday, February 12, 2004 2:35 PM To: [EMAIL PROTECTED] Subject: [Andromda-user] Hibernate question Hi, I don't know if it is a newbie question, since it's my first time here, but where I configure Hibernate properties, like JDBC driver and other things like that? I generated a project from wizard, put hibernate.properties in project.home, and put the following line in build.xml: <property file="hibernate.properties" /> But nothing. When ant is running it says: hibernate-schema: [java] (cfg.Environment 403 ) Hibernate 2.0.3 [java] (cfg.Environment 432 ) hibernate.properties not found ... So, where I put this? Or how AndroMDA handle this kind of options, because for me Hibernate is useless if I can't point it to my database server. Thanks in advance. Luciano ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
