An excellent answer, I'm off to play with some jackrabbit jelly ;) Thanks for taking the time to reply.
Simon -----Original Message----- From: Marcel Reutegger [mailto:[EMAIL PROTECTED] Sent: 21 April 2005 12:44 To: [email protected] Subject: Re: Unable to build Hi Simon, Simon Gash wrote: > Marcel, are you saying that those extra files such as node.java are > actually generated by javacc and so I need to get javacc to > re-generate them and then add them manually as they are not supposed > to be included in the SVN repository ? some classes are generated, yes. e.g if you look at the files in src/java/org/apache/jackrabbit/core/query/xpath you should see about 15 files. but only three of them are actually under version control: QueryFormat.java, SimpleNode.java, XPathQueryBuilder.java all other classes are generated by javacc. but don't worry, the files are automatically generated by the jackrabbit specific maven build script. if you're curious about how it works, you can find the jelly script in maven.xml (in the trunk folder of the jackrabbit project). the goals are called: jackrabbit:generate-sql-parser and jackrabbit:generate-xpath-parser. whenever you build jackrabbit, maven checks if it needs to re-generate the java files. that's why you see something like: java:prepare-filesystem: [echo] SQL Parser up-to-date [echo] XPath Parser up-to-date most of the time when you build jackrabbit. hope this helps... regards marcel This email contains proprietary information, some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on this email. Email transmission cannot be guaranteed to be secure or error free, as information may be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. This email and any files attached to it have been checked with virus detection software before transmission. You should nonetheless carry out your own virus check before opening any attachment. GOSS Interactive Ltd accepts no liability for any loss or damage that may be caused by software viruses. GOSS - Ranked 4th in the Deloitte Technology Fast 50 Awards 2004 and 88th in the Deloitte Technology Fast 500 EMEA.
