Re: [jelly] How to make a large Jelly-SQL script more memory efficient?

2007-07-09 Thread Paul Libbrecht
David, I do not see any other way than programmatically separating the lines of the SQL query. Is this doable ? Like, if it's a backup, it probably has a chance that each query is a line, or ? If yes, then it should be pretty easy to use a LineNumberReader and feed each line as an SQL

Re: flexible byte-stream storage? [vfs] [cache] ??

2007-03-14 Thread Paul Libbrecht
is usable. BDB only handles bytestreams, no concrete java objects. You can store any sized bytestream in it and the library is fast. Greetings, Lian On 3/14/07, Thorbjørn Ravn Andersen [EMAIL PROTECTED] wrote: Paul Libbrecht skrev den 21-02-2007 21:22: Thanks for the hint of a directory split

Re: flexible byte-stream storage? [vfs] [cache] ??

2007-02-21 Thread Paul Libbrecht
Thorbjørn Ravn Andersen wrote: maybe this should be directed to some other list... I am in the quest of a library to store, key-based, byte-streams of very varying sizes in large quantities. I need to read and write, multithreaded, and I have big and small byte-streams, from 50 bytes till 3

flexible byte-stream storage? [vfs] [cache] ??

2007-02-13 Thread Paul Libbrecht
hello List, maybe this should be directed to some other list... I am in the quest of a library to store, key-based, byte-streams of very varying sizes in large quantities. I need to read and write, multithreaded, and I have big and small byte-streams, from 50 bytes till 3 mega-bytes. Files

Re: Commons Pool.. anyone using?

2007-01-09 Thread Paul Libbrecht
We're happily using this within ActiveMath... the in-memory one... it keeps our memory requirement for cached transformed items pretty low and is working very fine. I've been starting to implement with the File-based one... seems to be working fine as well without making too big number of

Re: [Jelly] Exiting a jelly script w/wo exitcode

2006-12-19 Thread Paul Libbrecht
Anders, there's no tag for that, it would be easy to make, but you use invokeStatic tag for this in the meantime, or? paul Anders Kofoed wrote: Hi Jelly users, I'm a newbie to Jelly script and are in the process of evaluating Jelly script for future use in deployment of our systems.

Re: [Jelly] Exiting a jelly script w/wo exitcode

2006-12-19 Thread Paul Libbrecht
Remember, remember... java-under-the-hood! var=0 is not useful by the way. paul Anders Kofoed wrote: Thanks for your fast replies I did consider the break method, but I need something that will exit completely. It worked using the invokeStatic ! j:invokeStatic

Re: [commons-jelly] JellyDoc report plugin for maven 2?

2006-12-18 Thread Paul Libbrecht
I wouldn't know of such a thing. To me maven 2 rather means jelly was too painful so I never touched that, but that is really a personal opinion. You might want to ask at the maven lists since they are much more involved in plugins than jelly folks are. paul Rohnny Moland wrote: I am

Re: Jelly email

2006-10-09 Thread Paul Libbrecht
wrote: Thanks, I'll let you know. On 10/4/06, Dion Gillard [EMAIL PROTECTED] wrote: I'd happily go with an email2 On 10/4/06, Paul Libbrecht [EMAIL PROTECTED] wrote: Should we set as requirement compatibility to the previous email tag-lib or should we just do this an email2 tag

Re: Jelly email

2006-10-04 Thread Paul Libbrecht
example jelly later on. Mark On 9/26/06, Paul Libbrecht [EMAIL PROTECTED] wrote: What are the dependencies ? I know that the javamail (and activation) dependencies of commons-jelly-email have been a problem to many. If you can minimize this, it would be interesting. Can you also send

Re: Jelly email

2006-10-01 Thread Paul Libbrecht
: Hmmm, same dependencies I'm afraid. I'll sort out some example jelly later on. Mark On 9/26/06, *Paul Libbrecht* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: What are the dependencies ? I know that the javamail

Re: Jelly email

2006-09-26 Thread Paul Libbrecht
What are the dependencies ? I know that the javamail (and activation) dependencies of commons-jelly-email have been a problem to many. If you can minimize this, it would be interesting. Can you also send an example jelly snippet ? paul Mark Tombs wrote: Its completely new. I wrote it for my

Re: [jelly] Build Error 9/18/2006 snapshot

2006-09-21 Thread Paul Libbrecht
Sure... jexl wasn't released last time we touched parent-project.xml and tag-project.xml. Am testing now and will commit soon. paul Dion Gillard wrote: Yep, we should change Jelly to use 1.1 of JEXL now. On 9/21/06, Rahul Akolkar [EMAIL PROTECTED] wrote: On 9/18/06, Paul Libbrecht [EMAIL

Re: [Jelly] Retrieving properties of Java beans in scripts

2006-09-20 Thread Paul Libbrecht
Ray, In principle all this is delegated to Jexl which delegates this to beanutils. I think your expectation is correct but there may either a half-correct usage of beanutils or a half-bean-conformance in your objects. Have you tried to make it using method calls (which is all it boils down

Re: [jelly] Build Error 9/18/2006 snapshot

2006-09-18 Thread Paul Libbrecht
Chris, as with normal snapshot dependencies... you're expected to build or download it. It's a checkout aside. paul Chris Kramp wrote: Hi, I'm trying to build the Jelly project source snapshot for 9/18/2006. I get the following output: Attempting to download commons-jexl-SNAPSHOT.jar.

Re: Does Jelly support tag functions?

2006-08-01 Thread Paul Libbrecht
Rotterdam Mobile: +31 (0)6-43068619 Phone: +31 (0)10-2900304 Fax: +31 (0)10-2900305 MSN: [EMAIL PROTECTED] LinkedIn: www.linkedin.com/in/keesvandieren -Original Message- From: Paul Libbrecht [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 11:38 AM To: Jakarta Commons Users List

Re: Does Jelly support tag functions?

2006-07-28 Thread Paul Libbrecht
No, I don't think this doable but you can define new java objects that can have methods... j:new var=myMath className=com.x.MyMath/ jct:myCustomTag customAttr=${myMath.sqr(33)}/ Does it answer your question ? paul Kees van Dieren wrote: Hi all, Does Jelly suppor tag functions, such as:

Re: Can Jelly SQL branch on table existence, or error conditions?

2006-07-21 Thread Paul Libbrecht
At worst the core's try/catch should help you, or ? Feel free to suggest added tags such as tableAvailable or dbMetadata or... paul Karr, David wrote: I'm guessing the primary commons-user answerers are in a very different time zone, so I guess I'm going to burst out a bunch of questions,

Re: Can Jelly SQL branch on table existence, or error conditions?

2006-07-21 Thread Paul Libbrecht
is an example of how to wrap a sql:update in a try/catch? I found some limited examples by grepping the core source tree (I can't find the source for the SQL tag library anywhere), but I don't understand them. -Original Message- From: Paul Libbrecht [mailto:[EMAIL PROTECTED] Sent

Re: [jelly] How to define tag inline as subroutine that is only executed when called?

2006-07-21 Thread Paul Libbrecht
Karr, David wrote: I now need to define blocks that I can call at different times, with different parameter values. It looks like this would be done with the tag tag. I'm guessing that I don't define what parameters it can take, it will just take any XML attributes set in the tag call and

Re: Can Jelly Ant tasks be used with Ant 1.5.4?

2006-07-11 Thread Paul Libbrecht
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

Re: Can Jelly Ant tasks be used with Ant 1.5.4?

2006-07-08 Thread Paul Libbrecht
David, jelly-ant experts might answer better than I do here but to be honest, I'd just try it, it might and would show errors pretty early on. paul Karr, David 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

[collections] IteratorChain(Iterator) should be meta!

2006-07-01 Thread Paul Libbrecht
Hello, only after a looong quest I realized that new IteratorChain(Iterator) will only iterate through the elements of the given iterator instead of expecting that each element is an iterator itself through which one iterates. Am I blurred to expect such ? I suppose that changing this

[ANNOUNCE] release of commons-jelly-tags-interaction version 1.1

2006-06-21 Thread Paul Libbrecht
-INTERACTION-1_1/ Enjoy! paul libbrecht smime.p7s Description: S/MIME Cryptographic Signature

Re: [Jelly] Parallel arrays and array access

2006-05-26 Thread Paul Libbrecht
Jack Lund wrote: Hi. Sorry if this is a newbie question, but I can't find it on the mailing lists or anywhere. I'm using Jelly within Maven, and I'm trying to access elements in two parallel arrays. My script looks something like this: u:tokenize var=names

Re: [DONE] Re: Bugzilla-Jira migration

2006-05-16 Thread Paul Libbrecht
Henri Yandell wrote: Migration is complete; Commons has successfully invaded issues.apache.org/jira. Next up - reflect the change on the website. Just for your information, it is possible to have readable URLs to Jira even though Jira itself doesn't give them. Among others, a project page

Re: [jelly] About Tag data validation

2006-04-27 Thread Paul Libbrecht
Except for the change of exception type (JellyTagException vs SAXException), I see no real reason to have such instead of inserting this validation within doTag. Do you see one Marco ? As for the exception types, we could maybe ease up propagation with JellyException.asSAXException() (for

Re: [Jelly] How to pass a collection to a TagSupport

2006-04-26 Thread Paul Libbrecht
- From: Paul Libbrecht [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Cc: Jakarta Commons Users List commons-user@jakarta.apache.org Sent: Tuesday, April 25, 2006 10:03 PM Subject: Re: [Jelly] How to pass a collection to a TagSupport I think Jelly is so flexible that there's half

Re: [Jelly] How to pass a collection to a TagSupport

2006-04-25 Thread Paul Libbrecht
Hey Marco, newbies are welcome at Jelly... and I fear the assistance of the list is needed since documentation can be somehow... lagging behind. paul Marco Tedone wrote: Thank you. That worked nicely. You know, I'm a newbie. - Original Message - From: Paul Libbrecht [EMAIL PROTECTED

Re: [Jelly] How to pass a collection to a TagSupport

2006-04-25 Thread Paul Libbrecht
jemos:clanker body I can obtain a reference to all the jemos:filter filters and retrieve their values. Is this the right thing to do? If so, is the getBody() method the right place where to do that? Many thanks for any answers. Marco - Original Message - From: Paul Libbrecht [EMAIL

Re: [Jelly] How to pass a collection to a TagSupport

2006-04-24 Thread Paul Libbrecht
Marco Tedone wrote: Hi, I've got a class which extends TagSupport. This class has got many initialization attributes. Some of them are Collections, some are arrays. How to I pass, from within the Jelly tag, all the values to a collection or to an array? Why does it not work to pass have a

Re: [math]

2006-02-07 Thread Paul Libbrecht
I haven't learned this at school... 8.4345 is smaller than 8.435 hence should be written, with two decimals, as 8.43. 8.94345 is smaller than 8.9435 hence should be written, with three decimals, as 8.943. paul PS: (I think what you seem to apply is that the 5 brings one up which brings the

Re: What JDK version are you using?

2006-01-23 Thread Paul Libbrecht
[ ] JDK 1.2 [ ] JDK 1.3 [x] JDK 1.4 [ ] JDK 1.5 (or JDK 5) I am mostly running 1.4. Requiring 1.5 would mean for me to upgrade OS (MacOSX 10.4). Requiring 1.4 would mean I could not run on some older machines we have which cannot run MacOS 10.3. paul -Original Message- From: Niall

Re: [jelly] swing example

2005-11-08 Thread Paul Libbrecht
- From: Paul Libbrecht [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 3 de novembro de 2005 10:15 To: Jakarta Commons Users List Subject: Re: [jelly] swing example Le 3 nov. 05, à 11:46

Re: [jelly] refillComponent tag ? (was Re: swing example)

2005-11-06 Thread Paul Libbrecht
but that's not entirely avoidable... I have a bunch of tab stuff, including a proper tabbedPane with tabbedPaneTab tags that I've been meaning to commit. Will get to it some day soon. That'd be quite lovely! paul -Original Message- From: Paul Libbrecht [mailto:[EMAIL PROTECTED

Re: [jelly] swing example

2005-11-04 Thread Paul Libbrecht
Le 3 nov. 05, à 21:35, Dário Luís Coneglian Oliveros a écrit : However I am still having problem getting the swing to work. :-( I tried to use the code snippet about the System.exit, but it didn´t work. Regarding the CardLayout, I couldn´t find its tag in the jelly swing documentation. Do you

[jelly] refillComponent tag ? (was Re: swing example)

2005-11-04 Thread Paul Libbrecht
Can other Jelly-Swing users comment on such a tag. It really looks to be able to solve quite many issues I've met thus far. thanks paul Le 3 nov. 05, à 21:35, Dário Luís Coneglian Oliveros a écrit : [...] Regarding your reloadable strategy, I think it would be great to have something like

Re: [HttpClient] HttpClient and Applets

2005-11-03 Thread Paul Libbrecht
The AppletContext class gives you this and you should use it. (getDocumentBase() or something such?) This will be the URL of the proxy, of course, which you expect to relay your http call. paul Le 3 nov. 05, à 09:42, Jeroen Kransen (DT) a écrit : Oleg, Paul, Thank you for your responses.

Re: [jelly] swing example

2005-11-03 Thread Paul Libbrecht
Le 3 nov. 05, à 11:46, Dário Luís Coneglian Oliveros a écrit : I was wondering if anyone could help me get some of my Jelly Swing questions answered. 1) Considering my swing appl has two menu items and one main panel, is it possible to change the panel content according to the menu item

Re: [HttpClient] HttpClient and Applets

2005-11-03 Thread Paul Libbrecht
want to use the content in my Applet. Jeroen -Original Message- From: Paul Libbrecht [mailto:[EMAIL PROTECTED] Sent: donderdag 3 november 2005 9:55 To: Jakarta Commons Users List Subject: Re: [HttpClient] HttpClient and Applets The AppletContext class gives you this and you should use

Re: HttpClient and Applets

2005-11-02 Thread Paul Libbrecht
My 2p: one very common access error over http in applets is that host-names don't match exactly... paul Le 2 nov. 05, à 12:34, Oleg Kalnichevski a écrit : The AccessControlException is thrown by the AccessController to indicate that a requested access (to a critical system resource such as

Re: Status of Jelly project

2005-10-26 Thread Paul Libbrecht
I'm using it for xml generation in jEditOQMath... though quite shy. I intend to use it much more for templating of Swing-based wizards. Active development of jelly is happening when their developers find time which has a bad tendency to be rare. Currently, as it fits their purposes, there's no

[jelly] sandboxed jelly anyone ?

2005-10-06 Thread Paul Libbrecht
Hello, Jelly would play a lovely role in our database infrastructure... namely... that of being able to run a set of queries and become, thus, a query language that would produce XML documents as results of several (possibly many) queries. Such queries and their results would then be well

Re: [jelly] Where are the taglibs

2005-09-02 Thread Paul Libbrecht
The reason they aren't there is that they are depending on non-distributable jars (e.g. with funky licenses)... so thus far, this is the only thing we could do. paul Le 30 août 05, à 10:23, Dr. Michael Lipp a écrit : I just saw that Jelly 1.0 is out and wanted to update. But I cannot find

Re: [jelly] Can I get the unique ID for current TagScript

2005-08-22 Thread Paul Libbrecht
Jiaqi, Why do you need a new context every-time ? Why not set to null (that is erase) all the variables you know are created ? Do I understand currently that you wish that tags were cached just like... it's happening in jelly 1.0 if you keep the thread and context... We've been discussing

Re: Licensing discrepancy

2005-07-21 Thread Paul Libbrecht
As far as I know everything should be under Apache 2.0 license, at least everything released since about 6 months. Maybe DBCP's releases are older ? paul Le 21 juil. 05, à 16:38, Frank Ryan a écrit : While looking at the notice to be included when using any of the commons jar files, it

Re: [Jelly/JEXL] String concatenation

2005-07-19 Thread Paul Libbrecht
Have you tried: j:set var=classPath value=${classPath}./lib/${dep.artifactId}.jar/ which is more compact. Or j:set var=classPath value=${classPath.toString().concat('./lib/ ').concat(dep.artifactId).concat('.jar')/ Remember... java under the hood! paul PS: .toString() only needed

Re: [jelly] Still have schema validation problems

2005-07-17 Thread Paul Libbrecht
Adrian, I have a quick fix: move the namespace declaration of xsi somewhat above. (e.g. at the jelly element). (note that outputting such attributes, however, needs the patch of Diogo at JELLY-213). This made me, however realize that the following, simpler script yields the same exception

Re: [jira] Commented: (JELLY-213) Generating xml nodes with attributes in diferente namespaces (for schemas..)

2005-07-07 Thread Paul Libbrecht
Diogo, Le 7 juil. 05, à 11:09, Diogo Bacelar Quintela (JIRA) a écrit : I'll investigate what you said. Btw, I am adding a tag to jelly-xml tags that i'll add as a patch later... A tag to suppport namespace subtitution, i'll explain it's needs then.. That might be then better together. I

[io] experience with phonetical encoders in other languages ?

2005-07-07 Thread Paul Libbrecht
Hi, I would like to know wether the phonetical encoders found in commons-io have been used by someone with different langauges than English. I'm pretty sure they fail for Chinese at least but I'd like to know if Soundex and Metaphone have a chance for, say, european languages... thanks

Re: [jelly] Generating xml nodes with attributes in diferente names (for schemas..)

2005-07-06 Thread Paul Libbrecht
That tastes like a bug! It would be easy to adapt AttributeTag for this... Can you file an issue in jira ? You could also fiddle with j:new manipulating dom4j default-implementation objects though it's quite dirty. thanks paul Le 6 juil. 05, à 12:36, Diogo Quintela (EF) a écrit : After

Re: [jelly]: Escaping output of JEXL expression

2005-07-06 Thread Paul Libbrecht
Can you be more precise, maybe make a tiny test-case ? paul Le 6 juil. 05, à 14:05, Christian Kalkhoff a écrit : Hi, i ran into the problem, that jelly outputs invalid xml if one of the beans available as context variables contains e.g. an char. Is there a way to tell jelly (or jexl) to

Re: commons development practises (was maven : why marmalade ?)

2005-06-24 Thread Paul Libbrecht
André, Any reason you don't announce milestones of such projects on commons-dev/commons-user ? Just this would be an interesting feedback! paul André Leg a écrit: I am using jelly for our project : http://compiere-mfgscm.sourceforge.net/ Le 24 juin 05, à 09:20, Simon Kitching a écrit :

Re: [net] how to retreive a file using FTP and store it in local with remote last change date ?

2005-06-24 Thread Paul Libbrecht
Sorry to diver but... I do this permanently with rsync (mostly over ssh). Not in java, not using ftp but fast, limits bandwidth, and preserves also such things as file-permissions or modification dates... rsync.samba.org. paul Le 24 juin 05, à 10:25, Nicolas De Loof a écrit : My application

Re: jelly core:while

2005-06-21 Thread Paul Libbrecht
How about the following ? ?xml version=1.0 encoding=utf-8? j:jelly xmlns:j=jelly:core j:forEach indexVar=i begin=0 end=10 step=1 Step ${i}. /j:forEach /j:jelly Careful that it runs till 10 included. paul Le 21 juin 05, à 14:59, Pavel Reich a écrit :

Re: Apache License

2005-05-31 Thread Paul Libbrecht
- Many people do it - I think the FSF says it's not allowed - I think the ASF believes it's ok All this legal stuff is really tiring everyone... why not just do all your things under Apache license anyways ? paul Le 31 mai 05, à 19:13, Dago Bert a écrit : i would like to use the Jakarta

Re: [Jelly] Executable XML vs. Rich Configuration

2005-05-24 Thread Paul Libbrecht
Two more proposals then: - Jelly: scripts in XML (scripts are a form of configuration... I like the naming) - Jelly: mouldable XML In the latter I think I should be able to get a few pictures out of moudling jell-o with my kids... this may be modern transluscent... I suggest we do not consider

[??] browser delegation process ?

2005-05-19 Thread Paul Libbrecht
(note the [??] indicating that I don't know the component, maybe we could make this part of the guidelines) Hi, within our research project we came to the need of concrete framework where two web-applications delegate the browser from one to the other and back. In a sense, this is an extension

Re: [??] browser delegation process ?

2005-05-19 Thread Paul Libbrecht
Le 19 mai 05, à 12:47, Mattias J a écrit : At 2005-05-19 11:22, Paul Libbrecht wrote: within our research project we came to the need of concrete framework where two web-applications delegate the browser from one to the other and back. In a sense, this is an extension of the notion of hyperlink

Re: XML Validation Tag Library

2005-05-17 Thread Paul Libbrecht
Definitely, jelly can do this for you. But it'll just do the orchestration of all pieces and will probably use Xerces or such on the back. In which in-memory expression do you have this ? paul Le 16 mai 05, à 19:24, Lauren Bish a écrit : I would be interested also. I have a case where I need to

Re: [Jelly] Executable XML vs. Rich Configuration

2005-05-17 Thread Paul Libbrecht
Le 16 mai 05, à 19:11, Dan Madoni a écrit : ...but Jelly? It might as well be called Blah or Hmmm, (don't get any ideas). :) re-interpreting differently... (really playing!): jelly glue along XML pipelines would be much understandable, or ? Doesn't jelly make you think, at least, to Jell-O

Re: XML Validation Tag Library

2005-05-17 Thread Paul Libbrecht
Adrian, You're missing a [component-name] subject so that we know which tag-library you want to mention... Maybe you mean a Jelly tag-library, like at: http://jakarta.apache.org/commons/jelly/libs/validate/ ? paul Le 15 mai 05, à 02:52, Adrian Herscu a écrit : Where can I find an example for

Re: getting the current date in jelly

2005-05-13 Thread Paul Libbrecht
Tom, I am unclear wether it would be useful to make a util tag for this... it's one of the very many facets where the wealth of java is coming at hand so I'd rather put this in some FAQ... or ? paul Le 12 mai 05, à 20:44, Litton, Tom - CEPM a écrit : Thats exactly what i needed. Thanks, Tom

Re: [Jelly] Executable XML vs. Rich Configuration

2005-05-13 Thread Paul Libbrecht
Le 11 mai 05, à 19:42, Dan Madoni a écrit : Perhaps a better term that isn't as restrictive as Rich Configuration or as strange as Executable XML might be Active XML Processing, or something like that. Such a term doesn't imply that you'll use it for programming, and instead suggests that it's

Re: [Jelly] Executable XML vs. Rich Configuration

2005-05-13 Thread Paul Libbrecht
Le 11 mai 05, à 11:29, Paul Libbrecht a écrit : The best sub-title I found thus far was mix-and-match that's posted in one of the documentation pages. How about the following ? Apache Commons Jelly glue along XML pipelines (with side-effect!) paul

Re: [Jelly] Executable XML vs. Rich Configuration

2005-05-11 Thread Paul Libbrecht
Dan, This comes up to the point to re-consider the marketing of Jelly as we all wish to cut a release 1.0 soon! I agree executable XML may suck but I think rich configuration is also quite old fashioned and is not that appropriate since there still is a notion of execution (or processing or

Re: [JELLY]: ¿Is it possible to pass arguments wh =?iso-8859-1?q?ile_creating_an_object??=

2005-03-21 Thread Paul Libbrecht
j:new className=java.io.File var=myfile j:arg value=path/to/here/ /j:new Note sure if it works for useBean. hope that helps. paul Le 21 mars 05, à 08:44, Oscar Guadilla a écrit : Hello, ¿Is it possible to create an object which needs arguments in the constructor? For example, ¿how

Re: Email

2005-03-10 Thread Paul Libbrecht
Maybe looking at the archives of commons-dev would help... I've seen discussion about this release recently, I think. paul Le 10 mars 05, à 23:50, Dylan Stamat a écrit : That's a great question Mark ! I asked the same question about a month ago and didn't get any word back !! On Wed, 9 Mar

Re: [Jelly] Concurrent threads

2005-03-07 Thread Paul Libbrecht
Le 7 mars 05, à 17:17, Lars J. Nilsson a écrit : My apologies on beforehand if this is explained elsewhere, but I could not find any information on thread-safety or synchronization. My assumptions are: 1) The JellyContext is thread safe. There may be holes or the need for a thread-safe wrapper

[jelly] Re: Regarding j:remove tag...

2005-02-27 Thread Paul Libbrecht
(let me insist you use the [jelly] hook so that automated filters work) Le 27 févr. 05, à 10:16, Rajesh Singh a écrit : I have to write the j:remove tag. Is there any way I can remove the variables at one time and I don't have to call j:remove for every variable? Try: scope.clearVariables();

Re: Ant + Jelly

2005-02-22 Thread Paul Libbrecht
Hi Oscar, Sorry to answer so late... just change typedef into taskdef... maybe you've done it already... paul Le 18 févr. 05, à 19:16, Oscar Guadilla a écrit : Good afternoon, I have an application building procedure which is based on ant. It is fine but it is a language a bit limited (loop,

Re: [jelly] XPath to comma-separated list?

2005-01-23 Thread Paul Libbrecht
Michael, Have a look in the code at: jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java In there you'll see a method setAsString which sets a flag (so you can use the attribute asString='true'). That flag currently implies single='true' but that could be changed to suit

Re: [Jelly] sql taglib Problems with greather than in sql

2005-01-14 Thread Paul Libbrecht
Harald, We love to hear about users, for sure ! But now sometimes it takes more time to fix bugs (this time was really a one line fix)! THe statements about closing the connection or not sounds like a possible bug for which I'd invite you to file an issue... With which database have you been

Re: [Jelly] sql taglib Problems with greather than in sql

2005-01-14 Thread Paul Libbrecht
Le 14 janv. 05, à 12:23, Harald Kuhn a écrit : I will try to create a reproduceable case for this connection issues (i had problems with this for a couple of times always when restarting the script after exeptions thrown during script execution). I wonder wether we should move this Topic to the

Re: [Jelly] sql taglib Problems with greather than in sql

2005-01-13 Thread Paul Libbrecht
Harald, It really looks like this is a bug. I've made a test at fixing but... we have no infrastructure to really test the taglib and such a bug... it seems easy to do so with hsqldb around... Someone with experience with this taglib would be more than welcome doing so. Can you give a try to

Re: [jelly] xslt transform fun (newbie)

2004-12-22 Thread Paul Libbrecht
Le 22 déc. 04, à 14:45, Peter Lerche a écrit : 1. In the jelly docs (http://jakarta.apache.org/commons/jelly/pipeline.html) It describe following way to use the x:transform tag. x:transform xslt=file:///test/default.xslt x:parse xml=file:///test/data.xml/ /x:transform But it does not

Re: [jelly] xslt transform fun (newbie)

2004-12-22 Thread Paul Libbrecht
Le 22 déc. 04, à 16:02, Mark R. Diggory a écrit : If you are processing a file anyways, why not directly use ant's style tag ? Yes I suspect that the jelly transform body is passed as a string, a large file is going to be placed entirely into memory as a string and then parsed into dom in the

Re: [jelly] j:include and j:import semantics ? (was: xslt transform fun (newbie))

2004-12-22 Thread Paul Libbrecht
I access the ${set}.key ${set}.value individually ? I am running commons-jelly-1.0-beta-4.jar and commons-jelly-tags-xml-1.0.jar Many thanks Paul, On Wednesday 22 December 2004 15:13, Paul Libbrecht wrote: Le 22 déc. 04, à 14:45, Peter Lerche a écrit : 1. In the jelly docs (http

Re: [Jely] RC1 build fails

2004-12-21 Thread Paul Libbrecht
gee, This has slipped out of our attention! Maybe file a bug to make sure this isn't done in the next milestone ? This entity of common-dependencies.ent is a very old remain and has been, since then, replaced by maven project inheritance. Thanks for the report ! paul Le 21 déc. 04, à 14:46,

Re: [Jelly] Errors trying to run jelly swing demo

2004-12-19 Thread Paul Libbrecht
Le 17 déc. 04, à 17:31, Eric Black a écrit : 'm trying to test out some of the jelly stuff but I'm getting errors on the Swing demo. I've tried the snapshot of commons-jelly then got the beta version(COMMONS-JELLY-1_0-beta-4) and had the same error below(errors are from beta version). First I

Re: How to give a custom render to swing elements in Jelly Script

2004-12-19 Thread Paul Libbrecht
I would try cellRenderer=${renderRegions} instead... the bean property sounds to be rather of this name. paul Le 17 déc. 04, à 11:35, marimuthup a écrit : list model=${collectRegions} renderer=${renderRegions}/ - To

Re: patch for jelly-tags-interaction

2004-12-09 Thread Paul Libbrecht
Careful, Although JLine seems very nice, it is annoying with its license: LGPL. In Jelly, and in most ASF projects, we have tried to keep license issues as small as possible and prefer overall BSD-type licenses... Before committing such a change, I would insist heavily that we clear up wether

Re: patch for jelly-tags-interaction

2004-12-09 Thread Paul Libbrecht
Le 9 déc. 04, à 17:59, Ryan Christianson a écrit : I'll let you guys decide if there is a license issue :) Wicked! How about asking the author of JLine about it ? Did you get in touch with him ? paul - To unsubscribe, e-mail:

Re: [jelly] request for jelly specialists

2004-12-07 Thread Paul Libbrecht
André, I fear most of us are quite limited by time. Do think about submitting any question of feature request, or even optimization question to the list... Giving a pointer to a place in CVS or on the web is a good idea. paul Le 7 déc. 04, à 12:59, A Leg a écrit : We ar interested for some

Re: [jelly] Installation problems

2004-11-22 Thread Paul Libbrecht
These are the (in)famous non-downloadable dependencies... They are not in the maven repository because they have a license that prevents it. You can download them but then need to put them in the appropriate place in the maven repository, typically ~/.maven/${groupID}/jars/${artifactID}.jar

Re: [jelly] Installation problems

2004-11-22 Thread Paul Libbrecht
Jörg, Can it be you're expecting to obtain a JSP taglib out of this ? I don't think this will happen. As far as I know a jelly taglib is going to produce a jar, period. paul Le 22 nov. 04, à 14:55, Jörg Herbst a écrit : thanks for you're help, I've donwloaded the missing jar and put them into the

Re: [jelly] Embedded test = SAXexception, you two ?

2004-11-21 Thread Paul Libbrecht
Look at the source, it seems to be quite intended ! //test generation of error embedded.setScript(jellyScript + obnoxious-part); status = embedded.execute(); //test failure of execution assertEquals(false, status); ;-) paul Le 21 nov. 04, à 23:52, marc lan

Re: RE : RE : [jelly and maven] calling a jsl transformation in a jelly script

2004-11-10 Thread Paul Libbrecht
How about this one? http://wiki.apache.org/jakarta-commons/FrontPage paul Le 10 nov. 04, à 08:40, Olivier Lamy a écrit : In this one ? : http://wiki.apache.org/general Olivier -Message d'origine- De : Paul Libbrecht [mailto:[EMAIL PROTECTED] Envoyé : mardi 9 novembre 2004 20:50 À

Re: RE : [jelly and maven] calling a jsl transformation in a jelly script

2004-11-09 Thread Paul Libbrecht
jokeMore noise, more noise!/joke More precisely... it would be nice if you would summarize this or, maybe, even post this on some wiki page... I think you are not really the first to have such a wish. paul Le 9 nov. 04, à 19:05, Olivier Lamy a écrit : sorry i found it in watching the

Re: How to submit jelly evolution or new component ?

2004-11-08 Thread Paul Libbrecht
Generally, Jira is probably the best place. Formulate it as patches, that's the most efficient. For any new features or bug report we love unit-tests (read: require). But speaking about it on the list (commons-dev or commons-user, as far as I know most developers of jelly are on both) is a good

Re: [jelly] How is managed class loading for embeded script

2004-11-08 Thread Paul Libbrecht
/compiere/mfg_scm/common/jelly/tags/mfg_scm/SetTag.class 1102 Mon Nov 08 12:03:54 EET 2004 org/compiere/mfg_scm/common/jelly/tags/mfg_scm/ UninstallPluginTag.class Paul Libbrecht wrote: What is managing class-loading ? At least if everything is part of the same classloader, there's no issue I know

Re: [jelly] How is managed class loading for embeded script

2004-11-08 Thread Paul Libbrecht
Le 8 nov. 04, à 13:46, A Leg a écrit : I add jelly.properties and Resources.properties in my jar and error are not the same : That means the html tag-library is missing. Are you indeed invoking it ? I don't see it part of your jar, at least. Jelly is, typically, with a myriad of little jars. It's

Re: [Jelly] More accessible general examples?

2004-11-07 Thread Paul Libbrecht
. org.apache.commons.jelly.Jelly is not runnable on the command line. Do you mean to write a very basic java code using org.apache.commons.jelly.Jelly ? I am begenner with jelly. Thank's Andre Paul Libbrecht wrote: At least his sounds to be non-well-formed XML. Le 6 nov. 04, 16:33, David Wynter a crit : j:set var

Re: [jelly] How is managed class loading for embeded script

2004-11-07 Thread Paul Libbrecht
What is managing class-loading ? At least if everything is part of the same classloader, there's no issue I know of. Don't be afraid of the classloader parameters to JellyContext's methods... they're not essential! paul Le 7 nov. 04, à 10:35, A Leg a écrit : I don't figure out exactly how to

Re: [Jelly] More accessible general examples?

2004-11-06 Thread Paul Libbrecht
At least his sounds to be non-well-formed XML. Le 6 nov. 04, à 16:33, David Wynter a écrit : j:set var=pattern value=+${partdatestr}+.I/ Generally, using org.apache.commons.jelly.Jelly can run the script as-is on the command-line. Errors will be reported as exception with their stacktrace.

Re: [jelly] Stateless/Stateful Tag?

2004-11-02 Thread Paul Libbrecht
Le 2 nov. 04, à 18:56, Jiaqi a écrit : So what is the best practice for developer to frequently execute predefined jelly script? jelly define taglib ? In my project, process is defined in xml file, which will not be changed logically, which could be very complicated. Logically volatile stuff is

Re: [jelly] The prefix j for element j:jelly is not bound.

2004-10-30 Thread Paul Libbrecht
Do note that this is a very general requirement of XML-namespace specification... declaring a pre-bound prefix (like the xml prefix which is prebound) would have meant eating non-well-formed XML-documents!! paul Le 29 oct. 04, à 23:29, marc lan a écrit : you have to bind 'j' to jelly:core

Re: [VOTE] Jelly and a release

2004-10-29 Thread Paul Libbrecht
Le 28 oct. 04, à 19:24, Dion Gillard a écrit : [X] +1. Release 1.0-RC1. [ ] +0. Sounds good but I can't help [ ] -0. I don't agree, but don't want to hold the release. [ ] -1. Please don't. Here's why: - To unsubscribe,

Re: no swt-win32-2128 in java.library.path in LINUX

2004-10-18 Thread Paul Libbrecht
SWT is a native dependency... there's no way to make this somewhat platform dependent... I think it works on Windows (never tried)... your best best is download a SWT.so and put it somewhere close to the working directory... hope that helps. paul Le 14 oct. 04, à 10:51, A Leg a écrit :

Re: [jelly] namespace / quote problem in Jelly

2004-09-20 Thread Paul Libbrecht
This was a problem with the dom4j outputter and is definitely fixed since the skip dom4j 1.5. So the beta-4 fixes it. paul Le 14 sept. 04, à 02:11, Bill Keese a écrit : This is an old problem (caused by an old bug in xerces?) but I assume it's fixed in the new jelly beta release. Dan Yoder

  1   2   3   >