abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Dupriez <christophe.dupr...@destin.be>
Subject Re: Where are DefaultProvider and SimpleWorkspaceInfo?
Date Mon, 26 Mar 2012 06:34:51 GMT
I use the JARs provided for running/developing ABDERA 1.2
    and I use the SVN to have an Eclipse project (that I only read) with 
the source code:

In my mavenized project, I use the following dependencies definitions:

To give a glimpse of my integration work (5 big days):

and the supported URLs definitions are aligned on the OpenSearch and 
(partially) on the OData specifications.
 From AbstractedCorrectedWorkspaceProvider:
         // The target resolver provides the URL path mappings
                 new RegexTargetResolver()
                 .setPattern('/'+base+"/?", TargetType.TYPE_SERVICE)
OpenSearchTargetTypes.OPENSEARCH_URL, BasicProvider.PARAM_FEED)
TargetType.TYPE_ENTRY, BasicProvider.PARAM_FEED, BasicProvider.PARAM_ENTRY)
TargetType.TYPE_ENTRY, BasicProvider.PARAM_FEED, BasicProvider.PARAM_ENTRY)
TargetType.TYPE_ENTRY, BasicProvider.PARAM_FEED, BasicProvider.PARAM_ENTRY)

OpenSearchTargetTypes.OPENSEARCH_URL, BasicProvider.PARAM_FEED, 

         // The target builder is used to construct url's for the 
various targets
                 new TemplateTargetBuilder()
                 .setTemplate(TargetType.TYPE_SERVICE, "{target_base}/")

When it will be field tested, I could contribute it to the community 
(support for set navigation, OpenSearch, partial OData).
The most interesting is the other side: the Atom result set browser in 

Hope this helps!


Le 26/03/2012 07:17, David Ventimiglia a écrit :
> > From where do I download the source code?  The only hint of source I
> see on the Abdera website is the Subversion repository, but presumably
> that's getting something like the latest, and in any event builds with
> a version of 1.2-SNAPSHOT.  But in my project, I'm using 1.1.2, partly
> because that's the most recent version I saw at search.maven.org.
> Where do I see the source code for 1.1.2?
> I ask partly because of this problem.  I tried Chad's tutorial, and it
> worked perfectly.  Except, when I don't add the
> EmployeeCollectionAdapter to the Workspace, I then get a NPE deep in
> Abdera, and having the source would help me understand why.
> You might ask why I'm not adding the EmployeeCollectionAdapter to the
> Workspace.  But, how else then do you have a Workspace that has no
> Collections?
> Thanks!
> David
> On Sun, Mar 25, 2012 at 1:45 AM, Christophe Dupriez
> <christophe.dupriez@destin.be>  wrote:
>> I would even say that the only reliable  "documentation" is the source code
>> itself.
>> You download full Abdera source code and you search in it when you have a
>> question.
>> Googling will not help you a lot. I took a week to make a server:
>> I derived most classes to add the necessary code to "fill the holes" but I
>> succeeded to resist the temptation of modifying Abdera code itself.
>> So get the source, plan a week and write your specs: you will be able to
>> fold Abdera to your whim.
>> Christophe
>> @ChristopheDupri
>> P.S. If anybody is interested in cooperating around an Atom/RSS Javascript
>> client, please let me know!
>> I started one from Tuscany Javascript Client + jQuery faceting plugin.
>> Le 25/03/2012 04:37, Chad Lung a écrit :
>>> Unfortunately the only ones I've ever seen are the 1.1.1 docs - I don't
>>> think the 1.1.2 docs were ever posted.
>>> Chad
>>> On Sat, Mar 24, 2012 at 6:50 PM, David
>>> Ventimiglia<dventimi@gmail.com>wrote:
>>>> Thans, Chad.  Do you know of anywhere I can find the JavaDoc API for
>>>> the latest version of Abdera, (1.1.2, I guess)?  The API linked off of
>>>> abdera.apache.org must be out-of-date.  Like I said, some of the
>>>> classes in your tutorials (as in the tutorial on abdera.apache.org)
>>>> are not in those docs.

View raw message