Announcement

Collapse
No announcement yet.

OX build failed in FC 7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OX build failed in FC 7

    OX build failed in FC 7
    Error :
    Buildfile: build.xml

    /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:56: package org.osgi.framework does not exist
    [javac] import org.osgi.framework.BundleActivator;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:57: package org.osgi.framework does not exist
    [javac] import org.osgi.framework.BundleContext;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:58: package org.osgi.framework does not exist
    [javac] import org.osgi.framework.ServiceRegistration;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:59: package org.osgi.service.http does not exist
    [javac] import org.osgi.service.http.HttpService;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:71: cannot find symbol
    [javac] symbol: class BundleActivator
    [javac] public class Activator implements BundleActivator {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:77: cannot find symbol
    [javac] symbol : class HttpService
    [javac] location: class com.openexchange.server.osgi.Activator
    [javac] private final HttpService httpService = new HttpServiceImpl();
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:79: cannot find symbol
    [javac] symbol : class ServiceRegistration
    [javac] location: class com.openexchange.server.osgi.Activator
    [javac] private final List<ServiceRegistration> registrationList = new ArrayList<ServiceRegistration>();
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:84: cannot find symbol
    [javac] symbol : class BundleContext
    [javac] location: class com.openexchange.server.osgi.Activator
    [javac] public void start(final BundleContext context) throws Exception {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/Activator.java:102: cannot find symbol
    [javac] symbol : class BundleContext
    [javac] location: class com.openexchange.server.osgi.Activator
    [javac] public void stop(final BundleContext context) throws Exception {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/BundleProxyClassLoader.java:56: package org.osgi.framework does not exist
    [javac] import org.osgi.framework.Bundle;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/BundleProxyClassLoader.java:66: cannot find symbol
    [javac] symbol : class Bundle
    [javac] location: class com.openexchange.server.osgi.BundleProxyClassLoade r
    [javac] private final Bundle bundle;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/BundleProxyClassLoader.java:70: cannot find symbol
    [javac] symbol : class Bundle
    [javac] location: class com.openexchange.server.osgi.BundleProxyClassLoade r
    [javac] public BundleProxyClassLoader(final Bundle bundle) {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/server/osgi/BundleProxyClassLoader.java:78: cannot find symbol
    [javac] symbol : class Bundle
    [javac] location: class com.openexchange.server.osgi.BundleProxyClassLoade r
    [javac] public BundleProxyClassLoader(final Bundle bundle, final ClassLoader parent) {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpContextImpl.java:59: package org.osgi.service.http does not exist
    [javac] import org.osgi.service.http.HttpContext;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpContextImpl.java:67: cannot find symbol
    [javac] symbol: class HttpContext
    [javac] public final class HttpContextImpl implements HttpContext {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpServiceImpl.java:58: package org.osgi.service.http does not exist
    [javac] import org.osgi.service.http.HttpContext;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpServiceImpl.java:59: package org.osgi.service.http does not exist
    [javac] import org.osgi.service.http.HttpService;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpServiceImpl.java:60: package org.osgi.service.http does not exist
    [javac] import org.osgi.service.http.NamespaceException;
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpServiceImpl.java:70: cannot find symbol
    [javac] symbol: class HttpService
    [javac] public final class HttpServiceImpl implements HttpService {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpServiceImpl.java:75: cannot find symbol
    [javac] symbol : class HttpContext
    [javac] location: class com.openexchange.tools.servlet.http.osgi.HttpServi ceImpl
    [javac] private static final HttpContext standardContext = new HttpContextImpl();
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpServiceImpl.java:89: cannot find symbol
    [javac] symbol : class HttpContext
    [javac] location: class com.openexchange.tools.servlet.http.osgi.HttpServi ceImpl
    [javac] public HttpContext createDefaultHttpContext() {
    [javac] ^
    [javac] /usr/src/new_openx_cvs-version/open-xchange/server/src/com/openexchange/tools/servlet/http/osgi/HttpServiceImpl.java:99: cannot find symbol
    [javac] symbol : class HttpContext
    [javac] location: class com.openexchange.tools.servlet.http.osgi.HttpServi ceImpl
    [javac] public void registerResources(final String alias, final String name, final HttpContext context)
    [javac] ^
    [javac]
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 28 errors

    BUILD FAILED
    /usr/src/new_openx_cvs-version/open-xchange/server/build.xml:114: Compile failed; see the compiler error output for details.

    Total time: 17 seconds

  • #2
    Hey, have you been able to get OX work on FC7, or not at all?

    Comment


    • #3
      As you may already have noticed you're missing the osgi package...
      And i'd suggest to check out bf_6_4 and not the HEAD because this repository is currently not stable in any way.

      Greetings

      Comment

      Working...
      X