You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Mark Cohen <ma...@earthlink.net> on 2003/08/13 00:56:31 UTC
Jelly: Need Help Installing
I am a college professor with plans on covering Jelly in my "structure of programming" course this fall. I have spent the entire day trying to install Jelly without success. Following the directions, I installed Maven and fetched the most recent version of Jelly from CVS. Next, I ran "maven test", and after a few of the jar files downloaded into the repository I got a NullPointerException. I tried several things after this (I will not go into the details) and I still have not be able to get a working copy of Jelly.
Can anyone help me get Jelly installed? Also, what is the bare minimum that can be installed in order to just use Jelly's core functionality? I would like to make it as simple as possible for my students to install and start using Jelly.
Thanks in advance,
Mark Cohen
Instructor - Computer Science Department
Lock Haven University
Re: Jelly: Need Help Installing
Posted by Paul Libbrecht <pa...@activemath.org>.
Jelly is in a not so glorious state in terms of distribution currently...
What I would suggest for your purpose is to follow the dependencies in
project.xml manually: using http://www.ibiblio.org/maven/ you get all
the jars (presumably in one place) and then even get a not too late jelly.
You can also avoid running the tests. It's kind of unsafe but... it
could get you working also:
maven -Dmaven.test.skip=true jar
Paul
Mark Cohen wrote:
> I am a college professor with plans on covering Jelly in my "structure of programming" course this fall. I have spent the entire day trying to install Jelly without success. Following the directions, I installed Maven and fetched the most recent version of Jelly from CVS. Next, I ran "maven test", and after a few of the jar files downloaded into the repository I got a NullPointerException. I tried several things after this (I will not go into the details) and I still have not be able to get a working copy of Jelly.
>
> Can anyone help me get Jelly installed? Also, what is the bare minimum that can be installed in order to just use Jelly's core functionality? I would like to make it as simple as possible for my students to install and start using Jelly.
Re: Jelly: Need Help Installing
Posted by Mark Cohen <ma...@earthlink.net>.
Thanks, I got it to compile! I think the key was to comment out the <extend> element. I was getting an error because this element was pointing to ../project.xml but that file is in the current directory not the parent. I had changed this element to point to ./project.xml to get it to run, but I suspect this was the cause of my problems. When I commented out the <extend> element and used the skip.tests variable you suggested, the compile completed.
Now the question is how do I get a simple Jelly script to run? I tried running a script by putting the required jars in my class path and running org.apache.commons.jelly.Jelly but I get the following error:
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/XMLReader class
Any idea what is the correct way to run a simple Hello World script? Also, what is the minimal set of JAR files required to use the jelly-core? Would they be all the JARs in the jelly/target/lib folder? That seems like overkill for a minimal Jelly script?
Thanks,
Mark
----- Original Message -----
From: Paul Libbrecht
To: Jakarta Commons Users List
Sent: Tuesday, August 12, 2003 7:46 PM
Subject: Re: Jelly: Need Help Installing
Mark,
I'm surprised that you couldn't compile.
Which version did you grab ?
I would recommend to follow the cvs-checkout.
At least on this, after commenting out the "<extend>" element, "maven
jar" builds fine by me (including tests).
For taglibs, the problem will come a bit later that some dependencies
are not distributable as easily hence need manual work...
Paul
Mark Cohen wrote:
> I am a college professor with plans on covering Jelly in my "structure of programming" course this fall. I have spent the entire day trying to install Jelly without success. Following the directions, I installed Maven and fetched the most recent version of Jelly from CVS. Next, I ran "maven test", and after a few of the jar files downloaded into the repository I got a NullPointerException. I tried several things after this (I will not go into the details) and I still have not be able to get a working copy of Jelly.
>
> Can anyone help me get Jelly installed? Also, what is the bare minimum that can be installed in order to just use Jelly's core functionality? I would like to make it as simple as possible for my students to install and start using Jelly.
>
> Thanks in advance,
> Mark Cohen
> Instructor - Computer Science Department
> Lock Haven University
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: Jelly: Need Help Installing
Posted by Paul Libbrecht <pa...@activemath.org>.
Mark,
I'm surprised that you couldn't compile.
Which version did you grab ?
I would recommend to follow the cvs-checkout.
At least on this, after commenting out the "<extend>" element, "maven
jar" builds fine by me (including tests).
For taglibs, the problem will come a bit later that some dependencies
are not distributable as easily hence need manual work...
Paul
Mark Cohen wrote:
> I am a college professor with plans on covering Jelly in my "structure of programming" course this fall. I have spent the entire day trying to install Jelly without success. Following the directions, I installed Maven and fetched the most recent version of Jelly from CVS. Next, I ran "maven test", and after a few of the jar files downloaded into the repository I got a NullPointerException. I tried several things after this (I will not go into the details) and I still have not be able to get a working copy of Jelly.
>
> Can anyone help me get Jelly installed? Also, what is the bare minimum that can be installed in order to just use Jelly's core functionality? I would like to make it as simple as possible for my students to install and start using Jelly.
>
> Thanks in advance,
> Mark Cohen
> Instructor - Computer Science Department
> Lock Haven University
>
Re: Jelly: Need Help Installing
Posted by Mark Cohen <ma...@earthlink.net>.
I think I will give up on Jelly for this course and use SVG and XSLT for my XML-based languages. I will look at Jelly again next Fall.
Thanks a lot for your help, it was much appreciated.
Mark
----- Original Message -----
From: Paul Libbrecht
To: Jakarta Commons Users List
Sent: Wednesday, August 13, 2003 4:23 AM
Subject: Re: Jelly: Need Help Installing
Mark Cohen wrote:
> I am using Maven 1.0 Beta 10. I think I found my problem.
> As suggested, by commenting out the <extend> element in the jelly
> project.xml file it seemed to compile OK.
Note that you shouldn't need to ignore test-results!
(at least for the core, I think some tags still have failing tests).
However, I suspect there are other problems because
> I cannot get any of the demo scripts to run (i.e. demo:swing).
> Maven cannot find the demo goal, it does not appear to be in
> the project.xml file.
maven demo:swing has to be done from jelly-tags/swing directory, yet
another documentation missing.
That's exactly the current poor situation of Jelly: the tag-libraries
splitting from the main-project has been mainly done at the code and
build level but is missing at the documentation-level....
> java.lang.LinkageError: loader constraints violated when linking org/xml/sax/XMLReader class
This is probably because you don't have the appropriate classpath.
If you brows the archive about a month ago, I've posted bits from a
project that will be called "jellypack" which generates the classpath
for you.
Hope that helps.
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: Jelly: Need Help Installing
Posted by Paul Libbrecht <pa...@activemath.org>.
Mark Cohen wrote:
> I am using Maven 1.0 Beta 10. I think I found my problem.
> As suggested, by commenting out the <extend> element in the jelly
> project.xml file it seemed to compile OK.
Note that you shouldn't need to ignore test-results!
(at least for the core, I think some tags still have failing tests).
However, I suspect there are other problems because
> I cannot get any of the demo scripts to run (i.e. demo:swing).
> Maven cannot find the demo goal, it does not appear to be in
> the project.xml file.
maven demo:swing has to be done from jelly-tags/swing directory, yet
another documentation missing.
That's exactly the current poor situation of Jelly: the tag-libraries
splitting from the main-project has been mainly done at the code and
build level but is missing at the documentation-level....
> java.lang.LinkageError: loader constraints violated when linking org/xml/sax/XMLReader class
This is probably because you don't have the appropriate classpath.
If you brows the archive about a month ago, I've posted bits from a
project that will be called "jellypack" which generates the classpath
for you.
Hope that helps.
Paul
Re: Jelly: Need Help Installing
Posted by Mark Cohen <ma...@earthlink.net>.
I am using Maven 1.0 Beta 10. I think I found my problem. As suggested, by commenting out the <extend> element in the jelly project.xml file it seemed to compile OK. However, I suspect there are other problems because I cannot get any of the demo scripts to run (i.e. demo:swing). Maven cannot find the demo goal, it does not appear to be in the project.xml file.
-Mark
----- Original Message -----
From: dion@multitask.com.au
To: Jakarta Commons Users List
Sent: Tuesday, August 12, 2003 9:28 PM
Subject: Re: Jelly: Need Help Installing
Which version of maven did u install?
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
"Mark Cohen" <ma...@earthlink.net> wrote on 13/08/2003 08:56:31
AM:
> I am a college professor with plans on covering Jelly in my
> "structure of programming" course this fall. I have spent the
> entire day trying to install Jelly without success. Following the
> directions, I installed Maven and fetched the most recent version of
> Jelly from CVS. Next, I ran "maven test", and after a few of the
> jar files downloaded into the repository I got a
> NullPointerException. I tried several things after this (I will not
> go into the details) and I still have not be able to get a working
> copy of Jelly.
>
> Can anyone help me get Jelly installed? Also, what is the bare
> minimum that can be installed in order to just use Jelly's core
> functionality? I would like to make it as simple as possible for my
> students to install and start using Jelly.
>
> Thanks in advance,
> Mark Cohen
> Instructor - Computer Science Department
> Lock Haven University
Re: Jelly: Need Help Installing
Posted by di...@multitask.com.au.
Which version of maven did u install?
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
"Mark Cohen" <ma...@earthlink.net> wrote on 13/08/2003 08:56:31
AM:
> I am a college professor with plans on covering Jelly in my
> "structure of programming" course this fall. I have spent the
> entire day trying to install Jelly without success. Following the
> directions, I installed Maven and fetched the most recent version of
> Jelly from CVS. Next, I ran "maven test", and after a few of the
> jar files downloaded into the repository I got a
> NullPointerException. I tried several things after this (I will not
> go into the details) and I still have not be able to get a working
> copy of Jelly.
>
> Can anyone help me get Jelly installed? Also, what is the bare
> minimum that can be installed in order to just use Jelly's core
> functionality? I would like to make it as simple as possible for my
> students to install and start using Jelly.
>
> Thanks in advance,
> Mark Cohen
> Instructor - Computer Science Department
> Lock Haven University