DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-09-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-09-13 17:17 ---
commited as  selector

Jan

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-07-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-07-05 14:32 ---
Seems a useful addition, and a nicely done patch.

One comment: when I see , it's not immediately obvious what the selector
does. I think the fact that a cache is used is more an implementation detail,
than anything of relevance to the user.  Perhaps  would be better?


--Jeff

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-07-02 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-07-02 07:39 ---
Created an attachment (id=7050)
Scenario CacheSelector in conjunction with Apache Forrest

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-07-02 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-07-02 07:39 ---
In conjunction with forrest I created a test scenario.
I attache a zip file containing the two files for running the scenario on 
windows.

Needed:
- Ant distribution containing the cacheselector
- Ant-Contrib

Install + Run:
- unzip forrests fresh-site.zip into %forrest_home%\fresh-site
- unzip the attached cacheselector+forrest.zip into %forrest_home%\fresh-site
- open a cmd.exe in %forrest_home%\fresh-site
- type #suite.bat

Scenario:
- deletes all generated files (so you can run this multiple times)
- generate the site
- copy to dist-1: should contain all files
- copy to dist-2: should contain no files, because nothing has changed
- generate the site
- copy to dist-3: should contain no files, because no CONTENT has changed
- modify two sources (using notepad)
- generate the site
- copy to dist-4: should contain only the derived files (faq.html, faq.pdf, 
test1.html)

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-07-02 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-07-02 06:53 ---
Created an attachment (id=7049)
ZIP containing refactored CacheSelector and docs

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-07-02 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-07-02 06:53 ---
After a while a refactorisation this would be the final version.

Features:
- CacheSelector uses a third interface java.util.Comparator for comparing
  the new and the cached value
- smaller Algorithm interface
- configuration of Algorithm and Cache is done via IntrospectionHelper
- MD5Algorithm is changed to DigestAlgorithm and supports SHA
- default values for easier use

Now I need comments. 
Then I can try my first change to the cvs tree :-)

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-24 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Normal  |Enhancement

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-06 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 16:37 ---
Created an attachment (id=6677)
Added MD5Algorithm (contains the other modifications)

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-06 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 16:37 ---
Created an attachment (id=6676)
Added test for MD5Algorithm

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-06 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 16:37 ---
Created an attachment (id=6675)
MD5Algorithm uses MessageDigest for computing the value

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-06 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 15:02 ---
I know why I implement the CacheSelector against the Algorithm _interface_ :-)

I will try an implementation as MD5Algorithm.

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-06 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 14:41 ---
I like the idea behind the cache selector.  But I am not comfortable with the
HashValueAlgorithm where you convert a byte array into a character string 
object before computing the hashvalue for it.  Instead of converting from bytes
to string, use MessageDigest along with the MD5 algorithm to calculate the MD5
hashvalue for each file (See the code for the checksum task for an example).
This is purely stream based and not string based.

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-06 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 14:06 ---
The attachement 6671 contains the full new sources (complete and diff´s), so 
the other are out of date.

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-06 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-06 14:05 ---
Created an attachment (id=6671)
Complete refactored implemenation and updated documentation

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-05 09:05 ---
Created an attachment (id=6642)
Add support for CacheSelector (without this, many classes can´t compile, 
because MT implements SelectorContainer)

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



DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-04 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-04 11:37 ---
Created an attachment (id=6623)
the forgotten diff


DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-04 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-04 11:36 ---
The zip contains:

docs\manual\CoreTypes\*.html - the improved/updated doco (complete files)
docs\manual\CoreTypes\*.diff -"  diff-file
docs\manual\CoreTypes\*.png  - graphics used in the doco

**\cacheselector\*.java - new files for the selector (complete files)

CacheSelectorTest.java - JUnit testcase for the new selector

AbstractFileSet, SelectorContainer - adding support for the new selector

BaseExtendSelector - my fault :-(  no changes done



I have forgotten the BaseSelectorContainer for the support for the new selector.
Next attachement.


DO NOT REPLY [Bug 20474] - New Selector and improved documentation

2003-06-04 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20474

New Selector and improved documentation





--- Additional Comments From [EMAIL PROTECTED]  2003-06-04 11:29 ---
Created an attachment (id=6622)
Zip containing diffs and complete files