[jira] Updated: (JCR-1524) [PATCH] tests use 12 for month which is invalid

2008-04-07 Thread Dave Brosius (JIRA)

 [ 
https://issues.apache.org/jira/browse/JCR-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Brosius updated JCR-1524:
--

Attachment: december_is_not_12.patch

 [PATCH] tests use 12 for month which is invalid
 ---

 Key: JCR-1524
 URL: https://issues.apache.org/jira/browse/JCR-1524
 Project: Jackrabbit
  Issue Type: Bug
  Components: jackrabbit-ocm
Affects Versions: 1.4
Reporter: Dave Brosius
Priority: Trivial
 Fix For: 1.4.1

 Attachments: december_is_not_12.patch


 tests create calendar with 12 as a month, which is invalid. December is 11, 
 so use Calendar.DECEMBER instead. - patch fixes this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (JCR-1524) [PATCH] tests use 12 for month which is invalid

2008-04-07 Thread Dave Brosius (JIRA)
[PATCH] tests use 12 for month which is invalid
---

 Key: JCR-1524
 URL: https://issues.apache.org/jira/browse/JCR-1524
 Project: Jackrabbit
  Issue Type: Bug
  Components: jackrabbit-ocm
Affects Versions: 1.4
Reporter: Dave Brosius
Priority: Trivial
 Fix For: 1.4.1
 Attachments: december_is_not_12.patch

tests create calendar with 12 as a month, which is invalid. December is 11, so 
use Calendar.DECEMBER instead. - patch fixes this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (JCR-1519) Property.getLength() returns -1 for BOOLEAN, REFERENCE and DATE values

2008-04-07 Thread Marcel Reutegger (JIRA)

 [ 
https://issues.apache.org/jira/browse/JCR-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger resolved JCR-1519.
---

   Resolution: Fixed
Fix Version/s: 1.5

Applied patch.

svn revision: 645415

 Property.getLength() returns -1 for BOOLEAN, REFERENCE and DATE values
 --

 Key: JCR-1519
 URL: https://issues.apache.org/jira/browse/JCR-1519
 Project: Jackrabbit
  Issue Type: Bug
  Components: jackrabbit-core
Affects Versions: 1.4, core 1.4.1, core 1.4.2
Reporter: Marcel Reutegger
Priority: Minor
 Fix For: 1.5

 Attachments: JSR-1519.patch


 It seems those three are simply missing in PropertyImpl.getLength().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-1520) DatabaseFileSistem's logger references the wrong class

2008-04-07 Thread Stefan Guggisberg (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586315#action_12586315
 ] 

Stefan Guggisberg commented on JCR-1520:


esteban, now that you're a committer, could you please go ahead and fix the 
issue? ;)

there's no need to send patches if the issue/fix is trivial.

thanks!
stefan

 DatabaseFileSistem's logger references the wrong class
 --

 Key: JCR-1520
 URL: https://issues.apache.org/jira/browse/JCR-1520
 Project: Jackrabbit
  Issue Type: Improvement
  Components: jackrabbit-core
Affects Versions: 1.4, 1.5
Reporter: Esteban Franqueiro
 Attachments: JCR-1520.patch


 In DatabaseFileSystem, the logger is constructed as
 private static Logger log = LoggerFactory.getLogger(DbFileSystem.class);
 It should be constructed as:
 private static Logger log = LoggerFactory.getLogger(DatabaseFileSystem.class);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-1522) [PATCH] Java Class file text extractor

2008-04-07 Thread Marcel Reutegger (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586340#action_12586340
 ] 

Marcel Reutegger commented on JCR-1522:
---

What's the general feeling about adding a new dependency? This patch requires 
asm-3.1.jar, which is quite compact.

 [PATCH] Java Class file text extractor
 --

 Key: JCR-1522
 URL: https://issues.apache.org/jira/browse/JCR-1522
 Project: Jackrabbit
  Issue Type: New Feature
  Components: jackrabbit-text-extractors
Affects Versions: 1.4.1
Reporter: Dave Brosius
Priority: Trivial
 Fix For: 1.4.1

 Attachments: classfile_text_extractor.patch


 A text extractor for a Java Class file. Pulls class, field and method names 
 and signatures out of the class file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-1523) [PATCH] png, apng, mng text extractor

2008-04-07 Thread Marcel Reutegger (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586359#action_12586359
 ] 

Marcel Reutegger commented on JCR-1523:
---

Dave, thank you for the png text extractor. There are a couple of minor issues 
I've identified.

- the test class does not have a license header
- the comment for PngTextExtractorTest.testContentTypes() mentiones text/xml 
and application/xml
- please consistently use spaces instead of tabs

 [PATCH] png, apng, mng text extractor
 -

 Key: JCR-1523
 URL: https://issues.apache.org/jira/browse/JCR-1523
 Project: Jackrabbit
  Issue Type: New Feature
  Components: jackrabbit-text-extractors
Affects Versions: 1.4
Reporter: Dave Brosius
Priority: Trivial
 Fix For: 1.4.1

 Attachments: png_text_extractor.patch


 Text extractor for tEXt chunk for png, apng and mng formats

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (JCR-1523) [PATCH] png, apng, mng text extractor

2008-04-07 Thread Dave Brosius (JIRA)

 [ 
https://issues.apache.org/jira/browse/JCR-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Brosius updated JCR-1523:
--

Attachment: png_text_extractor.patch

changes made as suggested

 [PATCH] png, apng, mng text extractor
 -

 Key: JCR-1523
 URL: https://issues.apache.org/jira/browse/JCR-1523
 Project: Jackrabbit
  Issue Type: New Feature
  Components: jackrabbit-text-extractors
Affects Versions: 1.4
Reporter: Dave Brosius
Priority: Trivial
 Fix For: 1.4.1

 Attachments: png_text_extractor.patch, png_text_extractor.patch


 Text extractor for tEXt chunk for png, apng and mng formats

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (JCR-1520) DatabaseFileSistem's logger references the wrong class

2008-04-07 Thread Esteban Franqueiro (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586398#action_12586398
 ] 

Esteban Franqueiro commented on JCR-1520:
-

I thought you meant that in your email comment, but since I didn't have 
confirmation that everything was already set up, I posted the patch anyway. I 
will set everything up and fix it asap.
Thanks!

 DatabaseFileSistem's logger references the wrong class
 --

 Key: JCR-1520
 URL: https://issues.apache.org/jira/browse/JCR-1520
 Project: Jackrabbit
  Issue Type: Improvement
  Components: jackrabbit-core
Affects Versions: 1.4, 1.5
Reporter: Esteban Franqueiro
 Attachments: JCR-1520.patch


 In DatabaseFileSystem, the logger is constructed as
 private static Logger log = LoggerFactory.getLogger(DbFileSystem.class);
 It should be constructed as:
 private static Logger log = LoggerFactory.getLogger(DatabaseFileSystem.class);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Jackrabbit expects a particular Oracle driver

2008-04-07 Thread Stefan Guggisberg
On Fri, Apr 4, 2008 at 11:00 PM, Esteban Franqueiro
[EMAIL PROTECTED] wrote:
  Yes, I thought of that aswell. However, just renaming the existing  class 
  is probably not an
   option since it would break backward  compatibility.
  
   What do you suggest? Any other good ideas?

  You're right. Maybe we can create a new class for Oracle 10+, Make it 
 inherit from DbFileSystem, and
  override the createSchema(), and table space related methods, which are the 
 ones that need special
  handling. Furthermore, we could refactor the current OracleFileSystem and 
 break it into two clases,
  one of them to keep the current behavior and a new one to keep the common 
 code (which we could
  rename to OracleBaseFileSystem or similar, for the reason you said). Then we 
 make the
  Oracle10FileSystem inherit from the latter.
  WDYT?

sounds good. do you want to create to create a related jira issue?

cheers
stefan

  Regards,



  Esteban Franqueiro
  [EMAIL PROTECTED]


  Notice:  This email message, together with any attachments, may contain 
 information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
 entities,  that may be confidential,  proprietary,  copyrighted  and/or 
 legally privileged, and is intended solely for the use of the individual or 
 entity named in this message. If you are not the intended recipient, and have 
 received this message in error, please immediately return this by email and 
 then delete it.



[jira] Updated: (JCR-872) Cache framework integration

2008-04-07 Thread Padraic Hannon (JIRA)

 [ 
https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Padraic Hannon updated JCR-872:
---

Attachment: ocm_cache.zip

Here is the work I have done so far. I do not have test cases specific for this 
implementation as I have been working on these files against my existing 
internal test cases. To use this from within Spring (it requires SessionFactory 
to make everything work), wire it up as a replacement to JcrMappingTemplate:

bean id=secondLevelCache
  
class=org.apache.jackrabbit.ocm.objectconverter.cache.ehcache.SynchronizedEhCacheObjectCache
  singleton=true
constructor-arg index=0 ref=jcrSessionFactory/
/bean
bean id=vdmMappingTemplate

class=org.apache.jackrabbit.ocm.spring.JcrCachedMappingTemplate
constructor-arg index=0 ref=jcrSessionFactory/
constructor-arg index=1 ref=jcrMappingDescriptor/
constructor-arg index=2 ref=secondLevelCache/
property name=allowCreate value=false/
  /bean



 Cache framework integration
 ---

 Key: JCR-872
 URL: https://issues.apache.org/jira/browse/JCR-872
 Project: Jackrabbit
  Issue Type: Task
  Components: jackrabbit-ocm
Reporter: Christophe Lombart
 Attachments: ocm_cache.zip


 OCM should work with a cache manager. 
 * The Spring frameworks offer a nice solution to integrate an application 
 with a cache manager (based on AOP). 
 * Which cache framework to use ? oscache, JCS, ...
 * A more detailled proposal is required

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Jackrabbit expects a particular Oracle driver

2008-04-07 Thread Esteban Franqueiro
 sounds good. do you want to create to create a related jira issue?

Done.
I'll try to make this changes as soon as I can finish with my current work.
Regards,

Esteban Franqueiro
[EMAIL PROTECTED]

Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.


[jira] Commented: (JCR-1520) DatabaseFileSistem's logger references the wrong class

2008-04-07 Thread Jukka Zitting (JIRA)

[ 
https://issues.apache.org/jira/browse/JCR-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586522#action_12586522
 ] 

Jukka Zitting commented on JCR-1520:


root@ still hasn't processed the account request for Esteban, so he still 
doesn't have commit access. But the account should be ready soon, and this 
would be a good first commit. :-)

 DatabaseFileSistem's logger references the wrong class
 --

 Key: JCR-1520
 URL: https://issues.apache.org/jira/browse/JCR-1520
 Project: Jackrabbit
  Issue Type: Improvement
  Components: jackrabbit-core
Affects Versions: 1.4, 1.5
Reporter: Esteban Franqueiro
 Attachments: JCR-1520.patch


 In DatabaseFileSystem, the logger is constructed as
 private static Logger log = LoggerFactory.getLogger(DbFileSystem.class);
 It should be constructed as:
 private static Logger log = LoggerFactory.getLogger(DatabaseFileSystem.class);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Link to the venue for today's Amsterdam meetup (wiki down)

2008-04-07 Thread Bertrand Delacretaz
Hi,

The wiki is down ATM, if people are looking for the venue it's
Pakhuis de Zwijger, links:

http://www.dezwijger.nl/?nid=184
http://tinyurl.com/6y6vvl

Or search Google for JcrMeetupApril2008 and use the cache, Luke.

Some of us will meet in the Moevenpick hotel lobby at 8:45 to go there.

-Bertrand