The default mode was created in order to easily allow people to
upgrade their AppFuse application. There was quite a bit of demand in
AppFuse 1.x to allow this since it was difficult to upgrade. However,
we also found that a lot of people liked the "full-source" option and
the ability to customize many things in their application.

Personally, I'd try to use "war:inplace" and if it doesn't work for
you, resort to "full-source". Using "jetty:run" is the most efficient
way to develop an AppFuse application and it's kindof a shame when you
have to use "jetty:run-war". It works, but in my experience - if you
have to wait more than 10 seconds for something to happen - chances
are you'll run off and do something else like check your e-mail.

Matt

On 9/27/07, meisam4910 <[EMAIL PROTECTED]> wrote:
>
> I really did not get it but try to give a try, would you tell me what is a
> usual way of doing it ?
> i mean is it common to use the default mode or to use full source ?im sorry
> if my questions are not professional and disturb your time.
>
> mraible wrote:
> >
> > On 9/27/07, meisam4910 <[EMAIL PROTECTED]> wrote:
> >>
> >> you told me to  run these commands in order to get my project to run and
> >> work
> >> well, "war:inplace" or "appfuse:full-source", i read it also in tutorial
> >> but
> >> i did not understand the reason, why i should do this?
> >> is it related to changing files and contents ?
> >> by the way if want to modify the content of the project for example i
> >> want
> >> to change the name of the project up there in login page or anything else
> >> should i open the files in IDE and start changing and editing ? is that
> >> right ?
> >
> > One of the nice features that Maven offers is the Jetty Maven Plugin.
> > With it, you can run "mvn jetty:run" and it'll monitor your project
> > for changes. If you change a Java file and your IDE compiles it, Jetty
> > will automatically restart. If you change an XML file, Jetty will
> > reload the application. It basically allows you to develop in your
> > IDE, save and refresh your browser.
> >
> > There's two ways to do this with AppFuse. Basically, if you're using
> > it in its default mode, WARs are merged together in the "package"
> > phase and you can only use "jetty:run-war". To put all the WARs
> > contents in your src/main/webapp directory (and use jetty:run), you
> > can use:
> >
> > mvn:war-inplace
> > rm -r src/main/webapp/WEB-INF/lib
> > rm src/main/webapp/WEB-INF/classes/struts.xml (if you're using struts)
> >
> > Otherwise, if you want to customize all the source of your project,
> > you can use "appfuse:full-source" and essentially erase any
> > dependencies on AppFuse and have all its code in your project.
> >
> > I'm sorry if this is confusing - I can't think of another way to explain
> > it.
> >
> > Matt
> >
> >>
> >> about the css framework i could not find any page in tutorial telling me
> >> how
> >> to change the theme to other themes ?
> >>
> >>
> >>
> >> mraible wrote:
> >> >
> >> > On 9/27/07, meisam4910 <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> thank you for your quick reply, thanks god somebody is talking here,
> >> so
> >> >> you
> >> >> mean if it is working well, so it should be fine up to here ?
> >> >
> >> > If you're frustrated with the lack of responses, please remember that
> >> > the developers of AppFuse are volunteers and they don't get paid to
> >> > support this project. We help when we can.
> >> >
> >> >>
> >> >> yes about the Development environment I want to say that My
> >> environemnt
> >> >> is
> >> >> like following notes, would you tell me if it is right or not ? if any
> >> >> thing
> >> >> unusual please let me know.
> >> >>
> >> >> my eclipse directory is in drive D:\
> >> >> the maven is inside apache folder in drive D(both apache foundation
> >> and
> >> >> maven are installed in drive D:\)
> >> >> the maven has been set in my windows environment
> >> >> java home has been set
> >> >> java bin directory has been set also
> >> >>
> >> >> i tried the command line way to create the project exactly the way
> >> that
> >> >> was
> >> >> explained in quick guide it was successful and also i used candy the
> >> >> plugin
> >> >> for the eclipse, it was also successful.
> >> >> but when i used the project wizard to create the appfuse project
> >> >>  in eclipse after finishing it, in read me file it was written exactly
> >> >> the
> >> >> thing it was written in the read me file in the command line way, i
> >> mean
> >> >> again after wizard finishes, i have to manually call jetyy to run the
> >> >> application. is that right ?if the explanations are not clear let me
> >> know
> >> >> please.
> >> >>
> >> >
> >> > If your application runs, you should be able to start developing. You
> >> > can use "mvn jetty:run" from the command line and develop your app in
> >> > Eclipse. Note that "jetty:run" will only work if you've done
> >> > "war:inplace" or "appfuse:full-source". The tutorials assume you
> >> > haven't done either so if you follow along through them, everything
> >> > should work. We try to make things as easy to understand as possible.
> >> > If you think there's a better way of explaining things, you can edit
> >> > the wiki. From the Tutorials page:
> >> >
> >> >
> >> >
> >> >> Help us help you
> >> >> These tutorials are designed to make it easy to develop applications
> >> >> with open source Java frameworks. If you have difficulty in any
> >> >> sections, or think that things can be clarified, we encourage you to
> >> >> 1) contact the mailing list or 2) modify the page to make things more
> >> >> clear.
> >> >>
> >> >> To modify content, create an account, then navigate to the page you
> >> >> want to modify and select Edit > Edit this page. The AppFuse Team
> >> >> monitors changes so they will receive notifications of your changes
> >> >> and can correct any mistakes you make.
> >> >>
> >> >
> >> > Hope this helps,
> >> >
> >> > Matt
> >> >
> >> >>
> >> >> Pete Gould wrote:
> >> >> >
> >> >> > Hi,
> >> >> >
> >> >> > Which bits of the page are you having trouble with? I don't think
> >> that
> >> >> you
> >> >> > need to carry out all these steps to use AppFuse with Eclipse.
> >> >> >
> >> >> > Anything from the "Integration with Eclipse Web Tools Project (WTP)"
> >> >> > downwards doesn't appear to be needed to me, it's just useful
> >> >> information
> >> >> > should you wish to use those tools.
> >> >> >
> >> >> > Or was it the actual "Development Environment" page that you're
> >> having
> >> >> > problems with?
> >> >> >
> >> >> > Cheers,
> >> >> >
> >> >> > Pete
> >> >> >
> >> >> >
> >> >> > On 9/27/07, meisam4910 <[EMAIL PROTECTED]> wrote:
> >> >> >>
> >> >> >>
> >> >> >> Guys I start my first web app sample with appfuse in both 2 ways, I
> >> >> mean
> >> >> >> from
> >> >> >> the eclipse(after installing the plugin) and from the command line,
> >> >> they
> >> >> >> both worked, but i wanted to conntinue reading the rest of the
> >> >> tutorials
> >> >> >> in
> >> >> >> the appfuse web site i faced to this page:
> >> >> >> http://appfuse.org/display/APF/Eclipse#Eclipse-download
> >> >> >>
> >> >> >> it is really confusing me about the Development Environment and
> >> also
> >> >> >> about
> >> >> >> some things which are mentioned about the eclipse, should i apply
> >> all
> >> >> >> those
> >> >> >> changes, they are confusing me very mucj, i have read a lot but
> >> still
> >> >> >> feeling cant get it done. any help would be much appreciated.
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >> http://www.nabble.com/Problem-with-eclipse-and-development-environment-tf4529014s2369.html#a12923369
> >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Problem-with-eclipse-and-development-environment-tf4529014s2369.html#a12924509
> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > http://raibledesigns.com
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Problem-with-eclipse-and-development-environment-tf4529014s2369.html#a12925410
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > http://raibledesigns.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Problem-with-eclipse-and-development-environment-tf4529014s2369.html#a12927209
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

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

Reply via email to