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]
