Hi Francis, when I run the codegen-example I get: [ERROR] ResourceManager : unable to find resource 'templates\Database.vm' in any resource loader. [ERROR] Unable to find resource 'templates\Database.vm' But I don't know what to do about it.
I can run the codegen from the command line though and the generated classes look fine. I think we should start a release anyway. Regards Rainer > from: Francis De Brabandere [mailto:franci...@gmail.com] > to: dev > re: Re: Switch to apache maven 3.0.x > > update the plugin/empire versions to the snapshot version and then do > "mvn clean install" inside the folder. It will generate sources from the > provided sample db and run a unit test that uses the generated sources. It's > not linked to the full build, last time I tried I could not get the plugin > working > that way. > > F > > On 9 July 2014 13:23, Rainer Döbele <doeb...@esteam.de> wrote: > > Hi Francis, > > > > OK I found the problem and fixed it. > > > > But I don't know how you found out - i.e. how do run the empire-db- > example-codegen test? > > > > Regards > > Rainer > > > > > >> from: Francis De Brabandere [mailto:franci...@gmail.com] > >> to: dev > >> re: Re: Switch to apache maven 3.0.x > >> > >> Disagree > >> > >> It's an example of how the code generator can be used in maven, and > >> that example is not the problem. It's the code being generated by the > >> codegen that does not compile. > >> > >> Cheers, > >> F > >> > >> On 9 July 2014 09:08, Rainer Döbele <doeb...@esteam.de> wrote: > >> > Franics, > >> > > >> > I don't know where this codegen example project comes from. > >> > As far as I can see it was created by you on 30.01.2010. > >> > > >> > It contains only test code and no real code. > >> > > >> > I don't think we need this project. > >> > I recommend deleting it entirely. > >> > > >> > What do you think? > >> > > >> > Regards > >> > Rainer > >> > > >> > > >> >> from: Francis De Brabandere [mailto:franci...@gmail.com] > >> >> to: dev > >> >> re: Re: Switch to apache maven 3.0.x > >> >> > >> >> Rainer, > >> >> > >> >> If you can have a look at the codegen. Some constructor has changed. > >> >> > >> >> After that we can release. > >> >> > >> >> Cheers, > >> >> F > >> >> On Jul 4, 2014 4:32 PM, "Francis De Brabandere" > >> >> <franci...@gmail.com> > >> >> wrote: > >> >> > >> >> > Ok, switched to maven 3.x > >> >> > Had to fix some javadocs along the way Had to update the maven > >> >> > plugin > >> >> > > >> >> > Issues left: > >> >> > The generated code does not compile see > >> >> > empire-db-examples/empire-db-example-codegen > >> >> > > >> >> > Will have to pay attention during release that everything still > >> >> > works as expected > >> >> > > >> >> > "mvn clean install -Papache-release" to create a test > >> >> > distribution > >> >> > > >> >> > F > >> >> > > >> >> > On 4 July 2014 14:20, Francis De Brabandere > >> >> > <franci...@gmail.com> > >> wrote: > >> >> > > Expect a commit soon > >> >> > > > >> >> > > > >> >> > > On 4 July 2014 09:48, Francis De Brabandere > >> >> > > <franci...@gmail.com> > >> >> wrote: > >> >> > >> > >> >> > >> we should upgrade plugin versions, force maven 3.x and change > >> >> > >> assembly stuff > >> >> > >> > >> >> > >> > >> >> > >> On 4 July 2014 09:09, Rainer Döbele <doeb...@esteam.de> > wrote: > >> >> > >>> > >> >> > >>> Hi Francis, > >> >> > >>> > >> >> > >>> what exactly is the problem? > >> >> > >>> It works when I use: > >> >> > >>> mvn clean install package > >> >> > >>> > >> >> > >>> But I am not sure whether packaging for the distribution works. > >> >> > >>> > >> >> > >>> Rainer > >> >> > >>> > >> >> > >>> > from: Francis De Brabandere [mailto:franci...@gmail.com] > >> >> > >>> > to: dev > >> >> > >>> > re: Re: Switch to apache maven 3.0.x > >> >> > >>> > > >> >> > >>> > Hmm, will need some more days to find some free time to > >> >> > >>> > fix > >> this... > >> >> > >>> > > >> >> > >>> > > >> >> > >>> > On 3 July 2014 12:59, Rainer Döbele <doeb...@esteam.de> > >> wrote: > >> >> > >>> > > >> >> > >>> > > Hi Francis, > >> >> > >>> > > > >> >> > >>> > > great. > >> >> > >>> > > I have one major Bugfix (EMPIREDB-202) that I would > >> >> > >>> > > really like to have released asap. > >> >> > >>> > > > >> >> > >>> > > So maybe we can take this opportunity to cut a new release. > >> >> > >>> > > > >> >> > >>> > > Regards > >> >> > >>> > > Rainer > >> >> > >>> > > > >> >> > >>> > > > >> >> > >>> > > > from: Francis De Brabandere > >> >> > >>> > > > [mailto:franci...@gmail.com] > >> >> > >>> > > > to: dev > >> >> > >>> > > > re: Re: Switch to apache maven 3.0.x > >> >> > >>> > > > > >> >> > >>> > > > I think we'll need to change some things + update > >> >> > >>> > > > plugins for > >> >> > maven > >> >> > >>> > > > 3.x, > >> >> > >>> > > but I > >> >> > >>> > > > suppose everybody is on 3.x now, let me try to get > >> >> > >>> > > > everything working > >> >> > >>> > > this > >> >> > >>> > > > evening > >> >> > >>> > > > > >> >> > >>> > > > Also the assembly plugin site now mentions > >> >> > >>> > > > assembly:assembly as being deprecated > >> >> > >>> > > > http://maven.apache.org/plugins/maven-assembly- > plugin/ > >> >> > >>> > > > > >> >> > >>> > > > F > >> >> > >>> > > > > >> >> > >>> > > > > >> >> > >>> > > > On 3 July 2014 10:14, Rainer Döbele > >> >> > >>> > > > <doeb...@esteam.de> > >> >> wrote: > >> >> > >>> > > > > >> >> > >>> > > > > I am running: > >> >> > >>> > > > > > >> >> > >>> > > > > mvn clean install assembly:assembly > >> >> > >>> > > > > > >> >> > >>> > > > > > >> >> > >>> > > > > > >> >> > >>> > > > > > from: Francis De Brabandere > >> >> > >>> > > > > > [mailto:franci...@gmail.com] > >> >> > >>> > > > > > to: dev > >> >> > >>> > > > > > re: Re: Switch to apache maven 3.0.x > >> >> > >>> > > > > > > >> >> > >>> > > > > > Hi Rainer, > >> >> > >>> > > > > > > >> >> > >>> > > > > > What's the maven command you run? > >> >> > >>> > > > > > > >> >> > >>> > > > > > Cheers, > >> >> > >>> > > > > > F > >> >> > >>> > > > > > > >> >> > >>> > > > > > > >> >> > >>> > > > > > On 3 July 2014 09:42, Rainer Döbele > >> >> > >>> > > > > > <doeb...@esteam.de> > >> >> > wrote: > >> >> > >>> > > > > > > >> >> > >>> > > > > > > Hi Francis, > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > I have switched to Maven 3.0.5, but now I am > >> >> > >>> > > > > > > having > >> >> > problems > >> >> > >>> > > > > > > building a release. > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > What I get is: > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > [ERROR] Failed to execute goal > >> >> > >>> > > > > > > > >> >> > org.apache.maven.plugins:maven-assembly-plugin:2.2.1:assembly > >> >> > >>> > > > > > > (default-cli) on project em > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > pire-db-parent: Error reading assemblies: No > >> >> > >>> > > > > > > assembly descriptors > >> >> > >>> > > > > found. > >> >> > >>> > > > > > > -> [Help 1] > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > Any ideas? > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > Regards > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > Rainer > >> >> > >>> > > > > > > > >> >> > >>> > > > > > > > >> >> > >>> > > > > > >> >> > >>> > > > >> >> > >> > >> >> > >> > >> >> > > > >> >> >