robertoguari wrote:
> 
> In your opinion is better work whit linux system? 
> 

Roberto,
I am using Appfuse on Windows without problems. At the beginning it was
quite problematic though.
My suggestions are:
* use Maven-plugin for Eclipse (update site:
http://m2eclipse.sonatype.org/update)
* configure it to use your version of maven instead of the embedded one (I
am using apache-maven-2.0.8)
* change the default location of maven repository with a location that has
no blank spaces in the path. This can be done editing file
\apache-maven-2.0.8\conf\settings.xml like this:
<localRepository>C:/Tools/.m2/repository</localRepository>
Remember to leave a (even empty) folder .m2 in the default location (e.g.
C:\Documents and Settings\<user>)

* In Eclipse create a new Maven Project, setting at least
        Archetype       e.g. appfuse-basic-jsf
        GroupId         <will-be-used-as-package>
        ArtifactId      <will-be-used-as-project-name>

* when you need to execute a mvn command do the following:
right-click the project, Run as, Maven build ..., in the "Goals:" field
input the mvn command, e.g. "appfuse:full-source", then wait, looking at the
console messages. At the end refresh the project.

Let me know if something doesn't work, I struggled a while at the beginnig,
but now it works great.

P.S. At the beginning I downloaded the full
appfuse-2.0.1-with-dependencies.zip (about 150 MB) and for quite a while I
did not understand how to use it. Until I discovered that it was just a
snapshot of the maven repository ...:wistle:

Vincenzo Caselli
http://www.censnet.it
gtalk: [EMAIL PROTECTED]
-- 
View this message in context: 
http://www.nabble.com/learn-struts2-whit-appfuse-tp16763505s2369p16782274.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to