You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Reto Bachmann-Gmür <re...@apache.org> on 2013/04/08 19:57:30 UTC
Commit 1458703 breaks stateless webapp archetype
Hi Rupert
With commit 1458703 ofr STANBOL-966 you commented out the
clerezza:jaxrsx.utils dependency. This breaks the stateless:webappp
archetype.
I assume it happened by mistake, and will revert this (just remove the
commenting). Do you have any suggestion how to best add the archetype to
the integrations tests? I.e. how to ensure that the archetype generated
project work?
Cheers,
Reto
1.
http://svn.apache.org/viewvc/stanbol/trunk/launchers/bundlelists/stanbolcommons/src/main/bundles/list.xml?r1=1458492&r2=1458703&diff_format=h
Re: Commit 1458703 breaks stateless webapp archetype
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Tue, Apr 9, 2013 at 6:30 AM, Rupert Westenthaler
<ru...@gmail.com> wrote:
> On Mon, Apr 8, 2013 at 9:48 PM, Reto Bachmann-Gmür <re...@wymiwyg.com> wrote:
>> ...Do we
>> have any other test which deploys a bundle to the instance under test?...
>>
> ...copying a bundle to the fileinstall folder of the
> tested Stanbol instance should work....
And you'd then need to wait for the bundle to be activated - I've been
doing that in Sling tests by polling the webconsole's HTTP interface,
or you could poll for an interface that the bundle under test exposes.
-Bertrand
Re: Commit 1458703 breaks stateless webapp archetype
Posted by Rupert Westenthaler <ru...@gmail.com>.
On Mon, Apr 8, 2013 at 9:48 PM, Reto Bachmann-Gmür <re...@wymiwyg.com> wrote:
> On Mon, Apr 8, 2013 at 9:17 PM, Bertrand Delacretaz
> <bd...@apache.org>wrote:
>
>> On Mon, Apr 8, 2013 at 7:57 PM, Reto Bachmann-Gmür <re...@apache.org>
>> wrote:
>> > ...Do you have any suggestion how to best add the archetype to
>> > the integrations tests? I.e. how to ensure that the archetype generated
>> > project work?...
>>
>> There's
>> http://maven.apache.org/archetype/maven-archetype-plugin/integration-test-mojo.html
>> but I've never used it myself.
>>
>
> It looks like a goal.txt file could b used to deploy the bundle. Problem
> is that we don't know the port to which to deploy at compile-time. Do we
> have any other test which deploys a bundle to the instance under test?
>
AFAIK not. But copying a bundle to the fileinstall folder of the
tested Stanbol instance should work.
best
Rupert
> Cheers,
> Reto
--
| Rupert Westenthaler rupert.westenthaler@gmail.com
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen
Re: Commit 1458703 breaks stateless webapp archetype
Posted by Reto Bachmann-Gmür <re...@wymiwyg.com>.
On Mon, Apr 8, 2013 at 9:17 PM, Bertrand Delacretaz
<bd...@apache.org>wrote:
> On Mon, Apr 8, 2013 at 7:57 PM, Reto Bachmann-Gmür <re...@apache.org>
> wrote:
> > ...Do you have any suggestion how to best add the archetype to
> > the integrations tests? I.e. how to ensure that the archetype generated
> > project work?...
>
> There's
> http://maven.apache.org/archetype/maven-archetype-plugin/integration-test-mojo.html
> but I've never used it myself.
>
It looks like a goal.txt file could b used to deploy the bundle. Problem
is that we don't know the port to which to deploy at compile-time. Do we
have any other test which deploys a bundle to the instance under test?
Cheers,
Reto
Re: Commit 1458703 breaks stateless webapp archetype
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Mon, Apr 8, 2013 at 7:57 PM, Reto Bachmann-Gmür <re...@apache.org> wrote:
> ...Do you have any suggestion how to best add the archetype to
> the integrations tests? I.e. how to ensure that the archetype generated
> project work?...
There's http://maven.apache.org/archetype/maven-archetype-plugin/integration-test-mojo.html
but I've never used it myself.
-Bertrand