On 2010-07-02 12:24, Julien Nioche wrote:

(This question is mostly to Dogacan&  Enis, but I encourage anyone familiar
with the code to join the threads with [Nutchbase] - the sooner the better
;) ).

I'm looking at src/gora/webpage.avsc and WebPage.java&  friends...
presumably the java code was autogenerated from avsc using Gora? If so, we
should put this autogeneration step in our build.xml. Or am I missing
something?


correct. if we keep the generated java classes in svn then we probably want
to make this task optional i.e. it would not be done as part of the build
tasks OR we can add it to the build but remove it from svn (or better add to
svn ignore or whatever-it-is-called).

There was a similar situation with NutchAnalysis.jj ... I think that task used to detect if the generated classes were missing and it would regenerate them. We should do something like that too, and have a specific clean target to remove the generated artifacts (the target wouldn't be called during regular 'clean').


--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

Reply via email to