Announcement

Collapse
No announcement yet.

problem compiling open-xchange-admin

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

  • problem compiling open-xchange-admin

    Hi all,

    i just started my installation of open-xchange und there seems to be a problem with open-xchange-admin from CVS:

    Code:
    Buildfile: build.xml
    
    replacer:
         [copy] Copying 10 files to /tmp/open-xchange-admin
         [exec] /tmp /tmp/open-xchange-admin
         [exec] /tmp/open-xchange-admin
    
    compile:
        [javac] Compiling 72 source files to /tmp/open-xchange-admin/classes
        [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/extensions/OXUserMailExtension.java:58: no interface expected here
        [javac] public class OXUserMailExtension extends OXUserExtensionInterface {
        [javac]                                          ^
        [javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/OXRunner.java uses or overrides a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/PropertyHandler.java uses unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 1 error
    
    BUILD FAILED
    Unfortunatly i don't know java but this looks like a syntax/logic error?

    Best Regards,

    Sebastian

  • #2
    Originally posted by jsbach View Post
    Hi all,

    i just started my installation of open-xchange und there seems to be a problem with open-xchange-admin from CVS:

    Code:
    ---->% cut ----
    
    BUILD FAILED
    Unfortunatly i don't know java but this looks like a syntax/logic error?

    Best Regards,

    Sebastian
    Same here. Any suggestions?

    Cheers
    H.

    Comment


    • #3
      Same here. Any suggestions?

      Comment


      • #4
        Also the same Problem here.

        Comment


        • #5
          if fixed, but i'm not sure

          I change the extends to "implement" like this


          public class OXUserMailExtension implements OXUserExtensionInterface {


          And then I add the interface function

          public String getExtensionName(){
          return "";
          }

          And, I could compile, buy I don't know if that is what the developers want to do. Also I'm not sure what problems I will be creating by using this solution.

          Now, i'm having trouble with the oxinstaller:
          RMI module OXContextPlugin not available on server

          good luck!

          =============================
          Mogox
          TECNOLOGÍA Soluciones profesionales para empresas  e instituciones Correo Electrónico SEGURO Autenticación Multifactor Avanzado Nube Privada Nexcloud Escritorio Remoto SEGURO Soporte Sistemas Linux Creamos infraestructuras informáticas completamente personalizadas a las necesidades de nuestros clientes || Ver más sobre nosotros >> Más de 0 Emails gestionados Más de 0 Años de EXPERIENCIA 0 CLIENTES confían en nosotros ESTAMOS PREPARADOS PARA PROTEGERTE ÚLTIMAS NOTICIAS […]

          Comment


          • #6
            THANKS, is compiled without errors

            Comment


            • #7
              Originally posted by jsbach View Post
              Hi all,

              i just started my installation of open-xchange und there seems to be a problem with open-xchange-admin from CVS:

              Code:
              Buildfile: build.xml
              
              replacer:
                   [copy] Copying 10 files to /tmp/open-xchange-admin
                   [exec] /tmp /tmp/open-xchange-admin
                   [exec] /tmp/open-xchange-admin
              
              compile:
                  [javac] Compiling 72 source files to /tmp/open-xchange-admin/classes
                  [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/rmi/extensions/OXUserMailExtension.java:58: no interface expected here
                  [javac] public class OXUserMailExtension extends OXUserExtensionInterface {
                  [javac]                                          ^
                  [javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/OXRunner.java uses or overrides a deprecated API.
                  [javac] Note: Recompile with -Xlint:deprecation for details.
                  [javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/PropertyHandler.java uses unchecked or unsafe operations.
                  [javac] Note: Recompile with -Xlint:unchecked for details.
                  [javac] 1 error
              
              BUILD FAILED
              Unfortunatly i don't know java but this looks like a syntax/logic error?

              Best Regards,

              Sebastian

              I allso got the same problem, I downloaded a fresh source from CVS, I was about to do a fresh install on a new machine, im sure that my lib are in order, coz I compiled a previous source code, but now it dont work again.

              Then I tried to do a update on the VM-image, and download from CVS and transfered that files to the Centos box im install on, then open-xchange-admin compiled Okay ????

              Tronn
              Last edited by Guest; 03-18-2007, 11:54 PM. Reason: New discover ...............

              Comment

              Working...
              X