Hello,
I just started using Apache Felix recently and am now trying to
build Felix within
my own source environment.
I followed the information provided in
http://felix.apache.org/site/building-felix.html.
However I do encounter problems in the second part ("mvn
-Dpackaging=bundle install")
of step 4. - This command never finishes in my environment.
I'm on rev. 894107 and the cmd seems to always 'freeze/ stop' at:
<Log>
...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.felix.scr.impl.BundleComponentActivatorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec
Running org.apache.felix.scr.impl.metadata.ComponentMetadataTest
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.apache.felix.scr.impl.manager.AbstractComponentManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec
Running org.apache.felix.scr.impl.helper.ActivateMethodTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec
Running org.apache.felix.scr.impl.helper.BindMethodTest
Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec
Running org.apache.felix.scr.impl.metadata.XmlHandlerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec
Running org.apache.felix.scr.impl.config.ConfiguredComponentHolderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Results :
Tests run: 99, Failures: 0, Errors: 0, Skipped: 0
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [surefire:test {execution: surefire-it}]
[INFO] Surefire report directory:
C:\Snapshots\Felix\scr\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.felix.scr.integration.ComponentDisposeTest
______ ________ __ __
/ __ / / __ / / / / /
/ ___/ / __ / _\ \ _/
/ / / / / / / _\ \
/__/ /__/ /__/ /_/ /_/
Pax Exam 0.6.0 from OPS4J - http://www.ops4j.org
------------------------------------------------
[ JUnit4TestMethod] - Starting test
test_SimpleComponent_factory_configuration(org.apache.felix.scr.integration.ComponentDisposeTest)
[ PaxRunnerTestContainer] - Starting up the test container (Pax
Runner 0.20.0 )
[ ConfigurationImpl] - Using config
[classpath:META-INF/runner.properties]
[ Run] - Using only arguments from command line
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.ops4j.pax.exam/pax-exam/0....@1]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.ops4j.pax.exam/pax-exam-junit-extender/0....@1]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.ops4j.pax.exam/pax-exam-junit-extender-impl/0....@1]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.ops4j.pax.url/pax-url-dir/0....@1]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:file:/C:/Snapshots/Felix/scr/target/org.apache.felix.scr-1.4.1-snapshot....@update]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.ops4j.pax.swissbox/pax-swissbox-tinybundles/1.0.0]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.apache.felix/org.apache.felix.configadmin/1.0.10]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.junit/com.springsource.org.junit/4....@1]
[ ProvisionServiceImpl] - Scan bundles from
[scan-bundle:mvn:org.ops4j.pax.exam/pax-exam-container-rbc/0....@1]
[ Run] - Provision bundle
[mvn:org.ops4j.pax.exam/pax-exam/0.6.0, at start level 1, bundle will be
started, bundle will be loaded from the cache]
[ Run] - Provision bundle
[mvn:org.ops4j.pax.exam/pax-exam-junit-extender/0.6.0, at start level 1,
bundle will be started, bundle will be loaded from the cache]
[ Run] - Provision bundle
[mvn:org.ops4j.pax.exam/pax-exam-junit-extender-impl/0.6.0, at start
level 1, bundle will be started, bundle will be loaded from the cache]
[ Run] - Provision bundle
[mvn:org.ops4j.pax.url/pax-url-dir/0.5.2, at start level 1, bundle will
be started, bundle will be loaded from the cache]
[ Run] - Provision bundle
[file:/C:/Snapshots/Felix/scr/target/org.apache.felix.scr-1.4.1-SNAPSHOT.jar,
at default start level, bundle will be started, bundle will be
re-downloaded]
[ Run] - Provision bundle
[mvn:org.ops4j.pax.swissbox/pax-swissbox-tinybundles/1.0.0, at default
start level, bundle will be started, bundle will be loaded from the cache]
[ Run] - Provision bundle
[mvn:org.apache.felix/org.apache.felix.configadmin/1.0.10, at default
start level, bundle will be started, bundle will be loaded from the cache]
[ Run] - Provision bundle
[mvn:org.junit/com.springsource.org.junit/4.4.0, at start level 1,
bundle will be started, bundle will be loaded from the cache]
[ Run] - Provision bundle
[mvn:org.ops4j.pax.exam/pax-exam-container-rbc/0.6.0, at start level 1,
bundle will be started, bundle will be loaded from the cache]
[ PlatformImpl] - Preparing framework [Felix 1.8.0]
[ PlatformImpl] - Downloading bundles...
[ StreamUtils] -
file:/C:/Snapshots/Felix/scr/target/org.apache.felix.scr-1.4.1-SNAPSHOT.jar
: downloading...
[ StreamUtils] -
file:/C:/Snapshots/Felix/scr/target/org.apache.felix.scr-1.4.1-SNAPSHOT.jar
: 186973 bytes @ [ 18697kBps ]
[ ExecutionEnvironment] - Using execution environment [J2SE-1.6]
[ DefaultJavaRunner] - Runner has successfully finished his job!
[ PaxRunnerTestContainer] - Test container (Pax Runner 0.20.0)
started in 1102 millis
[ PaxRunnerTestContainer] - Wait for test container to finish its
initialization without timing out
Welcome to Felix.
=================
</Log>
Any ideas how to resolve this issue?
Kind regards,
Viktor