Hi Stefan,
Thanks a lot for your previous reply. But I still failed to fix the issue.
I am trying to incorporate the 2.2.3 version of Jackrabbit in Sling, since
this is the latest stable version of Jackrabbit. Also it has fixed the
locking issue. I've changed all the POMs in Sling to use the 2.2.3 version
of Jackrabbit. But still the locking was not working. Then I tried to add
some logs in the Jackrabbit for debug purpose and modified the version to
2.2.3-SNAPSHOT. But I didn't find my logs in the Sling log file. Then I
tried to logg those messages in the 'System.out' along with the logging. But
still I am failing to get those logs in the Tomcat's output file
(catalina.out). So, I think my changes are not used by Sling when I am
building Sling.
If I can't push my modifications in the Sling, I think I won't be able to
fix the issue in Sling in any way. So, can you please help me in building
Sling properly?
I followed the following steps for the building:
1. Modify Some java files in jackrabbit-core (version 2.2.3) for the
logging
2. Change all the POMs of Jackrabbit 2.2.3 and set their version to
'2.2.3-SNAPSHOT'
3. Build jackrabbit using the following command:
mvn clen
mvn install
3. Change the all the dependencies of Sling to use 2.2.3-SNAPSHOT version
of Jackrabbit modules
4. Change the
org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultAccessManager
and change the signature of 'canRead' method as the modified super class
5. Build Sling using the following commands:
mvn clean
mvn install -Dmaven.test.skip=true
Am I mistaking anything in the build process? Any help regarding the build
process will be much appreciated.
Thanks & Regards.
On Mon, Jan 31, 2011 at 4:47 AM, James Stansell <[email protected]> wrote:
> Hi,
>
> The jackrabbit core jar version 2.1.1 will be listed in one of the
> pom.xml files, but I am not sure which one. You need to change it to
> the 2.2.2 version. Other jar versions may also need to change, but not
> sure of the details.
>
> Regards,
>
> -james.
>
> On Sunday, January 30, 2011, Gazi Mushfiqur Rahman wrote:
> ...
> > Jackrabbit team already resolved this issue on their latest version, i.e.
> > 2.2.2. So can anyone please update the jackrabbit version for Sling or
> just
> > fix this issue or let me know how to build and integrate jackrabbit-core
> in
> > Sling?
>