On Mon, Mar 8, 2010 at 8:01 AM, Ice-Man <derlon.aliend...@gmail.com> wrote:
> Hi Matt,
>
>   I have been get some issues w/ Hello World and struts2-crud tutorials.
>   Actually it would be quite usefull if u feed some kind of Matrix Table of
> compabilities and uncompabilities of the commands (being used
> togheter/combinated): appfuse:fullsource and war:inplace and mvn (IDE
> plug-in)eclipse:eclipse
>   And also it would so of u if u guide get me right about Hello tutorial:
>
> I generate struts2-crud (AppFuse 2.1.0), I run 'mvn eclipse:eclipse' and get
> Build Sucessfully;
> I run 'mvn jetty:run-war'-> the app works Ok! (I add Hello.JSP and it works
> fine, I even run 'mvn war:inplace' and 'mvn jetty:run' and the app still
> works suitable and hot-deploy began workOut),
>
>  but the structure of Packages (and subPackages) is of witch u showed in in
> Hello Tutorial (src/main/java is different). Instead of 'com.mycompany.app'
> (and u tip us to add a 'webapp.action' package) the package is actually
> generated is 'com.mycompany.webapp.webapp.action'. But no matter if I add
> HelloAction underneath it, or do as u tip, I allways get
> "ActionComponent.error(27) | Could not execute action: default/hello
> There is no Action mapped for namespace / and action name hello."
>   By the way, what are ther differences between war:inplace and
> FullSource??!

The fact that "com.mycompany.webapp.webapp.action" is the package name
is a bug. Can you please enter an issue in JIRA and include the steps
to reproduce.

As a workaround, I'd try to use refactoring in Eclipse and move the
action package up so it's under the first webapp package.

With 2.1.0, all the web sources are included, so you'll only need to
run "full-source" if you want to modify managers and DAOs. Also, you
won't need to run "war:inplace" as it won't provide any additional
functionality. I recommend running "jetty:run". If you don't want to
wait for your app to reload when you compile new classes, I'd use the
JRebel Plugin. The following instructions are for IDEA, but I'm sure
they can easily be adapted for Eclipse.

http://appfuse.org/display/APF/Using+JRebel+with+IntelliJ+IDEA

Matt

> Tnx in advance,
>
> Ice-Man

---------------------------------------------------------------------
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