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
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.
[EMAIL PROTECTED] 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]