commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: Query about Jelly
Date Wed, 23 Jun 2004 08:14:17 GMT

On 23-Jun-04, at 08:40 Uhr, Ritesh Tonk wrote:
> I am not sure if this is the right place to put in technical queries,  
> but I would be grateful if someone pointed to me the right place to do  
> so.
>
> I am facing the following problems with Jelly
>
> 1. Using the source code available on site, I get build errors. (The  
> build errors are resolved when I use the latest code from CVS)

We need a newer release... that's a known fact only prevented from by  
time...

> 2. Even for the latest code, "maven dist" build fails. I get the  
> following error
>
> BUILD FAILED
> File......  
> /home/rtonk/.maven/plugins/plugins/maven-xdoc-plugin-1.7.2-SNAPSHOT/ 
> plugin.jelly
> Element... x:parse
> Line...... 356
> Column.... 49
> /home/rtonk/Softwares/jakarta-commons/commons-build/menus/menus.dtd  
> (No such file or directory) Nested exception:  
> /home/rtonk/Softwares/jakarta-commons/commons-build/menus/menus.dtd  
> (No such file or directory)
> Total time: 6 minutes 21 seconds
> Finished at: Wed Jun 23 17:20:56 IST 2004

This tastes like you need to checkout the commons-build as well...
For some reason, web-site and documentation are the same thing (maybe  
that should be tackled) so that it tries to build the web-site for the  
distribution which involves common things in jakarta-commons...
Indeed it shows a bone...

> 3. When I try to run "jelly" from bin directory, I get the following  
> exception:
> Exception in thread "main" java.lang.NoClassDefFoundError:  
> com/werken/forehead/Forehead

well sure, that's just the source bin...

Try running "maven pack-fat-jar", this will create target/fatjelly.jar,  
an 8Mb archive which is a merge of all the jars needed in order to run  
jelly with the taglibs:  
ant,bean,beanshell,betwixt,define,dynabean,fmt,html,http,interaction,jun 
it,jsl,log,swing,threads,util,validate,velocity,xml, and xmlunit.

This doesn't make a jelly command but you can make your own as it is a  
"double-clickable-jar" (well, Usage: jelly [scriptFile] [-script  
scriptFile -o outputFile -Dsysprop=syspropval])

Hope that helps.
Indeed, a bug should be filed about the inappropriateness of the dist  
dependency on the commons-build.

paul


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message