On Thu, Sep 18, 2008 at 7:27 AM, agathon <[EMAIL PROTECTED]> wrote: > > hello matt, > > i want to understand your current versions of the generators thereby I have > some questions: > > when i do mvn appfuse:gen -Dentity=someNewEntity i get > The path 'src/main/java/org/mydomain/app/model' does not exist! > where can i change the path in some xml file so it looks under > 'src/main/org/mydomain/app/model'?
This is not currently supported. We had it in 1.x and I don't know that it was that useful. I think it's better to generate and then use your IDE to refactor. > I conbination to this question where is this going to 'go'? in the pom.xml? > which one? the main one or some in the target dir? what exactly gets > executed when running for example appfuse:gen? > > where are the java classes for code generation? > i only found the .ftl files The Java classes used to drive the code generation are in the appfuse-maven-plugin. FreeMarker (ftl files) are used as templates to form the classes. Matt > > > > mraible wrote: >> >> What version of AppFuse are you using? This functionality is built >> into both 1.x and 2.x. >> >> 1.x: http://raibledesigns.com/wiki/Wiki.jsp?page=AppGen >> >> 2.x: http://appfuse.org/display/APF/AppFuse+Maven+Plugin >> >> Regardless of the fact that these exist, it's always great to hear >> about other projects with similar functionality. I would check out one >> of the above (depending on your version) and if there's any >> functionality missing, maybe we can add it. >> >> Cheers, >> >> Matt >> >> On Tue, Sep 16, 2008 at 3:15 PM, agathon <[EMAIL PROTECTED]> wrote: >>> >>> well to be honest i never used the appfuse:gen or gen-model command, i am >>> using appfuse since two years now and i didn't know there was such a >>> thing >>> ... :confused: >>> i can tell you what the script does ... than you see the differences: >>> >>> Model with fields >>> Dao >>> DaoHibernate >>> HbmXML >>> addToHibernateConfig >>> Manager >>> ManagerImpl >>> writeToServiceConfiguration >>> writeToServiceServerConf >>> WebController >>> WebContainer >>> writeSQLTables >>> >>> it fairly simple but yours is probably much better =) >>> >>> >>> >>> >>> mraible wrote: >>>> >>>> On Tue, Sep 16, 2008 at 1:15 PM, agathon <[EMAIL PROTECTED]> wrote: >>>>> >>>>> The Build and compile process took me to much time so i took advantage >>>>> of >>>>> the >>>>> eclipse autobuild function! >>>>> >>>>> http://snackycracky.wordpress.com/2008/09/16/appfuse-automatic-build-with-eclipse/ >>>>> automatic build with eclipse >>>> >>>> Thanks for putting this together. >>>> >>>>> >>>>> Generating all the files for introducing a new Model to my >>>>> Application(Spring, Hibernate, SpringMVC) takes me over more than one >>>>> h. >>>>> >>>>> Here is a litte gernerator for doing the basics (crud, daoInterface, >>>>> model,(+vars), sql query, …. ) in less a second!!! >>>>> >>>>> check out my >>>>> http://snackycracky.wordpress.com/2007/10/22/appfuse-file-generator/ >>>>> model >>>>> generator too >>>> >>>> How is this different then "appfuse:gen or gen-model"? >>>> >>>> Thanks, >>>> >>>> Matt >>>> >>>>> >>>>> best regards from berlin, >>>>> nils >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/Solutions%3A-AppFuse-automatic-build-with-eclipse-%2B-model-generator-tp19518635s2369p19518635.html >>>>> 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/Solutions%3A-AppFuse-automatic-build-with-eclipse-%2B-model-generator-tp19518635s2369p19520447.html >>> 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/Solutions%3A-AppFuse-automatic-build-with-eclipse-%2B-model-generator-tp19518635s2369p19552890.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >