Sorry to sound like such a newbie, but actually, I'm reasonably skilled, just new to 
Jelly.

I'm simply trying to download, build, deploy, and use Jelly, or at least the examples.

1. go to http://jakarta.apache.org/commons/jelly/
2. download <commons-jelly-1.0-beta-3.zip> and expand
3. download + install maven latest
4. download + install ant 1.6 latest
5. config + test ant + maven + make sure they run well
6. go to new directory c:\commons-jelly-1.0-beta-3 and type "ant"
7. watch maven choke trying to download ancient (2002) versions of libraries obviously 
no longer on the web anywhere
8. get zillions of compile errors because many of the key jars aren't downloaded 
(obviously)

I'm also strong on Unix but I think that's irrelevant for this discussion; it should 
simply work, right?  If you know how to build jelly on Unix, let me know and I'll work 
on my linux box... but hey, look, this is just plain busted out of the box.

For example:

C:\commons-jelly-1.0-beta-3>ant
Buildfile: build.xml

init:

get-deps:
      [get] Getting: http://www.ibiblio.org/maven/junit/jars/junit-3.7.jar
      [get] Not modified - so not downloaded
      [get] Getting: http://www.ibiblio.org/maven/javadoc/jars/javadoc-1.3.jar
      [get] Not modified - so not downloaded
      [get] Getting: http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-2.0.2.jar
      [get] Not modified - so not downloaded
      [get] Getting: http://www.ibiblio.org/maven/xerces/jars/xerces-2.0.0.jar
      [get] Not modified - so not downloaded
      [get] Getting: http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar
      [get] Not modified - so not downloaded
      [get] Getting: 
http://www.ibiblio.org/maven/ant+optional/jars/ant-optional-1.5.jar
      [get] Error opening connection java.io.FileNotFoundException: 
http://www.ibiblio.org/maven/ant+optional/jars/ant-optional-1.5.jar
      [get] Error opening connection java.io.FileNotFoundException: 
http://www.ibiblio.org/maven/ant+optional/jars/ant-optional-1.5.jar
      [get] Error opening connection java.io.FileNotFoundException: 
http://www.ibiblio.org/maven/ant+optional/jars/ant-optional-1.5.jar
      [get] Can't get 
http://www.ibiblio.org/maven/ant+optional/jars/ant-optional-1.5.jar to 
C:\commons-jelly-1.0-beta-3\lib\ant-optional-1.5.jar
      [get] Getting: 
http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.jar

and then later I get (obviously)

    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MessageTag.java:110: cannot resolve symbol
    [javac] symbol  : method setVariable  (java.lang.String,javax.jms.Message)
    [javac] location: class org.apache.commons.jelly.JellyContext
    [javac]             context.setVariable( var, getMessage() );
    [javac]                    ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MessageTag.java:137: operator == cannot be applied to javax.jms.Message,<null
>
    [javac]         if ( message == null ) {
    [javac]                      ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MessageTag.java:150: cannot resolve symbol
    [javac] symbol  : method setJMSCorrelationID  (java.lang.String)
    [javac] location: class javax.jms.Message
    [javac]         getMessage().setJMSCorrelationID(correlationID);
    [javac]                   ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MessageTag.java:157: cannot resolve symbol
    [javac] symbol  : method setJMSReplyTo  (javax.jms.Destination)
    [javac] location: class javax.jms.Message
    [javac]         getMessage().setJMSReplyTo(destination);
    [javac]                   ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MessageTag.java:164: cannot resolve symbol
    [javac] symbol  : method setJMSType  (java.lang.String)
    [javac] location: class javax.jms.Message
    [javac]         getMessage().setJMSType(type);
    [javac]                   ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MapMessageTag.java:81: cannot resolve symbol
    [javac] symbol  : class MapMessage
    [javac] location: class org.apache.commons.jelly.tags.jms.MapMessageTag
    [javac]         MapMessage message = (MapMessage) getMessage();
    [javac]         ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MapMessageTag.java:81: cannot resolve symbol
    [javac] symbol  : class MapMessage
    [javac] location: class org.apache.commons.jelly.tags.jms.MapMessageTag
    [javac]         MapMessage message = (MapMessage) getMessage();
    [javac]                               ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MapMessageTag.java:92: cannot resolve symbol
    [javac] symbol  : class MapMessage
    [javac] location: class org.apache.commons.jelly.tags.jms.MapMessageTag
    [javac]         MapMessage message = (MapMessage) getMessage();
    [javac]         ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MapMessageTag.java:92: cannot resolve symbol
    [javac] symbol  : class MapMessage
    [javac] location: class org.apache.commons.jelly.tags.jms.MapMessageTag
    [javac]         MapMessage message = (MapMessage) getMessage();
    [javac]                               ^
    [javac] C:\commons-jelly-1.0-beta-3\src\java\org\apache\commons\jelly\tags\j
ms\MessageOperationTag.java:78: getConnection() in org.apache.commons.jelly.tags
.jms.MessageOperationTag cannot implement getConnection() in org.apache.commons.
jelly.tags.jms.ConnectionContext; overridden method does not throw javax.jms.JMS
Exception

and many more unrelated to JMS; it's just a nonfunctional beta that hasn't been 
touched since 2002 in my humble opinion.

Tried it with ant 1.5 as well to no avail; running with Maven beta 3 (latest).

What must I do to get Jelly to build + run? 

- David

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

Reply via email to