http://karaf.apache.org/manual/latest-2.3.x/developers-guide/writing-tests.html
"Karaf Test Framework"
@Configuration
public Option[] config() {
return new Option[]{ karafDistributionConfiguration().frameworkUrl(
maven().groupId("org.apache.karaf").artifactId("apache-karaf").type("zip").versionAsInProject())
.karafVersion("2.2.4").name("Apache Karaf")};
}
I* want to add my bundle to karaf by program not features or other,just as:*
@Configuration
public Option[] config() {
return new Option[]{ karafDistributionConfiguration().frameworkUrl(
maven().groupId("org.apache.karaf").artifactId("apache-karaf").type("zip").versionAsInProject())
.karafVersion("2.2.4").artifactId("apache-karaf").versi....
maven().groupId("XXX")..........
};
}
*but it is not effetive .
can you help me ?*
--
View this message in context:
http://karaf.922171.n3.nabble.com/VOTE-Apache-Karaf-Cave-2-3-0-release-tp4030982p4031292.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.