https://github.com/zostay/java-jcr
Interface from Perl to Java Content Repositories
https://github.com/zostay/java-jcr
Last synced: 11 months ago
JSON representation
Interface from Perl to Java Content Repositories
- Host: GitHub
- URL: https://github.com/zostay/java-jcr
- Owner: zostay
- License: other
- Created: 2011-10-20T03:07:15.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-20T03:13:58.000Z (over 14 years ago)
- Last Synced: 2024-12-29T10:29:21.891Z (over 1 year ago)
- Language: Perl
- Homepage:
- Size: 191 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
Java::JCR
---------
"JCR" is a shorthand for Content Repository API for the Java Specification API.
This is a hierarchical database API written for Java.
I'm in the process of writing a similar API for Perl (see Repository::Simple),
but I'm getting a little impatient and wanted something usable right now.
Therefore, I used Inline::Java and some custom scripting to build a direct API
port from the JCR and added the tools necessary to create and use a Jackrabbit
repository.
If you have no idea what I'm talking about, I recommend the following
resources:
http://www.jcp.org/en/jsr/detail?id=170
http://jackrabbit.apache.org/
Installation
------------
Installation can be a bit tricky because this library depends upon Inline::Java,
which didn't install without going through the process by hand. (I usually just
let CPAN do all the work.) You must first install Inline::Java.
Then, you must install libwww-perl, as I use that to download the Jar files. I
hope to remove this dependency in the future, but it's there for now.
After installing both of those, you should be able to run:
perl Build.PL
./Build
./Build test
./Build install
I generally try to make my build scripts as standard as possible. If you prefer
using make, I have Module::Build distributing a makefile generator too:
perl Makefile.PL
make
make test
make install
Bugs/Comments
-------------
Your comments are welcome. You may email me at hanenkamp@cpan.org or post a bug
to CPAN RT:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Java-JCR
Contributions are also welcome, of course. If you'd like to participate in the
development of this tool, send me an email.
Copyright/License
-----------------
Copyright 2006 Andrew Sterling Hanenkamp . All
Rights Reserved.
This module is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.