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

Nima Falaki commented on NUTCH-1866:
------------------------------------

Solved this issue, this is what I did to solve it

I went to the main build.xml and removed the depends="clean". The clean target 
is what deletes the runtime directory since the clean target invokes 
"clean-runtime"

I noticed the clean also invokes clean-build,clean-lib,and clean-dist. Do we 
still want to include those when invoking eclipse?

I included a patch which adds a target called clean-eclipse (which I included 
in the target eclipse console), which includes the clean-lib,  clean-dist, and 
clean-build, but removes clean-runtime (which is whats deleting the runtime 
directory)

My patch also addresses another issue which I brought up in a different email 
thread, the src/plugins/protocol-http does not have a test package. So under 
target eclipse I commented out the following <source 
path="${plugins.dir}/protocol-http/src/test/" /> since it creates a error in 
the eclipse console. 

What do you think?


> ant eclipse target should not delete runtime
> --------------------------------------------
>
>                 Key: NUTCH-1866
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1866
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.9, 2.2.1
>            Reporter: Lewis John McGibbney
>             Fix For: 2.4, 1.10
>
>         Attachments: NUTCH-1866.patch
>
>
> This is a pretty nasty bug which can really screw things up for you.
> The eclipse target should not delete runtime whenever invoked... this is 
> terrible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to