Re: unable to build 2.x

2013-05-21 Thread Tejas Patil
Previously, without un-commenting the gora backend dependency in ivy.xml,
the code could be built.
Now, if its not specified, there are compilation errors and build fails.
Specifying the backend is mandatory now.


On Tue, May 21, 2013 at 11:04 PM, Tejas Patil wrote:

> Hi nutch-dev,
>
> I took a *fresh* checkout of 2.x and tried to build it (ant clean
> runtime). I get lot of compilation errors. At first when I saw that on the
> terminal, I said to my laptop : "Are you kidding me ?". I re-tried it 2
> times again and still the same thing happens.
>
> I am checking the reason as to why build fails on my machine.
> Curious to know: Is it just me or everybody else is seeing this ?
>


unable to build 2.x

2013-05-21 Thread Tejas Patil
Hi nutch-dev,

I took a *fresh* checkout of 2.x and tried to build it (ant clean runtime).
I get lot of compilation errors. At first when I saw that on the terminal,
I said to my laptop : "Are you kidding me ?". I re-tried it 2 times again
and still the same thing happens.

I am checking the reason as to why build fails on my machine.
Curious to know: Is it just me or everybody else is seeing this ?


[jira] [Commented] (NUTCH-1275) Fix [unchecked] javac warnings

2013-05-21 Thread Tejas Patil (JIRA)

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

Tejas Patil commented on NUTCH-1275:


Hi [~lewismc],
I am working on a patch for 2.x. 

> Fix [unchecked] javac warnings
> --
>
> Key: NUTCH-1275
> URL: https://issues.apache.org/jira/browse/NUTCH-1275
> Project: Nutch
>  Issue Type: Sub-task
>  Components: build
>Affects Versions: nutchgora, 1.5
>Reporter: Lewis John McGibbney
>Assignee: Tejas Patil
>Priority: Minor
> Fix For: 1.7
>
>
> We can simply suppress these warnings using  
> {code}
> SuppressWarnings [unchecked]
> {code}
> However if there is a another method for resolving these warnings then they 
> should be implemented if deemed beneficial to code quality.
> Some resources 
> http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#190772

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (NUTCH-1275) Fix [unchecked] javac warnings

2013-05-21 Thread Tejas Patil (JIRA)

 [ 
https://issues.apache.org/jira/browse/NUTCH-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tejas Patil reassigned NUTCH-1275:
--

Assignee: Tejas Patil

> Fix [unchecked] javac warnings
> --
>
> Key: NUTCH-1275
> URL: https://issues.apache.org/jira/browse/NUTCH-1275
> Project: Nutch
>  Issue Type: Sub-task
>  Components: build
>Affects Versions: nutchgora, 1.5
>Reporter: Lewis John McGibbney
>Assignee: Tejas Patil
>Priority: Minor
> Fix For: 1.7
>
>
> We can simply suppress these warnings using  
> {code}
> SuppressWarnings [unchecked]
> {code}
> However if there is a another method for resolving these warnings then they 
> should be implemented if deemed beneficial to code quality.
> Some resources 
> http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#190772

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1275) Fix [unchecked] javac warnings

2013-05-21 Thread Lewis John McGibbney (JIRA)

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

Lewis John McGibbney commented on NUTCH-1275:
-

Hi Tejas, just curious. Has this been addressed in 2.X?
Great work on these issues BTW. Really great work.

> Fix [unchecked] javac warnings
> --
>
> Key: NUTCH-1275
> URL: https://issues.apache.org/jira/browse/NUTCH-1275
> Project: Nutch
>  Issue Type: Sub-task
>  Components: build
>Affects Versions: nutchgora, 1.5
>Reporter: Lewis John McGibbney
>Priority: Minor
> Fix For: 1.7
>
>
> We can simply suppress these warnings using  
> {code}
> SuppressWarnings [unchecked]
> {code}
> However if there is a another method for resolving these warnings then they 
> should be implemented if deemed beneficial to code quality.
> Some resources 
> http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#190772

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (NUTCH-1569) Upgrade 2.x to Gora 0.3

2013-05-21 Thread Lewis John McGibbney (JIRA)

 [ 
https://issues.apache.org/jira/browse/NUTCH-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lewis John McGibbney resolved NUTCH-1569.
-

Resolution: Fixed

Committed @revision 1485044 in 2.x HEAD
Thank you to everyone who commented on this issue.

> Upgrade 2.x to Gora 0.3
> ---
>
> Key: NUTCH-1569
> URL: https://issues.apache.org/jira/browse/NUTCH-1569
> Project: Nutch
>  Issue Type: Improvement
>  Components: build, storage
>Affects Versions: 2.2
>Reporter: Lewis John McGibbney
>Assignee: Lewis John McGibbney
> Fix For: 2.2
>
> Attachments: NUTCH-1569.patch, NUTCH-1569.v2.patch
>
>
> We just released the Maven artifacts and I would like to upgrade before we 
> push the RC for 2.2 :)
> Patch coming up

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1569) Upgrade 2.x to Gora 0.3

2013-05-21 Thread Lewis John McGibbney (JIRA)

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

Lewis John McGibbney commented on NUTCH-1569:
-

I will commit this patch and push the 2.2RC tonight unless there are any 
objections. 

> Upgrade 2.x to Gora 0.3
> ---
>
> Key: NUTCH-1569
> URL: https://issues.apache.org/jira/browse/NUTCH-1569
> Project: Nutch
>  Issue Type: Improvement
>  Components: build, storage
>Affects Versions: 2.2
>Reporter: Lewis John McGibbney
>Assignee: Lewis John McGibbney
> Fix For: 2.2
>
> Attachments: NUTCH-1569.patch, NUTCH-1569.v2.patch
>
>
> We just released the Maven artifacts and I would like to upgrade before we 
> push the RC for 2.2 :)
> Patch coming up

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1569) Upgrade 2.x to Gora 0.3

2013-05-21 Thread Lewis John McGibbney (JIRA)

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

Lewis John McGibbney commented on NUTCH-1569:
-

Dynamite Chris, thanks for the heads up.

> Upgrade 2.x to Gora 0.3
> ---
>
> Key: NUTCH-1569
> URL: https://issues.apache.org/jira/browse/NUTCH-1569
> Project: Nutch
>  Issue Type: Improvement
>  Components: build, storage
>Affects Versions: 2.2
>Reporter: Lewis John McGibbney
>Assignee: Lewis John McGibbney
> Fix For: 2.2
>
> Attachments: NUTCH-1569.patch, NUTCH-1569.v2.patch
>
>
> We just released the Maven artifacts and I would like to upgrade before we 
> push the RC for 2.2 :)
> Patch coming up

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1569) Upgrade 2.x to Gora 0.3

2013-05-21 Thread Chris Hairfield (JIRA)

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

Chris Hairfield commented on NUTCH-1569:


I applied your v2 patch an hour ago and, after re-running my crawls, everything 
looks great. For reference, here's my setup:
Nutch 2.x (fully updated to rev. 1484961)
+ NUTCH-1486-2.x.v2.patch (Upgrade to Solr 4.2.1)
HBase 0.90.4

> Upgrade 2.x to Gora 0.3
> ---
>
> Key: NUTCH-1569
> URL: https://issues.apache.org/jira/browse/NUTCH-1569
> Project: Nutch
>  Issue Type: Improvement
>  Components: build, storage
>Affects Versions: 2.2
>Reporter: Lewis John McGibbney
>Assignee: Lewis John McGibbney
> Fix For: 2.2
>
> Attachments: NUTCH-1569.patch, NUTCH-1569.v2.patch
>
>
> We just released the Maven artifacts and I would like to upgrade before we 
> push the RC for 2.2 :)
> Patch coming up

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1249) Resolve all issues flagged up by adding javac -Xlint arguement

2013-05-21 Thread Sebastian Nagel (JIRA)

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

Sebastian Nagel commented on NUTCH-1249:


Great, work [~tejas.patil]!

> Resolve all issues flagged up by adding javac -Xlint arguement
> --
>
> Key: NUTCH-1249
> URL: https://issues.apache.org/jira/browse/NUTCH-1249
> Project: Nutch
>  Issue Type: Improvement
>  Components: build
>Affects Versions: nutchgora
>Reporter: Lewis John McGibbney
>Assignee: Lewis John McGibbney
>Priority: Minor
> Fix For: 1.7
>
> Attachments: NUTCH-1249.trunk.patch
>
>
> There are a heap of issues flagged up by NUTCH-1237, I think over time it 
> would be great to get these addressed and resolved.
> What is interesting is that adding the same arguements to 
> /src/plugin/plugin-build.xml actually breaks my build as tests begin to fail.
> Some of this stuff is documented in the link below
> http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/javac.html#options

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira