On 11/12/07, cloude1080 <[EMAIL PROTECTED]> wrote: > > Hi, first of all I would like to apologize if my questions have been asked > before. I'm a newbiew with appfuse (maven)and there are couple of questions > I really want to find out the answers: > > 1/ Is there any way to use appfuse without JPA but with hbm.xml > configuration?
Yes, it's possible. You can override the default "sessionFactory" bean and configure it however you like. If you're using "full-source", you can simply modify the existing configuration. Your best bet is to probably just add mapping resources to hibernate.cfg.xml instead of mapping classes. If you want to use .hbm.xml files for everything - you'll need to create them for User and Role. > > 2/ In a spring MVC project, appfuse generated a <s:select> tag from struts > which is not included in the project. How do I add a reference to jar from > maven? Sounds like a bug, but you're the first to report it. Can you please provide the steps to reproduce? > > 3/ I use windows XP. When I do appfuse:full-source, it complain about the > path to .m2/repository contains illegal characters. When I moved my > repository to somewhere else and reconfig maven, appfuse:fullsource still > cannot run due to an error which the repository is not in default path. Any > way to work around this? I believe this is related to the following issue: http://issues.appfuse.org/browse/APF-937 Easy workaround: full-source on a Linux or OS X box and check it into your source control system. ;-) Matt > > Many thanks, Steve. > > -- > View this message in context: > http://www.nabble.com/Couple-of-questions-related-to-Appfuse-tf4796041s2369.html#a13720534 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
