On 2/19/07, talldean <[EMAIL PROTECTED]> wrote:


At the bottom of the QuickStart, I saw mvn install eclipse:eclipse, which
seemed to do the majority of the work; I assumed it did *all* of it, and
didn't move to the Eclipse guide, just moved onwards.  Definitely my
mistake
on that one.

The Eclipse guide shows how to install Eclipse from scratch, but I think a
large majority of Eclipse users would already have it installed.  That was
the large part of my motivation to just keep moving, as things seemed to
be
working a-ok on the IDE front, at that point.


(Might not be the best thread for the following, but here goes)
The bits I'm having difficulty with now, which might be documentation (and
probably are just me!):
1. I don't know maven, nor the command lines available
here.  jetty:run-war
and test -D test=FooTest are the two that I keep using, but are there
others
that I should know/might come in useful?


Anything and everything in the lifecycle phases:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html.
The two I use most are mvn package and mvn install. In the war project (or
the root in the basic archetype) mvn war:exploded is also very useful if you
just want to test a change to a jsp page. mvn clean is also a firm favourite
for obvious reasons.

2. Going through the tutorials, getting to Spring MVC, creating persons.jsp,
I can't seem to get that to display in the web browser.
"PageNotFound.noHandlerFound | No mapping for [/person.html] in
DispatcherServlet with name 'dispatcher'"  Same for persons.html, which I
also tried.


Which version of AppFuse are you using? If it is 2.0-m2 then you will need
to add a mapping to the urlMapping bean in the dispatcher-servlet.xml file.

3. I've used subversion before, have a repository and that's happy; problem
is, as a brand-new user to this layout, I don't know what files I need to
version control and which files are generated on the fly.  Is all of
/target
generated content from /src?  If that's the case, and I put everything
(excluding /target) into svn, how do I regenerate the rest?  (This ties
back
into my first question; what other things are there preconfigured for
Maven)


Correct - maven keeps all its generated content under target. You probably
also want to exclude all project config files from subversion too - Maven
regenerates these easily enough. I'm a little lost on the regenerate
question - nothing else should be generated?

Problems aside, I'm kind of floored by Appfuse in general.  I've spent
awhile building a framework of my own that I use to stub out projects, but
this is incredibly beyond what I had going.  (Thank you!)


Glad you like it!

Mike.

I'm curious - did you follow the Eclipse guide in the documentation?

http://appfuse.org/display/APF/Eclipse

If not, is there something we can to do make this more prominent?

--
View this message in context:
http://www.nabble.com/-appfuse-user--BaseObject-Error-tf195014s2369.html#a9051143
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