You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Manu George <ma...@gmail.com> on 2007/08/09 09:34:42 UTC

Build failing

Hi,
       I find that the build is failing on trunk (revision 564118) for me
The error is
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\g\oejb\openejb3\container\openejb-core\src\main\java\org\apache\openejb\confi
g\EnvEntriesPropertiesDeployer.java:[111,122] inconvertible types
found   : java.util.Properties
required: java.util.Map<? extends java.lang.String,? extends java.lang.String>

This will not work because java.util.Properties extends hashtable
<Object,Object>

Regards
Manu

Re: Build failing

Posted by David Blevins <da...@visi.com>.
Huh, I'm on:

java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

On a Mac VM (a sun vm mostly).

I guess the best way to ensure that it's fixed is if someone who has  
the problem can refactor that code a little and submit patch or check  
it in.

-David

On Aug 13, 2007, at 3:13 PM, Karan Malhi wrote:

> I am getting the same issue. Below is the version information,
>
> karan@poweredge:~/oss/openejb3$ java -version
> java version "1.5.0_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
> ==============================================
>  below that is the trace from maven
>
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD FAILURE
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Compilation failure
> /home/karan/oss/openejb3/container/openejb-core/src/main/java/org/ 
> apache/openejb/config/EnvEntriesPropertiesDeployer.java:[111,122]
> inconvertible types
> found   : java.util.Properties
> required: java.util.Map<? extends java.lang.String,? extends  
> java.lang.String>
>
>
>
> /home/karan/oss/openejb3/container/openejb-core/src/main/java/org/ 
> apache/openejb/config/EnvEntriesPropertiesDeployer.java:[111,122]
> inconvertible types
> found   : java.util.Properties
> required: java.util.Map<? extends java.lang.String,? extends  
> java.lang.String>
>
>
> On 8/13/07, David Blevins <da...@visi.com> wrote:
>>
>> On Aug 9, 2007, at 12:34 AM, Manu George wrote:
>>
>>> Hi,
>>>        I find that the build is failing on trunk (revision 564118)
>>> for me
>>> The error is
>>> [INFO]
>>> -------------------------------------------------------------------- 
>>> --
>>> --
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> -------------------------------------------------------------------- 
>>> --
>>> --
>>> [INFO] Compilation failure
>>>
>>> C:\g\oejb\openejb3\container\openejb-core\src\main\java\org\apache
>>> \openejb\confi
>>> g\EnvEntriesPropertiesDeployer.java:[111,122] inconvertible types
>>> found   : java.util.Properties
>>> required: java.util.Map<? extends java.lang.String,? extends
>>> java.lang.String>
>>>
>>> This will not work because java.util.Properties extends hashtable
>>> <Object,Object>
>>
>> I'm not getting this issue.  What VM is it?
>>
>> -David
>>
>>
>
>
> -- 
> Karan Singh Malhi
>


Re: Build failing

Posted by Karan Malhi <ka...@gmail.com>.
I am getting the same issue. Below is the version information,

karan@poweredge:~/oss/openejb3$ java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
==============================================
 below that is the trace from maven

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/karan/oss/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/EnvEntriesPropertiesDeployer.java:[111,122]
inconvertible types
found   : java.util.Properties
required: java.util.Map<? extends java.lang.String,? extends java.lang.String>



/home/karan/oss/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/EnvEntriesPropertiesDeployer.java:[111,122]
inconvertible types
found   : java.util.Properties
required: java.util.Map<? extends java.lang.String,? extends java.lang.String>


On 8/13/07, David Blevins <da...@visi.com> wrote:
>
> On Aug 9, 2007, at 12:34 AM, Manu George wrote:
>
> > Hi,
> >        I find that the build is failing on trunk (revision 564118)
> > for me
> > The error is
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Compilation failure
> >
> > C:\g\oejb\openejb3\container\openejb-core\src\main\java\org\apache
> > \openejb\confi
> > g\EnvEntriesPropertiesDeployer.java:[111,122] inconvertible types
> > found   : java.util.Properties
> > required: java.util.Map<? extends java.lang.String,? extends
> > java.lang.String>
> >
> > This will not work because java.util.Properties extends hashtable
> > <Object,Object>
>
> I'm not getting this issue.  What VM is it?
>
> -David
>
>


-- 
Karan Singh Malhi

Re: Build failing

Posted by David Blevins <da...@visi.com>.
On Aug 9, 2007, at 12:34 AM, Manu George wrote:

> Hi,
>        I find that the build is failing on trunk (revision 564118)  
> for me
> The error is
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD FAILURE
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Compilation failure
>
> C:\g\oejb\openejb3\container\openejb-core\src\main\java\org\apache 
> \openejb\confi
> g\EnvEntriesPropertiesDeployer.java:[111,122] inconvertible types
> found   : java.util.Properties
> required: java.util.Map<? extends java.lang.String,? extends  
> java.lang.String>
>
> This will not work because java.util.Properties extends hashtable
> <Object,Object>

I'm not getting this issue.  What VM is it?

-David