Hi Stephen

Judging from your recent patch to Jelly, I think you've figured out a neat
way around this problem - well done! :-)

However going forward, I'd really like it if new Jelly libraries could be
loaded dynamically, just like new plugins can be within Maven. I've added it
to Jelly's to do list.

James
-------
http://james.weblogger.com/
----- Original Message -----
From: "Stephen Haberman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 11:15 AM
Subject: defining custom java jelly tags?


> Hi,
>
> I'm working on torque's maven.xml and want to use a jelly tag. I've got
> o.a.torque.test.TorqueRunner and o.a.torque.test.TorqueRunnerLibrary
> (I'll move to a more standard XxxTag schema once I get some more stuff
> working).
>
> But now I want to use this in maven.xml but can't seem to hack my way in
> to it.
>
> I'm trying something like:
>
> <project default="java:jar"
>   xmlns:j="jelly:core"
>   xmlns:m="maven"
>   xmlns:reactor="reactor"
>   xmlns:deploy="deploy"
>   xmlns:maven="jelly:org.apache.torque.test.TorqueRunnerLibrary">
>
> .
>     <torque:loopTestProperties
>       configurationFile="${rttest.target.dir}/Torque.properties"
> .
>
> I get a WARN in the log saying it can't find the class and so the
> torque:loopTestProperties just comes out as vanilla text, which I
> imagine because it's not looking in the source/compiled classes of
> Torque itself. (Though I did try adding torque as a dependency to itself
> to see if having it in maven-classpath would let Maven/Jelly find it,
> but it was no good).
>
> I've looked at the define:xxx tags, but they seem to be for dynamic tags
> written in jelly, not java.
>
> This is perhaps more of a Jelly question, but it's heavily wrapped in
> Maven, so I thought I'd ask here.
>
> Any help would be greatly appreciated,
> Stephen
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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

Reply via email to