[ 
https://issues.apache.org/jira/browse/NUTCH-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898199#action_12898199
 ] 

Julien Nioche commented on NUTCH-842:
-------------------------------------

{quote}
I think we can put it as depends in the compile target, but then we need to 
first check if there's any need to generate, i.e. check the timestamp of 
WebPage.avsc and WebPage.java and generate only when .avsc is more recent.
{quote}

good idea. Do you know how to do that?

{quote}
Perhaps we should check in generated sources anyway, because if we don't do it 
then it will be difficult to compile in IDE-s without running Ant first... 
though to tell the truth it got difficult already when we switched to ivy. 
{quote}

you are right, let's not make a special case for these sources. If the schemas 
were to be modified by a user then it would definitely be better to be warned 
by svn that the files have changed. I can picture accidental changes that would 
go unnoticed, errors that others would not be able to reproduce etc... 

{quote}
Perhaps we need a separate "eclipse" target to resolve dependencies, run gora 
compiler and generate Eclipse project files?
{quote}
I found that IvyDE was pretty good at managing the dependencies. Let's just 
leave the generated *.java files in Subversion and keep things as simple as 
possible



> AutoGenerate WebPage code
> -------------------------
>
>                 Key: NUTCH-842
>                 URL: https://issues.apache.org/jira/browse/NUTCH-842
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Doğacan Güney
>            Assignee: Doğacan Güney
>             Fix For: 2.0
>
>         Attachments: NUTCH-842.patch
>
>
> This issue will track the addition of an ant task that will automatically 
> generate o.a.n.storage.WebPage (and ProtocolStatus and ParseStatus) from 
> src/gora/webpage.avsc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to