Re: [appfuse-user] Pass a pom property to a JSP page

2009-01-18 Thread Martin Homik
I've solved it through Spring and Struts2. 1. Define your property in maven. /some/path 2. Create some application property file and put into into the src/main/resources folder. Add the following property which will be passed to your application by Spring's PropertyPlaceholderConfigure

Re: [appfuse-user] what did I miss in Using Hibernate tutorial ?

2009-01-18 Thread Marc Siramy
That works really well. Thank you! Marc 2009/1/18 tonylu880042 > > Hi, > You should also add the class mapping in > src/test/resources/hibernate.cfg.xml. > tony > > > Marc_13 wrote: > > > > Hello, > > > > I have the following errors when running *'mvn test -Dtest=PersonDaoTest > > -Dsurefire.u

Re: [appfuse-user] what did I miss in Using Hibernate tutorial ?

2009-01-18 Thread tonylu880042
Hi, You should also add the class mapping in src/test/resources/hibernate.cfg.xml. tony Marc_13 wrote: > > Hello, > > I have the following errors when running *'mvn test -Dtest=PersonDaoTest > -Dsurefire.useFile=false' *, while following the Hibernate tutorial: > testFindPersonByLastName(org.

Re: [appfuse-user] Appfuse Quickstart - mvn command runs but with Tomcat errors? Why?

2009-01-18 Thread Michael Horwitz
2009/1/18 mcs130 > > Hello, > > Can someone shed some light on the following. (I am not new to Web dev but > new to Maven). After running the following archetype: > > Struts 2 Basic mvn archetype:create > -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-basic-struts >