Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 87996 invoked from network); 8 Aug 2003 04:01:02 -0000 Received: from imail02.cis.cat.com (12.2.142.8) by daedalus.apache.org with SMTP; 8 Aug 2003 04:01:02 -0000 Received: from intramail.cis.cat.com (intramail.cis.cat.com [165.26.152.8]) by imail02.cis.cat.com (Switch-2.2.6/Switch-2.1.0) with ESMTP id h7841BG00748 for ; Thu, 7 Aug 2003 23:01:11 -0500 Received: from mail.minestar.au.cat.com (mail.minestar.au.cat.com [172.30.44.22]) by intramail.cis.cat.com (Switch-2.2.6/Switch-2.1.0) with ESMTP id h78414R28486 for ; Thu, 7 Aug 2003 23:01:09 -0500 Received: from 172.30.44.190 (unknown [172.30.44.190]) by mail.minestar.au.cat.com (Postfix) with ESMTP id A842723901 for ; Fri, 8 Aug 2003 14:00:51 +1000 (EST) From: John Farrell Organization: Caterpillar Global Mining To: "Jakarta Commons Users List" Subject: jelly demos don't compile even with the jars Date: Fri, 8 Aug 2003 14:03:57 +1000 User-Agent: KMail/1.5 References: <8D585857D762F741A47C1E1597FEAD3003B689@bigcow.intraephox.ephox.com> In-Reply-To: <8D585857D762F741A47C1E1597FEAD3003B689@bigcow.intraephox.ephox.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_tEyM/5T/HMHMpp/" Message-Id: <200308081403.57057.Farrell_John_W@cat.com> X-Screened: imail02.cis.cat.com X-Screened: intramail.cis.cat.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --Boundary-00=_tEyM/5T/HMHMpp/ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline After the long saga of finding the mysterious jars required for jelly, demo:swing now fails during compilation. For example, /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:59: cannot resolve symbol symbol : class ServiceDiscovery location: package discovery import org.apache.commons.discovery.ServiceDiscovery; Full details are in the attached file compile_errors.txt. Help please? I made notes on the jar-finding expedition. As I feared, xsdlib-20020414.jar is not available, so jelly depends on an unpackaged library which can no longer be obtained. Full notes are in how_to_jelly.txt. I don't see the point in updating the Getting Started doc unless I can actually get a tutorial running at some point. Thanks to Adrian for the early lunch suggestion. John --Boundary-00=_tEyM/5T/HMHMpp/ Content-Type: text/plain; charset="iso-8859-1"; name="how_to_jelly.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="how_to_jelly.txt" jdbc-2.0.jar Go to http://java.sun.com/downloads/ Choose JDBC Optional Package 2.0 from the Full J2SE Technology Downloads List, click on Go. Next to JDBC(TM) Optional Package Binary, click on the continue button. ACCEPT the licence agreement, presuming you do agree. Click on Download jdbc2_0-stdext.jar to download the file. I found that right-clicking and choosing Save As did not work. Copy the saved file to your repository, usually $HOME/.maven/repository/jdbc/jars/jdbc-2.0.jar, making any directories you need. jms-1.0.2b.jar Choose JMS Documentation 1.02b from the Full J2EE Technology Downloads List, Click on Go. After "Download the version 1.0.2b API Documentation, Jar, and Source" click on continue ACCEPT the licence agreement, presuming you do agree. Save the file jms-1_0_2b.zip Unzip the zip Copy lib/jms.jar from the new directory to jms/jars/jms-1.0.2b.jar in your repository. xsdlib-20020414.jar Go to http://wwws.sun.com/software/xml/developers/xsdlib2/index.html Click on download. You may need to register with the Java Developer Connection. ACCEPT the licence agreement, presuming you do agree. Click on "Sun XML Datatypes Library 2.2" and save the file. Unzip the zip Copy xsdlib.jar from the new directory to xsdlib/jars/xsdlib-20020414.jar in your repository. The versions don't match, but that's what Sun's shipping these days. --Boundary-00=_tEyM/5T/HMHMpp/ Content-Type: text/plain; charset="iso-8859-1"; name="compile_errors.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="compile_errors.txt" [john@yellowcake jelly]$ maven demo:swing __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 Attempting to download commons-digester-SNAPSHOT.jar. Attempting to download commons-discovery-SNAPSHOT.jar. Attempting to download commons-betwixt-SNAPSHOT.jar. Attempting to download quartz-SNAPSHOT.jar. java:prepare-filesystem: java:compile: [echo] Compiling to /home/john/jelly/target/classes [javac] Compiling 222 source files to /home/john/jelly/target/classes /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:59: cannot resolve symbol symbol : class ServiceDiscovery location: package discovery import org.apache.commons.discovery.ServiceDiscovery; ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:60: cannot resolve symbol symbol : class ServiceInfo location: package discovery import org.apache.commons.discovery.ServiceInfo; ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:83: cannot resolve symbol symbol : class ServiceDiscovery location: class org.apache.commons.jelly.impl.DefaultTagLibraryResolver private ServiceDiscovery discovery; ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:206: cannot resolve symbol symbol : class ServiceDiscovery location: class org.apache.commons.jelly.impl.DefaultTagLibraryResolver public ServiceDiscovery getServiceDiscovery() { ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:218: cannot resolve symbol symbol : class ServiceDiscovery location: class org.apache.commons.jelly.impl.DefaultTagLibraryResolver public void setServiceDiscovery(ServiceDiscovery discovery) { ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:113: cannot resolve symbol symbol : class ServiceDiscovery location: class org.apache.commons.jelly.impl.DefaultTagLibraryResolver ServiceDiscovery discovery = getServiceDiscovery(); ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:121: cannot resolve symbol symbol : class ServiceInfo location: class org.apache.commons.jelly.impl.DefaultTagLibraryResolver ServiceInfo[] infoArray = discovery.findServices(name); ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:125: cannot resolve symbol symbol : class ServiceInfo location: class org.apache.commons.jelly.impl.DefaultTagLibraryResolver ServiceInfo info = infoArray[i]; ^ /home/john/jelly/src/java/org/apache/commons/jelly/impl/DefaultTagLibraryResolver.java:208: cannot resolve symbol symbol : variable ServiceDiscovery location: class org.apache.commons.jelly.impl.DefaultTagLibraryResolver discovery = ServiceDiscovery.getServiceDiscovery(); ^ 9 errors BUILD FAILED File...... file:/home/john/.maven/plugins/maven-java-plugin-1.3/ Element... ant:javac Line...... 55 Column.... 48 Compile failed; see the compiler error output for details. Total time: 19 seconds --Boundary-00=_tEyM/5T/HMHMpp/--