The classpath can have directories as well as jars. You could add a directory, say /home/myhome, to your classpath (before your libraries, so that the directory takes precedence over any bundled file). Afterwards, specify the path to the configuration file in relation to that directory: /hibernate.cfg.xml. Note that the initial slash in this path means "classpath root" rather than "filesystem root".
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920590#3920590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920590 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
