cvs commit: jakarta-commons-sandbox/jelly project.xml

2003-01-06 Thread dion
dion2003/01/06 00:18:09

  Modified:jellyproject.xml
  Log:
  Remove xmlunit from dependencies.
  At some point soon we should:
  1) regen the gump descriptor
  2) redeploy commons-jelly on ibiblio
  3) Update Maven's dependencies to include the new tag jars
  
  Revision  ChangesPath
  1.110 +2 -2  jakarta-commons-sandbox/jelly/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/project.xml,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- project.xml   5 Jan 2003 19:25:47 -   1.109
  +++ project.xml   6 Jan 2003 08:18:09 -   1.110
  @@ -427,11 +427,11 @@
   /dependency
   --
   
  - !-- xmlunit taglib --
  + !-- xmlunit taglib 
   dependency
 idxmlunit/id
 version0.8/version
  -/dependency
  +/dependency--
   
!-- swt taglib --
   dependency
  
  
  

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




Re: [lang] DateUtils

2003-01-06 Thread Stefan Bodewig
On Tue, 17 Dec 2002, Sean Schofield [EMAIL PROTECTED] wrote:

 1) Eliminate getPhaseOfMoon( ) as has already been suggested.  (I
 wonder how the Ant guys were planning on using that)  ;-)

I wanted a specific deprecation warning to say that using a certain
attribute would cause behaviour that depended on the phase of the moon
and then print different log messages after that.  It was voted down
but the method has been kept.

 2) Rename getDateForHeader( ) to getSmtpDate( ) or something more
 descriptive.

It's the same format HTTP, NNTP and others would use IIRC.

Stefan

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




Re: [Jelly] moving code [was: Re: cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/antlrGrammarTag.java AntlrTagLibrary.java AntlrTag.java package.html]

2003-01-06 Thread dion
Yep,

I did see it, but all the screwing with the cvs repository isn't 
something I trust myself with.

I figure the history is still there, including the deletion :) Just in the 
Attic, right? Or does CVS really throw away the history on a delete?
--
dIon Gillard, Multitask Consulting
Blog:  http://www.freeroller.net/page/dion/Weblog
Work:  http://www.multitask.com.au


Morgan Delagrange [EMAIL PROTECTED] wrote on 06/01/2003 06:06:20 AM:

 Hey all,
 
 You might have missed this message, I often do to when
 it's a response to a commit.  I recommend moving the
 source files on the cvs.apache.org rather than on your
 local machine.  That way, commit history is preserved.
 
 - Morgan
 
 --- Morgan Delagrange [EMAIL PROTECTED] wrote:
  Thanks for helping out!  You may already know this,
  but for me, the easiest way to move cvs files is, in
  the case of antlr:
  
1. go to cvs.apache.org, copy the ,v files to
  their
  new home in the remote CVS tree:
  
  cd
  /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags
  mkdir -p
  antlr/src/java/org/apache/commons/jelly/tags/antlr
  cp
  ../src/java/org/apache/commons/jelly/tags/antlr/*
  antlr/src/java/org/apache/commons/jelly/tags/antlr
  
2. update my local CVS repository and make sure
  the
  new location looks ok
3. remove/commit the old location in your local
  CVS
  tree. 
  
  It can be a pain in the ass if you remove/commit
  them
  before copying the ,v files.  In this case, you'll
  want to copy both the java source and the unit
  tests. 
   You might want to check your umask too, before you
  start copying ,v files around.
  
  - Morgan
  
  --- [EMAIL PROTECTED] wrote:
   dion2003/01/04 21:56:32
   
 Removed: 
   jelly/src/java/org/apache/commons/jelly/tags/antlr
   GrammarTag.java
   AntlrTagLibrary.java AntlrTag.java
   package.html
 Log:
 Remove antlr dependency
   
   --
   To unsubscribe, e-mail: 
  
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
   
  
  
  =
  Morgan Delagrange
  http://jakarta.apache.org/taglibs
  http://jakarta.apache.org/commons
  http://axion.tigris.org
  http://jakarta.apache.org/watchdog
  
  __
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up
  now.
  http://mailplus.yahoo.com
  
 
 
 =
 Morgan Delagrange
 http://jakarta.apache.org/taglibs
 http://jakarta.apache.org/commons
 http://axion.tigris.org
 http://jakarta.apache.org/watchdog
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 --
 To unsubscribe, e-mail: 
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]
 

 ForwardSourceID:NT0009F042 

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




DO NOT REPLY [Bug 14267] - DBCP doesn't work on Tomcat 4.1.12 and Oracle JDBC driver

2003-01-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14267.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14267

DBCP doesn't work on Tomcat 4.1.12 and Oracle JDBC driver





--- Additional Comments From [EMAIL PROTECTED]  2003-01-06 10:26 ---
I have the same problem in Tomcat 4.1.18, using the mysql vanilla example on
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html.

I suspect it has something with the way we deploy the application, which is not
described exactly in the example. An oberservation is that the jdbc information
from server.xml only is available when the tomcat is restarted, but not after an
remove/install operation through the manager interface.

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




[jelly] (was Re: [BUG] j:if and empty strings)

2003-01-06 Thread dion
Looks like a bug in Jelly/Jexl to me.

I believe you need to 'log-in' to Jira to file a bug report.
--
dIon Gillard, Multitask Consulting
Blog:  http://www.freeroller.net/page/dion/Weblog
Work:  http://www.multitask.com.au


[EMAIL PROTECTED] wrote on 06/01/2003 09:46:24 PM:

 Hi,
 
 ok, I'm too dumb to put a bug report into jira.werken.com. It just
 offers me commons attributes as possible projects and I can't select
 Maven.
 
 Consider the following two code segments:
 
 --- cut ---
 goal name=testEmptyVar1
   echo${test.prop}/echo
   j:set var=testPropX value=${test.prop}X/
   j:if test=${testPropX == 'X'}
 failtest.prop not set!/fail
   /j:if
 /goal
 --- cut ---
 
 --- cut ---
 goal name=testEmptyVar2
   echo${test.prop}/echo
   j:set var=testProp value=${test.prop}/
   j:if test=${testProp == ''}
 failtest.prop not set!/fail
   /j:if
 /goal
 --- cut ---
 
 The first one works (if test.prop is not set e.g. in my
 ~/build.properties , it reports test.prop not set), the second one
 does not.
 
 Neither does
 
 --- cut ---
 goal name=testEmptyVar3
   echo${test.prop}/echo
   j:set var=testProp value=${test.prop}/
   j:if test=${testProp.equals('')}
 failtest.prop not set!/fail
   /j:if
 /goal
 --- cut ---
 
 nor
 
 --- cut ---
 goal name=testEmptyVar4
   echo${test.prop}/echo
   j:set var=testProp value=${test.prop}/
   j:if test=${testProp.isEmpty()}
 failtest.prop not set!/fail
   /j:if
 /goal
 --- cut ---
 
 I do consider this a bug.
 
 
Regards
   Henning
 
 -- 
 Dipl.-Inf. (Univ.) Henning P. Schmiedehausen   -- Geschaeftsfuehrer
 INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [EMAIL PROTECTED]
 
 Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
 D-91054 Buckenhof Fax.: 09131 / 50654-20 
 
 --
 To unsubscribe, e-mail:   mailto:turbine-maven-dev-
 [EMAIL PROTECTED]
 For additional commands, e-mail: mailto:turbine-maven-dev-
 [EMAIL PROTECTED]
 

 ForwardSourceID:NT0009F162 

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




cvs commit: jakarta-commons/collections build.xml

2003-01-06 Thread rwaldhoff
rwaldhoff2003/01/06 04:54:58

  Modified:collections build.xml
  Log:
  cosmetic changes only
  
  Revision  ChangesPath
  1.35  +4 -5  jakarta-commons/collections/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-commons/collections/build.xml,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- build.xml 6 Jan 2003 12:54:05 -   1.34
  +++ build.xml 6 Jan 2003 12:54:57 -   1.35
  @@ -49,7 +49,7 @@
 property name=Name-Long value=Jakarta Commons Collections Package/
   
 !-- The current version number of this component --
  -  property name=component.version   value=2.1/
  +  property name=component.version value=2.1/
 property name=doc.release.notes 
value=RELEASE-NOTES-${component.version}.html/
 property name=doc.status value=STATUS.html/
   
  @@ -76,10 +76,9 @@
 property name=dest.bin.zip value=${dest}/${bin.name}.zip/
 
 property name=src.name value=${bin.name}-src/
  -  property name=dest.src.tarvalue=${dest}/${src.name}.tar/
  -  property name=dest.src.tar.gzvalue=${dest}/${src.name}.tar.gz/
  -  property name=dest.src.zip value=${dest}/${src.name}.zip/
  -  
  +  property name=dest.src.tar value=${dest}/${src.name}.tar/
  +  property name=dest.src.tar.gz value=${dest}/${src.name}.tar.gz/
  +  property name=dest.src.zip value=${dest}/${src.name}.zip/  
   
 property name=javac.debug value=true/
 property name=javac.deprecation value=true/
  
  
  

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




cvs commit: jakarta-commons/collections build.xml

2003-01-06 Thread rwaldhoff
rwaldhoff2003/01/06 05:00:54

  Modified:collections build.xml
  Log:
  * run test as part of dist -- good for gump, good for releases
  * update copy; to include 2003
  
  Revision  ChangesPath
  1.36  +3 -3  jakarta-commons/collections/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-commons/collections/build.xml,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- build.xml 6 Jan 2003 12:54:57 -   1.35
  +++ build.xml 6 Jan 2003 13:00:54 -   1.36
  @@ -177,7 +177,7 @@
  destdir=${dest.doc.api}
  windowtitle=${Name-Long}
  doctitle=${Name-Long}
  -   bottom=lt;smallgt;Copyright amp;copy; 2001-2002 Apache Software 
Foundation. Documenation generated ${TODAY}lt;/smallgt;.
  +   bottom=lt;smallgt;Copyright amp;copy; 2001-2003 Apache Software 
Foundation. Documenation generated ${TODAY}lt;/smallgt;.
  protected=true
  version=true
  author=true
  @@ -247,7 +247,7 @@
   
  !-- # --
   
  -   target name=dist depends=dist-jar,doc,dist-tar,dist-zip description=builds 
binary distribution/
  +   target name=dist depends=test,dist-jar,doc,dist-tar,dist-zip 
description=builds binary distribution/
   
  target name=dist-jar depends=build
 mkdir dir=${dest.jardir}/
  
  
  

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




Re: cvs commit: jakarta-commons/collections build.xml

2003-01-06 Thread Stefan Bodewig
On 6 Jan 2003, [EMAIL PROTECTED] wrote:

   * update copy; to include 2003

You could use

tstamp
  format property=year pattern=/
/tstamp

and

Copyright amp;copy; 2001-${year}

instead.  One place less that gets forgotten to update next year.

Stefan

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




[GUMP] Build Failure - commons-graph

2003-01-06 Thread commons-graph development

This email is autogenerated from the output from:
http://cvs.apache.org/builds/gump/2003-01-06/commons-graph.html


Buildfile: build.xml

init:
[mkdir] Created dir: /home/rubys/jakarta/jakarta-commons-sandbox/graph2/lib

get-deps:

compile:
[mkdir] Created dir: 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/target/classes
[javac] Compiling 63 source files to 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/target/classes
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:19:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MCompositeState;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:20:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MEvent;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:21:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MFinalState;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:22:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MGuard;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:23:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MPseudostate;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:24:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MState;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:25:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MStateMachine;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:26:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MStateVertex;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:27:
 package ru.novosoft.uml.behavior.state_machines does not exist
[javac] import ru.novosoft.uml.behavior.state_machines.MTransition;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:57:
 cannot resolve symbol
[javac] symbol  : class MStateVertex 
[javac] location: class org.apache.commons.graph.domain.uml.StateMachineFactory
[javac] private String getName(String namespace, MStateVertex msv)
[javac]  ^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/StateMachineFactory.java:82:
 cannot resolve symbol
[javac] symbol  : class MCompositeState 
[javac] location: class org.apache.commons.graph.domain.uml.StateMachineFactory
[javac]   MCompositeState mcs)
[javac]   ^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/ModelFactory.java:16:
 package ru.novosoft.uml.xmi does not exist
[javac] import ru.novosoft.uml.xmi.XMIReader;
[javac]^
[javac] 
/home/rubys/jakarta/jakarta-commons-sandbox/graph2/src/java/org/apache/commons/graph/domain/uml/ModelFactory.java:23:
 cannot resolve symbol
[javac] symbol  : class XMIReader 
[javac] location: class org.apache.commons.graph.domain.uml.ModelFactory
[javac] private XMIReader xmiReader = null;

cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/ojb .cvsignore

2003-01-06 Thread dion
dion2003/01/06 07:43:46

  Added:   jelly/jelly-tags/ojb .cvsignore
  Log:
  Ignore build output and logs
  
  Revision  ChangesPath
  1.1  jakarta-commons-sandbox/jelly/jelly-tags/ojb/.cvsignore
  
  Index: .cvsignore
  ===
  maven.log
  target
  
  
  

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/swing maven.xml

2003-01-06 Thread dion
dion2003/01/06 07:44:35

  Modified:jelly/jelly-tags/swing maven.xml
  Log:
  Fix build file
  
  Revision  ChangesPath
  1.2   +1 -16 jakarta-commons-sandbox/jelly/jelly-tags/swing/maven.xml
  
  Index: maven.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/swing/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml 3 Jan 2003 21:31:42 -   1.1
  +++ maven.xml 6 Jan 2003 15:44:35 -   1.2
  @@ -1,18 +1,3 @@
  -project default=java:jar xmlns:j=jelly:core xmlns:maven=jelly:maven 
xmlns:util=jelly:util
  -
  -  !-- copies unit testing stuff --
  -  postGoal name=test:compile
  -copy todir=${maven.test.dest}
  -  fileset dir=src/test
  -include name=**/*.properties/
  -include name=META-INF/services/*/
  -include name=**/*.jelly/
  -include name=**/*.xml/
  -include name=**/*.html/
  -include name=**/*.dtd/
  -include name=**/*.rng/
  -  /fileset
  -/copy
  -  /postGoal
  +project default=java:jar
   
   /project
  
  
  

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate - New directory

2003-01-06 Thread dion
dion2003/01/06 07:44:52

  jakarta-commons-sandbox/jelly/jelly-tags/validate - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java - New directory

2003-01-06 Thread dion
dion2003/01/06 07:44:52

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate/src - New directory

2003-01-06 Thread dion
dion2003/01/06 07:44:52

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:44:55

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:44:52

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org - New directory

2003-01-06 Thread dion
dion2003/01/06 07:44:54

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:44:52

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache/commons - New 
directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:44:53

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache/commons/jelly 
- New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:44:55

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons - New 
directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:44:52

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test - New directory

2003-01-06 Thread dion
dion2003/01/06 07:44:53

  jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:45:07

  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache/commons/jelly/tags
 - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache/commons/jelly/tags/validate ValidateTag.java AssertValidTag.java VerifierTag.java ValidateTagLibrary.java package.html

2003-01-06 Thread dion
dion2003/01/06 07:46:01

  Added:   
jelly/jelly-tags/validate/src/java/org/apache/commons/jelly/tags/validate
ValidateTag.java AssertValidTag.java
VerifierTag.java ValidateTagLibrary.java
package.html
  Log:
  Move out validate plugin
  
  Revision  ChangesPath
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache/commons/jelly/tags/validate/ValidateTag.java
  
  Index: ValidateTag.java
  ===
  /*
   * $Header: 
/home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache/commons/jelly/tags/validate/ValidateTag.java,v
 1.1 2003/01/06 15:46:01 dion Exp $
   * $Revision: 1.1 $
   * $Date: 2003/01/06 15:46:01 $
   *
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2002 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/).
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names The Jakarta Project, Commons, and Apache Software
   *Foundation must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called Apache
   *nor may Apache appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * http://www.apache.org/.
   * 
   * $Id: ValidateTag.java,v 1.1 2003/01/06 15:46:01 dion Exp $
   */
  package org.apache.commons.jelly.tags.validate;
  
  import org.apache.commons.jelly.MissingAttributeException;
  import org.apache.commons.jelly.TagSupport;
  import org.apache.commons.jelly.XMLOutput;
  import org.iso_relax.verifier.Verifier;
  import org.iso_relax.verifier.VerifierFilter;
  import org.iso_relax.verifier.VerifierHandler;
  import org.xml.sax.ContentHandler;
  import org.xml.sax.ErrorHandler;
  import org.xml.sax.SAXException;
  import org.xml.sax.SAXParseException;
  import org.xml.sax.helpers.AttributesImpl;
  
  /** 
   * This tag validates its body using a schema Verifier which can
   * validate against DTDs, XML Schema, RelaxNG, Relax or TREX.
   * Any JARV compliant Verifier could be used.
   * The error messages are output as XML events so that they can be styled by the 
parent tag.
   *
   * @author a href=mailto:[EMAIL PROTECTED];James Strachan/a
   * @version $Revision: 1.1 $
   */
  public class ValidateTag extends TagSupport {
  
  /** The verifier that this tag will use */
  private Verifier verifier;
  
  /** The SAX ErrorHandler */
  private ErrorHandler errorHandler;
  
  /** The boolean flag for whether the XML is valid */
  private String var;
 
  // Tag interface
  //-  

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

2003-01-06 Thread dion
dion2003/01/06 07:46:22

  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags
 - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:45:39

  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/java/org/apache/commons/jelly/tags/validate
 - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 07:46:30

  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate
 - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate suite.jelly address.rng validateDTD.jelly validateRNG.jelly TestJelly.java address.dtd

2003-01-06 Thread dion
dion2003/01/06 07:46:45

  Added:   
jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate
suite.jelly address.rng validateDTD.jelly
validateRNG.jelly TestJelly.java address.dtd
  Log:
  Move out validate plugin
  
  Revision  ChangesPath
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate/suite.jelly
  
  Index: suite.jelly
  ===
  ?xml version=1.0?
  test:suite 
xmlns:j=jelly:core 
xmlns:x=jelly:xml 
xmlns:test=jelly:junit 
xmlns:log=jelly:log 
xmlns:v=jelly:validate
  
  !-- test RelaxNG -- 
  
  test:case name=validateRelaxNG
  
  v:verifier uri=address.rng var=addressSchema/
  
  v:assertValid verifier=${addressSchema}
addressBook
  card
nameJohn Smith/name
email[EMAIL PROTECTED]/email
  /card
  card
nameFred Bloggs/name
email[EMAIL PROTECTED]/email
  /card
/addressBook
  /v:assertValid

  /test:case
  
  
  test:case name=invalidateRelaxNG
  
  v:verifier uri=address.rng var=addressSchema/
  
  j:catch var=exception
  v:assertValid var=flag verifier=${addressSchema}
addressBook
  card
email[EMAIL PROTECTED]/email
  /card
  card
nameFred Bloggs/name
  /card
  card
wrongnameFred Bloggs/wrongname
  /card
  card
  /card
/addressBook
  /v:assertValid
  /j:catch
  
  test:assert test=${!flag}The document should not be valid/test:assert
  test:assert test=${exception != null}An exception should have been 
thrown/test:assert
  log:infoThe exception was ${exception.message}/log:info

  /test:case
  
  
  !-- test DTDs -- 
  test:case name=validateDTD
  
  v:verifier uri=address.dtd var=addressSchema/
  
  v:assertValid verifier=${addressSchema}
addressBook
  card
nameJohn Smith/name
email[EMAIL PROTECTED]/email
  /card
  card
nameFred Bloggs/name
email[EMAIL PROTECTED]/email
  /card
/addressBook
  /v:assertValid

  /test:case
  
  
  test:case name=invalidateDTD
  
  v:verifier uri=address.dtd var=addressSchema/
  
  j:catch var=exception
  v:assertValid var=flag verifier=${addressSchema}
addressBook
  card
email[EMAIL PROTECTED]/email
  /card
  card
nameFred Bloggs/name
  /card
  card
wrongnameFred Bloggs/wrongname
  /card
  card
  /card
/addressBook
  /v:assertValid
  /j:catch
  
  test:assert test=${!flag}The document should not be valid/test:assert
  test:assert test=${exception != null}An exception should have been 
thrown/test:assert
  log:infoThe exception was ${exception.message}/log:info

  /test:case
 
  /test:suite
  
  
  
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate/address.rng
  
  Index: address.rng
  ===
  element name=addressBook xmlns=http://relaxng.org/ns/structure/0.9;

zeroOrMore

  element name=card

element name=name

  text/

/element

element name=email

  text/

/element

  /element

/zeroOrMore

  /element

  
  
  
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate/validateDTD.jelly
  
  Index: validateDTD.jelly
  ===
  ?xml version=1.0?
  j:jelly xmlns:j=jelly:core xmlns:v=jelly:validate
  
  Loading the verifier for a DTD
  
  v:verifier uri=address.dtd var=addressSchema/
  
  Attempting to validate a valid address ...
  
  v:validate var=flag verifier=${addressSchema}
addressBook
  card
nameJohn Smith/name
email[EMAIL PROTECTED]/email
  /card
  card
nameFred Bloggs/name
email[EMAIL PROTECTED]/email
  /card
/addressBook
  /v:validate
  
  Validation returned: ${flag}
  
  Attempting to validate a wrong address
  
  v:validate var=flag verifier=${addressSchema}
addressBook
  card
email[EMAIL PROTECTED]/email
  /card
  card
nameFred Bloggs/name
  /card
  card
wrongnameFred Bloggs/wrongname
  /card
  card
  /card
/addressBook
  /v:validate
  
  Validation returned: ${flag}

  /j:jelly
  
  
  
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate/validateRNG.jelly
  
  Index: validateRNG.jelly
  ===
  ?xml version=1.0?
  j:jelly xmlns:j=jelly:core 

cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/validate maven.xml project.properties project.xml .cvsignore

2003-01-06 Thread dion
dion2003/01/06 07:47:04

  Added:   jelly/jelly-tags/validate maven.xml project.properties
project.xml .cvsignore
  Log:
  Move out validate plugin
  
  Revision  ChangesPath
  1.1  jakarta-commons-sandbox/jelly/jelly-tags/validate/maven.xml
  
  Index: maven.xml
  ===
  project default=java:jar
  
  /project
  
  
  
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/validate/project.properties
  
  Index: project.properties
  ===
  # ---
  # P R O J E C T  P R O P E R T I E S
  # ---
  
  maven.junit.fork=true
  
  maven.compile.deprecation = on
  
  # Installation dir
  maven.dist.install.dir = /usr/local/jelly
  
  maven.checkstyle.properties=../tag-checkstyle.properties
  
  
  1.1  jakarta-commons-sandbox/jelly/jelly-tags/validate/project.xml
  
  Index: project.xml
  ===
  ?xml version=1.0 encoding=UTF-8?
  !DOCTYPE project [
!-- see file for description --
!ENTITY commonDeps SYSTEM file:../../commonDependencies.ent
  ]
  project
extend../tag-project.xml/extend
idcommons-jelly-tags-validate/id
namecommons-jelly-tags-validate/name
groupIdcommons-jelly/groupId
packageorg.apache.commons.jelly.tags.validate/package
  
description
This is a Jelly interface for XML validation.
/description
shortDescriptionCommons Jelly Validate Tag Library/shortDescription


siteDirectory/www/jakarta.apache.org/commons/sandbox/jelly/tags/validate/siteDirectory

distributionDirectory/www/jakarta.apache.org/builds/jakarta-commons-sandbox/jelly/tags/validate/distributionDirectory
repository
  
connectionscm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:jakarta-commons-sandbox/jelly/jelly-tags/validate//connection
  
urlhttp://cvs.apache.org/viewcvs/jakarta-commons-sandbox/jelly/jelly-tags/validate//url
/repository

  
dependencies

  commonDeps;

  !-- START for compilation --

  dependency
idcommons-jelly/id
versionSNAPSHOT/version
  /dependency

  dependency
idisorelax/id
version20020414/version
  /dependency
  
  dependency
idjunit/id
version3.8.1/version
  /dependency
  
  dependency
idmsv/id
version20020414/version
  /dependency
  !-- END for compilation --
  
!-- runtime dependencies --
  dependency
idxsdlib/id
version20020414/version
  /dependency
  
  dependency
idrelaxngDatatype/id
version20020414/version
  /dependency
  !-- END runtime --
  
/dependencies

  /project
  
  
  
  1.1  jakarta-commons-sandbox/jelly/jelly-tags/validate/.cvsignore
  
  Index: .cvsignore
  ===
  maven.log
  target
  
  
  

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




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

2003-01-06 Thread dion
dion2003/01/06 08:14:32

  jakarta-commons-sandbox/jelly/jelly-tags/util/src/test/org/apache - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:14:33

  jakarta-commons-sandbox/jelly/jelly-tags/util/src/test/org/apache/commons/jelly - 
New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:14:46

  jakarta-commons-sandbox/jelly/jelly-tags/util/src/java/org/apache/commons/jelly/tags 
- New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:15:00

  
jakarta-commons-sandbox/jelly/jelly-tags/util/src/java/org/apache/commons/jelly/tags/util
 - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:15:18

  jakarta-commons-sandbox/jelly/jelly-tags/util/src/test/org/apache/commons/jelly/tags 
- New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/util/src/test/org/apache/commons/jelly/tags/util foo.properties dummy.xml suite.jelly TestJelly.java

2003-01-06 Thread dion
dion2003/01/06 08:15:49

  Added:   jelly/jelly-tags/util/src/java/org/apache/commons/jelly/tags/util
PropertiesTag.java UtilTagLibrary.java
TokenizeTag.java AvailableTag.java package.html
ReplaceTag.java LoadTextTag.java SleepTag.java
   jelly/jelly-tags/util/src/test/org/apache/commons/jelly/tags/util
foo.properties dummy.xml suite.jelly TestJelly.java
  Log:
  Move util out into it's own tag
  
  Revision  ChangesPath
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/util/src/java/org/apache/commons/jelly/tags/util/PropertiesTag.java
  
  Index: PropertiesTag.java
  ===
  /*
   *
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2002 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/).
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names The Jakarta Project, Tomcat, and Apache Software
   *Foundation must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called Apache
   *nor may Apache appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * http://www.apache.org/.
   *
   */
  
  package org.apache.commons.jelly.tags.util;
  
  import java.io.File;
  import java.io.FileInputStream;
  import java.io.InputStream;
  import java.util.Enumeration;
  import java.util.Properties;
  
  import org.apache.commons.jelly.JellyException;
  import org.apache.commons.jelly.TagSupport;
  import org.apache.commons.jelly.XMLOutput;
  
  /**
   * A tag which loads a properties file from a given file name or URI
   * which are loaded into the current context.
   * 
   * @author Jim Birchfield
   * @version $Revision: 1.1 $
   */
  public class PropertiesTag extends TagSupport {
  private String file;
  private String uri;
  private String var;
  
  public PropertiesTag() {
  }
  
  // Tag interface
  //- 
  public void doTag(final XMLOutput output) throws Exception {
  if (file == null  uri == null) {
  throw new JellyException(This tag must define a 'file' or 'uri' 
attribute);
  }
  InputStream is = null;
  if (file != null) {
  File f = new File(file);
  if (!f.exists()) {
  throw new JellyException(file:  + file +  does not exist!);
  }
  is = new FileInputStream(f);
  }
  else {
  is = context.getResourceAsStream(uri);
  if (is == null) {
  throw new 

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

2003-01-06 Thread dion
dion2003/01/06 08:15:27

  
jakarta-commons-sandbox/jelly/jelly-tags/util/src/test/org/apache/commons/jelly/tags/util
 - 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/util UtilTagLibrary.java LoadTextTag.java AvailableTag.java package.html TokenizeTag.java SleepTag.java PropertiesTag.java ReplaceTag.java

2003-01-06 Thread dion
dion2003/01/06 08:17:26

  Removed: jelly/src/java/org/apache/commons/jelly/tags/util
UtilTagLibrary.java LoadTextTag.java
AvailableTag.java package.html TokenizeTag.java
SleepTag.java PropertiesTag.java ReplaceTag.java
  Log:
  Move util out into it's own tag

--
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/util TestJelly.java suite.jelly foo.properties dummy.xml

2003-01-06 Thread dion
dion2003/01/06 08:19:44

  Removed: jelly/src/test/org/apache/commons/jelly/util TestJelly.java
suite.jelly foo.properties dummy.xml
  Log:
  Move util out into it's own tag

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




[jelly-tags-ant][patch] build.xml

2003-01-06 Thread Sam Ruby
I've gened a build.xml using a recent bootstrap of maven.  No changes 
were required for it to work with Gump.

- Sam Ruby
?xml version=1.0 encoding=UTF-8?

project default=jar name=commons-jelly-tags-ant basedir=.
  
  property name=defaulttargetdir value=target/property 
  property name=classesdir value=target/classes/property
  property name=testclassesdir value=target/test-classes/property
  property name=testreportdir value=target/test-reports/property
  
  
  
  
  	
		
		  
		
  
  
  property name=resourcedir value=./property
  
  property name=distdir value=dist/property
  property name=javadocdir value=target/docs/apidocs/property
  property name=final.name value=commons-jelly-tags-ant-1.0-SNAPSHOT/property
  
  target name=init description=o Initializes some properties
mkdir dir=lib/mkdir
condition property=noget
  equals arg2=only arg1=${build.sysclasspath}/equals
/condition
  /target

  target name=compile description=o Compile the code depends=get-deps

mkdir dir=${classesdir}/mkdir

javac destdir=${classesdir} deprecation=true debug=true optimize=false excludes=**/package.html
  src
pathelement location=src/java/pathelement
  /src
  classpath
fileset dir=lib
  include name=*.jar/include
/fileset
  /classpath
/javac


		
 
copy todir=${classesdir}
  
  
  
  
  fileset dir=src/java
  
  
include name=**/*.properties/include
  
  
  /fileset
/copy

		


		
 
copy todir=${testclassesdir}
  
  
  
  
  fileset dir=src/test
  
  
include name=**/*.jelly/include
  
include name=**/*.xml/include
  
include name=**/*.xsl/include
  
include name=**/*.rng/include
  
include name=**/*.dtd/include
  
include name=**/*.properties/include
  
include name=**/*.html/include
  
  
  /fileset
/copy
 
		

  /target

  target name=jar description=o Create the jar depends=compile,test

jar jarfile=target/${final.name}.jar excludes=**/package.html basedir=${classesdir}/jar

  /target
  
  target name=clean description=o Clean up the generated directories
delete dir=${defaulttargetdir}/delete
delete dir=${distdir}/delete
  /target

  target name=dist description=o Create a distribution depends=jar, javadoc
mkdir dir=dist/mkdir
copy todir=dist
  fileset dir=${defaulttargetdir}/fileset
/copy
  /target
 
  target name=test description=o Run the test cases if=test.failure depends=internal-test
fail message=There were test failures./fail
  /target
  target name=internal-test depends=compile-tests

  mkdir dir=${testreportdir}/mkdir
  junit dir=./ failureproperty=test.failure printSummary=yes fork=true haltonerror=true

sysproperty key=basedir value=./sysproperty
formatter type=xml/formatter
formatter usefile=true type=plain/formatter
classpath
  fileset dir=lib
include name=*.jar/include
  /fileset
  pathelement path=${testclassesdir}/pathelement
  pathelement path=${classesdir}/pathelement
/classpath
batchtest todir=${testreportdir}
  fileset dir=src/test

  include name=**/Test*.java/include





  /fileset
/batchtest
  /junit

  /target

  target name=compile-tests depends=compile

  mkdir dir=${testclassesdir}/mkdir
  javac destdir=${testclassesdir} deprecation=true debug=true optimize=false excludes=**/package.html
src
  pathelement location=src/test/pathelement
/src
classpath
  fileset dir=lib
include name=*.jar/include
  /fileset
  pathelement path=${classesdir}/pathelement
/classpath
  /javac

  
   
  

  /target

  target name=javadoc description=o Generate javadoc depends=jar
 
 
mkdir dir=${javadocdir}/mkdir
 

tstamp
  format pattern=2002- property=year/format
/tstamp
 
property name=copyright value=Copyright amp;copy;  Apache Software Foundation. All Rights Reserved./property
 
property name=title value=commons-jelly-tags-ant 1.0-SNAPSHOT API/property
 
javadoc use=true private=true destdir=${javadocdir} author=true version=true sourcepath=src/java packagenames=org.apache.commons.jelly.tags.ant.*
  classpath
fileset dir=lib
  include name=*.jar/include
/fileset
pathelement location=target/${final.name}.jar/pathelement
  /classpath
/javadoc
 
  /target

  target name=get-deps unless=noget depends=init
  

get dest=lib/commons-jexl-1.0-beta-1.jar usetimestamp=true ignoreerrors=true src=http://www.ibiblio.org/maven/commons-jexl/jars/commons-jexl-1.0-beta-1.jar;/get
get 

cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java - New directory

2003-01-06 Thread dion
dion2003/01/06 08:38:45

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:38:45

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons - New 
directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:38:46

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test/org/apache/commons - New 
directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/swt/src - New directory

2003-01-06 Thread dion
dion2003/01/06 08:38:45

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test/org - New directory

2003-01-06 Thread dion
dion2003/01/06 08:38:46

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test/org - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:38:46

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test/org/apache - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test - New directory

2003-01-06 Thread dion
dion2003/01/06 08:38:46

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:38:45

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly - New 
directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:38:45

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/swt - New directory

2003-01-06 Thread dion
dion2003/01/06 08:38:44

  jakarta-commons-sandbox/jelly/jelly-tags/swt - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:38:45

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:38:46

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test/org/apache/commons/jelly - New 
directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:39:05

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags 
- New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:39:12

  
jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt
 - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:39:25

  jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test/org/apache/commons/jelly/tags 
- New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 08:39:34

  
jakarta-commons-sandbox/jelly/jelly-tags/swt/src/test/org/apache/commons/jelly/tags/swt
 - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/swt project.xml project.properties .cvsignore maven.xml

2003-01-06 Thread dion
dion2003/01/06 08:40:36

  Added:   jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt
OnEventTag.java LayoutTagSupport.java
SwtHelper.java MenuTag.java LayoutTag.java
WidgetTag.java LayoutDataTag.java package.html
SwtTagLibrary.java
   jelly/jelly-tags/swt/src/test/org/apache/commons/jelly/tags/swt
tableTree.jelly example.jelly tree.jelly
   jelly/jelly-tags/swt project.xml project.properties
.cvsignore maven.xml
  Log:
  Move swt out into its own taglib
  
  Revision  ChangesPath
  1.1  
jakarta-commons-sandbox/jelly/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/OnEventTag.java
  
  Index: OnEventTag.java
  ===
  /*
   * 
/home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/swt/LayoutTagSupport.java,v
 1.1 2002/12/18 15:27:49 jstrachan Exp
   * 1.1
   * 2002/12/18 15:27:49
   *
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2002 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *notice, this list of conditions and the following disclaimer in
   *the documentation and/or other materials provided with the
   *distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *any, must include the following acknowlegement:
   *   This product includes software developed by the
   *Apache Software Foundation (http://www.apache.org/).
   *Alternately, this acknowlegement may appear in the software itself,
   *if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names The Jakarta Project, Commons, and Apache Software
   *Foundation must not be used to endorse or promote products derived
   *from this software without prior written permission. For written
   *permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called Apache
   *nor may Apache appear in their names without prior written
   *permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * 
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * http://www.apache.org/.
   * 
   * LayoutTagSupport.java,v 1.1 2002/12/18 15:27:49 jstrachan Exp
   */
  package org.apache.commons.jelly.tags.swt;
  
  import org.apache.commons.jelly.JellyException;
  import org.apache.commons.jelly.MissingAttributeException;
  import org.apache.commons.jelly.TagSupport;
  import org.apache.commons.jelly.XMLOutput;
  import org.apache.commons.logging.Log;
  import org.apache.commons.logging.LogFactory;
  import org.eclipse.swt.SWT;
  import org.eclipse.swt.widgets.Event;
  import org.eclipse.swt.widgets.Listener;
  import org.eclipse.swt.widgets.Widget;
  
  /** 
   * A tag which implements a Listener to allow events to be processed by
   * Jelly scripts
   *
   * @author a href=mailto:[EMAIL PROTECTED];James Strachan/a
   * @version 1.1
   */
  public class OnEventTag extends TagSupport implements Listener {
  
  /** The Log to which logging calls will be made. */
  private static final Log log = LogFactory.getLog(OnEventTag.class);
  
  private String var = event;
  private String type; 
  private XMLOutput output;
  
  public OnEventTag() {
  }
  
  // Tag interface
  

cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/swt LayoutDataTag.java MenuTag.java SwtHelper.java LayoutTagSupport.java package.html WidgetTag.java LayoutTag.java SwtTagLibrary.java OnEventTag.java

2003-01-06 Thread dion
dion2003/01/06 08:41:40

  Removed: jelly/src/java/org/apache/commons/jelly/tags/swt
LayoutDataTag.java MenuTag.java SwtHelper.java
LayoutTagSupport.java package.html WidgetTag.java
LayoutTag.java SwtTagLibrary.java OnEventTag.java
  Log:
  Move swt out into its own taglib

--
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/swt example.jelly tableTree.jelly tree.jelly

2003-01-06 Thread dion
dion2003/01/06 08:43:11

  Removed: jelly/src/test/org/apache/commons/jelly/swt example.jelly
tableTree.jelly tree.jelly
  Log:
  Move swt out into its own taglib

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/ant build.xml

2003-01-06 Thread dion
dion2003/01/06 08:44:46

  Added:   jelly/jelly-tags/ant build.xml
  Log:
  Added build file from patch supplied by Sam Ruby
  
  Revision  ChangesPath
  1.1  jakarta-commons-sandbox/jelly/jelly-tags/ant/build.xml
  
  Index: build.xml
  ===
  ?xml version=1.0 encoding=UTF-8?
  
  project default=jar name=commons-jelly-tags-ant basedir=.

property name=defaulttargetdir value=target/property 
property name=classesdir value=target/classes/property
property name=testclassesdir value=target/test-classes/property
property name=testreportdir value=target/test-reports/property




 
 
   
 


property name=resourcedir value=./property

property name=distdir value=dist/property
property name=javadocdir value=target/docs/apidocs/property
property name=final.name value=commons-jelly-tags-ant-1.0-SNAPSHOT/property

target name=init description=o Initializes some properties
  mkdir dir=lib/mkdir
  condition property=noget
equals arg2=only arg1=${build.sysclasspath}/equals
  /condition
/target
  
target name=compile description=o Compile the code depends=get-deps
  
  mkdir dir=${classesdir}/mkdir
  
  javac destdir=${classesdir} deprecation=true debug=true optimize=false 
excludes=**/package.html
src
  pathelement location=src/java/pathelement
/src
classpath
  fileset dir=lib
include name=*.jar/include
  /fileset
/classpath
  /javac
  
  
 
   
  copy todir=${classesdir}




fileset dir=src/java


  include name=**/*.properties/include


/fileset
  /copy
  
 
  
  
 
   
  copy todir=${testclassesdir}




fileset dir=src/test


  include name=**/*.jelly/include

  include name=**/*.xml/include

  include name=**/*.xsl/include

  include name=**/*.rng/include

  include name=**/*.dtd/include

  include name=**/*.properties/include

  include name=**/*.html/include


/fileset
  /copy
   
 
  
/target
  
target name=jar description=o Create the jar depends=compile,test
  
  jar jarfile=target/${final.name}.jar excludes=**/package.html 
basedir=${classesdir}/jar
  
/target

target name=clean description=o Clean up the generated directories
  delete dir=${defaulttargetdir}/delete
  delete dir=${distdir}/delete
/target
  
target name=dist description=o Create a distribution depends=jar, javadoc
  mkdir dir=dist/mkdir
  copy todir=dist
fileset dir=${defaulttargetdir}/fileset
  /copy
/target
   
target name=test description=o Run the test cases if=test.failure 
depends=internal-test
  fail message=There were test failures./fail
/target
target name=internal-test depends=compile-tests
  
mkdir dir=${testreportdir}/mkdir
junit dir=./ failureproperty=test.failure printSummary=yes fork=true 
haltonerror=true
  
  sysproperty key=basedir value=./sysproperty
  formatter type=xml/formatter
  formatter usefile=true type=plain/formatter
  classpath
fileset dir=lib
  include name=*.jar/include
/fileset
pathelement path=${testclassesdir}/pathelement
pathelement path=${classesdir}/pathelement
  /classpath
  batchtest todir=${testreportdir}
fileset dir=src/test
  
include name=**/Test*.java/include
  
  
  
  
  
/fileset
  /batchtest
/junit
  
/target
  
target name=compile-tests depends=compile
  
mkdir dir=${testclassesdir}/mkdir
javac destdir=${testclassesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
  src
pathelement location=src/test/pathelement
  /src
  classpath
fileset dir=lib
  include name=*.jar/include
/fileset
pathelement path=${classesdir}/pathelement
  /classpath
/javac
  

 

  
/target
  
target name=javadoc description=o Generate javadoc depends=jar
   
   
  mkdir dir=${javadocdir}/mkdir
   
  
  tstamp
format pattern=2002- property=year/format
  /tstamp
 

Re: [jelly-tags-ant][patch] build.xml

2003-01-06 Thread dion
Committed, thanks.
--
dIon Gillard, Multitask Consulting
Blog:  http://www.freeroller.net/page/dion/Weblog
Work:  http://www.multitask.com.au

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




cvs commit: jakarta-commons-sandbox/jelly maven.xml

2003-01-06 Thread dion
dion2003/01/06 08:46:51

  Modified:jellymaven.xml
  Log:
  Removed util taglib usage from demo.
  
  Revision  ChangesPath
  1.53  +1 -1  jakarta-commons-sandbox/jelly/maven.xml
  
  Index: maven.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/maven.xml,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- maven.xml 5 Jan 2003 07:06:07 -   1.52
  +++ maven.xml 6 Jan 2003 16:46:51 -   1.53
  @@ -514,7 +514,7 @@
   
   echo/echo
   
  - util:sleep millis=1000/
  +!-- FIXME: util now in a sep taglib util:sleep millis=1000/ --
 /goal
   
 goal name=demo:asyncOtherThread
  
  
  

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




cvs commit: jakarta-commons-sandbox/jelly project.xml

2003-01-06 Thread dion
dion2003/01/06 08:48:04

  Modified:jellyproject.xml
  Log:
  Altered dependencies inline with extracted tags
  
  Revision  ChangesPath
  1.111 +16 -10jakarta-commons-sandbox/jelly/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/project.xml,v
  retrieving revision 1.110
  retrieving revision 1.111
  diff -u -r1.110 -r1.111
  --- project.xml   6 Jan 2003 08:18:09 -   1.110
  +++ project.xml   6 Jan 2003 16:48:04 -   1.111
  @@ -280,6 +280,11 @@
   /dependency
   
   dependency
  +  idnekohtml/id
  +  version0.6.5/version
  +/dependency
  +
  +dependency
 idservletapi/id
 version2.3/version
   /dependency
  @@ -349,7 +354,7 @@
 version1.0.2b/version
   /dependency
   
  - !-- validate taglib --
  + !-- validate taglib 
   dependency
 idisorelax/id
 version20020414/version
  @@ -358,9 +363,9 @@
   dependency
 idmsv/id
 version20020414/version
  -/dependency
  +/dependency--
   
  - !-- runtime dependency for validate taglib --
  + !-- runtime dependency for validate taglib 
   dependency
 idxsdlib/id
 version20020414/version
  @@ -369,13 +374,13 @@
   dependency
 idrelaxngDatatype/id
 version20020414/version
  -/dependency
  +/dependency--
   
  - !-- html taglib --
  + !-- html taglib 
   dependency
 idnekohtml/id
 version0.6.5/version
  -/dependency
  +/dependency--
   
!-- scheduler taglib --
   dependency
  @@ -402,6 +407,7 @@
 version1.0.2/version
 jaractivation-1.0.2.jar/jar
   /dependency
  +
   dependency
 idjavamail/id
 version1.2/version
  @@ -433,13 +439,13 @@
 version0.8/version
   /dependency--
   
  - !-- swt taglib --
  + !-- swt taglib 
   dependency
  -  idswt/id
  +  idswt/id--
 
  -  !-- don't know how to support OS-dependent jars in Maven yet --
  +  !-- don't know how to support OS-dependent jars in Maven yet
 versionwin32-2.1.0/version
  -/dependency
  +/dependency --
 /dependencies
 build
   nagEmailAddress[EMAIL PROTECTED]/nagEmailAddress
  
  
  

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




cvs commit: jakarta-commons-sandbox/jelly project.xml

2003-01-06 Thread dion
dion2003/01/06 08:54:07

  Modified:jellyproject.xml
  Log:
  Change current version to reflect:
  a) It's a snapshot
  b) It's not yet 1.0-beta-4
  
  Revision  ChangesPath
  1.112 +1 -1  jakarta-commons-sandbox/jelly/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/project.xml,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- project.xml   6 Jan 2003 16:48:04 -   1.111
  +++ project.xml   6 Jan 2003 16:54:07 -   1.112
  @@ -7,7 +7,7 @@
 pomVersion3/pomVersion
 namecommons-jelly/name
 idcommons-jelly/id
  -  currentVersionSNAPSHOT/currentVersion
  +  currentVersion1.0-beta-4-SNAPSHOT/currentVersion
 
 organization
   nameApache Software Foundation/name
  
  
  

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




Re: [Jelly] moving code [was: Re: cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/antlr GrammarTag.java AntlrTagLibrary.java AntlrTag.java package.html]

2003-01-06 Thread Morgan Delagrange
It's up to you, but moving files around without
history can be a PITA for new developers.  Changing
files on the server is pretty safe as long as you
always copy, never move/delete.

--- [EMAIL PROTECTED] wrote:
 Yep,
 
 I did see it, but all the screwing with the cvs
 repository isn't 
 something I trust myself with.
 
 I figure the history is still there, including the
 deletion :) Just in the 
 Attic, right? Or does CVS really throw away the
 history on a delete?
 --
 dIon Gillard, Multitask Consulting
 Blog: 
 http://www.freeroller.net/page/dion/Weblog
 Work:  http://www.multitask.com.au
 
 
 Morgan Delagrange [EMAIL PROTECTED] wrote on
 06/01/2003 06:06:20 AM:
 
  Hey all,
  
  You might have missed this message, I often do to
 when
  it's a response to a commit.  I recommend moving
 the
  source files on the cvs.apache.org rather than on
 your
  local machine.  That way, commit history is
 preserved.
  
  - Morgan
  
  --- Morgan Delagrange [EMAIL PROTECTED] wrote:
   Thanks for helping out!  You may already know
 this,
   but for me, the easiest way to move cvs files
 is, in
   the case of antlr:
   
 1. go to cvs.apache.org, copy the ,v files to
   their
   new home in the remote CVS tree:
   
   cd
  
 /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags
   mkdir -p
  
 antlr/src/java/org/apache/commons/jelly/tags/antlr
   cp
  
 ../src/java/org/apache/commons/jelly/tags/antlr/*
  
 antlr/src/java/org/apache/commons/jelly/tags/antlr
   
 2. update my local CVS repository and make
 sure
   the
   new location looks ok
 3. remove/commit the old location in your
 local
   CVS
   tree. 
   
   It can be a pain in the ass if you remove/commit
   them
   before copying the ,v files.  In this case,
 you'll
   want to copy both the java source and the unit
   tests. 
You might want to check your umask too, before
 you
   start copying ,v files around.
   
   - Morgan
   
   --- [EMAIL PROTECTED] wrote:
dion2003/01/04 21:56:32

  Removed: 
   
 jelly/src/java/org/apache/commons/jelly/tags/antlr
GrammarTag.java
AntlrTagLibrary.java AntlrTag.java
package.html
  Log:
  Remove antlr dependency

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

   
   
   =
   Morgan Delagrange
   http://jakarta.apache.org/taglibs
   http://jakarta.apache.org/commons
   http://axion.tigris.org
   http://jakarta.apache.org/watchdog
   
  
 __
   Do you Yahoo!?
   Yahoo! Mail Plus - Powerful. Affordable. Sign up
   now.
   http://mailplus.yahoo.com
   
  
  
  =
  Morgan Delagrange
  http://jakarta.apache.org/taglibs
  http://jakarta.apache.org/commons
  http://axion.tigris.org
  http://jakarta.apache.org/watchdog
  
  __
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up
 now.
  http://mailplus.yahoo.com
  
  --
  To unsubscribe, e-mail: 
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
  
 
  ForwardSourceID:NT0009F042 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


=
Morgan Delagrange
http://jakarta.apache.org/taglibs
http://jakarta.apache.org/commons
http://axion.tigris.org
http://jakarta.apache.org/watchdog

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: cvs commit: jakarta-commons-sandbox/jelly project.xml

2003-01-06 Thread Morgan Delagrange

--- [EMAIL PROTECTED] wrote:
 dion2003/01/06 08:54:07
 
   Modified:jellyproject.xml
   Log:
   Change current version to reflect:
   a) It's a snapshot
   b) It's not yet 1.0-beta-4
   

Is this really necessary?  Now I have to go and change
all the individual taglib builds from SNAPSHOT to
1.0-beta-4-SNAPSHOT, then I have to do it again every
time we have a new beta.  I don't see how 1.0-beta-4
snapshot is any more meaningful.  I'd rather point to
SNAPSHOT (the closest Maven has to HEAD) until we have
a released version to point to.

- Morgan

=
Morgan Delagrange
http://jakarta.apache.org/taglibs
http://jakarta.apache.org/commons
http://axion.tigris.org
http://jakarta.apache.org/watchdog

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/html project.xml

2003-01-06 Thread morgand
morgand 2003/01/06 09:57:02

  Modified:jelly/jelly-tags/html project.xml
  Log:
  updated to most recent Maven version of Xerces and nekohtml
  
  Revision  ChangesPath
  1.5   +1 -1  jakarta-commons-sandbox/jelly/jelly-tags/html/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/html/project.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- project.xml   5 Jan 2003 05:15:12 -   1.4
  +++ project.xml   6 Jan 2003 17:57:02 -   1.5
  @@ -37,7 +37,7 @@
   !-- html taglib --
   dependency
 idnekohtml/id
  -  version0.6.5/version
  +  version0.7.1/version
   /dependency
   
   !-- END for compilation --
  
  
  

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




cvs commit: jakarta-commons-sandbox/jelly commonDependencies.ent project.xml

2003-01-06 Thread morgand
morgand 2003/01/06 09:58:14

  Modified:jellycommonDependencies.ent project.xml
  Log:
  updated to most recent Maven version of Xerces and nekohtml
  
  Revision  ChangesPath
  1.2   +1 -1  jakarta-commons-sandbox/jelly/commonDependencies.ent
  
  Index: commonDependencies.ent
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/commonDependencies.ent,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- commonDependencies.ent3 Jan 2003 01:37:41 -   1.1
  +++ commonDependencies.ent6 Jan 2003 17:58:14 -   1.2
  @@ -53,5 +53,5 @@
   
   dependency
 idxerces/id
  -  version2.0.2/version
  +  version2.2.1/version
   /dependency
  
  
  
  1.113 +1 -6  jakarta-commons-sandbox/jelly/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/project.xml,v
  retrieving revision 1.112
  retrieving revision 1.113
  diff -u -r1.112 -r1.113
  --- project.xml   6 Jan 2003 16:54:07 -   1.112
  +++ project.xml   6 Jan 2003 17:58:14 -   1.113
  @@ -281,7 +281,7 @@
   
   dependency
 idnekohtml/id
  -  version0.6.5/version
  +  version0.7.1/version
   /dependency
   
   dependency
  @@ -376,11 +376,6 @@
 version20020414/version
   /dependency--
   
  - !-- html taglib 
  -dependency
  -  idnekohtml/id
  -  version0.6.5/version
  -/dependency--
   
!-- scheduler taglib --
   dependency
  
  
  

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




[lang] questions regarding coding conventions

2003-01-06 Thread Sean Schofield
I am about to submit some new code to the lang project 
(org.apache.commons.lang.time.FastDateFormat).  I have a couple of 
questions regarding the javadoc style.

1) What should I be using for @since tag?
2) What should I put for @version tag?

- sean


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



[Jelly] taglib builds broken?

2003-01-06 Thread Morgan Delagrange
Hey dIon,

Do the jar tasks on the taglib builds work for you? 
For me, they stopped working when you moved the
resource copying tasks out of the maven.xml files. 
None of the resource files copy anymore in my
environment.

- Morgan

=
Morgan Delagrange
http://jakarta.apache.org/taglibs
http://jakarta.apache.org/commons
http://axion.tigris.org
http://jakarta.apache.org/watchdog

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: [lang] questions regarding coding conventions

2003-01-06 Thread scolebourne
@since 2.0
@version $Id: $

Stephen

  from:Sean Schofield [EMAIL PROTECTED]
  date:Mon, 06 Jan 2003 18:06:15
  to:  [EMAIL PROTECTED]
  subject: Re: [lang] questions regarding coding conventions
 
 I am about to submit some new code to the lang project 
 (org.apache.commons.lang.time.FastDateFormat).  I have a couple of 
 questions regarding the javadoc style.
 
 1) What should I be using for @since tag?
 2) What should I put for @version tag?
 
 - sean
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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




[SUBMIT] jakarta.commons.Collections.ChainedHashMap

2003-01-06 Thread Chan, Jesse Rosetta
Hi all,

A while back I wrote a Collection util called ChainedHashMap that I would
now like to contribute to Jakarta Commons Collections.  (This is my first
submission to Jakarta, so I apologize in advance if my mailing-list
etiquette is lacking :).  Whereas, a java.util.HashMap allows for a unique
key-value pair, a ChainedHashMap allows for a unique key-values pair [along
with a lot of convenience methods].  The code is submitted along with proper
documentation, javadoc, unit test, etc.  The included documentation (in .pdf
format) is an article I am writing about ChainedHashMap -- hopefully to be
submitted to a Java magazine -- that explains what a ChainedHashMap is,
basic usage, performance, and some areas of application.  Note: The package
name in ChainedHashMap and ChainedHashMapTest need to be modified from
rosetta.opslims.lvs.util to jakarta.commons.collections.  Thank you,
Jakarta, for helping to make quality code for the benefit of all!  Keep up
the good work!!!

--
Jesse Chan
Software Engineer, LIMS
Merck Research Laboratories
Rosetta Inpharmatics LLC.
Email: [EMAIL PROTECTED]


--
Notice: This e-mail message, together with any attachments, contains information of 
Merck  Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, 
proprietary copyrighted and/or legally privileged, and is intended solely for the use 
of the individual or entity named on this message.  If you are not the intended 
recipient, and have received this message in error, please immediately return this by 
e-mail and then delete it.

==



ChainedHashMap.zip
Description: Binary data
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


[lang][patch] New submission: FastDateFormat, FastDateFormatTest

2003-01-06 Thread Sean Schofield
FastDateFormat is a new class for the time subpackage of commons-lang. 
It is based on a class originally written by Brian O'Neill for a 
non-jakarta-related open source project.  It has been reused (and 
modified) with his permission.

I wrote FastDateFormatTest to go along with this.  A few unit tests are 
still missing but this is because I would like to remove some of the 
untested methods from FastDateFormat if we can reach a consensus on this.

Please see my follow-up email regarding the changes I made to the 
original source code, and issues that I feel we should discuss regarding 
the future direction of this class.

Regards,

- sean schofield

NOTE: zipped files do not contain path info (so they will have to be 
dropped into the test and source directories - package is 
org.apache.commons.lang.time)


FastDateFormatTest.gz
Description: GNU Zip compressed data


FastDateFormat.gz
Description: GNU Zip compressed data
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


[lang][patch] FastDateFormatTest added to TimeTestSuite

2003-01-06 Thread Sean Schofield
Index: src/test/org/apache/commons/lang/time/TimeTestSuite.java
===
RCS file: 
/home/cvspublic/jakarta-commons/lang/src/test/org/apache/commons/lang/time/TimeTestSuite.java,v
retrieving revision 1.2
diff -r1.2 TimeTestSuite.java
67c67
 
---

90a91
 suite.addTest(FastDateFormatTest.suite());


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



Re: [SUBMIT] jakarta.commons.Collections.ChainedHashMap

2003-01-06 Thread Rich Dougherty
 A while back I wrote a Collection util called ChainedHashMap that I would
 now like to contribute to Jakarta Commons Collections.  (This is my first
 submission to Jakarta, so I apologize in advance if my mailing-list
 etiquette is lacking :).  Whereas, a java.util.HashMap allows for a unique
 key-value pair, a ChainedHashMap allows for a unique key-values pair [along
 with a lot of convenience methods].  The code is submitted along with proper
 documentation, javadoc, unit test, etc.  The included documentation (in .pdf
 format) is an article I am writing about ChainedHashMap -- hopefully to be
 submitted to a Java magazine -- that explains what a ChainedHashMap is,
 basic usage, performance, and some areas of application.  Note: The package
 name in ChainedHashMap and ChainedHashMapTest need to be modified from
 rosetta.opslims.lvs.util to jakarta.commons.collections.  Thank you,
 Jakarta, for helping to make quality code for the benefit of all!  Keep up
 the good work!!!

Hi Jesse

Welcome! I'm new around here too, so hopefully someone will jump in if
I'm wrong about this.

ChainedHashMap should probably extend the MultiMap interface, which is
used for mapping keys to collections of values. Also ChainedHashMap
seems to be very similar to MultiHashMap (although ChainedHashMap has a
much richer set of operations). Perhaps you could have a look at
MultiHashMap to see whether ChainedHashMap should be merged with this
class or whether it should stand on its own.

Rich



signature.asc
Description: This is a digitally signed message part


cvs commit: jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/impl TestResources.xml TestResources_en.xml TestResources_en_US.xml TestResources_fr.xml XMLResourcesTestCase.java

2003-01-06 Thread craigmcc
craigmcc2003/01/06 12:41:35

  Modified:resources/src/java/org/apache/commons/resources/impl
PropertyResources.java
  Added:   resources/src/java/org/apache/commons/resources/impl
XMLResources.java XMLResourcesFactory.java
   resources/src/test/org/apache/commons/resources/impl
TestResources.xml TestResources_en.xml
TestResources_en_US.xml TestResources_fr.xml
XMLResourcesTestCase.java
  Log:
  Add back in XMLResources support, and the corresponding test case.
  Add debug logging to PropertyResources and XMLResources.
  
  Revision  ChangesPath
  1.2   +53 -5 
jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResources.java
  
  Index: PropertyResources.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/PropertyResources.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PropertyResources.java5 Jan 2003 03:29:57 -   1.1
  +++ PropertyResources.java6 Jan 2003 20:41:35 -   1.2
  @@ -63,12 +63,15 @@
   package org.apache.commons.resources.impl;
   
   
  +import java.io.FileNotFoundException;
   import java.io.InputStream;
   import java.io.IOException;
   import java.net.URL;
   import java.util.Locale;
   import java.util.Map;
   import java.util.Properties;
  +import org.apache.commons.logging.Log;
  +import org.apache.commons.logging.LogFactory;
   import org.apache.commons.resources.Resources;
   
   
  @@ -114,6 +117,16 @@
   }
   
   
  +// - Instance Variables
  +
  +
  +/**
  + * pThe codeLog/code instance for this class./p
  + */
  +protected static final Log log =
  +LogFactory.getLog(PropertyResources.class);
  +
  +
   // -- Protected Methods
   
   
  @@ -141,16 +154,48 @@
*/
   protected Map getLocaleMap(String base, Locale locale) {
   
  +if (log.isDebugEnabled()) {
  +log.debug(Loading locale ' + locale + ' resources from base ' +
  +  base + ');
  +}
  +
   Properties props = new Properties();
   String name = base + getLocaleSuffix(locale) + .properties;
   InputStream stream = null;
  +
   try {
  +
  +// Open an input stream to the URL for this locale (if any)
  +if (log.isTraceEnabled()) {
  +log.trace(Absolute URL is ' + name + ');
  +}
   URL url = new URL(name);
   stream = url.openStream();
  +
  +// Parse the input stream and populate the name-value mappings map
  +if (log.isTraceEnabled()) {
  +log.trace(Parsing input resource);
  +}
   props.load(stream);
  +
  +} catch (FileNotFoundException e) {
  +
  +// Log and swallow this exception
  +if (log.isDebugEnabled()) {
  +log.debug(No resources for locale ' + locale +
  +  ' from base ' + base + ');
  +}
  +props.clear();
  +
   } catch (IOException e) {
  -; // Swallow IOExceptions, will cause an empty Map to be returned
  +
  +log.warn(IOException loading locale ' + locale +
  + ' from base ' + base + ', e);
  +props.clear();
  +
   } finally {
  +
  +// Close the input stream that was opened earlier
   if (stream != null) {
   try {
   stream.close();
  @@ -159,7 +204,10 @@
   }
   stream = null;
   }
  +
   }
  +
  +// Return the populated (or empty) properties
   return (props);
   
   }
  
  
  
  1.1  
jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/XMLResources.java
  
  Index: XMLResources.java
  ===
  /*
   * $Header: 
/home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl/XMLResources.java,v
 1.1 2003/01/06 20:41:35 craigmcc Exp $
   * $Revision: 1.1 $
   * $Date: 2003/01/06 20:41:35 $
   *
   * 
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *notice, 

cvs commit: jakarta-commons-sandbox/resources/src/test/org/apache/commons/resources/tests AllTests.java ConfigurationReaderTest.java FileResourcesExposer.java FileResourcesExposerFactory.java FileResourcesTest.java Test.properties WebappFileResourcesTest.java WebappResourcesManagerTest.java config-test.xml

2003-01-06 Thread craigmcc
craigmcc2003/01/06 13:09:53

  Modified:resources build.xml
   resources/src/java/org/apache/commons/resources
Resources.java
  Removed: resources/src/java/org/apache/commons/resources
ConfigurationReader.java LocalStrings.properties
ResourcesBase.java ResourcesManager.java
XMLConfigurationReader.java
   resources/src/java/org/apache/commons/resources/file
FileResources.java FileResourcesFactory.java
LocalStrings.properties
   resources/src/java/org/apache/commons/resources/file/web
WebappFileResources.java
WebappFileResourcesFactory.java
   resources/src/java/org/apache/commons/resources/message
LocalStrings.properties
MessageResourcesFactory.java
PropertyMessageResources.java
PropertyMessageResourcesFactory.java
XMLMessageResources.java
XMLMessageResourcesFactory.java
   resources/src/java/org/apache/commons/resources/web
WebappResources.java WebappResourcesBase.java
WebappResourcesManager.java
   resources/src/test/org/apache/commons/resources/junit
ResourcesManagerTestCase.java
XMLConfigurationReaderTestCase.java
test-resources.xml
   resources/src/test/org/apache/commons/resources/tests
AllTests.java ConfigurationReaderTest.java
FileResourcesExposer.java
FileResourcesExposerFactory.java
FileResourcesTest.java Test.properties
WebappFileResourcesTest.java
WebappResourcesManagerTest.java config-test.xml
  Log:
  Remove Cactus-based stuff from the build.xml file, since all of the unit
  tests now run straight under JUnit.
  
  Remove the implementations that have been made obsolete by the refactoring.
  
  TODO:  Update the documentation.
  
  Revision  ChangesPath
  1.19  +21 -177   jakarta-commons-sandbox/resources/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/build.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- build.xml 3 Jan 2003 05:01:35 -   1.18
  +++ build.xml 6 Jan 2003 21:09:51 -   1.19
  @@ -14,10 +14,8 @@
initInitialize and evaluate conditionals
javadoc Create component Javadoc documentation
prepare Prepare build directory
  - start.tomcat.4  WAR up the test webapp and deploy it on Tomcat 4.0
static  Copy static files to build directory
  - testRun all unit test cases (Tomcat 4.0)
  - test.junit  Unit Tests that require only JUnit, not Cactus
  + testRun all unit test cases
   
Default target: compile
   
  @@ -34,8 +32,8 @@
   
   !-- == External Dependencies = --
   
  -  !-- The home directory for jaxp 1.1 --
  -  property name=jaxp.home   value=/usr/local/jaxp1.1/
  +  !-- The home directory for the BeanUtils package --
  +  property name=commons-beanutils.home value=../beanutils/dist /
   
 !-- The home directory for the Commons collection classes distribution --
 property name=commons-collections.home value=../collections/dist/
  @@ -43,68 +41,38 @@
 !-- The home directory for the Digester package --
 property name=commons-digester.home value=../digester/dist /
   
  -  !-- The home directory for the BeanUtils package --
  -  property name=commons-beanutils.home value=../beanutils/dist /
  +  !-- The home directory for the Discovery package --
  +  property name=commons-discovery.home value=../discovery/dist /
   
 !-- The home directory for the Logging package --
 property name=commons-logging.home value=../logging/dist /
   
 !-- The directory containing your binary distribution of JUnit,
  -   version 3.2 or later --
  -  property name=junit.home  value=/usr/local/junit3.5 /
  -
  -  !-- The directory containing the servlet 2.2 jar --
  -  property name=servlet.homevalue=/usr/local/servlet-2.3 /
  -
  -  !-- The directory containing Cactus = 1.4.1 --
  -  property name=cactus.home 
value=/usr/local/jakarta-cactus-13-1.4.1 /
  -
  -  !-- The directory containing Tomcat = 4.0 --
  -  property name=tomcat.4.home value=/usr/local/jakarta-tomcat-4.0 
/
  -
  -  !-- The manager webapp URL, username, and password for Tomcat = 4.1 --
  -  

cvs commit: jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/message MessageResources.java

2003-01-06 Thread craigmcc
craigmcc2003/01/06 13:11:14

  Removed: resources/src/java/org/apache/commons/resources/message
MessageResources.java
  Log:
  Oops -- missed one.

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




cvs commit: jakarta-commons-sandbox/resources/src/test/test test1_en_US_EST.txt test_13K.txt test_5K.txt

2003-01-06 Thread craigmcc
craigmcc2003/01/06 13:14:02

  Removed: resources/src/test cactus.properties
   resources/src/test/test test1_en_US_EST.txt test_13K.txt
test_5K.txt
  Log:
  Remove obsolete test files.

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




cvs commit: jakarta-commons/betwixt checkstyle.properties

2003-01-06 Thread rdonkin
rdonkin 2003/01/06 13:23:00

  Modified:betwixt  checkstyle.properties
  Log:
  Customized checkstyle properties so that singletons do not raise naming pattern 
errors and so that the long cvs headers don't raise size errors.
  
  Revision  ChangesPath
  1.2   +6 -0  jakarta-commons/betwixt/checkstyle.properties
  
  Index: checkstyle.properties
  ===
  RCS file: /home/cvs/jakarta-commons/betwixt/checkstyle.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkstyle.properties 27 Oct 2002 01:28:18 -  1.1
  +++ checkstyle.properties 6 Jan 2003 21:23:00 -   1.2
  @@ -1,3 +1,9 @@
   checkstyle.maxlinelen = 100
  +## allow cvs header lines to exceed maximum
  +checkstyle.ignore.maxlinelen = 2
   checkstyle.ignore.whitespace = true
   checkstyle.ignore.public.in.interface = true
  +## allow singletons to be named any-which-way-but-loose
  +checkstyle.pattern.const = ^[a-zA-Z0-9_]*$
  +
  +
  
  
  

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




[Jelly] [Proposal] list of core taglibs

2003-01-06 Thread Morgan Delagrange
Hi all,

Before we get too much further in the refactoring, I'd
like to nail down a provisional list of which tags
will be part of the core distribution and which will
be separate downloads.  I think common reuse
principles apply.  For the purpose of these tags,
let's suppose that an acceptable measure of reuse is,
if you're going to use Jelly in _any_ capacity, it's
likely that you will need taglib_name.

Here are the tags I'm pretty sure we don't need in the
core distro: ant, antlr, betwixt, bsf, email, html,
http, interaction, jeez, jetty, jms, jsl, ojb, quartz,
soap, sql, swing, threads, validate and xmlunit.

Here are the tags I'm pretty sure we do need at the
core of jelly: core, define.

And here are the tags I'm not sure about...

bean, beanshell, and dynabean: I think they're out. 
They all seem specific to a single domain (ant,
beanshell, beanuitls).

junit: Tough one, since many of our unit tests utilize
these tags.  Thoughts?

log: out?

util: out?

xml: even though Jelly is XML-based in syntax, I don't
see that these tags are really bound to the inner
workings of Jelly.  So I'm inclined to say out.

- Morgan

=
Morgan Delagrange
http://jakarta.apache.org/taglibs
http://jakarta.apache.org/commons
http://axion.tigris.org
http://jakarta.apache.org/watchdog

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: cvs commit: jakarta-commons/collections build.xml

2003-01-06 Thread Sam Ruby
[EMAIL PROTECTED] wrote:

rwaldhoff2003/01/06 05:00:54

  Modified:collections build.xml
  Log:
  * run test as part of dist -- good for gump, good for releases


+1

Two files seem to be missing, though, see:

http://nagoya.apache.org/~rubys/gump/commons-collections.html

This causes a lot of yellow on the gump page:

http://nagoya.apache.org/~rubys/gump/

- Sam Ruby




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




[lang] Unit Tests Also: [lang][patch] New submission: FastDateFormat,FastDateFormatTest

2003-01-06 Thread Henri Yandell


You seem to use assertFalse and assertNotSame, which I think are JUnit
3.8.1 functions and not 3.7. [I'm a little unsure, as I think the
junit-3.7.jar on my machine is actually a junit-3.8.1.jar due to some
screwup].

Against 3.8.1, these tests run fine. Against 3.7 they don't. Anyone got a
reason not to update to 3.8.1?

Lang also doesn't pass its enum/ tests at the moment. It's a serialization
error:

1) 
testOperationSerialization(org.apache.commons.lang.enum.EnumTest)java.lang.NoClassDefFoundError:
org/apache/commons/lang/enum/OperationEnum$1

Anyone got this in hand? Or able to confirm that this is true?

Hen

On Mon, 6 Jan 2003, Sean Schofield wrote:

 FastDateFormat is a new class for the time subpackage of commons-lang.
  It is based on a class originally written by Brian O'Neill for a
 non-jakarta-related open source project.  It has been reused (and
 modified) with his permission.

 I wrote FastDateFormatTest to go along with this.  A few unit tests are
 still missing but this is because I would like to remove some of the
 untested methods from FastDateFormat if we can reach a consensus on this.

 Please see my follow-up email regarding the changes I made to the
 original source code, and issues that I feel we should discuss regarding
 the future direction of this class.

 Regards,

 - sean schofield

 NOTE: zipped files do not contain path info (so they will have to be
 dropped into the test and source directories - package is
 org.apache.commons.lang.time)



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




Re: cvs commit: jakarta-commons-sandbox/jelly project.xml

2003-01-06 Thread dion
Morgan Delagrange [EMAIL PROTECTED] wrote on 07/01/2003 04:56:12 AM:

 
 --- [EMAIL PROTECTED] wrote:
  dion2003/01/06 08:54:07
  
Modified:jellyproject.xml
Log:
Change current version to reflect:
a) It's a snapshot
b) It's not yet 1.0-beta-4
  
 
 Is this really necessary?  Now I have to go and change
 all the individual taglib builds from SNAPSHOT to
 1.0-beta-4-SNAPSHOT, then I have to do it again every
 time we have a new beta.  I don't see how 1.0-beta-4
 snapshot is any more meaningful.  I'd rather point to
 SNAPSHOT (the closest Maven has to HEAD) until we have
 a released version to point to.
This is what it used to be, without the SNAPSHOT.

We wen't from 1.0-beta-1 to 1.0-beta-2 to 1.0-beta-3 and are now in the 
middle of 1.0-beta-4. So it is more meaningful, as there is some history 
in the existing versions on ibiblio.

I don't understand why you have to go change any of the existing taglib 
builds, as they are all using SNAPSHOT, which is just the term for the 
latest (and symlinked) release in the repository (local or remote). A 
versionSNAPSHOT/version should never be needed, as you can create a 

maven jar:snapshot

And copy the resulting jar to the repository (there are admin scripts to 
do it to ibiblio, you can do it locally by hand), as 
commons-jelly-SNAPSHOT.jar

The -SNAPSHOT.jar is not representative of the version tag, it's the 
latest build of that jar, regardless of version.

I hope this helps explain things.
--
dIon Gillard, Multitask Consulting
Blog:  http://www.freeroller.net/page/dion/Weblog
Work:  http://www.multitask.com.au



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




cvs commit: jakarta-commons/betwixt/xdocs todo.xml

2003-01-06 Thread rdonkin
rdonkin 2003/01/06 13:49:39

  Modified:betwixt/xdocs todo.xml
  Log:
  Added to do task
  
  Revision  ChangesPath
  1.27  +5 -0  jakarta-commons/betwixt/xdocs/todo.xml
  
  Index: todo.xml
  ===
  RCS file: /home/cvs/jakarta-commons/betwixt/xdocs/todo.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- todo.xml  5 Jan 2003 16:27:16 -   1.26
  +++ todo.xml  6 Jan 2003 21:49:39 -   1.27
  @@ -101,6 +101,11 @@
   a release distribution. The example also needs some more work - better 
java docs and also
   more features.
   /li
  +li
  +strongReview AbstractBeanWriter and SAXBeanWriter/strong
  +AbstractBeanWriter and SAXBeanWriter were written very quickly (to 
support functionality
  +in maven). They need to be reviewed and properly documentated.
  +/li
  /ul
   /subsection
   
  
  
  

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




cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy CapitalizeNameMapper.java DecapitalizeNameMapper.java DefaultNameMapper.java DefaultPluralStemmer.java HyphenatedNameMapper.java NameMapper.java PluralStemmer.java

2003-01-06 Thread rdonkin
rdonkin 2003/01/06 14:50:45

  Modified:betwixt  checkstyle.properties
   betwixt/src/java/org/apache/commons/betwixt
ElementDescriptor.java XMLIntrospector.java
   betwixt/src/java/org/apache/commons/betwixt/digester
AddDefaultsRule.java AttributeRule.java
ElementRule.java InfoRule.java
XMLIntrospectorHelper.java
   betwixt/src/java/org/apache/commons/betwixt/expression
IteratorExpression.java MethodExpression.java
MethodUpdater.java
   betwixt/src/java/org/apache/commons/betwixt/io
AbstractBeanWriter.java BeanCreateRule.java
BeanWriter.java CyclicReferenceException.java
   betwixt/src/java/org/apache/commons/betwixt/io/id
AbstractIDGenerator.java RandomIDGenerator.java
SequentialIDGenerator.java
   betwixt/src/java/org/apache/commons/betwixt/registry
DefaultXMLBeanInfoRegistry.java
NoCacheRegistry.java XMLBeanInfoRegistry.java
   betwixt/src/java/org/apache/commons/betwixt/strategy
CapitalizeNameMapper.java
DecapitalizeNameMapper.java DefaultNameMapper.java
DefaultPluralStemmer.java HyphenatedNameMapper.java
NameMapper.java PluralStemmer.java
  Log:
  Enhanced java doc comments and corrected style issues (thanks checkstyle!)
  
  Revision  ChangesPath
  1.3   +2 -1  jakarta-commons/betwixt/checkstyle.properties
  
  Index: checkstyle.properties
  ===
  RCS file: /home/cvs/jakarta-commons/betwixt/checkstyle.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- checkstyle.properties 6 Jan 2003 21:23:00 -   1.2
  +++ checkstyle.properties 6 Jan 2003 22:50:43 -   1.3
  @@ -5,5 +5,6 @@
   checkstyle.ignore.public.in.interface = true
   ## allow singletons to be named any-which-way-but-loose
   checkstyle.pattern.const = ^[a-zA-Z0-9_]*$
  -
  +## don't complain about CyclicReferenceException's
  +checkstyle.javadoc.checkUnusedThrows = true
   
  
  
  
  1.5   +4 -8  
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/ElementDescriptor.java
  
  Index: ElementDescriptor.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/ElementDescriptor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ElementDescriptor.java11 Dec 2002 22:12:10 -  1.4
  +++ ElementDescriptor.java6 Jan 2003 22:50:44 -   1.5
  @@ -178,8 +178,7 @@
   if ( attributeDescriptors == null ) {
   if ( attributeList == null ) {
   attributeDescriptors = new AttributeDescriptor[0];
  -}
  -else {
  +} else {
   attributeDescriptors = new AttributeDescriptor[ 
attributeList.size() ];
   attributeList.toArray( attributeDescriptors );
   
  @@ -209,8 +208,7 @@
   if ( elementDescriptors == null ) {
   if ( elementList == null ) {
   elementDescriptors = new ElementDescriptor[0];
  -}
  -else {
  +} else {
   elementDescriptors = new ElementDescriptor[ elementList.size() ];
   elementList.toArray( elementDescriptors );
   
  @@ -265,8 +263,7 @@
   }
   // force lazy recreation later
   attributeDescriptors = null;
  -}
  -else {
  +} else {
   attributeList = new ArrayList();
   }
   }
  @@ -284,8 +281,7 @@
   }
   // force lazy recreation later
   elementDescriptors = null;
  -}
  -else {
  +} else {
   elementList = new ArrayList();
   }
   }
  
  
  
  1.18  +5 -10 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java
  
  Index: XMLIntrospector.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- XMLIntrospector.java  5 Jan 2003 17:18:32 -   1.17
  +++ XMLIntrospector.java  6 Jan 2003 22:50:44 -   1.18
  @@ -224,8 +224,7 @@
   public XMLBeanInfo introspect(Class aClass) throws IntrospectionException {
  

Re: [collections] unit test failures with NodeCachingLinkedList

2003-01-06 Thread Rodney Waldhoff
Rich,

I'm still having trouble applying this patch (tried RH linux as well).

Can you just send me your copy of NodeCachingLinkedList? That's the only
file that's causing me trouble.

On 5 Jan 2003, Rich Dougherty wrote:

 Here's a repost of a patch which will fix this. Note that the
 reimplementation of java.util.LinkedList is necessary so we can override
 node creation and deletion without using Sun's code.

 Rich



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




Re: [lang] Unit Tests Also: [lang][patch] New submission: FastDateFormat,FastDateFormatTest

2003-01-06 Thread Sean Schofield
Henri Yandell wrote:


You seem to use assertFalse and assertNotSame, which I think are JUnit
3.8.1 functions and not 3.7. [I'm a little unsure, as I think the
junit-3.7.jar on my machine is actually a junit-3.8.1.jar due to some
screwup].

Against 3.8.1, these tests run fine. Against 3.7 they don't. Anyone got a
reason not to update to 3.8.1?


Oops.  I wrote the test cases using JBuilder 8.0 which apparently has 
3.8 for JUnit.  I could rewrite these tests to conform to 3.7 or we 
could upgrade commons-lang to 3.8.1 as you suggested.  I'm ok with 
either option but it might be a good idea to take advantage of the new 
junit stuff 

- sean

 



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




Re: cvs commit: jakarta-commons/collections build.xml

2003-01-06 Thread Rodney Waldhoff
I get the same problems and have been working to address it.  See the
recent [collections] thread.  (This way maybe someone else will get to it
first :)

On Mon, 6 Jan 2003, Sam Ruby wrote:

 [EMAIL PROTECTED] wrote:
  rwaldhoff2003/01/06 05:00:54
 
Modified:collections build.xml
Log:
* run test as part of dist -- good for gump, good for releases

 +1

 Two files seem to be missing, though, see:

 http://nagoya.apache.org/~rubys/gump/commons-collections.html

 This causes a lot of yellow on the gump page:

 http://nagoya.apache.org/~rubys/gump/

 - Sam Ruby




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




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




cvs commit: jakarta-commons/collections build.xml

2003-01-06 Thread rwaldhoff
rwaldhoff2003/01/06 16:08:38

  Modified:collections build.xml
  Log:
  follow Stefan's advice and use ${year} instead of 2003
  
  Revision  ChangesPath
  1.37  +5 -3  jakarta-commons/collections/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-commons/collections/build.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- build.xml 6 Jan 2003 13:00:54 -   1.36
  +++ build.xml 7 Jan 2003 00:08:38 -   1.37
  @@ -24,7 +24,9 @@
  !-- # --
   
  target name=init
  -  tstamp/
  +  tstamp
  +format property=year pattern=/
  +  /tstamp
   
 !-- read properties from the build.properties, if any --
 property name=component-propfile value=${basedir}/build.properties/
  @@ -177,7 +179,7 @@
  destdir=${dest.doc.api}
  windowtitle=${Name-Long}
  doctitle=${Name-Long}
  -   bottom=lt;smallgt;Copyright amp;copy; 2001-2003 Apache Software 
Foundation. Documenation generated ${TODAY}lt;/smallgt;.
  +   bottom=lt;smallgt;Copyright amp;copy; 2001-${year} Apache 
Software Foundation. Documenation generated ${TODAY}lt;/smallgt;.
  protected=true
  version=true
  author=true
  
  
  

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




cvs commit: jakarta-commons-sandbox/clazz/src/test/org/apache/commons/clazz/reflect/standard StandardReflectedClazzTest.java StandardReflectedInstanceFactoryTest.java StandardReflectedListPropertyTest.java StandardReflectedOperationTest.java

2003-01-06 Thread dmitri
dmitri  2003/01/06 16:43:51

  Modified:clazz/src/java/org/apache/commons/clazz Clazz.java
ClazzLoaderFactory.java
   clazz/src/java/org/apache/commons/clazz/common
ExtendedClazzLoaderFactory.java
StandardClazzLoaderFactory.java
   clazz/src/test/org/apache/commons/clazz/bean
BeanClazzLoaderTest.java BeanClazzTest.java
   clazz/src/test/org/apache/commons/clazz/reflect
ReflectedClazzTestSupport.java
   clazz/src/test/org/apache/commons/clazz/reflect/extended
ExtendedReflectedClazzTest.java
ExtendedReflectedInstanceFactoryTest.java
ExtendedReflectedListPropertyTest.java
ExtendedReflectedOperationTest.java
ReflectedMappedPropertyTest.java
   clazz/src/test/org/apache/commons/clazz/reflect/standard
StandardReflectedClazzTest.java
StandardReflectedInstanceFactoryTest.java
StandardReflectedListPropertyTest.java
StandardReflectedOperationTest.java
  Added:   clazz/src/java/org/apache/commons/clazz/common
ClazzLoaderFactorySupport.java
  Log:
  Improved class loader detection
  
  Revision  ChangesPath
  1.7   +60 -62
jakarta-commons-sandbox/clazz/src/java/org/apache/commons/clazz/Clazz.java
  
  Index: Clazz.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/clazz/src/java/org/apache/commons/clazz/Clazz.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Clazz.java5 Jan 2003 23:11:40 -   1.6
  +++ Clazz.java7 Jan 2003 00:43:50 -   1.7
  @@ -79,29 +79,23 @@
   private String name;
   private List listeners;
   
  -public static final String DEFAULT_CLAZZ_LOADER_FACTORY =
  -org.apache.commons.clazz.DefaultClazzLoaderFactory;
  +public static final String STANDARD_CLAZZ_MODEL =
  +org.apache.commons.clazz.StandardClazzModel;
   
  -public static final String STANDARD_CLAZZ_LOADER_FACTORY =
  -org.apache.commons.clazz.StandardClazzLoaderFactory;
  -
  -public static final String EXTENDED_CLAZZ_LOADER_FACTORY =
  -org.apache.commons.clazz.ExtendedClazzLoaderFactory;
  +public static final String EXTENDED_CLAZZ_MODEL =
  +org.apache.commons.clazz.ExtendedClazzModel;
   
  +private static String defaultClazzModelKey = EXTENDED_CLAZZ_MODEL;
   private static ClazzLoader defaultClazzLoader;
   private static Map clazzLoaderFactories = new HashMap();
   
   static {
   setClazzLoaderFactory(
  -STANDARD_CLAZZ_LOADER_FACTORY,
  +STANDARD_CLAZZ_MODEL,
   StandardClazzLoaderFactory.FACTORY);
   
   setClazzLoaderFactory(
  -EXTENDED_CLAZZ_LOADER_FACTORY,
  -ExtendedClazzLoaderFactory.FACTORY);
  -
  -setClazzLoaderFactory(
  -DEFAULT_CLAZZ_LOADER_FACTORY,
  +EXTENDED_CLAZZ_MODEL,
   ExtendedClazzLoaderFactory.FACTORY);
   }
   
  @@ -109,88 +103,92 @@
* Register a clazz loader factory for the specified key, which represents
* the type of model the corresponding clazz loaders implement.
* 
  - * @param key is the type of the model
  + * @param modelKey is the type of the model
* @param clazzLoader
*/
   public static void setClazzLoaderFactory(
  -String key, ClazzLoaderFactory clazzLoaderFactory)
  +String modelKey, ClazzLoaderFactory clazzLoaderFactory)
   {
  -clazzLoaderFactories.put(key, clazzLoaderFactory);
  +clazzLoaderFactories.put(modelKey, clazzLoaderFactory);
   }
   
   /**
  - * Register the default clazz loader factory.
  + * Returns a ClazzLoaderFactory registered for the supplied model key. We
  + * can have multiple clazz loader factories implementing different models
  + * (e.g. Standard JavaBeans, Extended JavaBeans etc).
* 
  - * @param clazzLoaderFactory
  + * @param key is the type of the model we need
  + * @return ClazzLoaderFactory
*/
  -public static void setDefaultClazzLoaderFactory(
  -ClazzLoaderFactory clazzLoaderFactory) 
  -{
  -clazzLoaderFactories.put(
  -DEFAULT_CLAZZ_LOADER_FACTORY,
  -clazzLoaderFactory);
  +public static ClazzLoaderFactory getClazzLoaderFactory(String modelKey) {
  +return (ClazzLoaderFactory) clazzLoaderFactories.get(modelKey);
   }
  -
  +
   /**
  - * Returns the default clazz loader factory.
  + * Select 

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/primitives ListIntList.java ListIteratorIntListIterator.java AbstractRandomAccessIntList.java CollectionIntCollection.java IntCollectionCollection.java IntListIteratorListIterator.java IntListList.java

2003-01-06 Thread rwaldhoff
rwaldhoff2003/01/06 16:59:51

  Modified:collections/src/java/org/apache/commons/collections/primitives
AbstractRandomAccessIntList.java
CollectionIntCollection.java
IntCollectionCollection.java
IntListIteratorListIterator.java IntListList.java
  Added:   collections/src/java/org/apache/commons/collections/primitives
ListIntList.java ListIteratorIntListIterator.java
  Log:
  * add additional adapters
  * modify wrappers so that equals compares wrapped types
  * clarify IntList.equals with javadoc
  
  Revision  ChangesPath
  1.2   +24 -28
jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractRandomAccessIntList.java
  
  Index: AbstractRandomAccessIntList.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractRandomAccessIntList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractRandomAccessIntList.java  6 Jan 2003 03:59:12 -   1.1
  +++ AbstractRandomAccessIntList.java  7 Jan 2003 00:59:51 -   1.2
  @@ -146,33 +146,29 @@
   return new RandomAccessIntSubList(this,fromIndex,toIndex);
   }
   
  +/** 
  + * Returns codetrue/code iff ithat/i is 
  + * an {@link IntList} with the same {@link #size size}
  + * as me, and whose {@link #iterator iterator} returns the 
  + * same sequence of values as mine.
  + */
   public boolean equals(Object that) {
  -// handle an easy and somewhat frequent case via a shortcut
  -if(this == that) { return true; } 
  -
  -// otherwise, try to get an IntIterator from that object
  -IntIterator thatIter = null;
  -if(that instanceof IntList) {
  -if(size() != ((IntList)that).size()) { return false; } // another quick 
check
  -thatIter = ((IntList)that).iterator();
  -} else if(that instanceof List) {
  -if(size() != ((List)that).size()) { return false; } // another quick 
check
  -thatIter = IteratorIntIterator.wrap(((List)that).iterator());
  -}
  -
  -if(null == thatIter) { return false; }
  -
  -// walk thru thisIter and thatIter, checking for any differences
  -for(IntIterator thisIter = iterator(); thisIter.hasNext();) {
  -if(!thatIter.hasNext()) { return false; } // thatIter has a different 
length
  -if(thisIter.next() != thatIter.next()) { 
  -return false; 
  +if(this == that) { 
  +return true; 
  +} else if(that instanceof IntList) {
  +IntList thatList = (IntList)that;
  +if(size() != thatList.size()) {
  +return false;
   }
  -}
  -
  -if(thatIter.hasNext()) { return false; } // thatIter has a different length
  -
  -return true;
  +for(IntIterator thatIter = thatList.iterator(), thisIter = iterator(); 
thisIter.hasNext();) {
  +if(thisIter.next() != thatIter.next()) { 
  +return false; 
  +}
  +}
  +return true;
  +} else {
  +return false;
  +}
   }
   
   public int hashCode() {
  
  
  
  1.2   +9 -5  
jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/CollectionIntCollection.java
  
  Index: CollectionIntCollection.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/CollectionIntCollection.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CollectionIntCollection.java  5 Jan 2003 03:03:42 -   1.1
  +++ CollectionIntCollection.java  7 Jan 2003 00:59:51 -   1.2
  @@ -96,8 +96,12 @@
   return _collection.containsAll(IntCollectionCollection.wrap(c));
   }
   
  -public boolean equals(Object o) {
  -return _collection.equals(o);
  +public boolean equals(Object that) {
  +if(that instanceof IntCollection) {
  +return 
_collection.equals(IntCollectionCollection.wrap((IntCollection)that));
  +} else {
  +return _collection.equals(that);
  +}
   }
   
   public int hashCode() {
  
  
  
  1.3   +16 -6 
jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/IntCollectionCollection.java
  
  Index: IntCollectionCollection.java
  ===
  RCS file: 

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/primitives CollectionIntCollection.java IntCollectionCollection.java

2003-01-06 Thread rwaldhoff
rwaldhoff2003/01/06 17:34:07

  Modified:collections/src/java/org/apache/commons/collections/primitives
CollectionIntCollection.java
IntCollectionCollection.java
  Log:
  add toString
  
  Revision  ChangesPath
  1.3   +8 -4  
jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/CollectionIntCollection.java
  
  Index: CollectionIntCollection.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/CollectionIntCollection.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CollectionIntCollection.java  7 Jan 2003 00:59:51 -   1.2
  +++ CollectionIntCollection.java  7 Jan 2003 01:34:07 -   1.3
  @@ -108,6 +108,10 @@
   return _collection.hashCode();
   }
   
  +public String toString() {
  +return _collection.toString();
  +}
  +
   public boolean isEmpty() {
   return _collection.isEmpty();
   }
  
  
  
  1.4   +8 -4  
jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/IntCollectionCollection.java
  
  Index: IntCollectionCollection.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/IntCollectionCollection.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- IntCollectionCollection.java  7 Jan 2003 00:59:51 -   1.3
  +++ IntCollectionCollection.java  7 Jan 2003 01:34:07 -   1.4
  @@ -117,6 +117,10 @@
   return _collection.hashCode();
   }
   
  +public String toString() {
  +return _collection.toString();
  +}
  +
   public boolean isEmpty() {
   return _collection.isEmpty();
   }
  
  
  

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




Re: [xerces][jelly] html test failure

2003-01-06 Thread Elena Litani
Sam Ruby wrote:
 This test fails when running with the latest (from cvs) nekohtml and a
 2002-12-15 17:26:22 version of xerces.

There was a SAX bug in the 2002-12-15 commit that was fixed on
2002-12-19. 
Can you check if Jelly still fails with the most recent Xerces +
nekohtml builds?

If yes, do you have any standalone test case that we can run to
reproduce a problem? 

Thank you,
-- 
Elena Litani / IBM Toronto

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




cvs commit: jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/impl WebappPropertyResources.java WebappPropertyResourcesFactory.java WebappXMLResources.java WebappXMLResourcesFactory.java

2003-01-06 Thread craigmcc
craigmcc2003/01/06 18:40:53

  Modified:resources build.xml
   resources/src/java overview.html
  Added:   resources/src/java/org/apache/commons/resources
ResourcesFactoryFinder.java
   resources/src/java/org/apache/commons/resources/impl
WebappPropertyResources.java
WebappPropertyResourcesFactory.java
WebappXMLResources.java
WebappXMLResourcesFactory.java
  Log:
  Add ResourcesFactoryFinder, which uses the discovery mechanism described
  for the commons-discovery process to locate the appropriate implementation
  of o.a.c.r.ResourcesFactory.
  
  Add webapp-aware versions of PropertyResources and XMLResources that let you
  use context-relative resource paths to specify the resource files.  You must
  call setServletContext() on the corresponding factory instance before using
  it to create Resources instances.
  
  Revision  ChangesPath
  1.21  +12 -2 jakarta-commons-sandbox/resources/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/build.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- build.xml 7 Jan 2003 01:59:33 -   1.20
  +++ build.xml 7 Jan 2003 02:40:52 -   1.21
  @@ -51,6 +51,9 @@
  version 3.7 or later --
 property name=junit.home  value=/usr/local/junit3.7 /
   
  +  !-- The home directory for the servlet.jar file --
  +  property name=servlet.home value=/usr/local/jakarta-tomcat/common/lib/
  +
   
   !-- == Derived Values  --
   
  @@ -71,7 +74,10 @@
 property name=commons-logging.jar 
value=${commons-logging.home}/commons-logging.jar /
   
 !-- The pathname of the junit.jar JAR file --
  -  property name=junit.jar   value=${junit.home}/junit.jar/
  +  property name=junit.jar   value=${junit.home}/junit.jar/
  +
  +  !-- The pathname of the servlet.jar JAR file --
  +  property name=servlet.jar value=${servlet.home}/servlet.jar/
   
   
   !-- == Component Declarations  --
  @@ -123,6 +129,7 @@
 !-- Should Java compilations set the 'optimize' compiler option? --
 property name=compile.optimizevalue=true/
   
  +
 !-- Construct compile classpath --
 path id=compile.classpath
   pathelement location=${build.home}/classes/
  @@ -131,6 +138,7 @@
   pathelement location=${commons-digester.jar}/
   pathelement location=${commons-discovery.jar}/
   pathelement location=${commons-logging.jar}/
  +pathelement location=${servlet.jar}/
 /path
   
   
  @@ -147,7 +155,9 @@
   pathelement location=${commons-discovery.jar}/
   pathelement location=${commons-logging.jar}/
   pathelement location=${junit.jar}/
  +pathelement location=${servlet.jar}/
 /path
  +
   
 !-- Should all tests fail if one does? --
 property name=test.failonerrorvalue=true/
  
  
  
  1.2   +19 -3 jakarta-commons-sandbox/resources/src/java/overview.html
  
  Index: overview.html
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/overview.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- overview.html 7 Jan 2003 01:59:34 -   1.1
  +++ overview.html 7 Jan 2003 02:40:52 -   1.2
  @@ -67,6 +67,16 @@
   that share a common base URL, a Locale-based suffix (following the
   same rules as for codejava.util.ResourceBundle/code), and
   a code.xml/code extension./li
  +lia href=org/apache/commons/resources/impl/WebappPropertyResources.html
  +WebappPropertyResources/a - Specialized version of
  +codePropertyResources/code where the configuration parameter is the
  +base name that will be passed to
  +codeServletContext.getResource()/code calls./li
  +lia href=org/apache/commons/resources/impl/WebappXMLResources.html
  +WebappXMLResources/a - Specialized version of
  +codePropertyResources/code where the configuration parameter is the
  +base name that will be passed to
  +codeServletContext.getResource()/code calls./li
   /ul
   
   
  @@ -78,15 +88,21 @@
   as follows:/p
   ul
   listrongcommons-beanutils.jar/strong (Version 1.5 or later) -
  -Only required if you are using codeXMLResources/code./li
  +Only required if you are using codeXMLResources/code
  +or codeWebappXMLResources/code./li
   listrongcommons-collections.jar/strong (Version 2.1 or later) -
  -Only required if you are using codeXMLResources/code./li
  +Only required if you are using codeXMLResources/code
  +or codeWebappXMLResources/code./li
   listrongcommons-digester.jar/strong (Version 1.3 or 

Re: [Jelly] [Proposal] list of core taglibs

2003-01-06 Thread Pete Kazmier
[EMAIL PROTECTED] writes:
 James? Anyone else??

Dion,

While you guys are moving all these taglibs around, do you think this
would be a good time to incorporate the Velocity Taglib sitting in
Maven?  I think others beside the Maven folks might find a use for
it.  What do you think?

Pete

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




Re: [Jelly] [Proposal] list of core taglibs

2003-01-06 Thread dion
Damn fine idea!
--
dIon Gillard, Multitask Consulting
Blog:  http://www.freeroller.net/page/dion/Weblog
Work:  http://www.multitask.com.au


Pete Kazmier [EMAIL PROTECTED] wrote on 07/01/2003 12:06:25 PM:

 [EMAIL PROTECTED] writes:
  James? Anyone else??
 
 Dion,
 
 While you guys are moving all these taglibs around, do you think this
 would be a good time to incorporate the Velocity Taglib sitting in
 Maven?  I think others beside the Maven folks might find a use for
 it.  What do you think?
 
 Pete
 
 --
 To unsubscribe, e-mail: 
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]
 

 ForwardSourceID:NT0009F73E 

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/velocity - New directory

2003-01-06 Thread dion
dion2003/01/06 19:32:37

  jakarta-commons-sandbox/jelly/jelly-tags/velocity - New directory

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




cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/velocity/src - New directory

2003-01-06 Thread dion
dion2003/01/06 19:32:37

  jakarta-commons-sandbox/jelly/jelly-tags/velocity/src - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 19:32:37

  jakarta-commons-sandbox/jelly/jelly-tags/velocity/src/java/org - New directory

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




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

2003-01-06 Thread dion
dion2003/01/06 19:32:37

  jakarta-commons-sandbox/jelly/jelly-tags/velocity/src/java/org/apache - New directory

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




  1   2   >