Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 1 of 1
  1. #1
    Rodrigo Silveira Guest

    Default Unable to BUILD ADMIN from the repository HEAD

    Hello - I've filed three related issues, as I've tried to work the kinks out. I've gotten to the point where asking for help with particular problems does not seem practical. Hence, I decided to start from scratch, checked the code out into a clean workspace, executed the default build, and got the following results:

    uildfile: /Users/rodrigo/Documents/workspace/OX/open-xchange-admin/build.xml
    compile:
    compile-mail-plugin:
    compile:
    compile-context-plugin:
    compile:
    [mkdir] Created dir: /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/classes
    [javac] Compiling 16 source files to /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/classes
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/console/context/Create.java:58: package com.openexchange.admin.console.CmdLineParser does not exist
    [javac] import com.openexchange.admin.console.CmdLineParser.Optio n;
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/console/context/Create.java:75: cannot find symbol
    [javac] symbol : class Option
    [javac] location: class com.openexchange.admin.console.context.Create
    [javac] protected Option contextDatabasePasswordOption = null;
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:54: cannot find symbol
    [javac] symbol : class Database
    [javac] location: package com.openexchange.database
    [javac] import com.openexchange.database.Database;
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:57: cannot find symbol
    [javac] symbol : class DBPoolingException
    [javac] location: package com.openexchange.server.impl
    [javac] import com.openexchange.server.impl.DBPoolingException;
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/rmi/impl/OXContextLightImpl.java:70: com.openexchange.admin.rmi.impl.OXContextLightImpl is not abstract and does not override abstract method createmaincall(com.openexchange.admin.rmi.dataobje cts.Context,com.openexchange.admin.rmi.dataobjects .User,com.openexchange.admin.rmi.dataobjects.Datab ase,com.openexchange.admin.rmi.dataobjects.UserMod uleAccess,com.openexchange.admin.rmi.dataobjects.C redentials) in com.openexchange.admin.rmi.impl.OXContextCommonImp l
    [javac] public class OXContextLightImpl extends OXContextCommonImpl implements OXContextLightInterface {
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/rmi/impl/OXContextLightImpl.java:118: method does not override a method from its superclass
    [javac] @Override
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/console/context/Create.java:69: com.openexchange.admin.console.context.Create is not abstract and does not override abstract method simpleMainCall(com.openexchange.admin.rmi.dataobje cts.Context,com.openexchange.admin.rmi.dataobjects .User,com.openexchange.admin.rmi.dataobjects.Crede ntials) in com.openexchange.admin.console.context.CreateCore
    [javac] public class Create extends CreateCore {
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/mysqlStorage/OXContextMySQLStorage.java:93: method does not override a method from its superclass
    [javac] @Override
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/mysqlStorage/OXContextMySQLStorage.java:191: cannot find symbol
    [javac] symbol : method initVersionTable(int,java.sql.Connection)
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXCont extMySQLStorage.OXContextMySQLStorageCommonPriv
    [javac] this.oxcontextcommon.initVersionTable(context_id, ox_con);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/mysqlStorage/OXContextMySQLStorage.java:221: cannot find symbol
    [javac] symbol : method getLanguage(com.openexchange.admin.rmi.dataobjects .User)
    [javac] location: class com.openexchange.admin.rmi.impl.OXUser
    [javac] final Locale langus = OXUser.getLanguage(admin_user);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/mysqlStorage/OXContextMySQLStorage.java:229: cannot find symbol
    [javac] symbol : method createAdminForContext(com.openexchange.admin.rmi.d ataobjects.Context,com.openexchange.admin.rmi.data objects.User,java.sql.Connection,int,int,int,com.o penexchange.admin.rmi.dataobjects.UserModuleAccess )
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXCont extMySQLStorage.OXContextMySQLStorageCommonPriv
    [javac] this.oxcontextcommon.createAdminForContext(ctx, admin_user, ox_con, internal_user_id_for_admin, contact_id_for_admin, uid_number, access);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/mysqlStorage/OXContextMySQLStorage.java:393: cannot find symbol
    [javac] symbol : method deleteSequenceTables(int,java.sql.Connection)
    [javac] location: class com.openexchange.admin.storage.mysqlStorage.OXCont extMySQLStorage.OXContextMySQLStorageCommonPriv
    [javac] this.oxcontextcommon.deleteSequenceTables(context_ id, ox_con);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:67: cannot find symbol
    [javac] symbol : variable Database
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] return Database.resolvePool(context_id,true);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:68: cannot find symbol
    [javac] symbol : class DBPoolingException
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] }catch(DBPoolingException db){
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:75: cannot find symbol
    [javac] symbol : variable Database
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] return Database.get(db_pool_id,schema_name);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:76: cannot find symbol
    [javac] symbol : class DBPoolingException
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] }catch(DBPoolingException db){
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:82: cannot find symbol
    [javac] symbol : variable Database
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] Database.back(db_pool_id,conny);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:87: cannot find symbol
    [javac] symbol : variable Database
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] Database.reset(context_id);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:88: cannot find symbol
    [javac] symbol : class DBPoolingException
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] }catch(DBPoolingException db){
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:95: cannot find symbol
    [javac] symbol : variable Database
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] return Database.getSchema(context_id);
    [javac] ^
    [javac] /Users/rodrigo/Documents/workspace/OX/open-xchange-admin-plugin-context_light/src/com/openexchange/admin/storage/sqlStorage/OXAdminPoolDBPoolExtension.java:96: cannot find symbol
    [javac] symbol : class DBPoolingException
    [javac] location: class com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPoolExtension
    [javac] }catch(DBPoolingException db){
    [javac] ^
    [javac] 21 errors

    This is just a small sample. As these issues are solved and new bundles are compiled more problems appear. Please help me understand if I'm doing something wrong or point me to documentation showing how to make this build work.

    Thanks,
    Rodrigo
    Last edited by Rodrigo Silveira; 12-02-2010 at 07:25 PM. Reason: Improved the title

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •