AnsweredAssumed Answered

cannot find symbol Pair.setSecond

Question asked by jmaes on Jun 9, 2008
Hi,

I'm trying to build the latest code from SVN using Eclipse, but I keep getting the following exception:
    [javac] D:\EclProjAlfrescoSVN\alfresco\projects\repository\source\java\org\alfresco\repo\avm\LayeredDirectoryNodeImpl.java:663: cannot find symbol
    [javac] symbol  : method setSecond(boolean)
    [javac] location: class org.alfresco.util.Pair<org.alfresco.repo.avm.AVMNode,java.lang.Boolean>
    [javac]                 retVal.setSecond(false);
    [javac]                       ^


The method setSecond(S s) does exist in the class Pair<F, S>. I didn't change anything in the code before compiling with Ant.

Java version is 1.5.0_11 but I've also tried 1.6.0_03 and 1.6.0_04.
Six months ago I've already compiled Alfresco successfully on the same computer.

Can anybody help me out with his one?

Outcomes