James Bucanek wrote:

> I'm taking this opportunity to learn/evaluate Eclipse at the
> same time.  Is anyone else here using Eclipse?

I have always used Eclipse to develop James code and am very happy with it.

> If so, is
> there anything I need to know about building James in Eclipse
> or accessing James' CVS repository via Eclipse?

1) Be sure to check out James as a Java Project (oddly enough), this is not
the default project type
2) Set the Project Properties to use a seperate directory such as
/dev/jamesHead
3) Once everything has been loaded, from the Java Perspective select your
new Project's Properties Select use source folders contained in the project,
add the existing folder 'src/java' and allow the ouput folder to be 'bin'.
4) To resolve compile errors you will need to ensure all the relevant
libraries are specified in the Library page which sets the classpath and
that JDK1.3.1 is used. To help you on your way I have attached the contents
of my .classpath file as a guide. I would suggest you use the GUI to enter
them rather than mess with the file!

> (Ant scripts
> would be nice!)

James has its own Ant script, build.xml. Personally, I always use this
outside of Eclipse as I want to be sure that the build as distributed will
work.

Also, I execute James outside of Eclipse using Eclipse's remote debugger to
attach to the remote JVM which in this case needs to be JDK 1.4.x.

I hope this helps,

-- Steve

Eclipse .classpath file contents...
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="src/java"/>
    <classpathentry kind="lib" path="lib/commons-collections.jar"/>
    <classpathentry kind="lib" path="lib/commons-dbcp.jar"/>
    <classpathentry kind="lib" path="lib/commons-net-1.0.0-dev.jar"/>
    <classpathentry kind="lib" path="lib/commons-pool.jar"/>
    <classpathentry kind="lib" path="lib/cornerstone.jar"/>
    <classpathentry kind="lib" path="lib/excalibur-datasource-1.0.jar"/>
    <classpathentry kind="lib" path="lib/jakarta-oro-2.0.1.jar"/>
    <classpathentry kind="lib" path="lib/junit-3.7.jar"/>
    <classpathentry kind="lib" path="lib/mm.mysql-2.0.14.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/avalon-framework-4.1.3.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/bin/phoenix-loader.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/bin/wrapper.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-baxter-1.0a.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-cli-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-collections-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-concurrent-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-configuration-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-containerkit-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-extension-1.0a.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-i18n-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-instrument-0.1.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/excalibur-io-1.1.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-logger-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-pool-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-thread-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-threadcontext-1.0.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/excalibur-util-1.0.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/isorelax.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/jing.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/logkit-1.2.jar"/>
    <classpathentry kind="lib"
path="phoenix-bin/lib/phoenix-bsh-commands.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/phoenix-client.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/xalan-2.3.1.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/xercesImpl-2.0.2.jar"/>
    <classpathentry kind="lib" path="phoenix-bin/lib/xml-apis.jar"/>
    <classpathentry kind="lib" path="/JavaMail/javamail-1.3/mail.jar"/>
    <classpathentry kind="lib" path="/Java
Activation/jaf-1.0.2/activation.jar"/>
    <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug
.ui.launcher.StandardVMType/Detected VM"/>
    <classpathentry kind="lib"
path="/JDBC2StandardExtensions/jdbc2_0-stdext.jar"/>
    <classpathentry kind="lib" path="lib/dnsjava-1.4.1.jar"/>
    <classpathentry kind="output" path="bin"/>
</classpath>

- - - - - - - - - - - - - - - - - -

This private and confidential e-mail has been sent to you by Synergy Systems Limited. 
It may not represent the views of Synergy Systems Limited.

If you are not the intended recipient of this e-mail and have received it in error, 
please notify the sender by replying with "received in error" as the subject and then 
delete it from your mailbox.


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

Reply via email to