2009/3/30 Glenn Silverman <[email protected]> > Hi, Christophe, > > How do you handle relative paths in your GWT application, such as image > hrefs' and links,
I have not yet tested hrefs & links but it should works with the noServer gwt option. I will test it asap. What I did is a sample gwt module which display a tree view populated with a json based sling request. > for > content in your repository? Do you recreate your repository structure > locally. That seems bug -prone > and not ideal for RAD. I'm not recreate the repository structure locally. There is 2 possiblities : - Using the FsResourceProvider bundle to point to your local gwt web app folder (inside your project). you have to configure it from the Sling console. - create a new sling folder and copy the minimum gwt files. > > > By the way, I would like to see your development directory structure. I'm testing the gwt maven plugin. So, the structure is the usual maven one. > When you say you match your > Sling folder to your GWT application, what exactly does that look like. Are > you talking about just matching > the compiled GWT structure, or the development one? see on http://www.screaming-penguin.com/node/4500. This is the same for Sling. Until now, I have some problems with the gwt maven plugin to generate a correct launch file and I have not yet tested all possibilities. > > Glenn... > > > Christophe Lombart wrote: > >> Hi Glenn, >> >> I'm taking a different approach. We can create a Sling folder that match >> to >> the GWT application in which we add the necessary gwt files [1] and that's >> all for running the application in the hosted mode with Sling. So, a maven >> plugin can do that. Do you think that is not a good idea ? Following my >> first test, it works fine. I have to check if debugging is well supported. >> >> br, >> Christophe >> >> >> [1] http://www.screaming-penguin.com/node/4500 >> >> >> Hi, >> >> >>> I've too am interested in a RAD development environment for GWT + Sling >>> in >>> Eclipse. >>> What is really needed is a Sling plugin for Eclipse that would allow your >>> local Eclipse workspace to be "attached" to your running Sling repository >>> >>> >> >> >> It could be possible with the fsresource bundle. I have only test it with >> a >> js based application. I didn't test it with a gwt application. >> >> >> > >
