20070523 Wednesday May 23, 2007

AppFuse 2.0 M5 Released - now with CRUD generation and XFire support The AppFuse Team is pleased to announce the release of AppFuse 2.0 M5! This release marks a milestone in the features of AppFuse 2.x. This release adds CRUD code generation, full source support (just like 1.x) and XFire integration. In addition, we've fixed all the issues related to switching persistence frameworks, and you should now be able to easily switch from using Hibernate to to iBATIS or JPA. The videos have been updated for M5. The Easy CRUD with Struts 2 video shows how code generation currently works.

AppFuse 2.0 is available as a Maven archetype. For information on creating a new project using this release, please see the QuickStart Guide or the Hello World video.

If you've used AppFuse 1.x, but not 2.x, you'll want to read the FAQ and join the user mailing list if you have any questions. The Maven Reference Guide has a map of Ant » Maven commands. Maven for Newbies might also be useful if you've never used Maven before. There is some support for Ant in this release.

For more information, please see the 2.0 M5 Release Notes. If you'd like to use AppFuse offline (or download everything at once), you may want to grab the dependencies and extract them into your ~/.m2/repository directory.

The 2.0 series of AppFuse has a minumum requirement of the following specification versions:

  • Java Servlet 2.4 and JavaServer Pages (JSP) 2.0
  • Java 5 for Development (Java 1.4 for deployment using the Retrotranslator Plugin)

Comments and issues should be posted to the mailing list.

We appreciate the time and effort everyone has put toward contributing code and documentation, posting to the mailing lists, and logging issues. We also greatly appreciate the help from our sponsors, particularly Atlassian, Cenqua, Contegix, JetBrains, Java.net and KGBInternet. Without them, working on this project wouldn't be nearly as much fun.

Update: The videos are much lower quality than the ones I originally recorded (13 MB vs. 70 MB). If you want to view the high quality videos (they're much clearer), you can download them from java.net. If someone has a better way to compress these (I just used QuickTime's Export feature), please let me know.

Also, this release contains the first release of the AppFuse Maven Plugin. This plugin is largely based on Hibernate Tools. We modified many of the FreeMarker templates from Hibernate Tools to default to certain annotations, as well as clean up the formatting. These templates are currently available in AppFuse's SVN. Hopefully making them available is enough to satisfy Hibernate's LGPL license. Posted in Java at May 23 2007, 05:49:10 PM MDT 8 Comments

Comments:

I learned more by looking at appfuse source than any conference or training I ever went to. Thank you Matt.
Now the problem: When I run appfuse:full-source with M5, I get an error..
Diagnosis: svn: No entry at URL 'https://appfuse.dev.java.net/svn/appfuse/trunk/data/null/src'

Am I missing something....
Thanks
Ram R

Posted by Ram R on June 18, 2007 at 04:23 PM MDT #

Thanks for your kind words Ram.

Your problem might be caused by removing the "dao.framework" property from your pom.xml's <properties> section. If adding it back in solves the problem, please enter an issue in JIRA and we'll add some better error messages to the plugin.

Posted by Matt Raible on June 18, 2007 at 04:35 PM MDT #

That was the issue. Thanks again Matt. I created a JIRA issue with trivial priority (APF-817).

Posted by Ram R on June 19, 2007 at 08:52 AM MDT #

Hi All, After extracting the full source using "mvn appfuse:full-source", I get the following error whenever I tried to run the project using "mvn jetty:run"... java.lang.NoClassDefFoundError: com/mycompany/app/webapp/listener/StartupListener (wrong name: org/appfuse/webapp/listener/StartupListener)... Before extracting the full source, everything seems to be working fine.. The issue creeps up only after extracting it. Does anyone have any idea to fix the issue... Thanks, Muthu

Posted by Muthu Velappan on November 20, 2007 at 12:04 AM MST #

Hi , I keep getting the following error when i try to get appfuse-fullsource, below is the error i am getting, I have try to include %USER_HOME%\.m2\repository in the system environment path, but the error still exist. please let me know how do I resolve this issue. Illegal character in path at index 18: file:/C:/Documents and Settings/sasha ngu /.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)

Posted by sasha on December 11, 2007 at 04:07 PM MST #

Sasha - this is caused by a bug in Ant 1.7.

Posted by Matt Raible on December 11, 2007 at 04:10 PM MST #

so, do you have a suggested workaround for the bug in ANT 1.7 ??

TIA
Hank

Posted by Hank on December 20, 2007 at 01:43 PM MST #

If you modify settings.xml to contain a DOS-version of the path (with no spaces), it should fix this problem. How to configure settings.xml can be found at http://maven.apache.org/settings.html.

Posted by Matt Raible on April 29, 2008 at 09:41 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
« May 2008
SunMonTueWedThuFriSat
    
2
3
4
7
8
9
12
14
15
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today

Recent Entries

Tag Cloud