Quantcast

Problems building.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problems building.

Marco Huerta Roldan
Hello.  I just downloaded the jgap complete package, went to the directory
with build.xml in it, and ran ant.  This is my output:
bash-3.1$ ant
Buildfile: build.xml

compile:
     [javac] Compiling 1 source file to
/v/filer3/v3q072/huerta/jgap/classes
     [javac]
/v/filer3/v3q072/huerta/jgap/src/org/jgap/impl/DoubleGene.java:252:
compareTo(java.lang.Double) in java.lang.Double cannot be applied to
(java.lang.Object)
     [javac]     return ( (Double) o1).compareTo(o2);
     [javac]            ^
     [javac] 1 error

BUILD FAILED
/v/filer3/v3q072/huerta/jgap/build.xml:25: Compile failed; see the
compiler error output for details.

Total time: 10 seconds

I'm using Apache Ant version 1.6.2.  Can anyone help me understand what
the problem is?  Thanks,
THN


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jgap-devl mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jgap-devl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Problems building.

Klaus Meffert
Hello Marco,

please change the line making trouble to the following:
   return ( (Double) o1).compareTo( (Double) o2);

This update has already been made to the CVS and will be included in the
next release to come.

Best

Klaus

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Marco Huerta Roldan
> Sent: Thursday, March 30, 2006 6:11 PM
> To: [hidden email]
> Subject: [jgap-devl] Problems building.
>
> Hello.  I just downloaded the jgap complete package, went to
> the directory with build.xml in it, and ran ant.  This is my output:
> bash-3.1$ ant
> Buildfile: build.xml
>
> compile:
>      [javac] Compiling 1 source file to
> /v/filer3/v3q072/huerta/jgap/classes
>      [javac]
> /v/filer3/v3q072/huerta/jgap/src/org/jgap/impl/DoubleGene.java:252:
> compareTo(java.lang.Double) in java.lang.Double cannot be applied to
> (java.lang.Object)
>      [javac]     return ( (Double) o1).compareTo(o2);
>      [javac]            ^
>      [javac] 1 error
>
> BUILD FAILED
> /v/filer3/v3q072/huerta/jgap/build.xml:25: Compile failed;
> see the compiler error output for details.
>
> Total time: 10 seconds
>
> I'm using Apache Ant version 1.6.2.  Can anyone help me
> understand what the problem is?  Thanks, THN
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking
> scripting language
> that extends applications into web and mobile media. Attend
> the live webcast
> and join the prime developer group breaking into this new
> coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
> dat=121642
> _______________________________________________
> jgap-devl mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/jgap-devl
>




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jgap-devl mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jgap-devl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Problems building.

Marco Huerta Roldan
I changed that, and I got a handfull of other cast errors, all in test
classes.  I've corrected them in a similar way and the code compiles now.
Thanks for your help.
Marco

On Thu, 30 Mar 2006, Klaus Meffert wrote:

> Hello Marco,
>
> please change the line making trouble to the following:
>   return ( (Double) o1).compareTo( (Double) o2);
>
> This update has already been made to the CVS and will be included in the
> next release to come.
>
> Best
>
> Klaus
>
>> -----Original Message-----
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of
>> Marco Huerta Roldan
>> Sent: Thursday, March 30, 2006 6:11 PM
>> To: [hidden email]
>> Subject: [jgap-devl] Problems building.
>>
>> Hello.  I just downloaded the jgap complete package, went to
>> the directory with build.xml in it, and ran ant.  This is my output:
>> bash-3.1$ ant
>> Buildfile: build.xml
>>
>> compile:
>>      [javac] Compiling 1 source file to
>> /v/filer3/v3q072/huerta/jgap/classes
>>      [javac]
>> /v/filer3/v3q072/huerta/jgap/src/org/jgap/impl/DoubleGene.java:252:
>> compareTo(java.lang.Double) in java.lang.Double cannot be applied to
>> (java.lang.Object)
>>      [javac]     return ( (Double) o1).compareTo(o2);
>>      [javac]            ^
>>      [javac] 1 error
>>
>> BUILD FAILED
>> /v/filer3/v3q072/huerta/jgap/build.xml:25: Compile failed;
>> see the compiler error output for details.
>>
>> Total time: 10 seconds
>>
>> I'm using Apache Ant version 1.6.2.  Can anyone help me
>> understand what the problem is?  Thanks, THN
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by xPML, a groundbreaking
>> scripting language
>> that extends applications into web and mobile media. Attend
>> the live webcast
>> and join the prime developer group breaking into this new
>> coding territory!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
>> dat=121642
>> _______________________________________________
>> jgap-devl mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/jgap-devl
>>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jgap-devl mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jgap-devl
Loading...