[workflow] Jelly - Workflow maybe some crossover

2002-03-06 Thread James Strachan
I've been experimenting with (yet another) scripting language called Jelly. Its kinda like JSP custom tags without the JSP, borrowing ideas from Velocity and XDoclet and its really simple lightweight embeddable. I plan on integrating BSF so that JavaScript et al could be embedded inside tags

Re: [collections] Some source files contain bad line-endings (was Re: [patch] Remove redundant public modifiers from interface methods)

2002-03-06 Thread James Strachan
From: James Strachan [EMAIL PROTECTED] - Original Message - From: Morgan Delagrange [EMAIL PROTECTED] Certainly, that's fine. I've already fixed the line endings on quite a few classes, and I continue to fix them whenever I have to make significant modifications to a class. Not

cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/impl/socket SocketCustomStreamFactoryHelper.java SocketObjectStreamFactoryHelper.java

2002-03-06 Thread hammant
hammant 02/03/06 08:11:02 Modified:altrmi/src/java/org/apache/commons/altrmi/client/impl DefaultInterfaceLookupFactory.java altrmi/src/java/org/apache/commons/altrmi/client/impl/socket SocketObjectStreamFactoryHelper.java

RE: [workflow] Jelly - Workflow maybe some crossover

2002-03-06 Thread Paulo Gaspar
I am using bits of pnuts embedded in XML in a similar way. Since pnuts gets compiled in memory, it is damn fast too. I had, however, to fix a couple of classloader issues in pnuts to use it in a servlet. Have fun, Paulo Gaspar -Original Message- From: James Strachan [mailto:[EMAIL

FW: [workflow] Jelly - Workflow maybe some crossover

2002-03-06 Thread Paulo Gaspar
BTW: http://javacenter.sun.co.jp/pnuts/index.html Paulo -Original Message- From: Paulo Gaspar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 6:50 PM I am using bits of pnuts embedded in XML in a similar way. Since pnuts gets compiled in memory, it is damn fast too.

cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/impl/naming AltrmiContext.java

2002-03-06 Thread hammant
hammant 02/03/06 09:53:46 Added: altrmi/src/java/org/apache/commons/altrmi/client/impl/naming AltrmiContext.java Log: start of jndi Revision ChangesPath 1.1

Re: [collections] Some source files contain bad line-endings (was Re: [patch] Remove redundant public modifiers from interface methods)

2002-03-06 Thread Daniel Rall
Waldhoff, Rodney [EMAIL PROTECTED] writes: I'm just wondering what I'm doing wrong from a line-ending perspective. Any ideas would be greatly appreciated... I've seen the same symptoms using an emacs editor, configured with bad line endings (neither unix nor pc), e.g., something like \r\n\r

Re: How to construct HTTPS org.apache.util.HttpURL?

2002-03-06 Thread Sung-Gu
Hi Mike and guys, I found that it's somewhat quite hard to answer to you in jakarta process. The main reason is that it's related to the API copatibility of common-dev and slide-dev. The second reason is related to understanding URI escaping and character encoding and and implementing

cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/server/impl/adapters InvocationHandlerAdapter.java

2002-03-06 Thread hammant
hammant 02/03/06 11:34:47 Modified:altrmi/src/java/org/apache/commons/altrmi/client/impl AbstractAltrmiFactory.java BaseServedObject.java altrmi/src/java/org/apache/commons/altrmi/client/impl/direct

RE: [collections] Some source files contain bad line-endings (was Re: [patch] Remove redundant public modifiers from interface methods)

2002-03-06 Thread Immanuel, Gidado-Yisa
I struggled with this, and here are the solutions I came up with (my platform: W2k Pro, cygwin, ssh) 1. Using WinCvs: Make sure you have not checked the box [x] Checkout Text files with Unix LF (Oxa) which is located in the tab: Admin - Preferences - Globals 2. Using Xemacs,

Re: [OT] thoughts on Java pre processor

2002-03-06 Thread Colin Sharples
I would like to see the ability to return multiple objects. Not sure if this would be easy to do as it would require the preprocessor to work across files, but I would like to do: int i; String str; (i, str) = runCode(); public class Foo { private property int i; private property

Re: [OT] thoughts on Java pre processor

2002-03-06 Thread Colin Sharples
Its not the generation I'm concerned about - I know there are tools to do this. Its the fact that spitting out all this code becomes harder to maintain. e.g. its very common for the javadoc comments on the member variable, getter setter of a property to get stale or even meaningless. Yah -

Re: commons dbcp or pool problems

2002-03-06 Thread Geir Magnusson Jr.
On 3/6/02 2:53 PM, John McNally [EMAIL PROTECTED] wrote: The code in sandbox/jdbc2pool uses the commons pool and DBCP's PreparedStatement pool while attempting to implement the jdbc2 specification. Geir and anyone else at jakarta who wants to work on a connection pool, why not join me in

cvs commit: jakarta-commons/beanutils/src/test/org/apache/commons/beanutils AbstractChild.java AbstractParent.java AlphaBean.java BetaBean.java Child.java MethodUtilsTestCase.java

2002-03-06 Thread rdonkin
rdonkin 02/03/06 12:21:25 Modified:beanutils/src/java/org/apache/commons/beanutils MethodUtils.java beanutils/src/test/org/apache/commons/beanutils MethodUtilsTestCase.java Added:

Re: [OT] thoughts on Java pre processor

2002-03-06 Thread Henri Yandell
Heard the argument before :) Too often Foo ends up being called 'Result' because there's actually no concept that the multiple returned list returns. OO involves designing with classes that map to domain concepts. When the domain concept uses the Java language as a domain and the concept is

RE: [httpclient] Constructing Cookies with null domains (again)

2002-03-06 Thread Marc Saegesser
What I meant was that a cookie always has a domain value, it is either specified explicitly by a domain attribute in the set-cookie header or implicitly as the hostname that it came from. A cookie without a domain is a pretty useless thing; it will *never* be sent to anyone. All of the cookie

JSR-14 (WAS: [OT] thoughts on Java pre processor)

2002-03-06 Thread Tim Moore
This is tangential to the point of the thread, but there is an early access prototype for a JSR-14 compatible compiler. http://developer.java.sun.com/developer/earlyAccess/adding_generics/ I think there's still some promise that this will be added in JDK 1.5 (slated for mid-2003). -- Tim Moore

cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/server/impl/beep AltrmiBEEPServerProfile.java CompleteBEEPServer.java ServerBEEPReadWriter.java

2002-03-06 Thread hammant
hammant 02/03/06 13:39:49 Modified:altrmi/lib beepcore.jar altrmi/src/java/org/apache/commons/altrmi/client/impl/beep BEEPInvocationHandler.java altrmi/src/java/org/apache/commons/altrmi/server/impl/beep

Re: [OT] thoughts on Java pre processor

2002-03-06 Thread James Strachan
From: Henri Yandell [EMAIL PROTECTED] Because I've never understood this, what is with the habit of using Enumeration and Iterators in for loops? What does it have over the while loop version? Just the fact it keeps the 'iter' variable in the loops scope? Yes. So I think this is possible

Re: [collections] Some source files contain bad line-endings (was Re: [patch] Remove redundant public modifiers from interface methods)

2002-03-06 Thread James Strachan
Thanks for everyone who's responded. From: Immanuel, Gidado-Yisa [EMAIL PROTECTED] I struggled with this, and here are the solutions I came up with (my platform: W2k Pro, cygwin, ssh) 1. Using WinCvs: Make sure you have not checked the box [x] Checkout Text files with Unix LF (Oxa)

Re: [workflow] Jelly - Workflow maybe some crossover

2002-03-06 Thread James Strachan
Hey Paulo From: Paulo Gaspar [EMAIL PROTECTED] I am using bits of pnuts embedded in XML in a similar way. Since pnuts gets compiled in memory, it is damn fast too. Agreed. Actually many BSF related scripting languages do too. I had, however, to fix a couple of classloader issues in pnuts

Re: [workflow] Jelly - Workflow maybe some crossover

2002-03-06 Thread Geir Magnusson Jr.
On 3/6/02 4:28 PM, James Strachan [EMAIL PROTECTED] wrote: [SNIP] could be used to work with pnuts inside Jelly. I'll let you know when there's some Jelly'd pnuts in CVS. I can't wait for the inevitable jokes. All we need is some package named something like 'butter4J' to give us

cvs commit: jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/io BeanCreateRule.java

2002-03-06 Thread jstrachan
jstrachan02/03/06 16:34:24 Modified:betwixt/src/java/org/apache/commons/betwixt XMLIntrospector.java betwixt/src/java/org/apache/commons/betwixt/digester XMLIntrospectorHelper.java

Re: [workflow] Jelly - Workflow maybe some crossover

2002-03-06 Thread James Strachan
From: Geir Magnusson Jr. [EMAIL PROTECTED] On 3/6/02 4:28 PM, James Strachan [EMAIL PROTECTED] wrote: [SNIP] could be used to work with pnuts inside Jelly. I'll let you know when there's some Jelly'd pnuts in CVS. I can't wait for the inevitable jokes. All we need is some

RE: [LOGGING] Request for API change (was RE: [VOTE] Logging 1.0 Release (again))

2002-03-06 Thread Steve Downey
I'd argue that this is a misuse of a logger. A logger isn't an IO stream and shouldn't be treated like one. Here's how I've implement this kind of thing: public static void writeMap(Map map, Writer writer) { for(Iterator keys = map.keySet().iterator(); keys.hasNext();) { String

RE: [LOGGING] Request for API change (was RE: [VOTE] Logging 1.0 Release (again))

2002-03-06 Thread Steven Caswell
-Original Message- From: Steve Downey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 8:07 PM To: 'Jakarta Commons Developers List' Subject: RE: [LOGGING] Request for API change (was RE: [VOTE] Logging 1.0 Release (again)) I'd argue that this is a misuse of a

cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/pnuts - New directory

2002-03-06 Thread jstrachan
jstrachan02/03/06 18:40:24 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/pnuts - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/beanshell - New directory

2002-03-06 Thread jstrachan
jstrachan02/03/06 18:40:24 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/beanshell - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/bsf - New directory

2002-03-06 Thread jstrachan
jstrachan02/03/06 18:40:24 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/bsf - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/beanshell TestBeanShellEL.java

2002-03-06 Thread jstrachan
jstrachan02/03/06 18:46:04 Modified:jellybuild.properties.sample build.xml jelly/src/java/org/apache/commons/jelly Context.java filesystem.attributes jelly/src/java/org/apache/commons/jelly/parser

cvs commit: jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/pnuts - New directory

2002-03-06 Thread jstrachan
jstrachan02/03/06 19:54:16 jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/pnuts - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/pnuts example.jelly

2002-03-06 Thread jstrachan
jstrachan02/03/06 19:57:13 Modified:jellybuild.properties.sample build.xml jelly/src/java/org/apache/commons/jelly jelly.properties jelly/src/java/org/apache/commons/jelly/tags/bsf BSFExpression.java BSFExpressionFactory.java

Re: [httpclient] Constructing Cookies with null domains (again)

2002-03-06 Thread dIon Gillard
Marc Saegesser wrote: Well, I don't see your cookie dump, but what your going to see on the server side (since you're running in a servlet) is different than what the client is going to see (which is what HttpClient is). Let me see if I can beat this to death one more time. HttpClient can get

[betwixt] UML Diagrams

2002-03-06 Thread Jason van Zyl
Hi, I'm just playing with betwixt, here are some UML diagrams I generated while taking a peek. http://www.apache.org/~jvanzyl/betwixt/ -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: commons dbcp or pool problems

2002-03-06 Thread Martin Cooper
- Original Message - From: Geir Magnusson Jr. [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Wednesday, March 06, 2002 12:16 PM Subject: Re: commons dbcp or pool problems On 3/6/02 2:53 PM, John McNally [EMAIL PROTECTED] wrote: The code in

Re: commons dbcp or pool problems

2002-03-06 Thread Martin Cooper
- Original Message - From: Waldhoff, Rodney [EMAIL PROTECTED] To: 'Jakarta Commons Developers List ' [EMAIL PROTECTED] Sent: Wednesday, March 06, 2002 4:27 AM Subject: RE: commons dbcp or pool problems What is the status of commons dbcp? Is this considered done and production