commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc DEXET <Marc.De...@dsi.cnrs.fr>
Subject RE: RE : Jelly and forehead problem
Date Tue, 23 Dec 2003 22:04:10 GMT
New version (I'am debugging...)
It looks better this way
[root@localhost root]# java -Djelly.home=/usr/local/jelly/
-Dtools.jar=/opt/java/lib/tools.jar     -Dant.home=/opt/obox/ant
-Dforehead.conf.file=/usr/local/jelly/bin/forehead.conf     -cp
/usr/local/jelly/lib/forehead-1.0-beta-6-SNAPSHOT.jar
com.werken.forehead.Forehead $*
************ line ***********/opt/obox/ant/lib/*.jar
return true
return true
suffix
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
suffix
************ line ***********/usr/local/jelly//lib/*.jar
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
return true
************ line ***********/usr/local/jelly//custom/*.jar
return true
Usage: jelly [scriptFile] [-script scriptFile -o outputFile
-Dsysprop=syspropval]
----------------------------------------------------------------------------
-

Ok.
But my forhead.conf ?
.. not changed
----------------------------------------------------------------------------
-
+ant.home
+jelly.home
+tools.jar

=[root.jelly] org.apache.commons.jelly.Jelly

[root]

[root.jelly]
  ${ant.home}/lib/*.jar
  ${jelly.home}/lib/*.jar
  ${jelly.home}/custom/*.jar
----------------------------------------------------------------------------
-



-----Original Message-----
From: Marc DEXET
To: ''Jakarta Commons Users List ' '
Sent: 12/23/03 10:45 PM
Subject: RE: RE : Jelly and forehead problem

Hello people.
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 !

That's almost ok, and I don't talk about sun lib ...

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

------------------------------------------------------------------------
----
-

[root@localhost bin]# java -Djelly.home=/usr/local/jelly/bin/jelly
-Dtools.jar=/opt/java/lib/tools.jar     -Dant.home=/opt/obox/ant/bin/ant
-Dforehead.conf.file=/usr/local/jelly/bin/forehead.conf     -cp
/usr/local/jelly/lib/forehead-1.0-beta-2.jar
com.werken.forehead.Forehead $*
java.lang.NullPointerException
        at com.werken.forehead.Forehead.loadGlob(Forehead.java:374)
        at com.werken.forehead.Forehead.load(Forehead.java:317)
        at com.werken.forehead.Forehead.config(Forehead.java:245)
        at com.werken.forehead.Forehead.config(Forehead.java:131)
        at com.werken.forehead.Forehead.main(Forehead.java:571)

------------------------------------------------------------------------
----
-


Some ideas ?

Thanks

Marc DeXeT

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

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


Mime
View raw message