Ah yes.  You can setup Eclipse so that it uses 1.3.1 for James but you need to add the 
JDBC 2.? jar, which you can download from here 
http://java.sun.com/products/jdbc/download.html.

Steve

> -----Original Message-----
> From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 06, 2004 2:17 PM
> To: James Users List
> Subject: RE: Starting james/phoenix inside eclipse
> 
> 
> Thanks.. that worked fine. But I had to use jdk1.4.2, not 
> 1.3.1 Do you know if I can compile james with this jdk ?
> 
> I have a bunch of errors related on this 
> class declaration
> 
> public class PoolConnEntry implements java.sql.Connection {
>              ~~~~~~~~~~~~
> Maybe because the java.sql.Connection changed from 1.3.1 to 1.4.2
> 
> OBS: I'm using the cvs tag build_2_1_3_fcs
> 
> On Tue, 2004-04-06 at 15:54, Steve Short wrote:
> > Yes. Assuming you know how to create Run/Debug tasks in 
> eclipse, here 
> > is a rough guide to the list of settings:
> > 
> > On the Main tab:
> >   - you may or may not nee to Enable "Include external jars 
> when searching for a main class
> >   - set "Main class" to org.apache.avalon.phoenix.launcher.Main
> > 
> > On the arguments tab:
> >   - set VM arguments:
> >       -Dphoenix.home=<path to james dev 
> dir>/dist/james-2.2.0-dev  (or wherever)
> >       -Djava.ext.dirs=<path to james dev 
> dir>/dist/james-2.2.0-dev/lib
> >   - set Working directory to the Local directory <path to james dev 
> > dir>/dist/james-2.2.0-dev/bin
> > 
> > On the Classpath tab:  (I can't remember what the defaults 
> are here so you may not need to do exactly this)
> >   - make sure the "James" project is listed under User 
> Entries and remove everything else
> >   - I also have a project for Phoenix and this is also in 
> the User Entries list.
> >   - add in all the jars that are in the james 'lib' directory
> > 
> > 
> > Not 100% sure you need the java.ext.dirs and all the james lib jars 
> > but I don't want to mess with my settings!
> > 
> > Steve
> > 
> > > -----Original Message-----
> > > From: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, April 06, 2004 11:44 AM
> > > To: James Users List
> > > Subject: RE: Starting james/phoenix inside eclipse
> > > 
> > > 
> > > Thanks Steve. I've seen that.
> > > I'd like to know if there is a java starter that I can run
> > > with eclipse.
> > > 
> > > On Tue, 2004-04-06 at 15:14, Steve Short wrote:
> > > > Here's one way: http://wiki.apache.org/james/EclipseNotes
> > > > 
> > > > Steve
> > > > 
> > > > > -----Original Message-----
> > > > > From: Leandro Rodrigo Saad Cruz 
> > > > > [mailto:[EMAIL PROTECTED]
> > > > > Sent: Tuesday, April 06, 2004 11:13 AM
> > > > > To: 'James Users List'
> > > > > Subject: Starting james/phoenix inside eclipse
> > > > > 
> > > > > 
> > > > > Hi all. How Can I do this ?
> > > > > Is there any way I can do this ?
> > > > > 
> > > > > --
> > > > > Leandro Rodrigo Saad Cruz
> > > > > InterBusiness Tecnologia e Serviços
> > > > > IB    - www.ibnetwork.com.br
> > > > > DB    - www.digitalbrand.com.br
> > > > > OJB   - db.apache.org/ojb
> > > > > XINGU - xingu.sf.net
> > > > > 
> > > > > 
> > > > > 
> > > 
> --------------------------------------------------------------------
> > > > > -
> > > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: 
> > > > > [EMAIL PROTECTED]
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > 
> --------------------------------------------------------------------
> > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > --
> > > Leandro Rodrigo Saad Cruz
> > > InterBusiness Tecnologia e Serviços
> > > IB    - www.ibnetwork.com.br
> > > DB    - www.digitalbrand.com.br
> > > OJB   - db.apache.org/ojb
> > > XINGU - xingu.sf.net
> > > 
> > > 
> > > 
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> -- 
> Leandro Rodrigo Saad Cruz
> InterBusiness Tecnologia e Serviços
> IB    - www.ibnetwork.com.br
> DB    - www.digitalbrand.com.br
> OJB   - db.apache.org/ojb
> XINGU - xingu.sf.net
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to