-
Apr 12th, 2009, 12:27 AM
#1
cannot get sample code to build
Hi all,
I am having a multitude of problems getting the 1.2.0 sample code to build. I have tried both the equinox and felix profiles, and each has its own set of problems. My environment is Windows XP, Sun JDK 1.6.0_13, maven 2.1.0. My classpath variable is empty.
I am invoking the build from the src directory of spring-osgi-1.2.0, with "mvn -P equinox,samples clean install". It fails during the tests, it looks like it can't find a config file src//samples//weather//wiring-bundle//target/classes/spring.xml:
Tests in error:
testOSGiStartedOk(org.springframework.osgi.samples .weather.test.WeatherService
BundleTest)
testWeatherServiceExported(org.springframework.osg i.samples.weather.test.Weath
erServiceBundleTest)
(Sorry, the forum is disallowing my posting of the build output)
If I use the felix profile, it fails with 34 test errors due to complaints about undefined properties and missing classes.
Thanks for any help.
Brian Smith
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules