RE: Issue in Applying patch file

2012-05-17 Thread Dyer, James
Recently Lucene/Solr went to a new build process using Ivy.  Simply put, 
dependent .jar files are no longer checked in with Lucene/Solr sources.  
Instead while building, Ivy now downloads them from 'repo1.maven.org'  From the 
error you sent it seems like you do not have access to the Maven repository.  
Possibly your internet connection was down or you're behind a proxy that 
doesn't allow it? 

James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311


-Original Message-
From: mechravi25 [mailto:mechrav...@yahoo.co.in] 
Sent: Thursday, May 17, 2012 7:23 AM
To: solr-user@lucene.apache.org
Subject: RE: Issue in Applying patch file

Hi James,

Thank you for your reply.
That issue got resolved;but now, when Im trying to build the solr using "ant
dist" command, its resulting in the following error.


[ivy:retrieve] :: resolving dependencies ::
org.apache.lucene#analyzers-phonetic;working@XXXYYN
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  validate = true
[ivy:retrieve]  refresh = false
[ivy:retrieve] resolving dependencies for configuration 'default'
[ivy:retrieve] == resolving dependencies for
org.apache.lucene#analyzers-phonetic;working@XXXYYN [default]
[ivy:retrieve] == resolving dependencies
org.apache.lucene#analyzers-phonetic;working@XXXYYN->commons-codec#commons-codec;1.6
[default->*]
[ivy:retrieve] default: Checking cache for: dependency:
commons-codec#commons-codec;1.6 {*=[*]}
[ivy:retrieve] don't use cache for commons-codec#commons-codec;1.6:
checkModified=true
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve]  local: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve] main: Checking cache for: dependency:
commons-codec#commons-codec;1.6 {*=[*]}
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve]  shared: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve]  tried
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] WARN: Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]  tried
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve] WARN: Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]  public: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve] WARN:module not found: commons-codec#commons-codec;1.6
[ivy:retrieve] WARN:  local: tried
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve] WARN:  shared: tried
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve] WARN:  public: tried
[ivy:retrieve] WARN:  
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:  
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve]  resolved ivy file produced in C:\Documents and
Settings\.ivy2\cache\resolved-org.apache.lucene-analyzers-phonetic-work...@xxxyyn.xml
[ivy:retrieve] :: downloading artifacts ::
[ivy:retrieve] :: resolution report :: resolve 22250ms :: artifacts dl 0ms
[ivy:retrieve] WARN:::
[ivy:retrieve] WARN:::  UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] WARN:::
[ivy:retrieve] WARN::: commons-codec#commons-codec;1.6: not found
[ivy:retrieve] WARN:::
[ivy:retrieve]  report for
org.apache.lucene#analyzers-phonetic;working@XXXYYN default produced in
C:\Documents and
Settin

RE: Issue in Applying patch file

2012-05-17 Thread mechravi25
Hi James,

Thank you for your reply.
That issue got resolved;but now, when Im trying to build the solr using "ant
dist" command, its resulting in the following error.


[ivy:retrieve] :: resolving dependencies ::
org.apache.lucene#analyzers-phonetic;working@XXXYYN
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  validate = true
[ivy:retrieve]  refresh = false
[ivy:retrieve] resolving dependencies for configuration 'default'
[ivy:retrieve] == resolving dependencies for
org.apache.lucene#analyzers-phonetic;working@XXXYYN [default]
[ivy:retrieve] == resolving dependencies
org.apache.lucene#analyzers-phonetic;working@XXXYYN->commons-codec#commons-codec;1.6
[default->*]
[ivy:retrieve] default: Checking cache for: dependency:
commons-codec#commons-codec;1.6 {*=[*]}
[ivy:retrieve] don't use cache for commons-codec#commons-codec;1.6:
checkModified=true
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve]  local: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve] main: Checking cache for: dependency:
commons-codec#commons-codec;1.6 {*=[*]}
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve]  shared: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve]  tried
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] WARN: Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]  tried
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve] WARN: Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]  public: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve] WARN:module not found: commons-codec#commons-codec;1.6
[ivy:retrieve] WARN:  local: tried
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve] WARN:  shared: tried
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve] WARN:  public: tried
[ivy:retrieve] WARN:  
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:  
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve]  resolved ivy file produced in C:\Documents and
Settings\.ivy2\cache\resolved-org.apache.lucene-analyzers-phonetic-work...@xxxyyn.xml
[ivy:retrieve] :: downloading artifacts ::
[ivy:retrieve] :: resolution report :: resolve 22250ms :: artifacts dl 0ms
[ivy:retrieve] WARN:::
[ivy:retrieve] WARN:::  UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] WARN:::
[ivy:retrieve] WARN::: commons-codec#commons-codec;1.6: not found
[ivy:retrieve] WARN:::
[ivy:retrieve]  report for
org.apache.lucene#analyzers-phonetic;working@XXXYYN default produced in
C:\Documents and
Settings\.ivy2\cache\org.apache.lucene-analyzers-phonetic-default.xml
[ivy:retrieve]  resolve done (22250ms resolve - 0ms download)
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve]  WARNINGS
[ivy:retrieve]  Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve]  Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve]  module not found: commons-codec#commons-codec;1.6
[ivy:retrieve]   local: tried
[ivy:retrieve]C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve]-- artifact

RE: Issue in Applying patch file

2012-05-17 Thread mechravi25
Hi,

Thank you for your reply . 
That error was resolved but now Im not able to build the solr project using
"ant dist" to generate the war file. It is resulting in the following error.

   
-
|  |modules||   artifacts  
|
|   conf   | number| search|dwnlded|evicted||
number|dwnlded|
   
-
|  default |   2   |   0   |   0   |   0   ||   0   |   0  
|
   
-
[ivy:retrieve] :: resolving dependencies ::
org.apache.lucene#analyzers-phonetic;working@XXXYYN
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  validate = true
[ivy:retrieve]  refresh = false
[ivy:retrieve] resolving dependencies for configuration 'default'
[ivy:retrieve] == resolving dependencies for
org.apache.lucene#analyzers-phonetic;working@XXXYYN [default]
[ivy:retrieve] == resolving dependencies
org.apache.lucene#analyzers-phonetic;working@XXXYYN->commons-codec#commons-codec;1.6
[default->*]
[ivy:retrieve] default: Checking cache for: dependency:
commons-codec#commons-codec;1.6 {*=[*]}
[ivy:retrieve] don't use cache for commons-codec#commons-codec;1.6:
checkModified=true
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve]  local: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve] main: Checking cache for: dependency:
commons-codec#commons-codec;1.6 {*=[*]}
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve]  tried C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve]  shared: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve]  tried
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] WARN: Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]  tried
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve] WARN: Host repo1.maven.org not found.
url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve] You probably access the destination server through a proxy
server that is not well configured.
[ivy:retrieve]  public: no ivy file nor artifact found for
commons-codec#commons-codec;1.6
[ivy:retrieve] WARN:module not found: commons-codec#commons-codec;1.6
[ivy:retrieve] WARN:  local: tried
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\local\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve] WARN:  shared: tried
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\ivys\ivy.xml
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:   C:\Documents and
Settings\.ivy2\shared\commons-codec\commons-codec\1.6\jars\commons-codec.jar
[ivy:retrieve] WARN:  public: tried
[ivy:retrieve] WARN:  
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
[ivy:retrieve] WARN:   -- artifact
commons-codec#commons-codec;1.6!commons-codec.jar:
[ivy:retrieve] WARN:  
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ivy:retrieve]  resolved ivy file produced in C:\Documents and
Settings\.ivy2\cache\resolved-org.apache.lucene-analyzers-phonetic-work...@xxxyyn.xml
[ivy:retrieve] :: downloading artifacts ::
[ivy:retrieve] :: resolution report :: resolve 22250ms :: artifacts dl 0ms
[ivy:retrieve] WARN:::
[ivy:retrieve] WARN:::  UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] WARN:::
[ivy:retrieve] WARN::: commons-codec#commons-codec;1.6: not found
[ivy:retrieve] WARN:::
[ivy:retrieve]  report for
org.apache.lucene#analyzers-phonetic;working@XXXYYN default produced in
C:\Documents and
Settings\.ivy2\cache\org.apache.lucene-analyzers-phonetic-default.xml
[ivy:retrieve]  resolve done (22250ms resolve - 0ms download)
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve]  WARNINGS
[ivy:retrieve]  Host repo

RE: Issue in Applying patch file

2012-05-15 Thread Dyer, James
SOLR-3430 is already applied to the latest 3.6 and 4.x (trunk) source code.  Be 
sure you have sources from May 7, 2012 or later (for 3.6 this is SVN r1335205 + 
; for trunk it is SVN r1335196 + )  No patches are needed.

About the "modern compiler" error, make sure you're running a 1.6 or 1.7 JDK 
(the default JDK on some linux distributions is often inadequate) Issue "javac 
-version" from the command line as an insanity check.

James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311


-Original Message-
From: mechravi25 [mailto:mechrav...@yahoo.co.in] 
Sent: Tuesday, May 15, 2012 6:54 AM
To: solr-user@lucene.apache.org
Subject: Issue in Applying patch file

Hi,


We have checked out the latest version of Solr source code from svn. We are
trying to apply the following patch file to it.

 https://issues.apache.org/jira/browse/SOLR-3430

While applying the patch file using eclipse (i.e. using team-->apply patch
options), we are getting cross marks for certain java files and its getting
updated for the following java file alone and we are able to see the patch
file changes for this alone.

solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestThreaded.java

Why is that its not getting applied for the other set of java files which is
present in the patch file and sometimes, we are getting "file does not
exist" error even if the corresponding files are present.

And also, when I try to ant build it after applying the patch, Im getting
the following error

common-build.xml:949: Error starting modern compiler

Can you tell me If Im missing out anything? Can you please guide me on this?

Thanks in advance

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Issue-in-Applying-patch-file-tp3983842.html
Sent from the Solr - User mailing list archive at Nabble.com.