What appgen does: When choosing target "default": -> Generate all objects (in extras/appgen/build/gen/)
When choosing target "Install generic" -> Generate all objects and copies it to your project, and merge all configuration files. After building new objects, you have to run the setup-db target of your appfuse. If you have data into your database, you have to do a db export before setup db. After that you can do an import and all data is restored, but new database table is generated. Just as matt says, when you are editing files, you need to do this into your project and not in the build dir of your project. When u have run once the appgen "intstall generic" target, you have to do the next times the "default" and copy the new generated files, wich you need (reason why using appgen again?), to your project manually. Succes jhon wrote: > > Hi all, > I am new to appfuse and am using appfuse 1.9.4 with ant 1.6.5. I created > some objects ( All the Action,Manager,Dao and it's Test classes ) with > appgen tool by using POJO class. And then i added my own Action > classes,jsp's and modified struts-config.xml file.Here the problem is, i > lost the jsp's and added data in struts-config.xml when i am trying to add > one more object through appgen.So please help me how to add new objects to > the existing app with out loss any data ? > > Thanks in advance. > -- View this message in context: http://www.nabble.com/problem-with-jsps-and-action-mappings-in-struts-config.xml-tf2834973s2369.html#a7916263 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]