[
http://issues.ops4j.org/browse/PAXEXAM-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486#action_13486
]
Toni Menzel commented on PAXEXAM-28:
Well, Exam2 will not bring TestNG by itself, but it will make i
Well exactly in Exam2 it gets worse (for Eclipse) currently.
This is because each Container implementation contributes a different set of
capabilities (Options) via their factories.
In 1.x we just have Core & PaxRunner. But in 2.x there is currrently (OSGi
related) Core,PaxRunner, NativeContainer,
The problem is that these static methods are distributed over multiple classes
(CoreOptions, PaxRunnerOptions, and I remember looking at others too). If they
were merged into one class, one static import statement in Eclipse would do the
trick, so maybe for Exam 2.0 that would be a nice suggesti
Yeah, this is a walk between heaven and hell.
In IntelliJ it works so well that we decided to make the fluent api / static
imports combo an integral part of API in many Pax projects.
On the other hand, i recently noticed that Eclipse does a pretty bad job
discovering those.
So, yeah, i can underst
On 16 Aug 2010, at 16:01 , Reto Bachmann-Gmuer wrote:
> Thanks Marcel for helping out (forgot to mention that the question relates to
> pax-exam) , the following worked:
And because at least Eclipse is bad at "discovering" static imports
automatically:
import static org.ops4j.pax.exam.CoreOpti
Exactly.
Thanks Marcel!
On Mon, Aug 16, 2010 at 4:01 PM, Reto Bachmann-Gmuer <
reto.bachm...@trialox.org> wrote:
> Thanks Marcel for helping out (forgot to mention that the question relates
> to pax-exam) , the following worked:
>
>
> @Configuration
> public static Option[] configuration() {
> r
Thanks Marcel for helping out (forgot to mention that the question relates
to pax-exam) , the following worked:
@Configuration
public static Option[] configuration() {
return options(
...
vmOption("-XX:MaxPermSize=200m"),
...
}
Cheers,
reto
On Mon, Aug 16, 2010 at 3:36 PM, Reto Bachmann-Gmuer <
Hi,
I'm getting a lot of PermGen space errors, setting "-XX:MaxPermSize=200m" in
MAVEN_OPTS doesn't help as this isn't passed to the forked vm for the osgi
container. How can I pass vm-args to the osgi container?
Cheers,
reto
___
general mailing list
ge