You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Glenn Silverman <gl...@glenn3.securesites.net> on 2009/03/20 17:07:26 UTC

Re: JCR Explorer

Hi, Bertrand,

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

from the specified remote repositories:
  apache.incubating 
(http://people.apache.org/repo/m2-incubating-repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2)

I checked the repos and the required artifact is not in them.

Any suggestions, as I would like to see this example working.

Glenn Silverman...


Bertrand Delacretaz wrote:
> Hi Glenn,
>
> On Fri, Mar 20, 2009 at 1:05 AM, Glenn Silverman
> <gl...@glenn3.securesites.net> wrote:
>   
>> ...Bundlizing a GWT application that runs correctly in Sling needs a workaround
>> to access the generated nocache.js....
>>     
>
> Did you have a look at the Sling code under /contrib/extensions/gwt?
>
> I'm not a GWT specialist, but last time at looked that seemed to work.
>
> -Bertrand
>
>   


Re: JCR Explorer

Posted by Glenn Silverman <gl...@glenn3.securesites.net>.
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
>
>   


Re: JCR Explorer

Posted by Bertrand Delacretaz <bd...@apache.org>.
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