svn commit: r149114 - /jakarta/commons/proper/el/trunk/build.properties

2005-01-29 Thread craigmcc
Author: craigmcc
Date: Sat Jan 29 23:48:43 2005
New Revision: 149114

URL: http://svn.apache.org/viewcvs?view=rev&rev=149114
Log:
No "build.properties" file should actually be checked in.

Removed:
   jakarta/commons/proper/el/trunk/build.properties

Deleted: /jakarta/commons/proper/el/trunk/build.properties
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/el/trunk/build.properties?view=auto&rev=149113
==

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



svn commit: r149113 - /jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java /jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/suite.jelly

2005-01-29 Thread polx
Author: polx
Date: Sat Jan 29 23:47:05 2005
New Revision: 149113

URL: http://svn.apache.org/viewcvs?view=rev&rev=149113
Log:
x:set was returning empty-list in case of empty results whereas it used
to return a null (which becomes an empty string often in jexl or jelly).
Fixed so that when asString, single, and delim attributes are not set,
it is backwards compatible.
Reverted to the multi-slot evaluation-style as opposed to the single
policy introduced by Michael Schuerig.
paul

Modified:
   
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java
   
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/suite.jelly

Modified: 
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java?view=diff&rev=149113&p1=jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java&r1=149112&p2=jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java&r2=149113
==
--- 
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java
(original)
+++ 
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java
Sat Jan 29 23:47:05 2005
@@ -30,9 +30,10 @@
 import org.jaxen.JaxenException;
 
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
-import java.util.Collections;
+import java.util.ListIterator;
 
 /** A tag which defines a variable from an XPath expression.
   * This function creates a variable of type [EMAIL PROTECTED] List} or [EMAIL 
PROTECTED] org.dom4j.Node}
@@ -66,6 +67,8 @@
 private Boolean single = null;
 
 private Boolean asString = null;
+
+private String delimiter = null;
 
 private String delim = null;
 
@@ -86,7 +89,7 @@
 Object xpathContext = getXPathContext();
 Object value = null;
 try {
-if(single!=null && single.booleanValue()==true) {
+if( single != null && single.booleanValue() == true ) {
 value = select.selectSingleNode(xpathContext);
 } else {
 value = select.evaluate(xpathContext);
@@ -97,29 +100,74 @@
 }
 
 if (value instanceof List) {
+List list = (List) value;
 // sort the list if xpCmp is set.
 if (xpCmp != null && (xpCmp.getXpath() != null)) {
-Collections.sort((List)value, xpCmp);
+Collections.sort(list, xpCmp);
+}
+if(list.isEmpty()) {
+value = null;
 }
 }
+
 
-switch ( determineReturnType() ) {
-case RETURN_NODE_LIST:
-value = valueAsList(value);
-break;
-case RETURN_FIRST_NODE:
-value = valueAsSingle(value);
-break;
-case RETURN_STRING_LIST:
-value = nodeListToStringList(valueAsList(value));
-break;
-case RETURN_DELIMITED_STRING_LIST:
-value = 
joinDelimitedElements(nodeListToStringList(valueAsList(value)));
-break;
-case RETURN_FIRST_AS_STRING:
-value = singleValueAsString(valueAsSingle(value));
-break;
+// handle single
+if (single!=null) {
+if (single.booleanValue() == true) {
+if(value instanceof List) {
+List l = (List) value;
+if (l.size() == 0)
+value=null;
+else
+value=l.get(0);
+}
+} else { // single == false
+if(! (value instanceof List) ) {
+List l = null;
+if (value==null) {
+l = new ArrayList(0);
+} else {
+l = new ArrayList(1);
+l.add(value);
+}
+value = l;
+}
+}
+}
+
+// now convert the result(s) to string if need
+if(asString != null && asString.booleanValue()) {
+if(value instanceof Node) {
+value = ((Node) value).getStringValue();
+} else if(value instanceof List) {
+for(ListIterator it = ((List) value).listIterator(); 
it.hasNext(); ) {
+Object v = it.next();
+if(v instanceof Node) {
+v = ((Node) v).getStringValue();
+it.set(v);
+}
+}
+}

[sql] Stable release any time soon.

2005-01-29 Thread Philip Donaghy
Hi,

I know that commons-sql is in the sandbox but can we
get a stable release? I saw the discussion a while
back about moving to the commons db any news?

I am using it in a Velocity XMLBeans sample
(xmlbeans/samples/db/vxsdb) and I would like to
stabilize it.

Thanks,

Phil



__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

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



svn commit: r149109 - /jakarta/commons/proper/codec/trunk/LICENSE /jakarta/commons/proper/codec/trunk/build.xml

2005-01-29 Thread craigmcc
Author: craigmcc
Date: Sat Jan 29 23:11:49 2005
New Revision: 149109

URL: http://svn.apache.org/viewcvs?view=rev&rev=149109
Log:
Decouple build.xml from requiring LICENSE in a parent directory.

Added:
   jakarta/commons/proper/codec/trunk/LICENSE
Modified:
   jakarta/commons/proper/codec/trunk/build.xml

Added: jakarta/commons/proper/codec/trunk/LICENSE
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/codec/trunk/LICENSE?view=auto&rev=149109
==
--- (empty file)
+++ jakarta/commons/proper/codec/trunk/LICENSE  Sat Jan 29 23:11:49 2005
@@ -0,0 +1,202 @@
+
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other modifications
+  represent, as a whole, an original work of authorship. For the purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  copyright license to reproduce, prepare Derivative Works of,
+  publicly display, publicly perform, sublicense, and distribute the
+  Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+  this License, each Contributor hereby grants to You a perpetual,
+  worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+  (except as stated in this section) patent license to make, have made,
+  use, offer to sell, sell, import, and otherwise transfer the Wor

Re: [ALL] Checking Out Trunk Of All Commons Packages

2005-01-29 Thread Craig McClanahan
I should mention how you update the list of packages that are
included, for when new Commons Proper or Commons Sandbox packages are
added later:

cd /path/to/jakarta/commons/proper
svn propedit svn:externals current

cd /path/to/jakarta/commons/sandbox
svn propedit svn:externals current

The "svn propedit" command fires up your favorite editor on a multiple
line text file comprising the contents of the property.  Each line
contains the name of a subdirectory to create (under "current") and
the absolute URL of the corresponding SVN directory to be checked out.

Craig


On Sat, 29 Jan 2005 22:33:13 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> Martin Cooper took advantage of an ability of Subversion (after being
> pointed at it by Tim O'Brien -- thanks Tim and Martin!) to use the
> "svn:externals" capability to create a pseudo-directory of the trunk
> subdirectory for each Struts subproject.  I've implemented the same
> technique for Commons Proper and Commons Sandbox packages.
> 
> To check out the trunk (in CVS terms, the HEAD) branch of each Commons
> Proper and Commons Sandbox package, execute the following commands:
> 
> mkdir /path/to/jakarta/commons/proper
> cd /path/to/jakarta/commons/proper
> svn checkout 
> http://svn.apache.org/respos/asf/jakarta/commons/proper/current
> mkdir /path/to/jakarta/commons/sandbox
> cd /path/to/jakarta/commons/sandbox
> svn checkout
> http://svn.apache.org/respos/asf/jakarta/commons/sandbox/current
> 
> A couple of notes:
> 
> * You can, of course, customize the "/path/to/jakarta/commons" part
>   of the paths above.
> 
> * Commons committers should use "https" in place of "http" in the
>   above URLs, so that you'll be able to do commits.
> 
> Craig McClanahan
>

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



[ALL] Checking Out Trunk Of All Commons Packages

2005-01-29 Thread Craig McClanahan
Martin Cooper took advantage of an ability of Subversion (after being
pointed at it by Tim O'Brien -- thanks Tim and Martin!) to use the
"svn:externals" capability to create a pseudo-directory of the trunk
subdirectory for each Struts subproject.  I've implemented the same
technique for Commons Proper and Commons Sandbox packages.

To check out the trunk (in CVS terms, the HEAD) branch of each Commons
Proper and Commons Sandbox package, execute the following commands:

mkdir /path/to/jakarta/commons/proper
cd /path/to/jakarta/commons/proper
svn checkout http://svn.apache.org/respos/asf/jakarta/commons/proper/current
mkdir /path/to/jakarta/commons/sandbox
cd /path/to/jakarta/commons/sandbox
svn checkout
http://svn.apache.org/respos/asf/jakarta/commons/sandbox/current

A couple of notes:

* You can, of course, customize the "/path/to/jakarta/commons" part
  of the paths above.

* Commons committers should use "https" in place of "http" in the
  above URLs, so that you'll be able to do commits.

Craig McClanahan

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



svn commit: r149108 - /jakarta/commons/sandbox/current

2005-01-29 Thread craigmcc
Author: craigmcc
Date: Sat Jan 29 22:25:21 2005
New Revision: 149108

URL: http://svn.apache.org/viewcvs?view=rev&rev=149108
Log:
Similar property setting for the svn:externals property for sandbox projects.
Now, you can check out the trunk of all of these projects as follows:

  mkdir /path/to/jakarta/commons/sandbox
  cd /path/to/jakarta/commons/sandbox
  svn checkout https://svn.apache.org/repos/asf/jakarta/commons/sandbox/current

Thanks to Martin Cooper and Tim O'Brien for pointers to the information on
SVN externals that facilitiates this solution.


Added:
   jakarta/commons/sandbox/current/   (props changed)

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



svn commit: r149107 - /jakarta/commons/proper/current

2005-01-29 Thread craigmcc
Author: craigmcc
Date: Sat Jan 29 22:23:37 2005
New Revision: 149107

URL: http://svn.apache.org/viewcvs?view=rev&rev=149107
Log:
Establish initial "svn:externals" property for the "current" pseudo-directory.
This allows the trunk of all Commons Proper packages to be checked out as
follows:

  mkdir /path/to/jakarta/commons/proper
  cd /path/to/jakarta/commons/proper
  svn checkout https://svn.apache.org/repos/asf/jakarta/commons/proper/current

Thanks to Martin Cooper and Tim O'Brien for pointing at the solution to
this problem.


Added:
   jakarta/commons/proper/current/   (props changed)

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



[site] killed a couple of files

2005-01-29 Thread Henri Yandell
I rm'd a couple of files that haven't been a part of our site in a year:

jakarta/commons/commons.html   (bit of blurb about commons-proper, now
found on front page)
jakarta/commons/directory.html (bit of blurb about the never
enacted java directory)

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



Re: [javaflow] test cases in junit?

2005-01-29 Thread Torsten Curdt
Any objections to receiving test cases using junit?
Phil, of course not! :)
...actually it was my plan using junit for that.
cheers
--
Torsten
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[latka] is latka dead?

2005-01-29 Thread Henri Yandell
Currently latka has the most nagoya references in Jakarta (something
we need to fix). While I was playing with the Jakarta downloads, I
noticed that it's last release was a 1.0-alpha1, made on 27 Dec 2002
and lacking source.

Looking at the svn log, the last commit comment that looks at all
specific to Latka is Feb 2003.

So with nearly 2 years of apparant inactivity, should latka still be around?

Hen

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



svn commit: r149102 - /jakarta/commons/proper/docs/trunk/directory.html

2005-01-29 Thread bayard
Author: bayard
Date: Sat Jan 29 20:29:43 2005
New Revision: 149102

URL: http://svn.apache.org/viewcvs?view=rev&rev=149102
Log:
removing this page as it is not linked to by any other commons page and it is 
not a concept that exists in our charter anymore
Removed:
   jakarta/commons/proper/docs/trunk/directory.html

Deleted: /jakarta/commons/proper/docs/trunk/directory.html
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/docs/trunk/directory.html?view=auto&rev=149101
==

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



svn commit: r149101 - /jakarta/commons/proper/lang/trunk/project.xml

2005-01-29 Thread bayard
Author: bayard
Date: Sat Jan 29 20:23:40 2005
New Revision: 149101

URL: http://svn.apache.org/viewcvs?view=rev&rev=149101
Log:
removing nagoya references
Modified:
   jakarta/commons/proper/lang/trunk/project.xml

Modified: jakarta/commons/proper/lang/trunk/project.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/project.xml?view=diff&rev=149101&p1=jakarta/commons/proper/lang/trunk/project.xml&r1=149100&p2=jakarta/commons/proper/lang/trunk/project.xml&r2=149101
==
--- jakarta/commons/proper/lang/trunk/project.xml   (original)
+++ jakarta/commons/proper/lang/trunk/project.xml   Sat Jan 29 20:23:40 2005
@@ -63,13 +63,13 @@
   Commons Dev List
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
-  http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
+  http://mail-archives.apache.org/eyebrowse/[EMAIL 
PROTECTED]
 
 
   Commons User List
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
-  http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
+  http://mail-archives.apache.org/eyebrowse/[EMAIL 
PROTECTED]
 
   
 

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



svn commit: r149100 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java

2005-01-29 Thread bayard
Author: bayard
Date: Sat Jan 29 20:22:37 2005
New Revision: 149100

URL: http://svn.apache.org/viewcvs?view=rev&rev=149100
Log:
removing nagoya references
Modified:
   
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java
   
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java?view=diff&rev=149100&p1=jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java&r1=149099&p2=jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java&r2=149100
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java
(original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/CharSetUtilsTest.java
Sat Jan 29 20:22:37 2005
@@ -30,7 +30,7 @@
  * @author mailto:[EMAIL PROTECTED]">Ringo De Smet
  * @author Stephen Colebourne
  * @author Gary D. Gregory
- * @version $Id: CharSetUtilsTest.java,v 1.16 2004/02/18 23:06:19 ggregory Exp 
$
+ * @version $Id$
  */
 public class CharSetUtilsTest extends TestCase {
 
@@ -244,7 +244,7 @@
 assertEquals("hello", CharSetUtils.translate("hello", "", "x"));
 assertEquals("hello", CharSetUtils.translate("hello", "", ""));
 assertEquals("hello", CharSetUtils.translate("hello", "", ""));
-// From http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25454
+// From http://issues.apache.org/bugzilla/show_bug.cgi?id=25454
 assertEquals("q651.506bera", CharSetUtils.translate("d216.102oren", 
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789",
 
"nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM567891234"));
 }

Modified: 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java?view=diff&rev=149100&p1=jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java&r1=149099&p2=jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java&r2=149100
==
--- 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
 Sat Jan 29 20:22:37 2005
@@ -38,7 +38,7 @@
  * @author Phil Steitz
  * @author Gary D. Gregory
  * @author Al Chou
- * @version $Id: StringUtilsTest.java,v 1.62 2004/08/22 03:40:27 bayard Exp $
+ * @version $Id$
  */
 public class StringUtilsTest extends TestCase {
 
@@ -843,7 +843,7 @@
 assertEquals("ayya", StringUtils.replaceChars("abcba", "bc", "y"));
 assertEquals("ayzya", StringUtils.replaceChars("abcba", "bc", "yzx"));
 
-// From http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25454
+// From http://issues.apache.org/bugzilla/show_bug.cgi?id=25454
 assertEquals("bcc", StringUtils.replaceChars("abc", "ab", "bc"));
 assertEquals("q651.506bera", StringUtils.replaceChars("d216.102oren",
 "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789",

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



svn commit: r149097 - /jakarta/commons/sandbox/feedparser/trunk/lib/build /jakarta/commons/sandbox/feedparser/trunk/lib/build/junit.jar

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 19:12:13 2005
New Revision: 149097

URL: http://svn.apache.org/viewcvs?view=rev&rev=149097
Log:
added junit to build for ant support... 
Added:
   jakarta/commons/sandbox/feedparser/trunk/lib/build/
   jakarta/commons/sandbox/feedparser/trunk/lib/build/junit.jar   (contents, 
props changed)

Added: jakarta/commons/sandbox/feedparser/trunk/lib/build/junit.jar
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/lib/build/junit.jar?view=auto&rev=149097
==
Binary file. No diff available.

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



svn commit: r149096 - in jakarta/commons/sandbox/feedparser/trunk: . src/java/org/apache/commons/feedparser/test

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 19:09:59 2005
New Revision: 149096

URL: http://svn.apache.org/viewcvs?view=rev&rev=149096
Log:
yet more removal of the NewsMonster network IO in favor of feedparser IO
Modified:
   jakarta/commons/sandbox/feedparser/trunk/TODO
   jakarta/commons/sandbox/feedparser/trunk/build.xml
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestAtom.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedLocator.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedParser.java

Modified: jakarta/commons/sandbox/feedparser/trunk/TODO
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/TODO?view=diff&rev=149096&p1=jakarta/commons/sandbox/feedparser/trunk/TODO&r1=149095&p2=jakarta/commons/sandbox/feedparser/trunk/TODO&r2=149096
==
--- jakarta/commons/sandbox/feedparser/trunk/TODO   (original)
+++ jakarta/commons/sandbox/feedparser/trunk/TODO   Sat Jan 29 19:09:59 2005
@@ -22,13 +22,11 @@
 
 - (DONE) Implement RSS 2.0 enclosure linkage ... this should be an onLink 
handler.
 
-- Atom GUIDs and RSS 2.0 GUIDs
-
-- http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-02.txt
+- (DONE) Atom GUIDs and RSS 2.0 GUIDs
 
 - BUG:
 
-Make SURE that all these tests 
+Make SURE that all these tests work
 
  http://diveintomark.org/tests/client/autodiscovery/
 
@@ -57,10 +55,8 @@
 
 - http://intertwingly.net/wiki/pie/content
 
-- Support for RSS 1.0 mod_link and Atom links
-
-- Full documentation on how we have to handle dates.
-
 - Support textinput which we don't support now
 
 - Tests for autodiscovery
+
+- Unit tests don't need to be so LOUD!!

Modified: jakarta/commons/sandbox/feedparser/trunk/build.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/build.xml?view=diff&rev=149096&p1=jakarta/commons/sandbox/feedparser/trunk/build.xml&r1=149095&p2=jakarta/commons/sandbox/feedparser/trunk/build.xml&r2=149096
==
--- jakarta/commons/sandbox/feedparser/trunk/build.xml  (original)
+++ jakarta/commons/sandbox/feedparser/trunk/build.xml  Sat Jan 29 19:09:59 2005
@@ -39,7 +39,7 @@
 
 
 
-
+
 
 
 

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestAtom.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestAtom.java?view=diff&rev=149096&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestAtom.java&r1=149095&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestAtom.java&r2=149096
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestAtom.java
  (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestAtom.java
  Sat Jan 29 19:09:59 2005
@@ -23,12 +23,12 @@
 import java.security.*;
 
 import org.peerfear.newsmonster.tools.*;
-import org.peerfear.newsmonster.network.*;
 
 import junit.framework.*;
 
 import org.apache.commons.feedparser.*;
 import org.apache.commons.feedparser.impl.*;
+import org.apache.commons.feedparser.network.*;
 
 /**
  *

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedLocator.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedLocator.java?view=diff&rev=149096&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedLocator.java&r1=149095&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedLocator.java&r2=149096
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedLocator.java
   (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/test/TestFeedLocator.java
   Sat Jan 29 19:09:59 2005
@@ -23,18 +23,18 @@
 import java.security.*;
 
 import org.peerfear.newsmonster.tools.*;
-import org.peerfear.newsmonster.network.*;
 
 import junit.framework.*;
 
 import org.apache.commons.feedparser.*;
 import org.apache.commons.feedparser.impl.*;
 import org.apache.commons.feedparser.locate.*;
+import org.apache.commons.feedparser.network.*;
 
 /**
  *
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton
- * @version $Id: TestFeedLocator.java,v 1.7 2005/01/19 06:01:41 burton Exp $
+ * @version $Id$
  */
 public class TestFeedLocator extends Te

svn commit: r149095 - in jakarta/commons/sandbox/feedparser/trunk: . src/java/org/apache/commons/feedparser xdocs

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 18:23:30 2005
New Revision: 149095

URL: http://svn.apache.org/viewcvs?view=rev&rev=149095
Log:
RSS 2.0 and Atom GUID refactor and init of support
Modified:
   jakarta/commons/sandbox/feedparser/trunk/build.xml
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java
   jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml

Modified: jakarta/commons/sandbox/feedparser/trunk/build.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/build.xml?view=diff&rev=149095&p1=jakarta/commons/sandbox/feedparser/trunk/build.xml&r1=149094&p2=jakarta/commons/sandbox/feedparser/trunk/build.xml&r2=149095
==
--- jakarta/commons/sandbox/feedparser/trunk/build.xml  (original)
+++ jakarta/commons/sandbox/feedparser/trunk/build.xml  Sat Jan 29 18:23:30 2005
@@ -11,13 +11,20 @@
 
 
 
+
+
 
 
 
 
+
+
+
 
 
 
+
+
 
 
 
@@ -165,8 +172,8 @@
  version="true"
  use="true"
  link="${javadoc.link}"
- windowtitle="${Name} ${version} API"
- doctitle="${Name} ${version} API"
+ windowtitle="${product} ${version} API"
+ doctitle="${product} ${version} API"
  bottom="Copyright © ${year} Apache Software 
Foundation.  All Rights Reserved.">
 
 

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java?view=diff&rev=149095&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r1=149094&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r2=149095
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 Sat Jan 29 18:23:30 2005
@@ -336,6 +336,8 @@
 FeedParserListener listener,
 Element element ) throws Exception {
 
+//FIXME: move this code to MetaFeedParser...
+
 if ( ! (listener instanceof MetaFeedParserListener) ) 
 return;
 
@@ -348,18 +350,6 @@
 mlistener.onSubject( state, subject );
 mlistener.onSubjectEnd();
 } 
-
-Element id = element.getChild(  "id", NS.ATOM );
-
-if ( id != null ) {
-
-mlistener.onGUID( state,
-  id.getText(),
-  false );
-
-mlistener.onGUIDEnd();
-
-}
 
 }
 

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java?view=diff&rev=149095&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java&r1=149094&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java&r2=149095
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java
 Sat Jan 29 18:23:30 2005
@@ -30,7 +30,7 @@
  * Handles parsing RSS metadata including dates
  *
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton (burtonator)
- * @version $Id: MetaFeedParser.java,v 1.3 2005/01/23 09:49:50 burton Exp $
+ * @version $Id$
  */
 public class MetaFeedParser {
 
@@ -44,47 +44,90 @@
 //MetaFeedParser to be used by both Atom and RSS.  Also the date
 //handling below needs to be generic.
 
-if ( listener instanceof MetaFeedParserListener ) {
+if ( listener instanceof MetaFeedParserListener == false )
+return;
 
-MetaFeedParserListener mfp = (MetaFeedParserListener)listener;
+MetaFeedParserListener mfp = (MetaFeedParserListener)listener;
 
-if ( parseDate( "date", NS.DC, mfp, state ) )
-return;
+parseDate( state, mfp );
+
+//FIXME: make sure RSS .9 is working and 0.91.  I just need to
+//confirm but I think they are working correctly
 
-// 
http://www.m

Re: [jelly] Paul's recently applied patch to xml tag library

2005-01-29 Thread Brett Porter
I didn't see anything committed?
Anyway, I'm finding other bugs in x:set (with or without patch), but 
I'll wait until the newer version to investigate in case it changes.

- Brett
Paul Libbrecht wrote:
Sounds great.
Have just committed...
- more tests
- empty-handling as before
To test, I simply modified 
/cache/maven-xdoc-plugin/project.xml to depend on 
the latest jelly:xml... and the [] I got were all in some java kind of 
code... was this enough test ? I hope... I'm fading away.

Before releasing, I'd really like an x:switch... I found this several 
times painfully missing... (or an x:when to be a child of j:switch!). 
But maybe this makes people wait too much...

paul
Le 30 janv. 05, à 02:10, Brett Porter a écrit :
Yep! What do you say to releasing xml-1.1 once we are happy with it?
- Brett
Paul Libbrecht wrote:
Le 30 janv. 05, à 00:49, Brett Porter a écrit :
Sorry for the ordinary bug report... it was kind of late :)
It's in the links template in site.jsl on latest SVN.
  
_img is [].
I'm not sure where the x:set comes into it, but reverting that 
revision of that file fixes it.
@img is detected as a NODE_LIST when it probably should be a single 
value.

Right... I reviewed in details the patch of Michael Schuerig under 
that respect and found, precisely, that empty things were turned 
into lists...
I have now unit-tests to check these and am rewriting in my previous 
style his feature, with his it was too much details.
If all my tests work, that should be working and it should make 
x:set without any asString, delimiter, or singe attribute should 
behave exactly as when james left it.

Ok with that ?
paul



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


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


Re: [jelly] Maven JSL memory leak and Jelly

2005-01-29 Thread Brett Porter
I tried out the new patch as provided by dIon on the list, and it 
completely toasted Maven. Sorry.

I don't have much time to investigate this presently - it will show up 
during bootstrap if you want to try that, though the error is cryptic 
(goals are not found, so its really affecting the deep internals of 
Maven's Jelly/Werkz integration).

- Brett
Hans Gilde wrote:
FYI, this is definitely a different problem. It very well could be solved by
my new patch, if not I'll check it out.
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 6:36 AM
To: Jakarta Commons Developers List
Subject: Re: [jelly] Maven JSL memory leak and Jelly

The good news: nailed it in xdoc. If you run multiproject:goal 
-Dgoal=xdoc, you only need about 13mb of memory for any number of projects.

Tha bad news: multiproject:goal -Dgoal=site still leaks another 4-6mb 
per project with the default set of reports. With no reports, none is 
leaked, but it is no individual report that is causing it - just a 
cumulative effect.

As all that is processed in Jelly, there's a strong possiblity that this 
is in Jelly somewhere else again, however I've not got any conclusive 
proof at this point.

I'll try your new patch and let you know if it makes any difference, and 
possibly do some more investigations later after I've got dom4j/jaxen 
working on Maven's trunk again.

I'd say this is "good enough" for RC2, as it has at least halved the 
consumption of building a site. Nice work!

- Brett
Hans Gilde wrote:
 

It was just a little issue, it should be fixed now.
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 24, 2005 10:09 PM
To: Jakarta Commons Developers List
Subject: RE: [jelly] Maven JSL memory leak and Jelly

Thanks Hans!
That's what I was thinking of doing, so I'm glad you've got it under
control.
When I was testing, the size of the included JSL affected the amount of
memory
leaked, so I guess it is tag caching again?
I tried a context.clear[Thread]ScriptData after the execution of runScript
in
include, but that didn't help. Unfortunately that's all I had time for this
morning before work.
Good luck...
Cheers,
Brett
Quoting Hans Gilde <[EMAIL PROTECTED]>:

   

I just added a super-simple test case for the include tag to the core test
suite. Include is a special kind of tag, so hopefully it's the only one
leaking. Once we fix this problem, a retest will definitely be in order.
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 24, 2005 9:47 PM
To: Jakarta Commons Developers List
Subject: RE: [jelly] Maven JSL memory leak and Jelly

Yup. AFAICT, it's been there since it's creation.
Do you need some additional info from me? I'm happy to try to make a
  

 

smaller
   

test case and/or test with Maven later if required.
- Brett
Quoting Hans Gilde <[EMAIL PROTECTED]>:
  

 

There's definitely a leak in the include tag. 

Brett, I'm guessing that this leak also exists pre-RC2, right?
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 24, 2005 7:30 AM
To: Jakarta Commons Developers List
Subject: Re: [jelly] Maven JSL memory leak and Jelly

Paul Libbrecht wrote:


   

Ideally, a test-case would be awesome, even if it refers to some  
far-away stylesheet...
  

 

I'll try and narrow it down first by cutting down site.jsl to the 
minimum that leaks.



   

Can you try calling .clear() on the result of this
  context.runScript(uri, output, isExport(),
  

 

isInherit())
   

(and the other call).
  

 

so try with context.clear() inside IncludeTag? Ok, will try tomorrow.


   

Maybe that'll help.
In all cases, this context is gc-ed shortly after, I believe... so I  
see no reasons for big leaks at the tag-cache level.
  

 

It leaks 200k every time site.jsl is run, so should be easy to find, 
right? :)



   

Also, maybe it would help to give more details where to go... I think
  

 


   

this was reported about very long ago so maybe a distribution  
maven-1.0.2 or such should have this bug ?
  

 

easiest to run it against Maven's trunk really as it is compatible with 
Jelly RC2 (RC1 was broken, so it currently uses beta-4 until RC2 is 
released). RC2 won't work with Maven 1.0.x.

If you want to give it a go:
- check out Maven from SVN and build:
  svn co http://svn.apache.org/repos/asf/maven/maven-1/core/trunk 
maven-1/core/trunk
  svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk 
maven-1/plugins/trunk
- build maven inside maven-1/core/trunk (see 



   

http://www.apache.org/~brett/maven-stage-site/developers/building-from-sour
   

c
 


   

e.html, 
make sure you reassign a new MAVEN_HOME!)
- run "maven xdoc" and watch memory go...
- twiddle xdoc plugin and run "maven plugin:install" to test

svn commit: r149094 - /jakarta/commons/proper/jelly/trunk/jelly-tags/project.properties /jakarta/commons/proper/jelly/trunk/project.properties

2005-01-29 Thread brett
Author: brett
Date: Sat Jan 29 18:03:17 2005
New Revision: 149094

URL: http://svn.apache.org/viewcvs?view=rev&rev=149094
Log:
set changelog factory

Modified:
   jakarta/commons/proper/jelly/trunk/jelly-tags/project.properties
   jakarta/commons/proper/jelly/trunk/project.properties

Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/project.properties
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/project.properties?view=diff&rev=149094&p1=jakarta/commons/proper/jelly/trunk/jelly-tags/project.properties&r1=149093&p2=jakarta/commons/proper/jelly/trunk/jelly-tags/project.properties&r2=149094
==
--- jakarta/commons/proper/jelly/trunk/jelly-tags/project.properties
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/project.propertiesSat Jan 
29 18:03:17 2005
@@ -43,3 +43,5 @@
   rulesets/coupling.xml,\
   rulesets/design.xml,\
   rulesets/strings.xml
+
+maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

Modified: jakarta/commons/proper/jelly/trunk/project.properties
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/project.properties?view=diff&rev=149094&p1=jakarta/commons/proper/jelly/trunk/project.properties&r1=149093&p2=jakarta/commons/proper/jelly/trunk/project.properties&r2=149094
==
--- jakarta/commons/proper/jelly/trunk/project.properties   (original)
+++ jakarta/commons/proper/jelly/trunk/project.properties   Sat Jan 29 
18:03:17 2005
@@ -62,3 +62,5 @@
   rulesets/coupling.xml,\
   rulesets/design.xml,\
   rulesets/strings.xml
+
+maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

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



Re: [jelly] Paul's recently applied patch to xml tag library

2005-01-29 Thread Paul Libbrecht
Sounds great.
Have just committed...
- more tests
- empty-handling as before
To test, I simply modified 
/cache/maven-xdoc-plugin/project.xml to depend on the 
latest jelly:xml... and the [] I got were all in some java kind of 
code... was this enough test ? I hope... I'm fading away.

Before releasing, I'd really like an x:switch... I found this several 
times painfully missing... (or an x:when to be a child of j:switch!). 
But maybe this makes people wait too much...

paul
Le 30 janv. 05, à 02:10, Brett Porter a écrit :
Yep! What do you say to releasing xml-1.1 once we are happy with it?
- Brett
Paul Libbrecht wrote:
Le 30 janv. 05, à 00:49, Brett Porter a écrit :
Sorry for the ordinary bug report... it was kind of late :)
It's in the links template in site.jsl on latest SVN.
  
_img is [].
I'm not sure where the x:set comes into it, but reverting that 
revision of that file fixes it.
@img is detected as a NODE_LIST when it probably should be a single 
value.

Right... I reviewed in details the patch of Michael Schuerig under 
that respect and found, precisely, that empty things were turned into 
lists...
I have now unit-tests to check these and am rewriting in my previous 
style his feature, with his it was too much details.
If all my tests work, that should be working and it should make x:set 
without any asString, delimiter, or singe attribute should behave 
exactly as when james left it.

Ok with that ?
paul



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


svn commit: r149090 - in jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser: . impl

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 17:00:50 2005
New Revision: 149090

URL: http://svn.apache.org/viewcvs?view=rev&rev=149090
Log:
Atom GUID support...
Modified:
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/impl/DebugFeedParserListener.java

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java?view=diff&rev=149090&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r1=149089&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r2=149090
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 Sat Jan 29 17:00:50 2005
@@ -168,7 +168,7 @@
 state.current = child;
 
 listener.onItem( state, title, link, description, link );
-
+
 doLink( state, listener, child );
 
 doMeta( state, listener, child );
@@ -348,6 +348,18 @@
 mlistener.onSubject( state, subject );
 mlistener.onSubjectEnd();
 } 
+
+Element id = element.getChild(  "id", NS.ATOM );
+
+if ( id != null ) {
+
+mlistener.onGUID( state,
+  id.getText(),
+  false );
+
+mlistener.onGUIDEnd();
+
+}
 
 }
 

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java?view=diff&rev=149090&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java&r1=149089&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java&r2=149090
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
 Sat Jan 29 17:00:50 2005
@@ -104,8 +104,8 @@
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton
  */
 public void onGUID( FeedParserState state,
-   String value,
-   boolean isPermalink ) throws FeedParserException;
+String value,
+boolean isPermalink ) throws FeedParserException;
 
 public void onGUIDEnd() throws FeedParserException;
 

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/impl/DebugFeedParserListener.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/impl/DebugFeedParserListener.java?view=diff&rev=149090&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/impl/DebugFeedParserListener.java&r1=149089&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/impl/DebugFeedParserListener.java&r2=149090
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/impl/DebugFeedParserListener.java
   (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/impl/DebugFeedParserListener.java
   Sat Jan 29 17:00:50 2005
@@ -25,7 +25,7 @@
 /**
  *
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton (burtonator)
- * @version $Id: DebugFeedParserListener.java,v 1.12 2005/01/23 09:49:50 
burton Exp $
+ * @version $Id$
  */
 public class DebugFeedParserListener
 extends DefaultFeedParserListener
@@ -160,7 +160,16 @@
 public void onCreated( FeedParserState state, Date date ) throws 
FeedParserException {
 
 out.println( "onCreated: " + date.toString() );
-
+
+}
+
+public void onGUID( FeedParserState state,
+String value,
+boolean isPermalink ) throws FeedParserException {
+
+out.println( "onGUID: " + value );
+out.println( "isPermalink: " + isPermalink );
+
 }
 
 //  LinkFeedParserListener 
***

svn commit: r149089 - in jakarta/commons/sandbox/feedparser/trunk: . src/java/org/apache/commons/feedparser tests/feeds xdocs

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 16:51:57 2005
New Revision: 149089

URL: http://svn.apache.org/viewcvs?view=rev&rev=149089
Log:
support for RSS 2.0 enclosures...
Added:
   jakarta/commons/sandbox/feedparser/trunk/tests/feeds/rss-2.0-enclosure.rss
Modified:
   jakarta/commons/sandbox/feedparser/trunk/TODO
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/BaseParser.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/RSSFeedParser.java
   jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml

Modified: jakarta/commons/sandbox/feedparser/trunk/TODO
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/TODO?view=diff&rev=149089&p1=jakarta/commons/sandbox/feedparser/trunk/TODO&r1=149088&p2=jakarta/commons/sandbox/feedparser/trunk/TODO&r2=149089
==
--- jakarta/commons/sandbox/feedparser/trunk/TODO   (original)
+++ jakarta/commons/sandbox/feedparser/trunk/TODO   Sat Jan 29 16:51:57 2005
@@ -18,6 +18,10 @@
 
 - (DONE) Remove ALL references to newsmonster IO layer.
 
+- (DONE) Support MetaFeedParser.onCreated() for RSS 2.0 
/rss/channel/item/pubdate
+
+- (DONE) Implement RSS 2.0 enclosure linkage ... this should be an onLink 
handler.
+
 - Atom GUIDs and RSS 2.0 GUIDs
 
 - http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-02.txt
@@ -28,15 +32,13 @@
 
  http://diveintomark.org/tests/client/autodiscovery/
 
-- Support Base64 Atom values and the ability to enable them.
+- Support Base64 Atom values and the ability to enable them to be 
automatically decoded.
 
 - Atom's xml:base is NOT supported right now.  We NEED to support this.
 
 - Do we support multiple content items in Atom?
 
 - We do not support multipart/alternative in the feedparser.
-
-- Implement RSS 2.0 enclosure linkage ... this should be an onLink handler.
 
 - Rework the factory mechanism to support multiple FeedParsers... should be an
   interface.

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java?view=diff&rev=149089&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r1=149088&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r2=149089
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 Sat Jan 29 16:51:57 2005
@@ -375,28 +375,5 @@
 
 }
 
-//FIXME: unify this with RSSFeedParser.getChildElementTextByName
-private static String selectText( String query, Element element ) throws 
Exception {
-
-XPath xpath = new XPath( query );
-xpath.setNamespaceContext( NS.context );
-
-//perform onChannel method...  (title, link, description)
-Element e = (Element)xpath.selectSingleNode( element );
-
-if ( e == null )
-return null;
-
-String result = e.getText();
-
-//The normalize method of XML SHOULD take care of this but for some
-//reason it doesnt.
-if ( result != null )
-result = result.trim();
-
-return result;
-
-}
-
 }
 

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/BaseParser.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/BaseParser.java?view=diff&rev=149089&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/BaseParser.java&r1=149088&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/BaseParser.java&r2=149089
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/BaseParser.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/BaseParser.java
 Sat Jan 29 16:51:57 2005
@@ -38,7 +38,7 @@
  * Basic parser support common between RSS, Atom, and FOAF feed impls.
  * 
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton (burtonator)
- * @version $Id: BaseParser.java,v 1.2 2004/10/18 00:00:09 burton Exp $
+ * @version $Id$
  */
 public class BaseParser {
 
@@ -102,5 +102,57 @@
 return null;
 
 }
-
+
+//  shared code for all parsers 
*
+
+//FIXME: unify this with RSSFeedParser.getChildEle

svn commit: r149087 - /jakarta/commons/sandbox/feedparser/trunk/tests/feeds/rss-2.0-guid.rss

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 16:30:05 2005
New Revision: 149087

URL: http://svn.apache.org/viewcvs?view=rev&rev=149087
Log:
guid unit test...
Added:
   jakarta/commons/sandbox/feedparser/trunk/tests/feeds/rss-2.0-guid.rss

Added: jakarta/commons/sandbox/feedparser/trunk/tests/feeds/rss-2.0-guid.rss
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/tests/feeds/rss-2.0-guid.rss?view=auto&rev=149087
==
--- (empty file)
+++ jakarta/commons/sandbox/feedparser/trunk/tests/feeds/rss-2.0-guid.rss   
Sat Jan 29 16:30:05 2005
@@ -0,0 +1,90 @@
+

+

+

+   

+   Scripting News

+   http://www.scripting.com/

+   It's even worse than it appears.

+   en-us

+   Copyright 1997-2005 Dave Winer

+   Sat, 29 Jan 2005 05:00:00 GMT

+   Sat, 29 Jan 2005 21:35:11 GMT

+   http://blogs.law.harvard.edu/tech/rss

+   UserLand Frontier v9.0.1

+   [EMAIL PROTECTED]

+   [EMAIL PROTECTED]

+   

+   Charlie
 Nesson asks about listening to podcasts in a car.

+   Sat, 29 Jan 2005 18:15:29 GMT

+   
http://archive.scripting.com/2005/01/29#When:1:15:29PM

+   

+   

+   Fascinating
 audio report by a CNN reporter turned blogger.

+   Sat, 29 Jan 2005 21:33:33 GMT

+   
http://archive.scripting.com/2005/01/29#When:4:33:33PM

+   

+   

+   I turned off the aggregator; 
for the BloJouCre conference.

+   Sat, 29 Jan 2005 17:18:26 GMT

+   
http://archive.scripting.com/2005/01/29#When:12:18:26PM

+   

+   

+   John 
Robb: "If we want to prevent the big vendors from using 
automated RSS subscription buttons as a customer acquisition vehicle, then we 
need a central repository."

+   Sat, 29 Jan 2005 16:14:21 GMT

+   
http://archive.scripting.com/2005/01/29#When:11:14:21AM

+   

+   

+   Ed 
Cone: "Is Greensboro's blog revolution 
over-hyped?"

+   Sat, 29 Jan 2005 14:50:20 GMT

+   
http://archive.scripting.com/2005/01/29#When:9:50:20AM

+   

+   

+   South
 African newspaper reports that the US warns American Rastas about 
Ethiopian drug laws. How did I find out? RSS;, of 
course.

+   Sat, 29 Jan 2005 13:46:57 GMT

+   
http://archive.scripting.com/2005/01/29#When:8:46:57AM

+   

+   

+   Seven 
years ago, a story about capital punishment.

+   Sat, 29 Jan 2005 13:30:27 GMT

+   
http://archive.scripting.com/2005/01/29#When:8:30:27AM

+   

+   

+   Something I like, when a big company, who 
I want to support RSS, sends me questions regularly about RSS that not only 
tell me they understand it, but that they're pushing the limits, doing 
something cool, that maybe no one has done before.

+   Sat, 29 Jan 2005 13:22:41 GMT

+   
http://archive.scripting.com/2005/01/29#When:8:22:41AM

+   

+   

+   Another thing I like is that Google still 
shows their Scripting News Award on their awards 
page, even though they received;
 it three years ago.

+   Sat, 29 Jan 2005 13:23:48 GMT

+   
http://archive.scripting.com/2005/01/29#When:8:23:48AM

+   

+   

+   Speaking of which, it's time once again;
 to check my investment in Google board member, and Silicon Valley VC 
extrordinaire, John
 Doerr

svn commit: r149086 - /jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 16:29:14 2005
New Revision: 149086

URL: http://svn.apache.org/viewcvs?view=rev&rev=149086
Log:
more dox WRT MUST and MUST NOT handling within atom
Modified:
   jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml

Modified: jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml?view=diff&rev=149086&p1=jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml&r1=149085&p2=jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml&r2=149086
==
--- jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml(original)
+++ jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xmlSat Jan 29 
16:29:14 2005
@@ -202,6 +202,37 @@
 
  -->
 
+
+
+
+Currently the FeedParser does NOT require that XML feeds meet
+RSS and Atom specifications to the letter.  While this is part
+of liberal feed parsing in general there are secions of the 
Atom
+specification for example which MUST have child elements.
+
+
+
+For example: 
+
+atom:entry elements MUST contain exactly one atom:id 
element.
+
+
+
+We try to follow Postel's law here and require allow feeds to
+pass in this situation.  We may adopt a policy in the future 
for
+both strict XML parsing and strict format compliance which 
would
+trigger exception in the event of a feed not exactly matching
+the specification.  
+
+
+
+In practice if your application requires data from a feed you
+need to assert within your code that you have all correct data
+before moving forward.
+
+
+
+
 
 
 

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



svn commit: r149085 - /jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java /jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 16:24:33 2005
New Revision: 149085

URL: http://svn.apache.org/viewcvs?view=rev&rev=149085
Log:
support for Atom GUIDs
Modified:
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java?view=diff&rev=149085&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java&r1=149084&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java&r2=149085
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java
  (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/DefaultFeedParserListener.java
  Sat Jan 29 16:24:33 2005
@@ -26,7 +26,7 @@
  * 
  * @see FeedParserListener 
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton (burtonator)
- * @version $Id: DefaultFeedParserListener.java,v 1.8 2004/10/17 23:43:23 
burton Exp $
+ * @version $Id$
  */
 public abstract class DefaultFeedParserListener implements FeedParserListener,

MetaFeedParserListener,
@@ -96,6 +96,12 @@
 public void onLocale( FeedParserState state, Locale locale ) throws 
FeedParserException {}
 
 public void onLocaleEnd() throws FeedParserException {}
+
+public void onGUID( FeedParserState state,
+String value,
+boolean isPermalink ) throws FeedParserException {}
+
+public void onGUIDEnd() throws FeedParserException{}
 
 //  ModContentFeedParserListener 

 

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java?view=diff&rev=149085&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java&r1=149084&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java&r2=149085
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
 Sat Jan 29 16:24:33 2005
@@ -29,7 +29,7 @@
  * each.
  * 
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton (burtonator)
- * @version $Id: MetaFeedParserListener.java,v 1.7 2004/10/17 23:43:24 burton 
Exp $
+ * @version $Id$
  */
 public interface MetaFeedParserListener {
 
@@ -95,8 +95,19 @@
  * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton
  */
 public void onLocale( FeedParserState state, Locale locale ) throws 
FeedParserException;
-
 public void onLocaleEnd() throws FeedParserException;
 
+/**
+ * Used to represent RSS 2.0 GUIDs and atom:id constructs.  For Atom
+ * isPermalink should be ignored.
+ *
+ * @author mailto:[EMAIL PROTECTED]">Kevin A. Burton
+ */
+public void onGUID( FeedParserState state,
+   String value,
+   boolean isPermalink ) throws FeedParserException;
+
+public void onGUIDEnd() throws FeedParserException;
+
 }
 

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



svn commit: r149082 - /jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 16:18:26 2005
New Revision: 149082

URL: http://svn.apache.org/viewcvs?view=rev&rev=149082
Log:
more guids support and dox WRT Atom 0.5
Modified:
   
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java

Modified: 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java?view=diff&rev=149082&p1=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r1=149081&p2=jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java&r2=149082
==
--- 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 (original)
+++ 
jakarta/commons/sandbox/feedparser/trunk/src/java/org/apache/commons/feedparser/AtomFeedParser.java
 Sat Jan 29 16:18:26 2005
@@ -33,7 +33,7 @@
 import org.jaxen.jdom.*;
 
 /**
- *
+ * http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-05.txt
  * 
  * http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-04.txt
  * 

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



svn commit: r149081 - /jakarta/commons/sandbox/feedparser/trunk/TODO /jakarta/commons/sandbox/feedparser/trunk/build.xml /jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml

2005-01-29 Thread burton
Author: burton
Date: Sat Jan 29 16:18:04 2005
New Revision: 149081

URL: http://svn.apache.org/viewcvs?view=rev&rev=149081
Log:
more guids support and dox WRT Atom 0.5
Modified:
   jakarta/commons/sandbox/feedparser/trunk/TODO
   jakarta/commons/sandbox/feedparser/trunk/build.xml
   jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml

Modified: jakarta/commons/sandbox/feedparser/trunk/TODO
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/TODO?view=diff&rev=149081&p1=jakarta/commons/sandbox/feedparser/trunk/TODO&r1=149080&p2=jakarta/commons/sandbox/feedparser/trunk/TODO&r2=149081
==
--- jakarta/commons/sandbox/feedparser/trunk/TODO   (original)
+++ jakarta/commons/sandbox/feedparser/trunk/TODO   Sat Jan 29 16:18:04 2005
@@ -11,15 +11,14 @@
 
 - maven?
 
-
 - (DONE) All FeedParser exceptions should include the URL of the feed if
   possible.  This will really help with debugging
 
 - (DONE) Implementation of RSS/Atom autodiscovery...
 
-- Remove ALL references to newsmonster IO layer.
-
+- (DONE) Remove ALL references to newsmonster IO layer.
 
+- Atom GUIDs and RSS 2.0 GUIDs
 
 - http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-02.txt
 
@@ -61,6 +60,5 @@
 - Full documentation on how we have to handle dates.
 
 - Support textinput which we don't support now
-
 
 - Tests for autodiscovery

Modified: jakarta/commons/sandbox/feedparser/trunk/build.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/build.xml?view=diff&rev=149081&p1=jakarta/commons/sandbox/feedparser/trunk/build.xml&r1=149080&p2=jakarta/commons/sandbox/feedparser/trunk/build.xml&r2=149081
==
--- jakarta/commons/sandbox/feedparser/trunk/build.xml  (original)
+++ jakarta/commons/sandbox/feedparser/trunk/build.xml  Sat Jan 29 16:18:04 2005
@@ -1,8 +1,23 @@
 
 
 
+
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 
@@ -23,26 +38,18 @@
 
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
 
 
 
+
 
 
 
+
 
 
 

Modified: jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml?view=diff&rev=149081&p1=jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml&r1=149080&p2=jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml&r2=149081
==
--- jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xml(original)
+++ jakarta/commons/sandbox/feedparser/trunk/xdocs/index.xmlSat Jan 29 
16:18:04 2005
@@ -100,8 +100,16 @@
 RSS 0.91
 RSS 0.92
 RSS 2.0
-Atom 0.3
-Atom 0.4
+
+Atom 0.3 (deprecated)
+Atom 0.4 (deprecated)
+
+
+http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-05.txt";>
+Atom 0.5
+
+
+
 OPML
 FOAF
 Changes.xml

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



Re: Making websites

2005-01-29 Thread Henri Yandell
On Sat, 29 Jan 2005 22:46:33 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> Paul Libbrecht wrote:

> > Finally, a harder proble, it seems, is the output in the maven-site of
> > the source repository which only presents a viewcvs link (which is
> > broken as is known).

Can't remember if the maven pom is tied to viewcvs, or just any url.
On the Jakarta site I've dropped the viewcvs links until they're fixed
and just gone with the webdav links, ie the repository url.

Not as exciting as viewcvs, but at least it let's people browse the
current source.

Hen

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



Re: [collections] svn commit

2005-01-29 Thread Stephen Colebourne
Well I guess thats good news that I managed to get a commit done ;-)
However it wasn't before I'd checked out the whole of lang with all its 
history. Having to navigate to lang/trunk before doing Checkout As is just 
weird. If there are any subclipse developers lurking, I'd suggest that 
subclipse could spot this case and do an are you sure type message.

Stephen
- Original Message - 
From: <[EMAIL PROTECTED]>
Author: scolebourne
Date: Sat Jan 29 04:51:12 2005
New Revision: 149033
URL: http://svn.apache.org/viewcvs?view=rev&rev=149033
Log:
Fix to SetUniqueList breaks when swapping entries
bug 33294, from Tom Dunham
Modified:
  jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java
jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/list/TestSetUniqueList.java
Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html?view=diff&rev=149033&p1=jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html&r1=149032&p2=jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html&r2=149033
==
--- jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html (original)
+++ jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html Sat Jan 29 
04:51:12 2005
@@ -54,6 +54,7 @@
BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in 
case where buffer serialized when full [31433]
BoundedFifoBuffer - Fix iterator remove bug causing 
ArrayIndexOutOfBounds error [33071]
MultiHashMap.remove(key, item) - Was returning the item even when 
nothing was removed [32366]
+SetUniqueList.set(int,Object) - Destroyed set status in certain 
circumstances [33294]


JAVADOC
Modified: 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java?view=diff&rev=149033&p1=jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java&r1=149032&p2=jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java&r2=149033
==
---  
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java 
(original)
+++ 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java 
Sat Jan 29 04:51:12 2005
@@ -1,5 +1,5 @@
/*
- *  Copyright 2001-2004 The Apache Software Foundation
+ *  Copyright 2001-2005 The Apache Software Foundation
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@
 * This implementation breaks these in certain ways, but this is merely 
the
 * result of rejecting duplicates.
 * Each violation is explained in the method, but it should not affect 
you.
+ * Bear in mind that Sets require immutable objects to function 
correctly.
 * 
 * The [EMAIL PROTECTED] org.apache.commons.collections.set.ListOrderedSet 
ListOrderedSet}
 * class provides an alternative approach, by wrapping an existing Set and
@@ -43,10 +44,11 @@
 * This class is Serializable from Commons Collections 3.1.
 *
 * @since Commons Collections 3.0
- * @version $Revision: 1.8 $ $Date: 2004/06/03 22:02:13 $
+ * @version $Revision: 1.8 $ $Date$
 *
 * @author Matthew Hawthorne
 * @author Stephen Colebourne
+ * @author Tom Dunham
 */
public class SetUniqueList extends AbstractSerializableListDecorator {

@@ -198,7 +200,7 @@
 * The object is set into the specified index.
 * Afterwards, any previous duplicate is removed
 * If the object is not already in the list then a normal set occurs.
- * If it is present, then the old version is removed and re-added at 
this index
+ * If it is present, then the old version is removed.
 *
 * @param index  the index to insert at
 * @param object  the object to set
@@ -206,11 +208,16 @@
 */
public Object set(int index, Object object) {
int pos = indexOf(object);
-Object result = super.set(index, object);
+Object removed = super.set(index, object);
if (pos == -1 || pos == index) {
-return result;
+return removed;
}
-return remove(pos);
+
+// the object is already in the uniq list
+// (and it hasn't been swapped with itself)
+super.remove(pos);  // remove the duplicate by index
+set.remove(removed);  // remove the item deleted by the set
+return removed;  // return the item deleted by the set
}

public boolean remove(Object object

[javaflow] test cases in junit?

2005-01-29 Thread WHIRLYCOTT
Torsten -
Any objections to receiving test cases using junit?
phil.
--
  Whirlycott
  Philip Jacob
  [EMAIL PROTECTED]
  http://www.whirlycott.com/phil/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [jelly] Paul's recently applied patch to xml tag library

2005-01-29 Thread Dion Gillard
I'm +1 on the backward compatibility.


On Sun, 30 Jan 2005 00:48:52 +1100, Brett Porter <[EMAIL PROTECTED]> wrote:
> Hi Paul,
> 
> The patch in r148883 is causing me hassles: I'm getting "[]" (an empty
> list converted to string) when I was expecting "".
> 
> I don't really grok this, so I'm not sure how it is used enough to debug
> it. I'm actually getting the [] back from x:expr (on an attribute in
> JSL) and haven't located the x:set that does it, but basically its not
> backwards compatible as is.
> 
> Any chance we can roll this back for the moment until something
> backwards compat. can be developed?
> 
> Cheers,
> Brett
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
http://www.multitask.com.au/people/dion/

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



Re: [vfs] proposal: MemoryFS

2005-01-29 Thread Mario Ivankovits
B. K. Oxley (binkley) wrote:
Where do I send code?
Please add it in bugzilla at http://issues.apache.org/bugzilla/
As always please dont forget to prefix the summary with [vfs].
Thanks!
Mario


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [vfs] proposal: MemoryFS

2005-01-29 Thread B. K. Oxley (binkley)
Mario Ivankovits wrote:
Your solution is just as good. But you have to ensure you really handle 
it like the "host" within the other filesystems. The point is VFS has to 
create a new filesystem instance for every "set", else all "sets" are 
tied together in one filesystem and maybe never get garbage-collected as 
someone might use a RamFS in an long time work.
Ah, I see.  I just abstracted out the file-y bits into a RamFile class:
public class RamFile {
private final Map attributes = new HashMap();

// TODO: what can be marked final?
private FileType type = FileType.IMAGINARY;
private byte[] buffer;
private Set children;
private boolean hidden;
private boolean readable;
private boolean writeable;
private long lastModifiedTime;
// And appropriate getters/setters.
}
I could abstract futher, if need be, and turn the getters/setters into 
an interface.  The simple implementation would be like the one above. 
More interesting ones might wrap java.io.File or work with a C-API via 
JNI (for the fellow interested in native code).

The "set" idea is right now just expressed in FileName.  I haven't coded 
a filesystem tree to represent the directory-subdirectory-file 
relationships yet.

Where do I send code?
Cheers,
--binkley
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [vfs] Re: memory FS

2005-01-29 Thread B. K. Oxley (binkley)
Mario Ivankovits wrote:
If there is a user who uses JAVA, VFS and its RamFS and states the RamFS 
is too slow for its usage, we could talk about it.
Until this appens, I dont want to see native code within VFS.

Provide native code for all possible architectures is way too much work 
- at least this isnt work I would like to do and spend time for it.
Actually... JDK 5 has a solution.  Look at ByteBuffer.  :-)  If you're 
desperate for native memory, allocate buffers natively.  It's not my cup 
of tea, but maybe it floats your boat.

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


svn commit: r149057 - /jakarta/commons/proper/configuration/trunk/build.xml

2005-01-29 Thread oheger
Author: oheger
Date: Sat Jan 29 10:44:57 2005
New Revision: 149057

URL: http://svn.apache.org/viewcvs?view=rev&rev=149057
Log:
Regenerated build.xml; hope the nightly builds work now
Modified:
   jakarta/commons/proper/configuration/trunk/build.xml

Modified: jakarta/commons/proper/configuration/trunk/build.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/build.xml?view=diff&rev=149057&p1=jakarta/commons/proper/configuration/trunk/build.xml&r1=149056&p2=jakarta/commons/proper/configuration/trunk/build.xml&r2=149057
==
--- jakarta/commons/proper/configuration/trunk/build.xml(original)
+++ jakarta/commons/proper/configuration/trunk/build.xmlSat Jan 29 
10:44:57 2005
@@ -1,7 +1,7 @@
 
 
-
+
 
 
   
@@ -20,7 +20,7 @@
   
   
   
-  
+  
   
   
 
@@ -35,6 +35,8 @@
   
   
 
+
+
 
 
   
@@ -53,39 +55,7 @@
   
 
 
-  
-
-
-  
-
-
-  
-
-
-  
-
-
-
-
-
-
-  
-
-
-
-
-  
-
-
-
-
-  
-
-
-
-
-  
-
+
 
   
 
@@ -131,9 +101,6 @@
 
 
 
-
-  
-
   
   
 
@@ -143,14 +110,18 @@
   
   
   
+  
+  
 
   
 
   
-  
-Junit isn't present in your ${ANT_HOME}/lib directory. Tests not 
done.
+  
+= WARNING 

+Junit isn't present in your ${ANT_HOME}/lib directory. Tests not 
executed.
+
==
   
-  
+  
 
 
 
@@ -179,6 +150,8 @@
 
 
 
+
+
   
 
 
@@ -209,7 +182,7 @@
 
 
 
-
+
 
 
   
@@ -219,6 +192,10 @@
 
   
   
+
+
+
+
 http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-3.0.jar";>
 
 http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar";>
@@ -237,6 +214,8 @@
 
 http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-2.0.2.jar";>
 
+http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar";>
+
 http://www.ibiblio.org/maven/spice/jars/spice-jndikit-1.1.jar";>
 
 http://www.ibiblio.org/maven/commons-dbcp/jars/commons-dbcp-1.1.jar";>
@@ -251,6 +230,16 @@
 
 http://www.ibiblio.org/maven/junit-addons/jars/junit-addons-1.4.jar";>
 
+http://www.ibiblio.org/maven/mockobjects/jars/mockobjects-core-0.09.jar";>
+
+http://www.ibiblio.org/maven/mockobjects/jars/mockobjects-jdk1.4-j2ee1.3-0.09.jar";>
+
+http://www.ibiblio.org/maven/resources/jars/resources-1.0.jar";>
+
+http://www.ibiblio.org/maven/maven-plugins/plugins/maven-tasks-plugin-1.1.0.jar";>
+
+http://www.ibiblio.org/maven/maven-plugins/plugins/maven-findbugs-plugin-0.8.4.jar";>
+
   
   
 
@@ -258,4 +247,4 @@
 
 
   
-
+
\ No newline at end of file

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



[vfs] Re: memory FS

2005-01-29 Thread Mario Ivankovits
Hello!
Instead what we can do is implement Memory FS in c or other
native language extremely coupled with OS and machine and build one common
wrapper in java.
 
If there is a user who uses JAVA, VFS and its RamFS and states the RamFS 
is too slow for its usage, we could talk about it.
Until this appens, I dont want to see native code within VFS.

Provide native code for all possible architectures is way too much work 
- at least this isnt work I would like to do and spend time for it.

­---
Mario


smime.p7s
Description: S/MIME Cryptographic Signature


memory FS

2005-01-29 Thread anil
Hello,
Memory FS,
When it comes to speciality like performance and low footprint java always
comes at last. Instead what we can do is implement Memory FS in c or other
native language extremely coupled with OS and machine and build one common
wrapper in java.
For application who use it are always in low coupling with the complexity
through the common interface and the efficient code can be given throught
Architecture dependent technologies such as multi paging memory handling etc.

Anil Pathak.

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



svn commit: r149051 - /jakarta/commons/sandbox/javaflow/trunk/TODO

2005-01-29 Thread tcurdt
Author: tcurdt
Date: Sat Jan 29 07:43:40 2005
New Revision: 149051

URL: http://svn.apache.org/viewcvs?view=rev&rev=149051
Log:
updated what's on the table


Modified:
   jakarta/commons/sandbox/javaflow/trunk/TODO

Modified: jakarta/commons/sandbox/javaflow/trunk/TODO
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/javaflow/trunk/TODO?view=diff&rev=149051&p1=jakarta/commons/sandbox/javaflow/trunk/TODO&r1=149050&p2=jakarta/commons/sandbox/javaflow/trunk/TODO&r2=149051
==
--- jakarta/commons/sandbox/javaflow/trunk/TODO (original)
+++ jakarta/commons/sandbox/javaflow/trunk/TODO Sat Jan 29 07:43:40 2005
@@ -1,8 +1,44 @@
+In no particular order:
+
 o integrate just4log into the build system
 o website
 o testcases
-o documentation of the rewriting process
-o research: asm implementation instead of BCEL
+o documentation of the rewriting process.
+  maybe re-evaluate and talk to the RIFE
+  guys about joining forces
+o make the Stack class use a hierarchical
+  approach to support differential continuations
+o make the Stack and Continuation classes
+  serializable. (make sure all dynamics are
+  handled through the context object. what
+  about logging?)
+o get rid of the Continuable and ContinuationCapable
+  marker interfaces
 o fix bugs:
   o use of "suspend" in constructors
   o inner classes
+o implement an ANT task for build time class
+  rewriting (already have something on my disk)
+o addition to async ContinuationCompilingClassLoader
+  also re-implement the old sync behaviour in the
+  ContinuationClassLoader
+o change the ClassTransform interface to
+  be byte-code library independend
+
+  byte[] transform( final InputStream is ) or
+  byte[] transform( byte[] clazz )
+
+  o check whether we need two passes
+1. parsing
+2. rewriting
+  o maybe only wrap the function calls
+that may lead to a suspend (control
+flow analysis)
+  o asm implementation instead of BCEL
+
+o BCEL
+  o push some bug fixes in BCEL
+  o get rid of the static repository approach
+
+o talk to the aspectwerkz and aspectj folks
+  about working together

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



svn commit: r149047 - /jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java /jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml

2005-01-29 Thread imario
Author: imario
Date: Sat Jan 29 07:29:06 2005
New Revision: 149047

URL: http://svn.apache.org/viewcvs?view=rev&rev=149047
Log:
PR: 32356
Submitted by: Anthony Goubard

srcdirisbase optional Ant copy task attribute
Modified:
   
jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java
   jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml

Modified: 
jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java?view=diff&rev=149047&p1=jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java&r1=149046&p2=jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java&r2=149047
==
--- 
jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java
   (original)
+++ 
jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/tasks/AbstractSyncTask.java
   Sat Jan 29 07:29:06 2005
@@ -40,7 +40,7 @@
  * Up-to-date destination file.
  *
  * @author mailto:[EMAIL PROTECTED]">Adam Murdoch
- * @version $Revision: 1.13 $ $Date: 2004/12/03 20:33:51 $
+ * @version $Revision: 1.13 $ $Date$
  * @todo Deal with case where dest file maps to a child of one of the source 
files
  * @todo Deal with case where dest file already exists and is incorrect type 
(not file, not a folder)
  * @todo Use visitors
@@ -56,6 +56,7 @@
 private String destFileUrl;
 private String destDirUrl;
 private String srcDirUrl;
+private boolean srcDirIsBase;
 private String filesList;
 
 /**
@@ -93,6 +94,14 @@
 }
 
 /**
+ * Sets whether the source directory should be consider as the base 
directory.
+ */
+public void setSrcDirIsBase(final boolean srcDirIsBase)
+{
+this.srcDirIsBase = srcDirIsBase;
+}
+
+/**
  * Sets the files to includes
  */
 public void setIncludes(final String filesList)
@@ -197,6 +206,11 @@
 destFolder.createFolder();
 
 // Locate the source files, and make sure they exist
+FileName srcDirName = null;
+if (srcDirUrl !=null )
+{
+srcDirName = resolveFile(srcDirUrl).getName();
+}
 final ArrayList srcs = new ArrayList();
 for (int i = 0; i < srcFiles.size(); i++)
 {
@@ -225,7 +239,16 @@
 if (rootFile.getType() == FileType.FILE)
 {
 // Build the destination file name
-final FileObject destFile = 
destFolder.resolveFile(rootName.getBaseName(), NameScope.DESCENDENT);
+String relName = null;
+if (srcDirName == null || !srcDirIsBase)
+{
+relName = rootName.getBaseName();
+}
+else
+{
+relName = srcDirName.getRelativeName(rootName);
+}
+final FileObject destFile = destFolder.resolveFile(relName, 
NameScope.DESCENDENT);
 
 // Do the copy
 handleFile(destFiles, rootFile, destFile);
@@ -233,13 +256,23 @@
 else
 {
 // Find matching files
-final FileObject[] files = 
rootFile.findFiles(Selectors.SELECT_FILES);
+// If srcDirIsBase is true, select also the sub-directories
+final FileObject[] files = rootFile.findFiles(srcDirIsBase ? 
Selectors.SELECT_ALL : Selectors.SELECT_FILES);
+
 for (int j = 0; j < files.length; j++)
 {
 final FileObject srcFile = files[j];
 
 // Build the destination file name
-String relName = 
rootName.getRelativeName(srcFile.getName());
+String relName = null;
+if (srcDirName == null || !srcDirIsBase)
+{
+relName = rootName.getRelativeName(srcFile.getName());
+}
+else
+{
+relName = 
srcDirName.getRelativeName(srcFile.getName());
+}
 
 final FileObject destFile =
 destFolder.resolveFile(relName, NameScope.DESCENDENT);

Modified: jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml?view=diff&rev=149047&p1=jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml&r1=149046&p2=jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml&r2=149047
==
--- jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml(original)
+++ jakarta/commons/sandbox/vfs/trunk/xdocs/anttasks.xml   

DO NOT REPLY [Bug 33255] - [VFS] ftp file system depends on ORO for a MalformedPatternException

2005-01-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33255





--- Additional Comments From [EMAIL PROTECTED]  2005-01-29 16:19 ---
Sorry - Its not clear to me - What do you expect me to do?

If commons-net depends on it we (the VFS users) have to add the required
sub-dependencies.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: [vfs] proposal: MemoryFS

2005-01-29 Thread Mario Ivankovits
Hello again!
So if RamFileObject is serializable, so is the data store.  I'll mark 
them with JSR-220 annotations so that Hibernate and others can 
serialize them automatically.  How does that sound?
Sounds good too, but again just one point: We have to ensure VFS 
compiles at least with jdk 1.3 so annotations are a no go here. Maybe we 
could provide a "plain old" hbm.xml file. Though, I thought more about 
delivering the content from one jvm instance to another one. Saving it 
to a filesystem could be done by replication using any of the other 
filesystems as destination. Sure, attributes might be lost, but we have 
to see what the real application (other than tests) for this RamFS might be.
(I cannot reach hibernate.org right now (!?), but the page describing 
features for version 3 has a keen sample of the annotations.)
I already use hibernate with annotations in one of my private projects - 
and from my point of view this is a "killer feature", its a pleasure to 
create a new method, annotate it and let hibernate update the database - 
really rapid application development. Sure, this is possible with 
hbm.xml too, but that way it is much easier to do.

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


Re: [vfs] proposal: MemoryFS

2005-01-29 Thread Mario Ivankovits
B. K. Oxley (binkley) wrote:
Could you explain the tradeoffs between putting the RAM set into the 
URI v. as an option to the configuration builder?
Your solution is just as good. But you have to ensure you really handle 
it like the "host" within the other filesystems. The point is VFS has to 
create a new filesystem instance for every "set", else all "sets" are 
tied together in one filesystem and maybe never get garbage-collected as 
someone might use a RamFS in an long time work.

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


svn commit: r149045 - /jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java

2005-01-29 Thread brett
Author: brett
Date: Sat Jan 29 06:29:27 2005
New Revision: 149045

URL: http://svn.apache.org/viewcvs?view=rev&rev=149045
Log:
resolve issue where content output before start tag
Modified:
   
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java

Modified: 
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java?view=diff&rev=149045&p1=jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java&r1=149044&p2=jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java&r2=149045
==
--- 
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java
(original)
+++ 
jakarta/commons/proper/jelly/trunk/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java
Sat Jan 29 06:29:27 2005
@@ -22,6 +22,8 @@
 import org.xml.sax.SAXException;
 import org.xml.sax.helpers.AttributesImpl;
 
+import java.io.IOException;
+
 /** A tag to produce an XML element which can contain other attributes
   * or elements like the  tag.
   *
@@ -115,6 +117,14 @@
 initialize();
 super.ignorableWhitespace(ch, start, length);
 }
+
+public void objectData(Object object)
+throws SAXException
+{
+initialize();
+super.objectData( object );
+}
+
 public void processingInstruction(String target, String data)
 throws SAXException {
 initialize();

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



Re: [vfs] proposal: MemoryFS

2005-01-29 Thread B. K. Oxley (binkley)
Mario Ivankovits wrote:
Just one additional idea:
Please design the internal data-store in a whay that it is serializable.
I'm using fields in the RamFileObject itself for all the various 
properties, contents, etc. (at least until I introduce RamFileContent -- 
right now I just have RamFileName, RamFileObject, RamFileProvider, 
RamFileSystem and RamFileSystemManager).

So if RamFileObject is serializable, so is the data store.  I'll mark 
them with JSR-220 annotations so that Hibernate and others can serialize 
them automatically.  How does that sound?

(I cannot reach hibernate.org right now (!?), but the page describing 
features for version 3 has a keen sample of the annotations.)

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


Re: [vfs] proposal: MemoryFS

2005-01-29 Thread B. K. Oxley (binkley)
Mario Ivankovits wrote:
One thing I currently thougth about is the scope of its content. By 
default the content is global to all users using the singleton 
FileSytemManager.
Though, we could use the FileSystemOptions to force VFS to create a new 
RamFileSystem instance.
I'm not certain how the config builder bit works, but it was simple to 
implement a "set" portion of the URI:

ram://[set]
Which behaves like "host" does for a URL.  If there is no "set", I use 
the global set (empty string).  The URI for root directory of the global 
set looks like:

ram:///
Not pretty, but that's only the canonical form.
Could you explain the tradeoffs between putting the RAM set into the URI 
v. as an option to the configuration builder?

Thanks!
--binkley
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[jelly] Paul's recently applied patch to xml tag library

2005-01-29 Thread Brett Porter
Hi Paul,
The patch in r148883 is causing me hassles: I'm getting "[]" (an empty 
list converted to string) when I was expecting "".

I don't really grok this, so I'm not sure how it is used enough to debug 
it. I'm actually getting the [] back from x:expr (on an attribute in 
JSL) and haven't located the x:set that does it, but basically its not 
backwards compatible as is.

Any chance we can roll this back for the moment until something 
backwards compat. can be developed?

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


svn commit: r149033 - in jakarta/commons/proper/collections/trunk: . src/java/org/apache/commons/collections/list src/test/org/apache/commons/collections/list

2005-01-29 Thread scolebourne
Author: scolebourne
Date: Sat Jan 29 04:51:12 2005
New Revision: 149033

URL: http://svn.apache.org/viewcvs?view=rev&rev=149033
Log:
Fix to SetUniqueList breaks when swapping entries

bug 33294, from Tom Dunham
Modified:
   jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
   
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java
   
jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/list/TestSetUniqueList.java

Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html?view=diff&rev=149033&p1=jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html&r1=149032&p2=jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html&r2=149033
==
--- jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html (original)
+++ jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html Sat Jan 29 
04:51:12 2005
@@ -54,6 +54,7 @@
 BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in case 
where buffer serialized when full [31433]
 BoundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds 
error [33071]
 MultiHashMap.remove(key, item) - Was returning the item even when nothing 
was removed [32366]
+SetUniqueList.set(int,Object) - Destroyed set status in certain 
circumstances [33294]
 
 
 JAVADOC

Modified: 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java?view=diff&rev=149033&p1=jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java&r1=149032&p2=jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java&r2=149033
==
--- 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java
(original)
+++ 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/SetUniqueList.java
Sat Jan 29 04:51:12 2005
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2004 The Apache Software Foundation
+ *  Copyright 2001-2005 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@
  * This implementation breaks these in certain ways, but this is merely the
  * result of rejecting duplicates.
  * Each violation is explained in the method, but it should not affect you.
+ * Bear in mind that Sets require immutable objects to function correctly.
  * 
  * The [EMAIL PROTECTED] org.apache.commons.collections.set.ListOrderedSet 
ListOrderedSet}
  * class provides an alternative approach, by wrapping an existing Set and
@@ -43,10 +44,11 @@
  * This class is Serializable from Commons Collections 3.1.
  *
  * @since Commons Collections 3.0
- * @version $Revision: 1.8 $ $Date: 2004/06/03 22:02:13 $
+ * @version $Revision: 1.8 $ $Date$
  * 
  * @author Matthew Hawthorne
  * @author Stephen Colebourne
+ * @author Tom Dunham
  */
 public class SetUniqueList extends AbstractSerializableListDecorator {
 
@@ -198,7 +200,7 @@
  * The object is set into the specified index.
  * Afterwards, any previous duplicate is removed
  * If the object is not already in the list then a normal set occurs.
- * If it is present, then the old version is removed and re-added at this 
index
+ * If it is present, then the old version is removed.
  * 
  * @param index  the index to insert at
  * @param object  the object to set
@@ -206,11 +208,16 @@
  */
 public Object set(int index, Object object) {
 int pos = indexOf(object);
-Object result = super.set(index, object);
+Object removed = super.set(index, object);
 if (pos == -1 || pos == index) {
-return result;
+return removed;
 }
-return remove(pos);
+
+// the object is already in the uniq list
+// (and it hasn't been swapped with itself)
+super.remove(pos);  // remove the duplicate by index
+set.remove(removed);  // remove the item deleted by the set
+return removed;  // return the item deleted by the set
 }
 
 public boolean remove(Object object) {

Modified: 
jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/list/TestSetUniqueList.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/list/TestSetUniqueList.java?view=diff&rev=149033&p1=jakarta/commons/proper/collections/trunk/src/test/org/apache/comm

Re: Making websites

2005-01-29 Thread Brett Porter
Paul Libbrecht wrote:

Hi,
I've tried running maven site on jelly tag-libs and... well... 
changelog, developer-activity, and file-activity fail... they can 
easily be outcommented, fine with that for now.
I'm getting around to setting the property :) You'll find it on the 
front page of the changelog docs.

Another small problem is that commons-build is referenced as living in 
the same directory as the root of each commons components' directory 
which is now made wrong by subversion. Should we change this ?
The build is still assuming that you checkout the svn:externals trunks. 
I commented on this, but didn't hear any response from anyone about 
whether this is going to be the only supported way.

Finally, a harder proble, it seems, is the output in the maven-site of 
the source repository which only presents a viewcvs link (which is 
broken as is known).
Is there a strong move soon so that a maven or plugin update comes 
which updates this ?
Or... should we try to find a solution ourselves ?
The templates in the xdoc plugin need changing, though you can come up 
with a replacement page in the meantime if you like. This is a little 
way down my todo list.

- Brett
thanks
paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Making websites

2005-01-29 Thread Paul Libbrecht

Hi,
I've tried running maven site on jelly tag-libs and... well... 
changelog, developer-activity, and file-activity fail... they can 
easily be outcommented, fine with that for now.

Another small problem is that commons-build is referenced as living in 
the same directory as the root of each commons components' directory 
which is now made wrong by subversion. Should we change this ?

Finally, a harder proble, it seems, is the output in the maven-site of 
the source repository which only presents a viewcvs link (which is 
broken as is known).
Is there a strong move soon so that a maven or plugin update comes 
which updates this ?
Or... should we try to find a solution ourselves ?

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


svn commit: r149027 - in jakarta/commons/proper/transaction/trunk: . src/java/org/apache/commons/transaction/locking src/test/org/apache/commons/transaction/locking

2005-01-29 Thread ozeigermann
Author: ozeigermann
Date: Sat Jan 29 03:26:11 2005
New Revision: 149027

URL: http://svn.apache.org/viewcvs?view=rev&rev=149027
Log:
- Extensions for better information retrieval on lock levels and releases

- More lock tests by Armin Waibel

- Fix for GenericLock that releases all locks of a certain user when testing 

  if a lock level was available
Added:
   
jakarta/commons/proper/transaction/trunk/src/test/org/apache/commons/transaction/locking/LockTestRepeatableReads.java
Modified:
   jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt
   jakarta/commons/proper/transaction/trunk/project.xml
   
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLock.java
   
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLockManager.java
   
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/LockManager2.java
   
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/MultiLevelLock.java
   
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/MultiLevelLock2.java
   
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/ReadWriteLockManager.java

Modified: jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt?view=diff&rev=149027&p1=jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt&r1=149026&p2=jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt&r2=149027
==
--- jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt  (original)
+++ jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt  Sat Jan 29 
03:26:11 2005
@@ -57,10 +57,18 @@
 -
 
 - PessimisticMapWrapper now throws the more general LockException from locking 
package
+- Both MultiLevelLock#release and LockManager2#release now return a boolean 
that indicates if the lock
+  really has been released
 
 BUGFIXES FROM 1.0 beta1
 ---
 - Fixed deadlock hazard in deadlock detection caused by interleaving access to 
locks set of an owner
+- Fixed timeout that in certain scenarios did not work
+- GenericLock test method released all locks held by the testing owner - fixed
+
+ENHANCEMENTS FROM 1.0 beta1
+---
+- Many extensions for information about locks
 
 KNOWN ISSUES
 

Modified: jakarta/commons/proper/transaction/trunk/project.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/transaction/trunk/project.xml?view=diff&rev=149027&p1=jakarta/commons/proper/transaction/trunk/project.xml&r1=149026&p2=jakarta/commons/proper/transaction/trunk/project.xml&r2=149027
==
--- jakarta/commons/proper/transaction/trunk/project.xml(original)
+++ jakarta/commons/proper/transaction/trunk/project.xmlSat Jan 29 
03:26:11 2005
@@ -102,6 +102,12 @@
 
   Antranig Basman
 
+
+  Armin Waibel
+  arminw
+  [EMAIL PROTECTED]
+  +1
+
   
 
 

Modified: 
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLock.java
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLock.java?view=diff&rev=149027&p1=jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLock.java&r1=149026&p2=jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLock.java&r2=149027
==
--- 
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLock.java
   (original)
+++ 
jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/locking/GenericLock.java
   Sat Jan 29 03:26:11 2005
@@ -1,7 +1,7 @@
 /*
  * $Header: 
/home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//transaction/src/java/org/apache/commons/transaction/locking/GenericLock.java,v
 1.14 2005/01/13 23:12:44 ozeigermann Exp $
  * $Revision: 1.14 $
- * $Date: 2005/01/13 23:12:44 $
+ * $Date$
  *
  * 
  *
@@ -171,16 +171,19 @@
  * @see MultiLevelLock2#test(Object, int, int)
  */
 public boolean test(Object ownerId, int targetLockLevel, int 
compatibility) {
-boolean success = false;
-try {
-success = tryLock(ownerId, targetLockLevel, compatibility, false);
-} finally {
-release(ownerId);
-}
+boolean success = tryLock(ownerId, targetLockLevel, compatibility, 
false, true);
 return success;
 }

svn commit: r149026 - /jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml

2005-01-29 Thread polx
Author: polx
Date: Sat Jan 29 03:23:49 2005
New Revision: 149026

URL: http://svn.apache.org/viewcvs?view=rev&rev=149026
Log:
Documented the patch.
paul

Modified:
   jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml

Modified: 
jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml
Url: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml?view=diff&rev=149026&p1=jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml&r1=149025&p2=jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml&r2=149026
==
--- jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml 
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/interaction/xdocs/changes.xml 
Sat Jan 29 03:23:49 2005
@@ -24,6 +24,9 @@
 dIon Gillard
   
   
+   AskTag now uses JLine which allows history, 
auto-completion,
+   and edition of answers.
 
   
 

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



[GUMP@brutus]: Project commons-jelly-tags-util (in module commons-jelly) failed

2005-01-29 Thread commons-jelly-tags-util development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-util has an issue affecting its community 
integration.
This issue affects 7 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-ant :  Commons Jelly
- commons-jelly-tags-fmt :  Commons Jelly
- commons-jelly-tags-html :  Commons Jelly
- commons-jelly-tags-jsl :  Commons Jelly
- commons-jelly-tags-util :  Commons Jelly
- maven :  Project Management Tools
- maven-bootstrap :  Project Management Tools


Full details are available at:

http://brutus.apache.org/gump/public/commons-jelly/commons-jelly-tags-util/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-util-29012005.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/util/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/util/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/util/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/util/target/test-reports
 -WARNING- No directory 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/util/target/test-reports]
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://brutus.apache.org/gump/public/commons-jelly/commons-jelly-tags-util/gump_work/build_commons-jelly_commons-jelly-tags-util.html
Work Name: build_commons-jelly_commons-jelly-tags-util (Type: Build)
Work ended in a state of : Failed
Elapsed: 5 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/util]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/optional/bean-collections/dist/commons-beanutils-bean-collections.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29012005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29012005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29012005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29012005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29012005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-29012005.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

You are working offline so the build will continue, but 
commons-jelly-SNAPSHOT.jar may be out of date!
build:start:

java:prepare-filesystem:
[mkdir] Created dir: 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/util/target/classes

java:compile:
[echo] Compiling to 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/util/target/classes
[echo] 
==

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==
  
[javac] Compiling 9 source files to 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/util/target/classes
[javac] 
/home/gump/workspaces2/public/workspace

[GUMP@brutus]: Project commons-jelly-tags-velocity (in module commons-jelly) success, but with warnings.

2005-01-29 Thread commons-jelly-tags-velocity development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-velocity contains errors.
The current state of this project is 'Success'.

Full details are available at:

http://brutus.apache.org/gump/public/commons-jelly/commons-jelly-tags-velocity/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-velocity-29012005.jar] identifier set 
to project name
 -ERROR- Multiple outputs defined by project jakarta-velocity; an id attribute 
is required to select the one you want
 -ERROR- Unhandled Property: maven.jar.velocity on: Maven on 
Project:commons-jelly-tags-velocity
 -DEBUG- Dependency on jakarta-velocity exists, no need to add for property 
maven.jar.velocity.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/velocity/build.properties
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/velocity/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/velocity/project.properties
 -INFO- No license on redistributable project with outputs.
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/velocity/target/test-reports



The following work was performed:
http://brutus.apache.org/gump/public/commons-jelly/commons-jelly-tags-velocity/gump_work/build_commons-jelly_commons-jelly-tags-velocity.html
Work Name: build_commons-jelly_commons-jelly-tags-velocity (Type: Build)
Work ended in a state of : Success
Elapsed: 6 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/velocity]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/bootstrap/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29012005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29012005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29012005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-29012005.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-29012005.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-29012005.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

You are working offline so the build will continue, but 
commons-jelly-SNAPSHOT.jar may be out of date!
build:start:

java:prepare-filesystem:
[mkdir] Created dir: 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/velocity/target/classes

java:compile:
[echo] Compiling to 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/velocity/target/classes
[echo] 
==

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==
  
[javac] Compiling 4 source files to 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/velocity/target/classes

java:jar-resources:

test:prepare-filesystem:
[mkdir] Created dir: 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/velocity/target/test-classes
[mkdir] Created dir: 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/velocity/target/test-reports

test:test-resources:

test:compile:
[javac] Compiling 1 source file to 
/home/gump/workspaces2/public/workspace/commons-jelly/jelly-tags/velocity/target/test-classes

test:test:

jar:jar:

Re: Eclipse and SVN

2005-01-29 Thread Oliver Zeigermann
Everything works fine when I check out a specific branch or tag or
trunk, but not when I check out the whole trunks-proper or
trunks-sandbox.

This is something I can live with, I was just wondering how everyone
else dealed with it and what I am doing wrong.

By the way I use Eclipse 3.0

Still appreciating any hints,

Oliver

On Sat, 29 Jan 2005 00:08:30 +0100, Oliver Zeigermann
<[EMAIL PROTECTED]> wrote:
> Folks,
> 
> sorry for being less than smart, but I still am struggeling to work
> with Eclipse and SVN.
> 
> I managed to check out everything, but now Eclipse claims all the
> stuff I checked out is not in the repository. It thus does not allow
> me to update or commit anything. Has anyone else seen this before and
> if so what to do to fix it.
> 
> Thanks in advance,
> 
> Oliver
>

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



Re: ViewCVS not working for SVN repos

2005-01-29 Thread Mario Ivankovits
Brett Porter wrote:
I wouldn't panic, it was more to do with very high loads
Thanks, thats enough info ;-)
---
Mario
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]