Bertrand,

I finally installed the servlet in my local maven repo and it works.
The problem I'm trying to solve is duplicating the create/build
process for a simple gwt/sling application.

GWT apps are created either with the supplied applicationCreator, or the
googlewebtoolkit2 archetype, neither of which generates the directory
structure or configuration files needed for packaging as a bundle ala
the sling.extensions.gwt.sample projects. And duplicating the rather
complex file structure in the sample projects does not lend itself to
a test-first scenario for GWT applications.

Another concern, is just what specific directory layout/config file combination is really necessary to get gwt working in Sling. Is the layout in the samples the
only way? There seems no documentation on this subject.

As you can see, I'm full of questions on the subject of Sling and right now, it's
a lot of trial-and-error, and that's not very productive.

Glenn Silverman...


Thanks
Bertrand Delacretaz wrote:
Hi,

On Fri, Mar 20, 2009 at 5:07 PM, Glenn Silverman
<gl...@glenn3.securesites.net> wrote:
Yes, I tried building from /contrib/extensions/gwt, but got the following
error:

1 required artifact is missing.

for artifact:
 org.apache.sling:org.apache.sling.extensions.gwt.sample:bundle:2.0.0-incubator
-SNAPSHOT

Building contrib/extensions/gwt/servlet first, and then
/contrib/extensions/gwt/sample, works for me in the current trunk -
both with "mvn clean install".

-Bertrand


Reply via email to