Skip navigation

Release Notes 2.0 M4
Added by Matt Raible, last edited by Matthew Chestnut on May 07, 2007 16:55
(None)

Toggle Sidebar

Please see the Upgrade Guide below or the QuickStart Guide to get started with this release. We were hoping to get AMP's code generation and XFire integrated in this release. While we're still working on those features, there were already quite a few improvements over M3, so we decided to release early.

We hope to have both AMP and XFire integration completed for 2.0 M5.

A new feature in this release is Database Profiles. It should now be much easier to switch from MySQL to Derby (in networked mode), H2, HSQLDB, Oracle, PostgreSQL or SQL Server.

This release should run fine on Tomcat 6, but you may have to make some changes if you're using JSF.

New projects contain a profile for JBoss 4.0.5, but not for other servers that AppFuse is known to run on. The reason for this is because Cargo doesn't support the latest versions of these servers.

Upgrade Guide

If you're currently using AppFuse 2.0 M3, here's a few things you'll need to change to upgrade to 2.0 M4.

Diff is your friend
The easiest way to make the changes below might be to compare your pom.xml, web.xml and web-tests.xml with the ones from a new archetype. Beyond Compare is a fabulous diff tool for Windows users.
  1. Backup your project on your local file system or (even better) in your source control system.
  2. In pom.xml, change <appfuse.version>2.0-m3</appfuse.version> to <appfuse.version>2.0-m4</appfuse.version>.
  3. Maven's war overlay feature is based on timestamps. If you've overridden AppFuse files in your project, you'll need to "touch" them in order to give them a newer timestamp. Here's a sample of what you might run:
    touch src/main/webapp/*
    touch src/main/webapp/scripts/*
    touch src/main/webapp/WEB-INF/*
    touch src/main/webapp/WEB-INF/pages/*
    Another, more permanent, solution is to use <dependentWarExcludes> to prevent the files from being overlayed.
  4. If you registered a HibernateExtensionPostProcessor bean in your applicationContext.xml, you can remove it. This is no longer needed.
  5. Add a "copyright.year" to your ApplicationResources.properties file (diff).
  6. If you're using a local copy of cssHorizontalMenu.vm, you should grab the latest one from Subversion.
  7. Update your hibernate3-maven-plugin in your pom.xml so it has <drop>true</drop> under <componentProperties>(diff). You might as well update the version to 2.0-alpha-1 while you're there, unless you encounter APF-683.
  8. At the bottom of your pom.xml, change the <cargo.container.url> property to use "archive.apache.org" instead of "apache.org".
  9. Change the Cargo Plugin to be <version>0.3</version> in your pom.xml.
  10. If you're using MySQL, update the <jdbc.version> to be "5.0.5" in your pom.xml.
  11. After upgrading to EhCache 1.3.0-beta, the GZipFilter can now be re-enabled. Simply uncomment its filter-mapping in your web.xml.
  12. If you need the ability to serve up static HTML files (i.e. from Dojo), you'll need to configure your web.xml to use the new StaticFilter.
  13. If you have any issues with i18n, we recommend you create a new project from a 2.0-m4 archetype and copy src/main/resources/ApplicationResources*.properties into your project. If you have a modular project, these are in the "web" module.
  14. Change <spring.version> to "2.0.3" if you have it specified in your pom.xml.
  15. Struts: Update your defaultStack in struts.xml to match example in struts-default.xml.
  16. Struts: Struts 2's Zero Configuration feature is on by default. Follow these instructions if you'd like to configure it in your application.
  17. JSF: If you don't want people viewing your Facelets templates, you'll need to add a <security-constraint> to your web.xml.
  18. JSF: Change <myfaces.version> to "1.1.5" if you have it specified in your pom.xml.

Detailed Changelog

AppFuse JIRA (64 issues)
T Key Summary Status Res
Bug APF-710 Titles do not show up anymore in JSF pages (meta.heading has been replaced by page.heading) ResolvedResolved FIXED
Bug APF-701 Upgrade to EhCache 1.3.0-beta ResolvedResolved FIXED
Bug APF-700 Facelets templates can be viewed in the browser ResolvedResolved FIXED
Bug APF-699 Upgrade to MySQL JDBC Driver version 5.0.5 ResolvedResolved FIXED
Bug APF-698 Persistence tutorial code missing import ResolvedResolved FIXED
Bug APF-694 The Appfuse 2.0-M4 appfuse-tapestry can't build for "zh" locale ResolvedResolved FIXED
Bug APF-692 URL to download Tomcat has changed from apache.org to archive.apache.org ResolvedResolved FIXED
Improvement APF-691 Upgrade to Spring 2.0.3 and Spring Modules Validation 0.8 ResolvedResolved FIXED
Bug APF-690 Changes to the Norwegian resource bundle ResolvedResolved FIXED
Improvement APF-688 Upgrade to Cargo Maven Plugin 0.3 ResolvedResolved FIXED
Improvement APF-685 improvement of generics usages on tutorials ResolvedResolved FIXED
Improvement APF-682 BaseControllerTestCase hard-coded username "tomcat" ResolvedResolved FIXED
Sub-task APF-680 Add configuration so Zero Configuration for Struts 2 works out of the box ResolvedResolved FIXED
Improvement APF-679 Upgrade to Hibernate3 Plugin version 2.0-alpha-1 ResolvedResolved FIXED
Bug APF-678 Running hibernate3:hbm2ddl does not alter database schema after changes are made to model objects ResolvedResolved FIXED
Improvement APF-672 Change archetype version numbers to be inline with AppFuse version number ResolvedResolved FIXED
Bug APF-671 Add <scanTarget>src/main/webapp/WEB-INF</scanTarget> to Jetty Plugin configuration to pick up changes in XML files ResolvedResolved FIXED
Improvement APF-670 Upgrade to commons-lang 2.3 ResolvedResolved FIXED
Improvement APF-668 Upgrade to native2ascii-maven-plugin 1.0-alpha-1 ResolvedResolved FIXED
Bug APF-667 Missing repositories in appfuse-modular-struts archetype ResolvedResolved FIXED
Improvement APF-665 Upgrade to iBATIS 2.3.0 ResolvedResolved FIXED
Improvement APF-664 Update defaultStack in struts.xml so it matches example in struts-default.xml ResolvedResolved FIXED
Improvement APF-663 Move ${copyright.year} value into ApplicationResources.properties instead of parsing footer.jsp ResolvedResolved FIXED
Bug APF-660 hibernate.cfg.xml incorrectly included by war overlay for modular archetypes ResolvedResolved FIXED
Improvement APF-659 Add <distributable /> to web.xml so application can be easily clustered ResolvedResolved FIXED
Improvement APF-657 Add logging configuration to Cargo Plugin ResolvedResolved FIXED
Bug APF-656 BasePageTestCase and web.xml - no references to classpath*:/applicationContext.xml ResolvedResolved FIXED
Bug APF-655 MailEngine.sendMessage method used for sending attachments does not preserve application-wide 'sender' property. ClosedClosed FIXED
Improvement APF-654 Upgrade to Struts 2.0.6 ResolvedResolved FIXED
Improvement APF-653 Upgrade to MyFaces 1.1.5 ResolvedResolved FIXED
Bug APF-652 dispatcher-servlet.xml is missing when creating project with appfuse-basic-spring ResolvedResolved FIXED
Bug APF-651 DBUnit fails for Table Loading on HsqlDB. (Workaround Included) ResolvedResolved FIXED
Bug APF-649 7 errors in eclipse for a webapp ResolvedResolved FIXED
Bug APF-648 locale zh does not work ClosedClosed FIXED
Improvement APF-646 Upgrade to maven-compiler-plugin 2.0.2 ResolvedResolved FIXED
Bug APF-644 Upgrade to Ajax4JSF 1.0.6 ResolvedResolved FIXED
Improvement APF-643 Remove hibernate.hbm2ddl.auto=update from applicationContext-dao.xml files ResolvedResolved FIXED
Bug APF-641 Warpath plugin does not exclude all files that match the patterns in warpathExcludes ResolvedResolved FIXED
Bug APF-639 native2ascii UTF-8 BOM bug ResolvedResolved FIXED
Bug APF-638 Change wrong translation for key menu.admin.reload in german I18N files ResolvedResolved FIXED
Bug APF-636 Tutorials' DaoTest doesn't work out-of-the-box when using modular archetypes ResolvedResolved FIXED
Bug APF-635 applicationContext-resources.xml missing from src/test/resources in core module in modular archetypes ResolvedResolved FIXED
Bug APF-633 log4j.xml doesn't exist in the core module when creating modular projects ResolvedResolved FIXED
Task APF-631 Upgrade projects in appfuse-demos for M3 and M4 ResolvedResolved FIXED
New Feature APF-630 Add Norwegian Translation ResolvedResolved FIXED
Bug APF-629 webtest failes on html entities from ApplicationRessource.properties ResolvedResolved FIXED
Bug APF-627 Canoo test error with locale 'zh' ResolvedResolved FIXED
New Feature APF-613 Add Turkish Language Support ResolvedResolved FIXED
Bug APF-599 Problem with generating struts menu with child items (recursive) ResolvedResolved FIXED
Bug APF-589 JSF table header renders with ? instead of arrow ResolvedResolved FIXED
Improvement APF-584 Provide DB specific build profiles in the archetypes ResolvedResolved FIXED
Improvement APF-579 Added ApplicationResources_zh_TW.properties ResolvedResolved FIXED
Bug APF-577 Support the "country" part of Locale ResolvedResolved FIXED
Improvement APF-575 GenericDao should have an exists(id) method ResolvedResolved FIXED
Bug APF-571 Entities must be registered twice for Hibernate Plugin and Spring + Hibernate to work ResolvedResolved FIXED
Task APF-546 Finalize Archetype design ResolvedResolved FIXED
Bug APF-540 i18N issue in login.js ResolvedResolved FIXED
Improvement APF-431 .html webwork extension can get confusing ResolvedResolved FIXED
Bug APF-423 Adjust dependentWarIncludes and dependentWarExcludes so projects that include web-common.war work out-of-the-box ResolvedResolved FIXED
Bug APF-422 Fix EhCache error messages that resulted from APF-421 ResolvedResolved FIXED
Improvement APF-377 Resource bundle files for Traditional Chinese (suitable for Hong Kong (zh_HK) and Taiwan (zh_TW)) ResolvedResolved FIXED
Improvement APF-315 Improve Tapestry 4.0 Integration: expired session, request/response, acegi and redirecting to same page ResolvedResolved FIXED
Bug APF-277 Restrict right access pattern for '/signup.html' pattern ResolvedResolved WON'T FIX
New Feature APF-171 Add support for lazy-loading in Unit Tests (dao, service and web) ResolvedResolved FIXED


Adaptavist Theme Builder Powered by Atlassian Confluence