You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Michelle Caisse <Mi...@Sun.COM> on 2005/10/31 18:03:58 UTC

BUILD FAILURE

Hi,

I'm getting a build failure after an svn update:

java:compile:
    [echo] Compiling to c:\svn2\jdo\trunk\tck20/target/classes
    [javac] Compiling 13 source files to 
C:\svn2\jdo\trunk\tck20\target\classes
C:\svn2\jdo\trunk\tck20\test\java\org\apache\jdo\tck\query\QueryElementHolder.java:322: 
setRange(long,long) in javax.jdo.Query cannot be applied to 
(java.lang.String)
            query.setRange(this.fromString + ',' + this.toString);
                 ^
1 error

-- Michelle

Re: BUILD FAILURE

Posted by Michelle Caisse <Mi...@Sun.COM>.
I'm sure that's it, thanks.  Sorry for the alarm.

-- Michelle

Michael Watzek wrote:

> Hi Michelle,
>
> the code compiles fine on my machine. Have you updated and build your 
> api20 project? Method Query.setRange(String) has been added to the API.
>
> Regards,
> Michael
>
>> Hi,
>>
>> I'm getting a build failure after an svn update:
>>
>> java:compile:
>>    [echo] Compiling to c:\svn2\jdo\trunk\tck20/target/classes
>>    [javac] Compiling 13 source files to 
>> C:\svn2\jdo\trunk\tck20\target\classes
>> C:\svn2\jdo\trunk\tck20\test\java\org\apache\jdo\tck\query\QueryElementHolder.java:322: 
>> setRange(long,long) in javax.jdo.Query cannot be applied to 
>> (java.lang.String)
>>            query.setRange(this.fromString + ',' + this.toString);
>>                 ^
>> 1 error
>>
>> -- Michelle
>
>
>


Re: BUILD FAILURE

Posted by Michael Watzek <mw...@spree.de>.
Hi Michelle,

the code compiles fine on my machine. Have you updated and build your 
api20 project? Method Query.setRange(String) has been added to the API.

Regards,
Michael
> Hi,
> 
> I'm getting a build failure after an svn update:
> 
> java:compile:
>    [echo] Compiling to c:\svn2\jdo\trunk\tck20/target/classes
>    [javac] Compiling 13 source files to 
> C:\svn2\jdo\trunk\tck20\target\classes
> C:\svn2\jdo\trunk\tck20\test\java\org\apache\jdo\tck\query\QueryElementHolder.java:322: 
> setRange(long,long) in javax.jdo.Query cannot be applied to 
> (java.lang.String)
>            query.setRange(this.fromString + ',' + this.toString);
>                 ^
> 1 error
> 
> -- Michelle


-- 
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------