You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by Ugo Cei <ug...@gmail.com> on 2006/09/07 23:50:26 UTC
Building trunk
As of revision 441235, I cannot build the trunk with Maven:
$ mvn -version
Maven version: 2.0.4
$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
$mvn install
...
[INFO] Building Abdera Core
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
----
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 9 source files to /Users/ugocei/Projects/Apache/abdera/java/
trunk/core/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/AbstractXPath.java:[60,27] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Object
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/AbstractXPath.java:[64,19] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Object
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/AbstractXPath.java:[76,25] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Number
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/ServiceUtil.java:[54,17] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Object
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/ServiceUtil.java:[119,23] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Object
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/ServiceUtil.java:[121,31] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Object
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/ServiceUtil.java:[131,40] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Object
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/ServiceUtil.java:[208,33] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Object
Re: Building trunk
Posted by James M Snell <ja...@gmail.com>.
Ok, I'll get it fixed. This is a change I made today. Eclipse's compiler
didn't choke on <T>T but I forgot that other compilers tend to.
- James
Ugo Cei wrote:
> As of revision 441235, I cannot build the trunk with Maven:
>
> $ mvn -version
> Maven version: 2.0.4
> $ java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
> Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
> $mvn install
> ...
> [INFO] Building Abdera Core
> [INFO] task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
>
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 9 source files to
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractXPath.java:[60,27]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractXPath.java:[64,19]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractXPath.java:[76,25]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Number
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[54,17]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[119,23]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[121,31]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[131,40]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[208,33]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
>
>
Re: Building trunk
Posted by Ugo Cei <ug...@gmail.com>.
On Sep 8, 2006, at 1:14 AM, James M Snell wrote:
> Grr.. ok, try again.
[INFO] Building Abdera Client
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
----
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 16 source files to /Users/ugocei/Projects/Apache/abdera/
java/trunk/client/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/Users/ugocei/Projects/Apache/abdera/java/trunk/client/src/main/java/
org/apache/abdera/protocol/client/CommonsResponse.java:[29,39] cannot
find symbol
symbol : class ContentEncodingUtil
location: package org.apache.abdera.protocol.util
/Users/ugocei/Projects/Apache/abdera/java/trunk/client/src/main/java/
org/apache/abdera/protocol/client/CommonsResponse.java:[124,13]
cannot find symbol
symbol : variable ContentEncodingUtil
location: class org.apache.abdera.protocol.client.CommonsResponse
Re: Building trunk
Posted by James M Snell <ja...@gmail.com>.
Fixed
Stephen Duncan wrote:
> It's because "protocol" wasn't added as a module in the top-level
> pom.xml, so it's not included when trying to build from that level.
>
> -Stephen
>
> On 9/8/06, Ugo Cei <ug...@gmail.com> wrote:
>> There is something strange in maven-land here, because if I clean my
>> m2 cache and run mvn install from trunk I get:
>>
>> [INFO] Scanning for projects...
>> [INFO] Reactor build order:
>> [INFO] JSON (From Abdera)
>> [INFO] Apache Abdera
>> [INFO] Abdera Core
>> [INFO] Abdera Parser
>> [INFO] Abdera Client
>> [INFO] Abdera Security
>> [INFO] Abdera Server
>> [INFO] Abdera Extensions
>> [INFO] Abdera Examples
>>
>> Where is Abdera Protocol? There is a dependency on it in client/
>> pom.xml, still it doesn't get built, which leads to client's
>> compilation failing.
>>
>> If I go to protocol and run mvn install there, it builds, then I can
>> go back up and build everything fine (well, if I use -
>> Dmaven.test.skip=true, because one test is failing).
>>
>> I cannot fathom why this is happening.
>>
>> Ugo
>>
>>
>
>
Re: Building trunk
Posted by Stephen Duncan <st...@gmail.com>.
It's because "protocol" wasn't added as a module in the top-level
pom.xml, so it's not included when trying to build from that level.
-Stephen
On 9/8/06, Ugo Cei <ug...@gmail.com> wrote:
> There is something strange in maven-land here, because if I clean my
> m2 cache and run mvn install from trunk I get:
>
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] JSON (From Abdera)
> [INFO] Apache Abdera
> [INFO] Abdera Core
> [INFO] Abdera Parser
> [INFO] Abdera Client
> [INFO] Abdera Security
> [INFO] Abdera Server
> [INFO] Abdera Extensions
> [INFO] Abdera Examples
>
> Where is Abdera Protocol? There is a dependency on it in client/
> pom.xml, still it doesn't get built, which leads to client's
> compilation failing.
>
> If I go to protocol and run mvn install there, it builds, then I can
> go back up and build everything fine (well, if I use -
> Dmaven.test.skip=true, because one test is failing).
>
> I cannot fathom why this is happening.
>
> Ugo
>
>
--
Stephen Duncan Jr
www.stephenduncanjr.com
Re: Building trunk
Posted by Ugo Cei <ug...@gmail.com>.
There is something strange in maven-land here, because if I clean my
m2 cache and run mvn install from trunk I get:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] JSON (From Abdera)
[INFO] Apache Abdera
[INFO] Abdera Core
[INFO] Abdera Parser
[INFO] Abdera Client
[INFO] Abdera Security
[INFO] Abdera Server
[INFO] Abdera Extensions
[INFO] Abdera Examples
Where is Abdera Protocol? There is a dependency on it in client/
pom.xml, still it doesn't get built, which leads to client's
compilation failing.
If I go to protocol and run mvn install there, it builds, then I can
go back up and build everything fine (well, if I use -
Dmaven.test.skip=true, because one test is failing).
I cannot fathom why this is happening.
Ugo
Re: Building trunk
Posted by James M Snell <ja...@gmail.com>.
Grr.. ok, try again.
Ugo Cei wrote:
>
> On Sep 8, 2006, at 12:31 AM, James M Snell wrote:
>
>> Try it now.
>
> There's still one error here:
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractXPath.java:[76,25]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Number
>
>
> Ugo
>
>
> --Ugo Cei
> Blog: http://agylen.com/
> Open Source Zone: http://oszone.org/
> Evil or Not?: http://evilornot.info/
> Company: http://www.sourcesense.com/
>
>
>
Re: Building trunk
Posted by Ugo Cei <ug...@gmail.com>.
On Sep 8, 2006, at 12:31 AM, James M Snell wrote:
> Try it now.
There's still one error here:
/Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
org/apache/abdera/util/AbstractXPath.java:[76,25] type parameters of
<T>T cannot be determined; no unique maximal instance exists for type
variable T with upper bounds T,java.lang.Number
Ugo
--
Ugo Cei
Blog: http://agylen.com/
Open Source Zone: http://oszone.org/
Evil or Not?: http://evilornot.info/
Company: http://www.sourcesense.com/
Re: Building trunk
Posted by James M Snell <ja...@gmail.com>.
Try it now.
Luciano Resende wrote:
> Yes, I'm seeing same thing...
>
> On 9/7/06, Ugo Cei <ug...@gmail.com> wrote:
>>
>> As of revision 441235, I cannot build the trunk with Maven:
>>
>> $ mvn -version
>> Maven version: 2.0.4
>> $ java -version
>> java version "1.5.0_06"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
>> Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
>> $mvn install
>> ...
>> [INFO] Building Abdera Core
>> [INFO] task-segment: [install]
>> [INFO]
>> ------------------------------------------------------------------------
>> ----
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> Compiling 9 source files to /Users/ugocei/Projects/Apache/abdera/java/
>> trunk/core/target/classes
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/AbstractXPath.java:[60,27] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Object
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/AbstractXPath.java:[64,19] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Object
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/AbstractXPath.java:[76,25] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Number
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/ServiceUtil.java:[54,17] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Object
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/ServiceUtil.java:[119,23] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Object
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/ServiceUtil.java:[121,31] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Object
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/ServiceUtil.java:[131,40] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Object
>>
>> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
>> org/apache/abdera/util/ServiceUtil.java:[208,33] type parameters of
>> <T>T cannot be determined; no unique maximal instance exists for type
>> variable T with upper bounds T,java.lang.Object
>>
>>
>
>
Re: Building trunk
Posted by Luciano Resende <lu...@gmail.com>.
Yes, I'm seeing same thing...
On 9/7/06, Ugo Cei <ug...@gmail.com> wrote:
>
> As of revision 441235, I cannot build the trunk with Maven:
>
> $ mvn -version
> Maven version: 2.0.4
> $ java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
> Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
> $mvn install
> ...
> [INFO] Building Abdera Core
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 9 source files to /Users/ugocei/Projects/Apache/abdera/java/
> trunk/core/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/AbstractXPath.java:[60,27] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/AbstractXPath.java:[64,19] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/AbstractXPath.java:[76,25] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Number
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/ServiceUtil.java:[54,17] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/ServiceUtil.java:[119,23] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/ServiceUtil.java:[121,31] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/ServiceUtil.java:[131,40] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Object
>
> /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/
> org/apache/abdera/util/ServiceUtil.java:[208,33] type parameters of
> <T>T cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,java.lang.Object
>
>
--
-----------------------------------------------------
Luciano Resende
SOA Opensource - Apache Tuscany
-----------------------------------------------------