Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Why does the tycho-surefire-plugin explictly start the bundle?

If bundleStartLevel allows you to configure the autostart setting, this should be honoured. If it doesn't work, this seems like a bug.

We could also introduce a dedicated switch specially for the test bundle, but I'd like to avoid that unless there is a real need.

Regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Andreas Sewe
> Sent: Montag, 8. Juli 2013 14:00
> To: Tycho user list
> Subject: [tycho-user] Why does the tycho-surefire-plugin explictly start
> the bundle?
> 
> Hi all,
> 
> I have a bundle whose activator starts an HTTP server but which also
> contains a bunch of simple classes that I want to test with
> tycho-surefire *without* starting a full-fledged HTTP server -- which is
> not used during the tests at all!
> 
> Now, as far as I can see, tycho-surefire explicitly starts [1] the test
> bundle (of which my tests are a fragment). Would it at least be
> worthwhile to make this configurable? (FWIW, I tried configuring a
> <bundleStartLevel> [2] with autostart=false, but to no avail.)
> 
> Any pointers?
> 
> Andreas
> 
> [1]
> <http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-
> surefire/org.eclipse.tycho.surefire.osgibooter/src/main/java/org/eclipse/t
> ycho/surefire/osgibooter/OsgiSurefireBooter.java#n160>
> 
> [2]
> <http://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-
> plugin/test-mojo.html#bundleStartLevel>
> 
> --
> Codetrails UG (haftungsbeschränkt)
> The knowledge transfer company
> 
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Mobile: +49-170-811-3791
> http://www.codetrails.com/
> 
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top