JSF/Tomahawk
Spring
- Include Spring configuration XML files from a dependent JAR
<import resource="classpath*:/META-INF/foo.xml"/>
- Make Beans Serializable and keep non-static variables which are injected by Spring (e.g. references to other beans) transient. (Typical newbie mistake.)
Spring Webflow
- Beans which shall be available in subflows must have "conversation" scope, "flow" scope isn't sufficient.
- The <bean-import> must be made even in subflows! Otherwise, the required bean won't be instantiated and your bean-access will fail. If you then have the stupid idea to add a "someScope...." prefix to the EL-expression - like I did -, you won't get an error message at all.
Maven
- Ignore test failures
mvn -Dmaven.test.failure.ignore=true <targets>
- Skip tests
mvn -Dmaven.test.skip=true <targets>
- Download sources
mvn -DdownloadSources=true <targets>
Hibernate
- DDL validation/export mode
hibernate.hbm2ddl.auto=[validate|update|create|create-drop]
|
Knowledge Base
Game Development
Personal
PmWiki
pmwiki.org
edit SideBar
|