I discovered that I had updated the wrong project.xml when I should have been doing the one in the users home directory .maven plugin directory (I think I should have a little lie down now).
So I started from scratch. Updated the right project.xml. Checked out the HEAD for Turbine. Made sure I had all the jars required and ran maven in the jakarta-turbine-2 directory. Bingo. That confirms all works with maven HEAD. Thanks guys. David -----Original Message----- From: David Wynter [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:40 To: Turbine Users List Subject: RE: Cryptic failure of build for T2.3-dev I tried a "maven clean" and then did "maven". Different result. I note that if you run a maven target like torque:om then it appends the generated code into any existing java file, thereby causing problems. Should you be able to run a target that has a poor outcome when it is not used in the usual sequence of targets? Any target that generates code should clean out any existing code first? Now I just have the unresolved symbol for the category class generated into all the torque generated security classes. generate-om: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 429 source files to C:\DevProjects\jakarta-turbine-2\target\classes [javac] Since fork is true, ignoring compiler setting. [javac] C:\DevProjects\jakarta-turbine-2\target\src\org\apache\turbine\services\sche dule\BaseJobEntryPeer.java:100: cannot resolve symbol [javac] symbol : variable category [javac] location: class org.apache.turbine.services.schedule.BaseJobEntryPeer [javac] category.error("Could not initialize Peer", e); [javac] ^ .... David -----Original Message----- From: David Wynter [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:10 To: Turbine Users List Subject: RE: Cryptic failure of build for T2.3-dev Hi Eric, I tried with both the maven-b9 with fixed plugin jar and with the latest maven from HEAD. I get consistent results with both. I have followed Hennings instructions on the post on the dev list. The only change I made was changing the CVS 'export' to a 'co' command as W2K does not like the export command for some reason. I also tried Torque alpha3-dev and got the saem result. at the generate-om step it kicks up 94 'cannot resolve symbol' errors. All are the Torque generated peers. Here is an excerpt. [javac] C:\DevProjects\jakarta-turbine-2\target\src\org\apache\turbine\services\sche dule\JobEntry.java:77: cannot resolve symbol [javac] symbol : class BaseJobEntry [javac] location: class org.apache.turbine.services.schedule.JobEntry [javac] extends BaseJobEntry [javac] ^ [javac] C:\DevProjects\jakarta-turbine-2\target\src\org\apache\turbine\services\secu rity\torque\GroupPeerManagerConstants.java:57: package org.apache.turbine.ser vices.security.torque.om does not exist [javac] import org.apache.turbine.services.security.torque.om.TurbineGroupPeer; [javac] ^ I get the feeling I have forgotten to do something, like run a special maven target that generates these. David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 08:25 To: [EMAIL PROTECTED] Subject: RE: Cryptic failure of build for T2.3-dev David, Also try CVS head of Maven. I would love someone else to confirm that my changes to the Torque plugin work for them.. Eric Pugh -----Original Message----- From: Henning P. Schmiedehausen To: [EMAIL PROTECTED] Sent: 7/7/03 6:11 PM Subject: Re: Cryptic failure of build for T2.3-dev "David Wynter" <[EMAIL PROTECTED]> writes: You're missing the commons-logging dependency. I just posted a Build HOWTO to the dev list. There is described what is missing from the maven-torque-plugin-3.1/project.xml file. Basically you need to add another dependency. Regards Henning >It is maven-b9 with the updated maven-jar-plugin >As outline by Scott Eade > found here >http://nagoya.apache.org/wiki/apachewiki.cgi?action=browse&id=BrokenMan ifest >InBeta9&revision=9 >David >-----Original Message----- >From: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED] >Sent: 07 July 2003 17:54 >To: [EMAIL PROTECTED] >Subject: Re: Cryptic failure of build for T2.3-dev >"David Wynter" <[EMAIL PROTECTED]> writes: >Hi, >what maven is this? > Regards > Henning >>Hi, >>Hope I am not being too premature here. Saw that Henning had excluded the >>tests that failed and update the required jars yesterday. Thought it was >>worth trying to build again. So grabbed turbine from HEAD and did "maven >>clean" then "maven" >>I got: >>... >>Overriding previous definition of reference to torque-classpath >>torque:om-generate: >>Using contextProperties file: >>C:\DevProjects\jakarta-turbine-2\project.properties >> [torque-data-model] Using classpath >> [torque-data-model] Generating to file >>C:\DevProjects\jakarta-turbine-2\target\src\report.scheduler.om.genera tion >>BUILD FAILED >>null:76:37: <attainGoal> null:144:35: <attainGoal> null:188:48: ><attainGoal> >>null:226:49: <torque-data-model> org/apache/commons/logging/LogFactory >>Total time: 22 seconds >>No other messages prior to the cryptic one you see above. Something I did >or >>just not ready yet? >>Thanks >>David Wynter >>roamware Ltd. >>(+44) (0) 208 922 7539 B. >>(+44) (0) 7879 605 706 M. >>www.roamware.co.uk >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >-- >Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH >[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ >Java, perl, Solaris, Linux, xSP Consulting, Web Services >freelance consultant -- Jakarta Turbine Development -- hero for hire >--- Quote of the week: "It is pointless to tell people anything when >you know that they won't process the message." --- Jonathan Revusky >--------------------------------------------------------------------- >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] -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ Java, perl, Solaris, Linux, xSP Consulting, Web Services freelance consultant -- Jakarta Turbine Development -- hero for hire --- Quote of the week: "It is pointless to tell people anything when you know that they won't process the message." --- Jonathan Revusky --------------------------------------------------------------------- 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]
