[jira] Created: (JCR-2220) Use the remote-resources-plugin to add LICENSE and NOTICE files to binaries

2009-07-16 Thread Jukka Zitting (JIRA)
Use the remote-resources-plugin to add LICENSE and NOTICE files to binaries --- Key: JCR-2220 URL: https://issues.apache.org/jira/browse/JCR-2220 Project: Jackrabbit Content Repos

Re: Jackrabbit 2.0 release plan

2009-07-16 Thread Jukka Zitting
Hi, One more alpha before I head out for a two-week vacation: I'll update the JCR API jar again tomorrow and cut a 2.0-alpha5 release candidate based on that. BR, Jukka Zitting

[jira] Resolved: (JCRSITE-17) Disable RAT checks in normal builds

2009-07-16 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCRSITE-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting resolved JCRSITE-17. -- Resolution: Fixed Fix Version/s: parent 4 RAT checks moved to a "pedantic" profile in re

[jira] Created: (JCRSITE-17) Disable RAT checks in normal builds

2009-07-16 Thread Jukka Zitting (JIRA)
Disable RAT checks in normal builds --- Key: JCRSITE-17 URL: https://issues.apache.org/jira/browse/JCRSITE-17 Project: Jackrabbit Site Issue Type: Improvement Components: parent Reporter:

[jira] Commented: (JCR-2199) Improvements to user management

2009-07-16 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731992#action_12731992 ] angela commented on JCR-2199: - in addition: moved interfaces for repo based principals to the api

[jira] Updated: (JCR-2199) Improvements to user management

2009-07-16 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-2199: Assignee: angela > Improvements to user management > --- > > Key: JCR-219

[jira] Resolved: (JCR-2199) Improvements to user management

2009-07-16 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-2199. - Resolution: Fixed > Improvements to user management > --- > > Key: JCR-

[jira] Updated: (JCR-2219) Improved background text extraction

2009-07-16 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2219: --- Status: Patch Available (was: Open) > Improved background text extraction > --

[jira] Updated: (JCR-2219) Improved background text extraction

2009-07-16 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2219: --- Attachment: JCR-2219.patch Attached a patch that starts the background text extraction thread as early

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Jukka Zitting
Hi, On Thu, Jul 16, 2009 at 1:26 PM, Jukka Zitting wrote: > I can give it a try. See JCR-2219 for a first pass at this. BR, Jukka Zitting

[jira] Commented: (JCR-2199) Improvements to user management

2009-07-16 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731985#action_12731985 ] angela commented on JCR-2199: - Changed structure of user/group content in rev. 794702. The defaul

[jira] Updated: (JCR-2199) Improvements to user management

2009-07-16 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-2199: Description: Container issue for various improvements needed for the user management implementation in jr-core. Kno

[jira] Created: (JCR-2219) Improved background text extraction

2009-07-16 Thread Jukka Zitting (JIRA)
Improved background text extraction --- Key: JCR-2219 URL: https://issues.apache.org/jira/browse/JCR-2219 Project: Jackrabbit Content Repository Issue Type: Improvement Components: indexing, jackrabb

[jira] Commented: (JCR-2218) NodeEntryImpl.getWorkspaceId() very inefficient

2009-07-16 Thread JIRA
[ https://issues.apache.org/jira/browse/JCR-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731953#action_12731953 ] Michael Dürig commented on JCR-2218: To fix this I propose to cache the NodeId and/or pat

[jira] Issue Comment Edited: (JCR-1668) After RepositoryImpl instance has been created and shut down, some classes cannot be unloaded

2009-07-16 Thread Martijn Hendriks (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731907#action_12731907 ] Martijn Hendriks edited comment on JCR-1668 at 7/16/09 7:08 AM: ---

[jira] Created: (JCR-2218) NodeEntryImpl.getWorkspaceId() very inefficient

2009-07-16 Thread JIRA
NodeEntryImpl.getWorkspaceId() very inefficient Key: JCR-2218 URL: https://issues.apache.org/jira/browse/JCR-2218 Project: Jackrabbit Content Repository Issue Type: Improvement Comp

Re: Reason for Item.save() to be deprecated...

2009-07-16 Thread Alexander Klimetschek
On Thu, Jul 16, 2009 at 3:40 PM, Luca Tagliani wrote: > We have developed a webapp for content management using jackrabbit as > repository. > Using the GUI (JSF) we can alter, modify, create or delete the entities > present in our repository (everithing, from user to document are mapped as a > node

Re: Reason for Item.save() to be deprecated...

2009-07-16 Thread Luca Tagliani
Hi Alexander, I've found the javadoc (I did not read well the code...). The problem though is still there. Let me explain. We have developed a webapp for content management using jackrabbit as repository. Using the GUI (JSF) we can alter, modify, create or delete the entities present in our r

Re: [VOTE] Release Apache Jackrabbit 1.5.7

2009-07-16 Thread Michael Dürig
+1 Release this package as Apache Jackrabbit 1.5.7 given the missing license header on GetItemsTest.java is not a blocker. - checksums and signatures ok - build with JDK 1.5 on Windows XP ok - license, readme and release notes ok - license headers ok except for jackrabbit-jcr2spi/src/test/jav

Re: Reason for Item.save() to be deprecated...

2009-07-16 Thread Alexander Klimetschek
On Thu, Jul 16, 2009 at 1:46 PM, Luca Tagliani wrote: >  I have downloaded the alpha4 of jackrabbit-2.0 and I'm using the > jcr-2.0-b19.jar for the jcr api. > > I've found that Item.save() has been deprecated. > > I haven't find the source of the jcr-2.0-b19.jar or any javadoc about it. You'll fin

[jira] Commented: (JCR-2217) Enable DataStore in default configuration

2009-07-16 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731913#action_12731913 ] Thomas Mueller commented on JCR-2217: - +1 > Enable DataStore in default configuration >

[jira] Updated: (JCR-2217) Enable DataStore in default configuration

2009-07-16 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2217: -- Attachment: JCR-2217.patch > Enable DataStore in default configuration >

[jira] Updated: (JCR-2217) Enable DataStore in default configuration

2009-07-16 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2217: -- Status: Patch Available (was: Open) Proposed patch. > Enable DataStore in default configuration

Hudson build is back to stable: Ja ckrabbit-1.x » Jackrabbit Core #32

2009-07-16 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-1.x/org.apache.jackrabbit$jackrabbit-core/32/

Reason for Item.save() to be deprecated...

2009-07-16 Thread Luca Tagliani
Hi all, I have downloaded the alpha4 of jackrabbit-2.0 and I'm using the jcr-2.0-b19.jar for the jcr api. I've found that Item.save() has been deprecated. I haven't find the source of the jcr-2.0-b19.jar or any javadoc about it. In our project we rely on item (tipically node) direct saving an

[jira] Commented: (JCR-1668) After RepositoryImpl instance has been created and shut down, some classes cannot be unloaded

2009-07-16 Thread Martijn Hendriks (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731907#action_12731907 ] Martijn Hendriks commented on JCR-1668: --- There's yet another background thread that giv

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Marcel Reutegger
Hi, On Thu, Jul 16, 2009 at 13:24, Jukka Zitting wrote: > AFAIUI we wouldn't need any timeout detection as there would be no > user transaction to be blocked. Or are also the background index > updates serialized to a single write lock? yes, they are :-/ regards marcel

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Jukka Zitting
Hi, On Thu, Jul 16, 2009 at 1:22 PM, Marcel Reutegger wrote: > just realized that this is probably not what you meant. > > I guess you rather meant to change TextExtractorJob. e.g. instead of > getReader(timout) > it could be changed to getExtractedText(timeout). Yep, something like that. > do y

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Jukka Zitting
Hi, On Thu, Jul 16, 2009 at 1:16 PM, Marcel Reutegger wrote: > On Thu, Jul 16, 2009 at 12:28, Jukka Zitting wrote: >> ... and a new background task is fired to update the index >> for that document once the text extraction is complete. > > that requires clarification on the term 'background task'

Re: Code snippets on website no longer syntax highlighted

2009-07-16 Thread Guo Du
May caused by 404 error for page style: http://jackrabbit.apache.org/confluence/download/resources/confluence.ext.code:code/shStyles.css On Thu, Jul 16, 2009 at 11:30 AM, Alexander Klimetschek wrote: > Hi all, > > I noticed on http://jackrabbit.apache.org/first-hops.html that the > code parts are

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Marcel Reutegger
Hi, On Thu, Jul 16, 2009 at 13:16, Marcel Reutegger wrote: > On Thu, Jul 16, 2009 at 12:28, Jukka Zitting wrote: >> Alternatively, we should probably move the extraction timeout handling >> to some getExtractedText(long timeout) method that does a >> wait(timeout) call on the extraction task, wait

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Marcel Reutegger
Hi, On Thu, Jul 16, 2009 at 12:28, Jukka Zitting wrote: > If I understand correctly, we update the search index within the > transaction but if a text extraction task takes longer than the > configurable limit, that part of the index update is replaced with an > empty string ... correct. > ... a

RE: [VOTE] Release Apache Jackrabbit 1.5.7

2009-07-16 Thread Martijn Hendriks
Hi, +1 Release this package as Apache Jackrabbit 1.5.7 * Checksums OK * Release notes OK * mvn install OK (Java 1.5.0_19, Mac OS X 10.5.7, Maven 2.0.9) Best regards, Martijn Van: Jukka Zitting [jukka.zitt...@gmail.com] Verzonden: woensdag 15 juli 2009 21

Code snippets on website no longer syntax highlighted

2009-07-16 Thread Alexander Klimetschek
Hi all, I noticed on http://jackrabbit.apache.org/first-hops.html that the code parts are no longer syntax highlighted and are simply just part of the text (ie. no grey box). Is this a consequence fromt he recent confluence upgrade? Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@d

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Jukka Zitting
Hi, On Thu, Jul 16, 2009 at 11:51 AM, Marcel Reutegger wrote: > I'm not sure I understand that correctly. with the current design > multiple nodes are already indexed in parallel. but the index update > as a whole will still be blocked, waiting for *all* nodes to be > indexed. OK, I'm just gettin

[jira] Updated: (JCR-2034) Add an option so skip the "checkSchema" methods

2009-07-16 Thread Martijn Hendriks (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martijn Hendriks updated JCR-2034: -- Attachment: JCR-2034-v2.patch ...and here it is. > Add an option so skip the "checkSchema" metho

[jira] Created: (JCR-2217) Enable DataStore in default configuration

2009-07-16 Thread Marcel Reutegger (JIRA)
Enable DataStore in default configuration - Key: JCR-2217 URL: https://issues.apache.org/jira/browse/JCR-2217 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackra

Re: Hudson build became unstable: Jackrabbit-1.x » Jackrabbit Core #31

2009-07-16 Thread Jukka Zitting
Hi, On Thu, Jul 16, 2009 at 11:44 AM, Apache Hudson Server wrote: > See > http://hudson.zones.apache.org/hudson/job/Jackrabbit-1.x/org.apache.jackrabbit$jackrabbit-core/31/ That's the IndexingAggregateTest#testNtFileAggregate failure reported and fixed in JCR-2191. I merged the fix to the 1.x b

[jira] Updated: (JCR-2191) IndexingAggregateTest#testNtFileAggregate fails occasionally

2009-07-16 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2191: --- Fix Version/s: (was: 2.0-alpha4) 1.6.0 Merged to the 1.x branch in revision 7946

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Marcel Reutegger
Hi, On Thu, Jul 16, 2009 at 11:32, Jukka Zitting wrote: > On Thu, Jul 16, 2009 at 11:04 AM, Marcel > Reutegger wrote: >> hmm, even if the conversion from reader to string is done in a >> separate thread as part of the extractor job, there remains the issue >> when the reader is used as is. > > As

Re: [VOTE] Release Apache Jackrabbit 1.5.7

2009-07-16 Thread Thomas Müller
Hi, +1 Release this package as Apache Jackrabbit 1.5.7 jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/GetItemsTest.java doesn't have a license header in this release, but I guess that shouldn't be a problem. - checksums OK - notice, header, readme and release-notes files OK - mvn

Hudson build became unstable: Jac krabbit-1.x » Jackrabbit Core #31

2009-07-16 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-1.x/org.apache.jackrabbit$jackrabbit-core/31/

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Jukka Zitting
Hi, On Thu, Jul 16, 2009 at 11:04 AM, Marcel Reutegger wrote: > hmm, even if the conversion from reader to string is done in a > separate thread as part of the extractor job, there remains the issue > when the reader is used as is. As far as I can tell from the code, this is currently not the cas

[jira] Issue Comment Edited: (JCR-1972) Preserving UUID and document version history on repository migration

2009-07-16 Thread Paco Avila (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731866#action_12731866 ] Paco Avila edited comment on JCR-1972 at 7/16/09 2:06 AM: -- Updated p

[jira] Issue Comment Edited: (JCR-1972) Preserving UUID and document version history on repository migration

2009-07-16 Thread Paco Avila (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731866#action_12731866 ] Paco Avila edited comment on JCR-1972 at 7/16/09 2:05 AM: -- Updated p

[jira] Updated: (JCR-1972) Preserving UUID and document version history on repository migration

2009-07-16 Thread Paco Avila (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paco Avila updated JCR-1972: Attachment: JCR-1972_1.x.patch Check for existing UUID > Preserving UUID and document version history on rep

Re: LazyTextExtractorField and background text extraction

2009-07-16 Thread Marcel Reutegger
Hi, On Wed, Jul 15, 2009 at 19:23, Marcel Reutegger wrote: > On Wed, Jul 15, 2009 at 18:21, Jukka Zitting wrote: >> Many of the text extractors (especially now that we're migrating to >> Apache Tika) parse the document in streaming mode. So if we do need to >> convert the Reader to a String, it wo

[jira] Updated: (JCR-2215) SPI2DAVex: HttpClient StringPart uses charset US-ASCII by default

2009-07-16 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-2215: Fix Version/s: 1.6.0 > SPI2DAVex: HttpClient StringPart uses charset US-ASCII by default > --

Re: [VOTE] Release Apache Jackrabbit 1.5.7

2009-07-16 Thread Marcel Reutegger
Hi, On Wed, Jul 15, 2009 at 21:33, Jukka Zitting wrote: > Please vote on releasing this package as Apache Jackrabbit 1.5.7. The > vote is open for the next 72 hours and passes if a majority of at > least three +1 Jackrabbit PMC votes are cast. +1 Release this package as Apache Jackrabbit 1.5.7 -

[jira] Updated: (JCR-2216) Append-only index updates

2009-07-16 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2216: -- Status: Patch Available (was: Open) Initial patch. Comments welcome. > Append-only index updat

[jira] Updated: (JCR-2216) Append-only index updates

2009-07-16 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-2216: -- Attachment: JCR-2216.patch > Append-only index updates > - > >

[jira] Created: (JCR-2216) Append-only index updates

2009-07-16 Thread Marcel Reutegger (JIRA)
Append-only index updates - Key: JCR-2216 URL: https://issues.apache.org/jira/browse/JCR-2216 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackrabbit-core Reporter: