You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Marc DEXET <Ma...@dsi.cnrs.fr> on 2003/12/24 10:47:41 UTC

RE : RE : Jelly and forehead problem

Hello Paul, 
Fine for website update, 
just one point : the URL for example sources from tutorial are outdated :
( example for : jellySwing the link is 
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/src/test/org/apache/
commons/jelly/tags/swing/example.jelly?rev=HEAD&content-type=text/vnd.viewcv
s-markup).

For my 'forehead' concern, it's just
because of it looks a nice way for final user to use Jelly.
Of course it work with a classic approach : 
java -classpath `find $JELLY_HOME/ -name "*.jar" | tr "\n" ":"`
org.apache.commons.jelly.Jelly hello.jelly

The '$*' stuff come from what's werken's people call the example_ticket...
script
take a look at http://forehead.werken.com/usage.html

Thanks

............................................
Marc DeXeT
Direction des Systèmes d'Informations
Centre National de la Recherche Scientifique
                ~ * ~
Information System Direction
National Center for Scientific Research
http://www.cnrs.fr 
............................................






-----Message d'origine-----
De : Paul Libbrecht [mailto:paul@activemath.org] 
Envoyé : mardi 23 décembre 2003 23:21
À : Jakarta Commons Users List
Objet : Re: RE : Jelly and forehead problem


> Marc,



On 23-Dec-03, at 22:45 Uhr, Marc DEXET wrote:
>> I have partially solutionned my previous problem.
>> Jelly was unable to find the right .jar, because of I had not build 
>> jelly-tags (sorry I'm new in jakarta world :0)
>>
>> So don't forget maven tags:build !

> Cool, that's fixed in the documentation on the website now!


>> My next probem is always forehead;
>> I'm using ths example script, but it doesn't work.

> Allow me to ask why you want to use forehead imperatively ?
> I know jelly works very fine with a flat classpath...
> e.g. something like the following works:

> java -classpath `find . -name "*.jar" | tr "\n" ":"` \
> 	org.apache.commons.jelly.Jelly \
> 	file.jelly \
> 	arg1 arg2 ...

>presuming all the jars you need are in the current directory or  
>somewhere below it.
>(instead of "." after the find, I would hope /usr/local/jelly would do  
>as well).



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