Hi all,

I downloaded the source for the trunk and tried to compile it, but ran into
some minor issues...

The first problem is that "ant download" couldn't compile some dependencies
because I was using Java 1.6. I assumed this was OK as the verbiage states
something to the effect of Java 5 or greater. I installed the latest Java 5,
updated my JAVA_HOME variable, and "ant download" and "ant" worked fine. Is
1.6 expected to work?

Secondly, (even though I know it's "unsupported") I imported the stock
.project into my Eclipse workspace.
I had three minor issues: 

    1. org/apache/naming/factory/webservices isn't excluded in the
.classpath file as it is
        in the build.xml
    2. The Eclipse plugin has been updated, so the downloaded dependency was
3.3.1 
        while the .classpath expected 3.1.2
    3. The Ant JAR dependency was not downloaded, so I updated the
.classpath to use
        $ANT_HOME/lib/ant.jar 

diff of .classpath:

Index: .classpath
===================================================================
--- .classpath  (revision 609508)
+++ .classpath  (working copy)
@@ -16,10 +16,10 @@
   limitations under the License.
 -->
 <classpath>
-       <classpathentry
excluding="**/.svn/**|org/apache/tomcat/util/net/puretls/" kind="src"
path="java"/>
+       <classpathentry
excluding="**/.svn/**|org/apache/tomcat/util/net/puretls/|org/apache/naming/factory/webservices/"
kind="src" path="java"/>
        <classpathentry kind="src" path="webapps/examples/WEB-INF/classes"/>
        <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-       <classpathentry kind="var"
path="TOMCAT_LIBS_BASE/apache-ant-1.6.5/lib/ant.jar"/>
-       <classpathentry kind="var"
path="TOMCAT_LIBS_BASE/eclipse/plugins/org.eclipse.jdt.core_3.1.2.jar"/>
+       <classpathentry kind="var" path="ANT_HOME/lib/ant.jar"/>
+       <classpathentry kind="var"
path="TOMCAT_LIBS_BASE/eclipse/plugins/org.eclipse.jdt.core_3.3.1.v_780_R33x.jar"/>
        <classpathentry kind="output" path=".settings/output"/>
 </classpath>

Thanks,
Kirk
-- 
View this message in context: 
http://www.nabble.com/Minor-changes-needed-to-compile-trunk-and-import-into-Eclipse-tp14658709p14658709.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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

Reply via email to