Solution has been found on the tubine-dev mailing list. http://marc.theaimsgroup.com/?l=turbine-dev&m=106043606824449&w=2
So if you're actually using maven beta-10 and want to build the turbine code base, add the following lines to your build.properties, (which simply copy the defaults from the torque plugin and should be read by maven when starting the plugin. At least it did so in all releases up to beta-9). --- cut --- torque.addGetByNameMethod = true torque.addIntakeRetrievable = false torque.addSaveMethod = true torque.addTimeStamp = true torque.basePrefix = Base torque.complexObjectModel = true torque.useManagers = false torque.useClasspath = true torque.saveException = Exception --- cut --- Thanks: Mathieu Goul�ne ________________________ OALIA Architecte Logiciel 26, quai Carnot 92210 Saint Cloud T�l: 01 49 11 38 95 > -----Message d'origine----- > De�: Mathieu Goul�ne [mailto:[EMAIL PROTECTED] > Envoy�: lundi 11 ao�t 2003 16:11 > ��: 'Turbine Users List' > Objet�: RE : RE : TR : Problem building Turbine CVS HEAD > > Thanks a lot. I am going ahead!!! > > Now it seems that the torque version is not correct. I have this error > output. Any help? > > [javac] Compiling 431 source files to > D:\java\core\jakarta\cvs\jakarta-turbine-2\target\classes > D:\java\core\jakarta\cvs\jakarta-turbine- > 2\target\src\org\apache\turbine\ser > vices\schedule\JobEntry.java:76: > org.apache.turbine.services.schedule.JobEntry should be declared abstract; > it does not define save(java.sql.Connection) in > org.apache.torque.om.BaseObject > public class JobEntry > ^ > > Mathieu Goul�ne > ________________________ > OALIA > Architecte Logiciel > 26, quai Carnot > 92210 Saint Cloud > T�l: 01 49 11 38 95 > > > > -----Message d'origine----- > > De�: Wei He [mailto:[EMAIL PROTECTED] > > Envoy�: lundi 11 ao�t 2003 16:00 > > ��: Turbine Users List > > Objet�: Re: RE : TR : Problem building Turbine CVS HEAD > > > > add an entry like this to your build.properties, or project.properties: > > > > torque.basePrefix=Base > > > > This property was not loaded correctly from plugin default. > > > > > > Mathieu Goul�ne wrote: > > > But with the b10 I have the problem of Class name $basePrefixXXXXX at > > the OM > > > generation step. Does anybody know a way to workaround this problem? > > > > > > Thanx in advance > > > > > > Mathieu Goul�ne > > > ________________________ > > > OALIA > > > > > > > > > > > > > > >>-----Message d'origine----- > > >>De : Eric Pugh [mailto:[EMAIL PROTECTED] > > >>Envoy� : lundi 11 ao�t 2003 14:15 > > >>� : 'Turbine Users List'; [EMAIL PROTECTED] > > >>Objet : RE: TR : Problem building Turbine CVS HEAD > > >> > > >>Maven CVS Head is possible all messed up.. I would go back to maven > > >>b10... > > >> > > >>Eric > > >> > > >>-----Original Message----- > > >>From: Mathieu Goul�ne [mailto:[EMAIL PROTECTED] > > >>Sent: Monday, August 11, 2003 1:46 PM > > >>To: 'Turbine Users List' > > >>Subject: TR : Problem building Turbine CVS HEAD > > >> > > >> > > >>Hello, > > >> > > >> > > >> > > >>I am trying to build the Turbine CVS Head with the Maven CVS Head, and > > >>the > > >>build failed on the Torque Generation. Can someone help me? > > >> > > >> > > >> > > >>Here is a part of the log: > > >> > > > >>________________________________________________________________________ > > >>____ > > >>_______________ > > >> > > >>Loading plugin 'maven-ant-plugin-1.4-SNAPSHOT' > > >> > > >>Loading plugin 'maven-antlr-plugin-1.1-SNAPSHOT' > > >> > > >>�. > > >> > > >>Loading plugin 'maven-torque-plugin-3.2-SNAPSHOT' > > >> > > >>Loading plugin 'maven-touchstone-partner-plugin-1.0' > > >> > > >>Loading plugin 'maven-touchstone-plugin-1.0' > > >> > > >>Loading plugin 'maven-uberjar-plugin-1.1-SNAPSHOT' > > >> > > >>Loading plugin 'maven-vdoclet-plugin-1.1-SNAPSHOT' > > >> > > >>Loading plugin 'maven-war-plugin-1.4-SNAPSHOT' > > >> > > >>Loading plugin 'maven-was40-plugin-1.0' > > >> > > >>Loading plugin 'maven-webserver-plugin-2.0-dev' > > >> > > >>Loading plugin 'maven-wizard-plugin-1.0' > > >> > > >>Loading plugin 'maven-word2html-plugin-1.3-SNAPSHOT' > > >> > > >>Loading plugin 'maven-xdoc-plugin-1.4-SNAPSHOT' > > >> > > >> __ __ > > >> > > >>| \/ |__ _Apache__ ___ > > >> > > >>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > > >> > > >>|_| |_\__,_|\_/\___|_||_| v. 1.0-beta-rc1-SNAPSHOT > > >> > > >> > > >> > > >>Adding non '-plugin', 'turbine' to contexts > > >> > > >> > > >> > > >>BUILD FAILED > > >> > > >>com.werken.werkz.UnattainableGoalException: Unable to obtain goal > > >>[EMAIL PROTECTED]&java:compile] -- null:144:35: <attainGoal> Unable to obtain > > >>goal > > >>[torque:init] -- Unable to obtain goal [EMAIL PROTECTED]&torque:init] -- > > >>null:60:33: <attainGoal> java.lang.NullPointerException > > >> > > >> at com.werken.werkz.Goal.fire(Goal.java:649) > > >> > > >> � > > >> > > >> at com.werken.forehead.Forehead.main(Forehead.java:573) > > >> > > >>org.apache.commons.jelly.JellyTagException: null:144:35: <attainGoal> > > >>Unable > > >>to obtain goal [torque:init] -- Unable to obtain goal > > >>[EMAIL PROTECTED]&torque:init] -- null:60:33: <attainGoal> > > >>java.lang.NullPointerException > > >> > > >> at > > > >>org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGo > > >>alTa > > >>g.java:93) > > >> > > >> � > > >> > > >> at com.werken.forehead.Forehead.main(Forehead.java:573) > > >> > > >>Caused by: com.werken.werkz.UnattainableGoalException: Unable to > obtain > > >>goal > > >>[torque:init] -- Unable to obtain goal [EMAIL PROTECTED]&torque:init] -- > > >>null:60:33: <attainGoal> java.lang.NullPointerException > > >> > > >> at com.werken.werkz.Goal.fire(Goal.java:628) > > >> > > >> at com.werken.werkz.Goal.attain(Goal.java:580) > > >> > > >> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) > > >> > > >> at com.werken.werkz.Goal.attain(Goal.java:578) > > >> > > >> at > > > >>org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGo > > >>alTa > > >>g.java:79) > > >> > > >> ... 41 more > > >> > > >>Root cause > > >> > > >>com.werken.werkz.UnattainableGoalException: Unable to obtain goal > > >>[torque:init] -- Unable to obtain goal [EMAIL PROTECTED]&torque:init] -- > > >>null:60:33: <attainGoal> java.lang.NullPointerException > > >> > > >> at com.werken.werkz.Goal.fire(Goal.java:628) > > >> > > >> �����.. > > >> > > >> > > >> > > >>Root cause > > >> > > >>java.lang.NullPointerException > > >> > > >> at > > > >>org.apache.maven.plugin.PluginManager.createPluginContext(PluginManager. > > >>java > > >>:553) > > >> > > >> � > > >> > > >>Unable to obtain goal [EMAIL PROTECTED]&java:compile] -- null:144:35: > > >><attainGoal> > > >>Unable to obtain goal [torque:init] -- Unable to obtain goal > > >>[EMAIL PROTECTED]&torque:init] -- null:60:33: <attainGoal> > > >>java.lang.NullPointerException > > >> > > >>Total time: 17 seconds > > >> > > >>Finished at: Mon Aug 11 13:37:16 CEST 2003 > > >> > > >> > > >> > > >>D:\java\core\jakarta\cvs\jakarta-turbine-2> > > >> > > >> > > >> > > >>Mathieu Goul�ne > > >> > > >>________________________ > > >> > > >>OALIA > > >> > > >>Architecte Logiciel > > >> > > >>26, quai Carnot > > >> > > >>92210 Saint Cloud > > >> > > >>T�l: 01 49 11 38 95 > > >> > > >> > > >> > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
