*>> 1) Add: <classpathentry kind="lib" path="lib/spring-2.5.6.jar"/>
2) Alter: <classpathentry kind="output" path="build/bin"/> (To match
ant bin.dir, so that AntEnhanceTask is found)
*
Yes, I think we may want to add a "ide.bin.dir" to use just for the
enhancement task... as the "bin.dir" is used elsewhere in the build.
*>> After I do that I still have trouble compiling:
com.avaje.ebean.server.lib.*
> *sql.ExtendedPreparedStatement
> com.avaje.ebean.server.lib.**sql.PooledConnection*
You need to compile using JDK 1.5 (not JDK 1.6 due to changes in java.sql
API).
Check both of these settings:
eclipse - project - properties - java build path - libraries - JRE System
Library [JDK1.5]
eclipse - project - properties - java compiler - JDK compliance [JDK1.5]
That should do the trick.
Cheers, Rob.
On Mon, Jul 6, 2009 at 12:54 PM, Apoptosis <jacob.champ
...@gmail.com> wrote:
> I have been trying to build the code from the repository trunk and
> have hit a few snags...
> I am not sure if your still using eclipse but I have to make some
> modifications to get it to compile:
> .classpath
> --------------------------------------------------------------------------- ----------------
> 1) Add: <classpathentry kind="lib" path="lib/spring-2.5.6.jar"/>
> 2) Alter: <classpathentry kind="output" path="build/bin"/> (To match
> ant bin.dir, so that AntEnhanceTask is found)
> After I do that I still have trouble compiling:
> com.avaje.ebean.server.lib.sql.ExtendedPreparedStatement
> com.avaje.ebean.server.lib.sql.PooledConnection
> Because they don't fully implement their interfaces. I first assumed
> it was because I was using jdk 1.6, however I looked all the way back
> to jdk 1.4 and many of the unimplemented methods were in 1.4.
> I can imagine your compiling just fine... Which interfaces are you
> compiling against?
> Jacob