Ok. After more consideration, I think I'll just skip the ant task use the command-line jelly interface.
> -----Original Message----- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 19, 2006 10:00 PM > To: Jakarta Commons Users List > Subject: Re: Can Jelly Ant tasks be used with Ant 1.5.4? > > I dont think there is any 'documentation' for it. > > From looking at > http://svn.apache.org/viewvc/jakarta/commons/proper/jelly/trun > k/jelly-tags/ant/src/java/org/apache/commons/jelly/task/JellyT ask.java?view=markup > > once you've taskdef'd it, you should be able to just set the 'file' > attribute and away you go: > > <jelly file="${basedir}/scripts/a.jelly"/> > > What did you use for the classpath of the taskdef'd task? It > would need to be all of Jelly's dependencies as well as jelly > and the ant tag lib. > > Jelly's dependencies are: > > jexl-1.0.jar, xml-apis-1.0.b2.jar, commons-beanutils-1.6.jar, > commons-collections-2.1.jar, commons-logging-1.0.3.jar, > dom4j-1.5.2.jar, jaxen-1.1-beta-4.jar, xerces-2.2.1.jar, > commons-lang-2.0.jar, jstl-1.0.6.jar > > > On 7/20/06, Karr, David <[EMAIL PROTECTED]> wrote: > > Ok, I see. > > > > After installing both jars, I was able to get the taskdef > to execute > > without complaining (the taskdef specifies a classpath > including both > > jars). However, when I tried executing "<jelly/>" in a target > > (because I don't know what the parameters are), it failed with a > > NoClassDefFoundError. Unfortunately, it didn't tell me > what class it > > couldn't find. > > > > Where is the documentation for the "jelly" ant task itself? > I see the > > documentation for the Jelly tags that can call ant, but not for the > > ant task. > > > > > -----Original Message----- > > > From: Dion Gillard [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, July 19, 2006 8:37 PM > > > To: Jakarta Commons Users List > > > Subject: Re: Can Jelly Ant tasks be used with Ant 1.5.4? > > > > > > Jelly has many 'tag libraries' available along with the > core jelly > > > tags. > > > > > > The 'ant tag library' is this one: > > > http://jakarta.apache.org/commons/jelly/libs/ant/ > > > > > > Get the jar from here: > > > > > > http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly- > > > tags-ant-1.1.jar > > > > > > On 7/20/06, Karr, David <[EMAIL PROTECTED]> wrote: > > > > And what is the "ant tag library"? I just searched all the > > > jar files > > > > in the Ant 1.6.5 distribution, and it's not there. > > > > > > > > > -----Original Message----- > > > > > From: Dion Gillard [mailto:[EMAIL PROTECTED] > > > > > Sent: Wednesday, July 19, 2006 6:08 PM > > > > > To: Jakarta Commons Users List > > > > > Subject: Re: Can Jelly Ant tasks be used with Ant 1.5.4? > > > > > > > > > > It's in the ant tag library. So you'll need that and the > > > core jelly > > > > > jar file to do the taskdef. > > > > > > > > > > On 7/20/06, Karr, David <[EMAIL PROTECTED]> wrote: > > > > > > What jar file is that class in? I can't find it in the > > > Jelly 1.0 > > > > > > distribution. Googling for it hasn't helped much. > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Paul Libbrecht [mailto:[EMAIL PROTECTED] > > > > > > > Sent: Tuesday, July 11, 2006 12:52 AM > > > > > > > To: Jakarta Commons Users List > > > > > > > Subject: Re: Can Jelly Ant tasks be used with Ant 1.5.4? > > > > > > > > > > > > > > I haven't tested it but there's: > > > > > > > org.apache.commons.jelly.task.JellyTask > > > > > > > that should do the trick provided you have > included all the > > > > > > > dependencies in the classpath. > > > > > > > hope that helps. > > > > > > > > > > > > > > paul > > > > > > > > > > > > > > > > > > > > > Karr, David wrote: > > > > > > > > Ok, then is it straightforward to write a Jelly > script to > > > > > > > do sql work, > > > > > > > > that can then be easily executed from an Ant script? > > > > > > > > > > > > > > > > > > > > > > > >> -----Original Message----- > > > > > > > >> From: Dion Gillard [mailto:[EMAIL PROTECTED] > > > > > > > >> Sent: Saturday, July 08, 2006 4:41 AM > > > > > > > >> To: Jakarta Commons Users List > > > > > > > >> Subject: Re: Can Jelly Ant tasks be used with > Ant 1.5.4? > > > > > > > >> > > > > > > > >> David, > > > > > > > >> > > > > > > > >> are you talking about the Jelly SQL Tag Library? > > > > > > > >> > > > > > > > >> If so, the sql tag library is NOT a set of Ant tasks, > > > > > > > >> it's > > > > > > > a set of > > > > > > > >> tags to be used within a Jelly script, not an ant > > > build file. > > > > > > > >> > > > > > > > >> Does this help? > > > > > > > >> > > > > > > > >> On 7/8/06, Karr, David <[EMAIL PROTECTED]> wrote: > > > > > > > >> > > > > > > > >>> I've never used Jelly before. I noticed that it has > > > > > some pretty > > > > > > > >>> powerful SQL Ant tasks. However, I'm limited to Ant > > > > > > > 1.5.4 for now. > > > > > > > >>> Will the Jelly Ant tasks work with Ant 1.5.4? > > > > > > > >>> > > > > > > > >>> > > > > > > > >>> > > > > > > > >> > > > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > > > > > - > > > > > > > >> > > > > > > > >>> To unsubscribe, e-mail: > > > > > > > [EMAIL PROTECTED] > > > > > > > >>> For additional commands, e-mail: > > > > > > > >>> > > > > > > > >> [EMAIL PROTECTED] > > > > > > > >> > > > > > > > >>> > > > > > > > >> -- > > > > > > > >> http://www.multitask.com.au/people/dion/ > > > > > > > >> "If you even dream of beating me you'd better > wake up and > > > > > > > apologize" > > > > > > > >> - Muhammad Ali > > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > > > > > - > > > > > > > >> To unsubscribe, e-mail: > > > > > > > >> [EMAIL PROTECTED] > > > > > > > >> For additional commands, e-mail: > > > > > > > [EMAIL PROTECTED] > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > > > > > - > > > > > > > > To unsubscribe, e-mail: > > > > > > > > [EMAIL PROTECTED] > > > > > > > > For additional commands, e-mail: > > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > > > - > > > > > > To unsubscribe, e-mail: > > > > > > [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://www.multitask.com.au/people/dion/ > > > > > "If you even dream of beating me you'd better wake up and > > > apologize" > > > > > - Muhammad Ali > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > > > - To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------- > > > - > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > http://www.multitask.com.au/people/dion/ > > > "If you even dream of beating me you'd better wake up and > apologize" > > > - Muhammad Ali > > > > > > > -------------------------------------------------------------------- > > > - To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > -- > http://www.multitask.com.au/people/dion/ > "If you even dream of beating me you'd better wake up and > apologize" - Muhammad Ali > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
