Matt, I find "mvn appfuse:gen -Dentity=Person" will do something  same as
your tutorial done.

it shows:

[info] [AppFuse] Installing sample data for DbUnit...
[info] [AppFuse] Installing generated files (pattern: **/model/**/*.java)...
[info] [AppFuse] Installing generated files (pattern: **/dao/**/*.java)...
[info] [AppFuse] Installing generated files (pattern:
**/service/**/*.java)...
[info] [AppFuse] Installing Spring bean definitions (genericCore == true)...
[info] [AppFuse] Installing generated files (pattern:
**/webapp/**/*.java)...
[info] [AppFuse] Installing Struts views and configuring...
[info] [AppFuse] Installing generated files (pattern: **/model/*.xml)...
[info] [AppFuse] Installing generated files (pattern:
**/webapp/action/*.xml)...

[info] [AppFuse] Installing i18n messages...
[info] [AppFuse] Installing menu...
[info] [AppFuse] Installing UI tests...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------

but it's does not generate all of these files, dao,and service is empty,

I try it base on appfuse2.1-M1.



mraible wrote:
> 
> The following explains some of the different commands:
> 
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> 
> The following shows a list of useful commands for AppFuse:
> 
> http://appfuse.org/display/APF/Maven+2
> 
> If these commands don't show up in Maven's Eclipse integration, you might
> have to customize your configuration to add them.
> 
> Matt
> 
> On Tue, Dec 8, 2009 at 4:16 AM, johnydz <yanda...@msn.com> wrote:
> 
>>
>> i already read tutorials on appfuse2, and know how to use appfuse develop
>> project basicly.
>>
>> but there are  a lot of appfuse feature  I dont know, like this picture
>> shows:
>>
>> http://n4.nabble.com/file/n955172/aa.png
>>
>> this is myeclipse ide, and it 's very interesting.
>>
>> maven clean ,and install is very easy to understand
>>
>> but what is maven generate-rouces ?
>> --
>> View this message in context:
>> http://n4.nabble.com/How-to-use-maven-in-appfuse-tp955172p955172.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
> 
> 
~~~
-- 
View this message in context: 
http://n4.nabble.com/How-to-use-maven-in-appfuse-tp955172p956899.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to