Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Building from trunk
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Apoptosis  
View profile  
 More options Jul 5 2009, 8:54 pm
From: Apoptosis <jacob.champ...@gmail.com>
Date: Sun, 5 Jul 2009 17:54:11 -0700 (PDT)
Local: Sun, Jul 5 2009 8:54 pm
Subject: Building from trunk
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Bygrave  
View profile  
 More options Jul 5 2009, 10:55 pm
From: Rob Bygrave <robin.bygr...@gmail.com>
Date: Mon, 6 Jul 2009 14:55:13 +1200
Local: Sun, Jul 5 2009 10:55 pm
Subject: Re: Building from trunk

*>> 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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hielke Hoeve  
View profile  
 More options Jul 13 2009, 8:43 am
From: Hielke Hoeve <hielke.ho...@gmail.com>
Date: Mon, 13 Jul 2009 05:43:06 -0700 (PDT)
Local: Mon, Jul 13 2009 8:43 am
Subject: Re: Building from trunk
On 6 jul, 04:55, Rob Bygrave <robin.bygr...@gmail.com> wrote:

> *>> 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.

Is there any reason why you are using maven and ant together? Maven
can build the projects in any fashion you wish...

I am trying to setup a java webapp (Wicket) as demo linked to the
ebean source but when using maven I can't seem to link all the
dependencies just right. I have to do major changes in the provided
poms, but that might also be because of my demands :-)
Also the sample application is still referring to ebean 1.1 (still
works with 1.2 though).

Hielke

BTW: Great job! This looks promising!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
edge  
View profile  
 More options Jul 13 2009, 8:54 am
From: edge <e.mcgr...@imilia.com>
Date: Mon, 13 Jul 2009 05:54:43 -0700 (PDT)
Local: Mon, Jul 13 2009 8:54 am
Subject: Re: Building from trunk
The current poms are not actually being used to build Ebean.
We intend to move to maven after our next major release 2.0 which is
coming up soon and we're actually working on refactoring the API to
make it easier to build with maven.
So, short term you'll have to use ant

Eddie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »