Thanks.
I figured it out, but I am not really sure I understand it. Even though
framework.jar contains the OSGi classes and main expresses a dependency
on framework, maven still doesn't see the OSGi classes unless we extract
them into the main/target/classes/ directory.
I thought we only had to do this because we were overriding some OSGi
classes, so when i stopped doing that I thought we could remove it.
Apparently not. Oh well.
-> richard
On 7/23/09 10:29 AM, Gert Vanthienen wrote:
Richard,
Seems to work fine on my machine as well...
Regards,
Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
2009/7/23 Richard S. Hall<[email protected]>:
Can anyone verify whether they are having difficulty building trunk?
It is working for me locally.
-> richard
On 7/23/09 9:20 AM, Atlassian Open Source Bamboo wrote:
FELIX-DEF-2081
<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/> failed.
Code has been updated by rickhall
<http://opensource.bamboo.atlassian.com/browse/author/rickhall>.
No failed tests found, a possible compilation error.
Code Changes
<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/commit> See
full change details
<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/commit>
rickhall
<http://opensource.bamboo.atlassian.com/browse/author/rickhall>
Use OSGi R4.2 implementations of AdminPermission, FrameworkUtil, and
FilterImpl. (FELIX-1404)
Error Summary
<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/log> See full
build log<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/log>
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[24,26]
package org.osgi.framework does not exist
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[25,26]
package org.osgi.framework does not exist
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[26,26]
package org.osgi.framework does not exist
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[27,35]
package org.osgi.service.startlevel does not exist
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[29,38]
cannot find symbol
symbol: class BundleActivator
public class AutoActivator implements BundleActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[53,22]
cannot find symbol
symbol : class BundleContext
location: class org.apache.felix.main.AutoActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[62,21]
cannot find symbol
symbol : class BundleContext
location: class org.apache.felix.main.AutoActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[73,39]
cannot find symbol
symbol : class BundleContext
location: class org.apache.felix.main.AutoActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/Main.java:[28,26]
package org.osgi.framework does not exist
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/Main.java:[29,33]
package org.osgi.framework.launch does not exist
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/Main.java:[65,19]
cannot find symbol
symbol : class Framework
location: class org.apache.felix.main.Main
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[77,8]
cannot find symbol
symbol : class StartLevel
location: class org.apache.felix.main.AutoActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[77,25]
cannot find symbol
symbol : class StartLevel
location: class org.apache.felix.main.AutoActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[78,67]
package org.osgi.service.startlevel does not exist
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[121,20]
cannot find symbol
symbol : class Bundle
location: class org.apache.felix.main.AutoActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/AutoActivator.java:[144,24]
cannot find symbol
symbol : class Bundle
location: class org.apache.felix.main.AutoActivator
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/FELIX-DEF/main/src/main/java/org/apache/felix/main/Main.java:[194,36]
cannot find symbol
symbol : variable Constants
location: class org.apache.felix.main.Main
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
Email generated by Atlassian Bamboo
<http://opensource.bamboo.atlassian.com> - if you wish to stop receiving
these emails edit your user profile
<http://opensource.bamboo.atlassian.com/profile/userNotifications.action> or
notify your administrator
<http://opensource.bamboo.atlassian.com/viewAdministrators.action>
Want this information in your IDE?
<http://www.atlassian.com/software/ideconnector/>
Actions
View Online
<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/>
Add Comments
<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/comment>
View Artifacts
<http://opensource.bamboo.atlassian.com/browse/FELIX-DEF-2081/artifact>
Download Logs
<http://opensource.bamboo.atlassian.com/download/FELIX-DEF/build_logs/FELIX-DEF-2081.log>