AnsweredAssumed Answered

Can't compile recent sources for a 2 weeks

Question asked by jozh on Oct 15, 2009
Latest reply on Oct 16, 2009 by jozh
Hello!

Does anybody faced surf compilation problem?
I'm following http://wiki.alfresco.com/wiki/Surf_Platform_-_Deployment_Configurations and after running
ant incremental-surf-starter
I'm getting compilation exceptions:

    [javac] d:\projects\alfresco\src\projects\webscript-framework\source\java\org\alfresco\web\config\RemoteConfigElement.java:85: inconvertible types
    [javac] found   : org.alfresco.config.ConfigElement
    [javac] required: org.alfresco.web.config.RemoteConfigElement
    [javac]         RemoteConfigElement configElement = (RemoteConfigElement) element;
    [javac]                                                                   ^
    [javac] d:\projects\alfresco\src\projects\webscript-framework\source\java\org\alfresco\web\config\RemoteConfigElement.java:122: incompatible types
    [javac] found   : org.alfresco.web.config.RemoteConfigElement
    [javac] required: org.alfresco.config.ConfigElement
    [javac]         return combinedElement;
    [javac]                ^
    [javac] d:\projects\alfresco\src\projects\webscript-framework\source\java\org\alfresco\connector\AbstractPersistentCredentialVault.java:85: inconvertible types
    [javac] found   : org.alfresco.config.ConfigElement
    [javac] required: org.alfresco.web.config.RemoteConfigElement
    [javac]                 "Remote").getConfigElement("remote");

    [javac] d:\projects\alfresco\src\projects\webscript-framework\source\java\org\alfresco\web\scripts\ScriptRemote.java:276: inconvertible types
    [javac] found   : org.alfresco.config.ConfigElement
    [javac] required: org.alfresco.web.config.RemoteConfigElement
    [javac]                 "Remote").getConfigElement("remote");
    [javac]                                           ^
    [javac] d:\projects\alfresco\src\projects\webscript-framework\source\java\org\alfresco\web\scripts\TestWebScriptServer.java:171: inconvertible types
    [javac] found   : org.alfresco.config.ConfigElement
    [javac] required: org.alfresco.web.config.ServerConfigElement
    [javac]          serverProperties = (ServerConfigElement)config.getConfigElement(ServerConfigElement.CONFIG_ELEMENT_ID);

Is this my misconfiguration or guys from alfresco do conceal some changes?  :twisted:

Outcomes