Re: GWT Tests with Sling
> Well, that of course then amounts to a problem - luckily GWT itself is > ASL2 licensed. And as long as the dependencies have acceptable licenses > (MIT and BSD come to mind) there is not an issue, either. Where it > starts getting problematic is the LGPL and GPL licenses. I think a GWT content editor is possible without LGPL and GPL licenses. Currently, I´m working in a GWT GUI involving just only GWT libraries (ASL2), GWT incubator (ASL2) and google-gin (ASL2). BTW, google-gin [1] is a dependency injection framework very interesting in order to design a good testing approach with GWT. Regards, Juanjo. [1] http://code.google.com/p/google-gin/
Re: GWT Tests with Sling
Hi, Torgeir Veimo schrieb: > 2009/6/26 Felix Meschberger : >> Hi, >> >> Torgeir Veimo schrieb: >>> 2009/6/26 Felix Meschberger : Hi, Torgeir Veimo schrieb: >>> I'm in the development team of a new CMS which is based on Sling. > It seems there are several that are doing this, basing their admin > console on GWT. There might be an opportunity to put together an open > source project here around this, since there would otherwise be a lot > of duplicate effort, and I don't think there's much competitive > advantage in having a proprietary admin console for an open source > cms. What do you mean by "admin console" ? If you have something like the Felix Web Console [1] in mind, there is already such a beast, which is being actively developed. Otherwise, I would be eager to hear your requirements and to discuss, whether we could use the Web Console for your requirements or whether another console is required. >>> No I was of course thinking about content editors. The "admin console" >>> is an umbrella term we use internally here to mean those things. >> Thanks for the clarification. >> >> In this case, I would assume, that the Sling project is probably a good >> candidate to be such an open-source project. > > Even GWT based content editors? It would drag in a number of > dependencies, not all of them apache licensed. Well, that of course then amounts to a problem - luckily GWT itself is ASL2 licensed. And as long as the dependencies have acceptable licenses (MIT and BSD come to mind) there is not an issue, either. Where it starts getting problematic is the LGPL and GPL licenses. Regards Felix
Re: GWT Tests with Sling
2009/6/26 Felix Meschberger : > Hi, > > Torgeir Veimo schrieb: >> 2009/6/26 Felix Meschberger : >>> Hi, >>> >>> Torgeir Veimo schrieb: >> I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing this, basing their admin console on GWT. There might be an opportunity to put together an open source project here around this, since there would otherwise be a lot of duplicate effort, and I don't think there's much competitive advantage in having a proprietary admin console for an open source cms. >>> What do you mean by "admin console" ? If you have something like the >>> Felix Web Console [1] in mind, there is already such a beast, which is >>> being actively developed. >>> >>> Otherwise, I would be eager to hear your requirements and to discuss, >>> whether we could use the Web Console for your requirements or whether >>> another console is required. >> >> No I was of course thinking about content editors. The "admin console" >> is an umbrella term we use internally here to mean those things. > > Thanks for the clarification. > > In this case, I would assume, that the Sling project is probably a good > candidate to be such an open-source project. Even GWT based content editors? It would drag in a number of dependencies, not all of them apache licensed. -- -Tor
Re: GWT Tests with Sling
Hi, Torgeir Veimo schrieb: > 2009/6/26 Felix Meschberger : >> Hi, >> >> Torgeir Veimo schrieb: > I'm in the development team of a new CMS which is based on Sling. >>> It seems there are several that are doing this, basing their admin >>> console on GWT. There might be an opportunity to put together an open >>> source project here around this, since there would otherwise be a lot >>> of duplicate effort, and I don't think there's much competitive >>> advantage in having a proprietary admin console for an open source >>> cms. >> What do you mean by "admin console" ? If you have something like the >> Felix Web Console [1] in mind, there is already such a beast, which is >> being actively developed. >> >> Otherwise, I would be eager to hear your requirements and to discuss, >> whether we could use the Web Console for your requirements or whether >> another console is required. > > No I was of course thinking about content editors. The "admin console" > is an umbrella term we use internally here to mean those things. Thanks for the clarification. In this case, I would assume, that the Sling project is probably a good candidate to be such an open-source project. Regards Felix
Re: GWT Tests with Sling
> No I was of course thinking about content editors. The "admin console" > is an umbrella term we use internally here to mean those things. Yes, I´m sure Thorsten is thinking about a content editor instead an OSGi environment admin console. Regards, Juanjo.
Re: GWT Tests with Sling
2009/6/26 Felix Meschberger : > Hi, > > Torgeir Veimo schrieb: I'm in the development team of a new CMS which is based on Sling. >> >> It seems there are several that are doing this, basing their admin >> console on GWT. There might be an opportunity to put together an open >> source project here around this, since there would otherwise be a lot >> of duplicate effort, and I don't think there's much competitive >> advantage in having a proprietary admin console for an open source >> cms. > > What do you mean by "admin console" ? If you have something like the > Felix Web Console [1] in mind, there is already such a beast, which is > being actively developed. > > Otherwise, I would be eager to hear your requirements and to discuss, > whether we could use the Web Console for your requirements or whether > another console is required. No I was of course thinking about content editors. The "admin console" is an umbrella term we use internally here to mean those things. -- -Tor
Re: GWT Tests with Sling
Hi, Torgeir Veimo schrieb: >>> I'm in the development team of a new CMS which is based on Sling. > > It seems there are several that are doing this, basing their admin > console on GWT. There might be an opportunity to put together an open > source project here around this, since there would otherwise be a lot > of duplicate effort, and I don't think there's much competitive > advantage in having a proprietary admin console for an open source > cms. What do you mean by "admin console" ? If you have something like the Felix Web Console [1] in mind, there is already such a beast, which is being actively developed. Otherwise, I would be eager to hear your requirements and to discuss, whether we could use the Web Console for your requirements or whether another console is required. Regards Felix [1] http://felix.apache.org/site/apache-felix-web-console.html
Re: GWT Tests with Sling
>> I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing this, basing their admin console on GWT. There might be an opportunity to put together an open source project here around this, since there would otherwise be a lot of duplicate effort, and I don't think there's much competitive advantage in having a proprietary admin console for an open source cms. -- -Tor
Re: GWT Tests with Sling
Hi, > I'm in the development team of a new CMS which is based on Sling. Good choice!, Sling is the most suitable tool to this purpose :). > Now I want to test my GWT classes. GWT provides the test class GWTTestCase, > that are executed with the help of the gwt-maven-plugin. The tests are > running. The problem is, that I cant test my GWT classes because they use > services for getting data from the server per RPC. Does anybody now, how to > get the tests run in the Sling environment (the OSGi environment)? I need > the OSGi services and the repository for the tests. > > Does anybody have an alternative method for testing GWT with Sling? IMHO, you´re talking about in-container testing. You need a Sling instance running while the tests are executed. According to this, you might want to have a look at the Sling integration test module [1]. This module uses the cargo plugin [2] in order to get in-container testing. Hope this helps. BR, Juanjo. [1] http://svn.apache.org/repos/asf/sling/trunk/launchpad/testing [2] http://cargo.codehaus.org/Maven2+plugin