It may be this in your case:
PAXEXAM-50<http://issues.ops4j.org/browse/PAXEXAM-50>To
solve this in 0.4.0 (but 0.5.0 will be out today I presume) you can make the
first test run use an profile. If you do that the rest of test will work.

On Wed, Apr 29, 2009 at 12:57 PM, Guillaume Nodet <[email protected]> wrote:

> I use the following config:
>
>    public static Option[] configuration() {
>        Option[] options = options(
>            // install log service using pax runners profile
> abstraction (there are more profiles, like DS)
>            logProfile(),
>            configProfile(),
>            new ProfileOption("spring-dm", "1.2.0"),
>
>            // this is how you set the default log level when using
> pax logging (logProfile)
>
>  
> systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("INFO"),
>            systemProperty("servicemix.startLocalConsole").value("false"),
>            systemProperty("servicemix.startRemoteShell").value("false"),
>
>            // Bundles
>            mavenBundle("org.apache.servicemix.bundles",
> "org.apache.servicemix.bundles.jline"),
>            mavenBundle("org.apache.servicemix.bundles",
> "org.apache.servicemix.bundles.commons-httpclient"),
>            mavenBundle("org.apache.servicemix.bundles",
> "org.apache.servicemix.bundles.commons-jexl"),
>            mavenBundle("org.apache.servicemix.bundles",
> "org.apache.servicemix.bundles.commons-vfs"),
>            mavenBundle("org.apache.mina", "mina-core"),
>            mavenBundle("org.apache.servicemix.bundles",
> "org.apache.servicemix.bundles.oro"),
>            mavenBundle("org.apache.servicemix.kernel.jaas",
> "org.apache.servicemix.kernel.jaas.config"),
>            mavenBundle("org.apache.sshd", "sshd-core"),
>            mavenBundle("org.apache.servicemix.kernel.gshell",
> "org.apache.servicemix.kernel.gshell.core"),
>            mavenBundle("org.apache.servicemix.kernel.gshell",
> "org.apache.servicemix.kernel.gshell.osgi"),
>
>            //knopflerfish(), felix().version("1.4.1"), equinox()
>            felix()
>        );
>
>        // use config generated by the Maven plugin (until
> PAXEXAM-62/64 get resolved)
>        if
> (CoreTest.class.getClassLoader().getResource("META-INF/maven/paxexam-config.args")
> != null) {
>            options = OptionUtils.combine(options, mavenConfiguration());
>        }
>
>        return options;
>     }
>
>
> On Wed, Apr 29, 2009 at 11:47, Stuart McCulloch <[email protected]> wrote:
> > 2009/4/29 Alin Dreghiciu <[email protected]>
> >>
> >> Do you use the "repository" option?
> >
> > or do you use pax:provision? (
> > http://issues.ops4j.org/browse/PAXCONSTRUCT-106 )
> >
> >>
> >> On Wed, Apr 29, 2009 at 12:25 PM, Guillaume Nodet <[email protected]>
> >> wrote:
> >>>
> >>> I'm trying to switch to pax-exam but have the following problem:
> >>>  [mvn:org.ops4j.pax.runner.profiles/spring-dm/1.2.0/composite] could
> >>> not be resolved.
> >>>
> >>> Do I need to add a specific repository in my pon for profiles to be
> >>> resolved ?
> >>>
> >>> --
> >>> Cheers,
> >>> Guillaume Nodet
> >>> ------------------------
> >>> Blog: http://gnodet.blogspot.com/
> >>> ------------------------
> >>> Open Source SOA
> >>> http://fusesource.com
> >>>
> >>> _______________________________________________
> >>> general mailing list
> >>> [email protected]
> >>> http://lists.ops4j.org/mailman/listinfo/general
> >>
> >>
> >>
> >> --
> >> Alin Dreghiciu
> >> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation
> >> Software.
> >> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> >> Looking for a job.
> >> Sent from Cluj-Napoca, CJ, Romania
> >> _______________________________________________
> >> general mailing list
> >> [email protected]
> >> http://lists.ops4j.org/mailman/listinfo/general
> >>
> >
> >
> >
> > --
> > Cheers, Stuart
> >
> > _______________________________________________
> > general mailing list
> > [email protected]
> > http://lists.ops4j.org/mailman/listinfo/general
> >
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
Looking for a job.
Sent from Cluj-Napoca, CJ, Romania
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to