Hi again Jim,
bernatowicz wrote:
I am using Appfuse 2.0 (Struts2), IDEA 7.0.1, and Tomcat 5.5.23. I have
built the skeleton app in Idea to create a WAR that I copy to
TOMCAT/webapps. I have manually replaced the ${} variables with the values
found in the pom.xml file in jdbc.properties files, but I cannot get rid of
the one regarding "hibernate.dialect".
Actually, it just occurred to me that the specific problem you're having
is a useful illustration of the use/benefits of Profiles. The
"hibernate.dialect" variable is normally set by a database Profile. So,
for example, if you wanted to use the Postgresql database, it has the
profile ID "postgresql" (case sensitive) and so you'd invoke that by
including "-Ppostgresql" (case sensitive and no space between the -P and
the profile ID) in your maven commandline (or as a parameter in your IDE
if you're running Maven from there). AppFuse "out of the box" uses the
MySQL - which doesn't have its own Profile in the pom produced by
AppFuse, all its settings are done via the variable values specified
within the <properties> element.
Cheers,,
Rob Hills
Waikiki, Western Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]