[ 
https://issues.apache.org/jira/browse/THRIFT-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742468#action_12742468
 ] 

Bryan Duxbury commented on THRIFT-558:
--------------------------------------

I applied the patch and the compiler built cleanly. However, when I tried to do 
"ant clean test" in lib/java, I got the following error:

{code}
ivy:retrieve] 
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: org/slf4j#slf4j-api;1.5.8: java.text.ParseException: 
inconsistent module descriptor file found in 
'http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom': 
bad organisation: expected='org/slf4j' found='org.slf4j'; 
[ivy:retrieve]          :: org/slf4j#slf4j-simple;1.5.8: 
java.text.ParseException: inconsistent module descriptor file found in 
'http://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.5.8/slf4j-simple-1.5.8.pom':
 bad organisation: expected='org/slf4j' found='org.slf4j'; 
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :::: ERRORS
[ivy:retrieve]          public: bad organisation found in 
http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.pom: 
expected='org/slf4j' found='org.slf4j'
[ivy:retrieve]          public: bad organisation found in 
http://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.5.8/slf4j-simple-1.5.8.pom:
 expected='org/slf4j' found='org.slf4j'
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/Users/bryanduxbury/projects/thrift/thrift-svn-clean/lib/java/build.xml:109: 
impossible to resolve dependencies:
        resolve failed - see output for details

{code}

Any ideas?

> Replace use of log4j by commons-logging in Java library and generated Java 
> code
> -------------------------------------------------------------------------------
>
>                 Key: THRIFT-558
>                 URL: https://issues.apache.org/jira/browse/THRIFT-558
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java), Library (Java)
>    Affects Versions: 0.1
>         Environment: All
>            Reporter: Mathias Herberts
>            Priority: Trivial
>             Fix For: 0.1
>
>         Attachments: commons-logging.patch, slf4j-v2.patch, slf4j.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Generated Java code and the some Java library classes make direct use of 
> log4j. In order to remove this logging library dependency, replace uses of 
> log4j by uses of commons-logging.

-- 
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