Skip navigation

Release Notes 2.0 M3
Added by Matt Raible, last edited by Matt Raible on Feb 08, 2007 15:27
(None)

Toggle Sidebar

Please see the Upgrade Guide below or the QuickStart Guide to get started with this release. The major feature in this release is documentation! All of the web tutorials tutorials have been written and tested. In addition, we figured out how to get native2ascii to work with Maven 2 - so all i18n bundles and supported languages (now including Turkish!) should work. Besides those key features, this is primarily a bug fix release. We still plan on creating a Maven plugin for code generation, as well as integrating XFire.

Thanks to all the developers and users that have helped with this release!

Upgrade Guide

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

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-m2</appfuse.version> to <appfuse.version>2.0-m3</appfuse.version>.
  3. Change your pom.xml so the hibernate3 plugin's hbm2ddl goal runs in the "process-test-resources" phase instead of the "test-compile" phase (diff). This prevents dbunit from executing before the schema is created.
  4. Modify log4j.xml so it has INFO logging for org.appfuse and DEBUG logging for your groupId (diff).
  5. Move the values in struts.properties into struts.xml as contants (diff).
  6. In web.xml, comment out the filter-mapping for the gzipFilter since it causes issues with foreign characters and exporting from the Display Tag.
  7. The applicationContext-resources.xml has been added to src/main/resources of the archetypes and included in web.xml (using classpath*:/applicationContext-resources.xml). You'll need to download this file into your project for it to work correctly.
  8. Change src/test/resources/web-tests.xml so the "AddUser" test redirects to the list screen instead of back to the form (diff).
  9. If you're using Struts, you can consolidate the "label", "value" and "name" attributes into a single "key" attribute. See Simplified UI Tags in Struts 2 for more information.
  10. If you're using Tapestry, you need to modify your web-tests.xml to use "fileField" instead of "Upload" in the "FileUpload" target (diff).
  11. Add <filtering>true</filtering> in <testResource> section.
  12. Add ${jdbc.* variables as a <dependency> in pom.xml (APF-580).
  13. Add new keys for tagline, version and company information (APF-619).
  14. If you're using Tapestry, the package names changed from org.appfuse.webapp.action to org.appfuse.webapp.pages and org.appfuse.webapp.tapestry to org.appfuse.webapp.components. You'll need to make these changes in your Java code, as well as tapestry.application.
  15. If you're using Struts, you'll need to add Struts 2.0.5 repository to your pom.xml:
<repository>
    <id>struts-205-staging</id>
    <name>Apache Struts 2.0.5 Staging Repository</name>
    <url>http://people.apache.org/builds/struts/2.0.5/m2-staging-repository</url>
</repository>

Detailed Changelog

AppFuse JIRA (59 issues)
T Key Summary Status Res
Bug APF-625 Struts 2.0.5 fails to download then creating a new project with 2.0 M3 ResolvedResolved FIXED
New Feature APF-624 Add "jboss" profile so applications can be tested in JBoss ResolvedResolved FIXED
Improvement APF-623 Upgrade to Struts 2.0.5 ResolvedResolved FIXED
Improvement APF-619 Move version and company information to ApplicationResources.properties ResolvedResolved FIXED
Bug APF-618 Bundle loading for messages fails when using multiple webapps ResolvedResolved FIXED
Improvement APF-617 Upgrade to Spring Modules Validation 0.7 ResolvedResolved FIXED
Improvement APF-616 Modify log4j.xml in archetypes so local project has DEBUG logging on ResolvedResolved FIXED
Task APF-615 Create integration tests for archetypes ResolvedResolved FIXED
Bug APF-614 ClassNotFoundException: org.directwebremoting.servlet.DwrServlet ResolvedResolved FIXED
Bug APF-612 In the Struts2 Tutorial editPerson the button bar renders in the wrong position ResolvedResolved FIXED
Bug APF-611 Struts2 Tutorial - Cancel button should bypass validation ResolvedResolved FIXED
Improvement APF-609 Move integration tests to profile that's disabled when running -Dmaven.test.skip=true ResolvedResolved FIXED
Bug APF-608 Disable GzipFilter because it causes issues with Display Tag's export, as well as i18n ResolvedResolved FIXED
Bug APF-606 dbunit CLEAN_INSERT tries to execute before hbm2dll ResolvedResolved FIXED
Bug APF-605 Error transferring file org.hibernate:hibernate:jar:3.2.1.ga ResolvedResolved FIXED
Improvement APF-604 Move configuration from struts.properties to struts.xml ResolvedResolved FIXED
Improvement APF-603 Upgrade to Struts 2.0.4 ResolvedResolved FIXED
Bug APF-602 BaseDaoTestCase.getConfigLocations inconsitent with tutorial ResolvedResolved FIXED
Bug APF-601 Allow exclusion of artifacts in war dependencies so i18n bundles aren't read from WARs ResolvedResolved FIXED
Bug APF-598 Change to jdbc.url parameters in root POM not recognised ResolvedResolved FIXED
Improvement APF-596 Upgrade to SQL Maven Plugin 1.0 ResolvedResolved FIXED
Bug APF-595 Archetypes should execute dbunit twice: once before tests and once before integration-tests ResolvedResolved FIXED
Improvement APF-588 Upgrade to DWR 2.0-rc2 ResolvedResolved FIXED
Improvement APF-587 Move DAO interfaces to data modules ResolvedResolved FIXED
Bug APF-586 Database cannot be changed in archetype created project ResolvedResolved FIXED
Bug APF-585 Hibernate 3 Plugin needs to be run manually after creating a new project ClosedClosed FIXED
Improvement APF-583 BASE64Encoder is Sun proprietary API and may be removed in a future release ResolvedResolved FIXED
Improvement APF-582 Upgrade to Script.aculo.us 1.7 and Prototype 1.5.0 ResolvedResolved FIXED
Bug APF-580 Database driver dependency missing from Archetypes ResolvedResolved FIXED
Bug APF-574 DaoUtils.getPersistentId fails if dealing with a class whose @Id lives in the superclass ResolvedResolved FIXED
Improvement APF-570 Upgrade to Spring 2.0.2 ResolvedResolved FIXED
Improvement APF-569 Changes to bring AppFuse more in-line with the frameworks it uses ResolvedResolved FIXED
Bug APF-566 LogoutFilter return a 404 on Websphere 6.0.2 ResolvedResolved FIXED
Task APF-562 Create and document the release process for AppFuse 2.x ResolvedResolved FIXED
Bug APF-561 Figure out how to do native2ascii with Maven 2 ResolvedResolved FIXED
Bug APF-558 row event caused the same request sent twice ResolvedResolved FIXED
Bug APF-552 hibernate3 and dbunit plugins execute when running "mvn -Dmaven.test.skip=true" ResolvedResolved FIXED
Bug APF-545 Exception when sorting at Table by a Column which contains null values ResolvedResolved FIXED
Bug APF-544 No encryption after password validation error. ResolvedResolved FIXED
Improvement APF-539 Upgrade to Acegi Security 1.0.3 ResolvedResolved FIXED
Improvement APF-532 Upgrade to Struts 2.0.3 and new UI Tag Shortcuts ResolvedResolved FIXED
Sub-task APF-515 APF-404 subtask: Change hivemodule.xml so detailed error page triggered by property ResolvedResolved FIXED
Sub-task APF-513 APF-404 subtask: SignupForm.java improvements ResolvedResolved FIXED
Sub-task APF-512 APF-404 subtask: Change RoleModel to OptionsModel for re-use purposes ResolvedResolved FIXED
Sub-task APF-511 APF-404 subtask: FileDisplay.java improvements ResolvedResolved FIXED
Sub-task APF-510 APF-404 subtask: FileUpload.java improvements ResolvedResolved FIXED
Sub-task APF-509 APF-404 subtask: userForm.html improvements ResolvedResolved FIXED
Sub-task APF-508 APF-404 subtask: signup.html improvements ResolvedResolved FIXED
Sub-task APF-507 APF-404 subtask: selectFile.html improvements ResolvedResolved FIXED
Sub-task APF-505 APF-404 subtask: activeUsers.html improvements ResolvedResolved FIXED
Sub-task APF-504 APF-404 subtask: userForm.page improvements ResolvedResolved FIXED
Sub-task APF-502 APF-404 subtask: Package names ResolvedResolved FIXED
New Feature APF-494 Use Spring a a Plugin Container to allow easy extension of Appfuse ResolvedResolved FIXED
Bug APF-475 Change user list to pass user id instead of username to solve problem with special characters ResolvedResolved FIXED
Bug APF-473 Incorrect display of special characters ResolvedResolved FIXED
Improvement APF-420 Add documentation on SiteMesh and Menu setup ResolvedResolved FIXED
Improvement APF-400 Generic TestCase for testing the whole Hibernate config ResolvedResolved FIXED
Bug APF-308 when a same user login to system via "Remember ME" multiple times, a new user object is created and user count increments multiple times.. ResolvedResolved FIXED
Bug APF-178 flush Hibenate session in test cases ResolvedResolved FIXED


Adaptavist Theme Builder Powered by Atlassian Confluence