>Yes. These steps are the usual way. However, if you're using Struts 2, >you have to clean out struts.jar from the created lib directory, as >well as the duplicate struts.xml in WEB-INF/classes to prevent issues. >Other frameworks might have similar issues, that's why we recommend rm >-r WEB-INF/lib.
after eclipse finishes building the project I go to myproject directory and delete the lib directory fully is that right ? but inside the lib there are many files, is that ok i delete the lib dir ? mraible wrote: > > On 9/27/07, meisam4910 <[EMAIL PROTECTED]> wrote: >> >> >a lot of people liked the "full-source" option and >> >the ability to customize many things in their application. >> >> im back with another question and i do apologize, because u may think i >> could have all these answers from the tutorials but actually i tried my >> best >> and i could not understand, in these 4 or 5 posts we had with each other >> i >> learnt more than these 2 days hanging around... > > There's no reason to apologize - the reason this list exists is to > answer questions like yours. > >> >> what do u mean by customization ? you mean changing the jsp files, xmls, >> interface ? css ? making it more personal adding features like searching >> and >> so on ...? > > Yes. > >> >> so the usual way to create the appfuse project is: >> >> 1. cd to the project directory F:\eclipse_workspace\myproject >> 2. run mvn war:inplace >> 3. I will run mvn jetty:run >> >> am i right ? then if i want to develop my application i would use the >> eclipse to do it. and the last thing, > > Yes. These steps are the usual way. However, if you're using Struts 2, > you have to clean out struts.jar from the created lib directory, as > well as the duplicate struts.xml in WEB-INF/classes to prevent issues. > Other frameworks might have similar issues, that's why we recommend rm > -r WEB-INF/lib. > > >> when im using eclipse to create the project by wizard, does eclipse use >> war:inplace to do it ? last time while i was trying to create the project >> by >> eclipse it took 5 minutes to create it, then read me file told me go and >> run >> mvn jetty:run-war. > > Right, because if you run "jetty:run-war" everything works > out-of-the-box. You can develop this way, but you'll have to revert to > the command line to Ctrl+C and run "jetty:run-war" again, or open a > second window and run "mvn package" to kick off the restart. > Basically, "jetty:run" allows you to develop without reverting to your > command line. > >> >> i hope i could make u understand. i really love appfuse and would like to >> know about it. thats why i keep telling u my errors and problems. > > The good news is others will probably have similar issues - hopefully > our conversation on this list will help them solve their issues too. > > Matt > >> >> >> >> mraible wrote: >> > >> > 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] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Problem-with-eclipse-and-development-environment-tf4529014s2369.html#a12927699 >> 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#a12954617 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
