On Wed, Apr 2, 2008 at 11:11 PM, Brian Eaton <[EMAIL PROTECTED]> wrote:

> On Wed, Apr 2, 2008 at 10:41 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:
> > The shared pieces are the data accessors (both the JS and REST APIs need
> > these). Ideally I'd like to see the wire format used by the JS APIs to
> > communicate with the back end being identical as that of the JSON
> bindings
> > for the RESTful state, although that's not a strict requirement.
>
> My guess is stuff in the util/* directory will end up being useful as
> well.
>

Agreed.

Is anyone familiar enough with maven that they might show me how (or even
provide a patch!) that would let us have 3 separate projects? Something
like:

trunk/java/gadgets <-- everything under the org.apache.shindig.gadgets
package
trunk/java/rest <-- non-shared parts of the RESTful API
trunk/java/common <-- everything shared

I'd expect some parts of org.apache.shindig.gadgets to move into "common"
(OAuth bits mostly, I think), and everything currently in the
org.apache.shindig.util package as well. We could drop the util stuff into a
completely separate package as well.

There is already a top level pom.xml, so I assume that we can just create
pom.xml files for the other two directories and then set up dependencies
appropriately. I have no idea how to make that happen though -- this is the
first maven project I've ever worked on.

-- 
~Kevin

Reply via email to