AnsweredAssumed Answered

Problem with the repository project while building alfresco

Question asked by federicopaliotta on Nov 2, 2009
Latest reply on Nov 2, 2009 by mikeh
Hi I have downloaded the alfresco labs source code from the svn repository as it's mentioned on the Developer Guide, but when I' m running ant this is the result I got:
 

                                                                                                  :
                                                                                                  :
                                                                                                  :
    [javac] symbol  : method getLenientFormatters()
    [javac] location: class org.alfresco.util.CachingDateFormat
    [javac]         for (SimpleDateFormat df : CachingDateFormat.getLenientFormatters())
    [javac]                                                     ^
    [javac] /alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/search/impl/lucene/analysis/DateTimeTokenFilter.java:98: cannot find symbol
    [javac] symbol  : method lenientParse(java.lang.String)
    [javac] location: class org.alfresco.util.CachingDateFormat
    [javac]                     date = CachingDateFormat.lenientParse(candidate.termText());
    [javac]                                             ^
    [javac] /alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/search/impl/lucene/analysis/DateTokenFilter.java:78: cannot find symbol
    [javac] symbol  : method lenientParse(java.lang.String)
    [javac] location: class org.alfresco.util.CachingDateFormat
    [javac]                     date = CachingDateFormat.lenientParse(candidate.termText());
    [javac]                                             ^
    [javac] Note: Some input files additionally use or override a deprecated API.
    [javac] Note: Some input files additionally use unchecked or unsafe operations.
    [javac] 6 errors
    [javac] 100 warnings

BUILD FAILED
/alfresco/HEAD/root/projects.xml:246: The following error occurred while executing this line:
/alfresco/HEAD/root/macros.xml:27: Compile failed; see the compiler error output for details.
After compiling successfully other projects before it stops while compiling the repository project. It seems like it can't find some method definitions!
I find it amazing as a matter of fact this is just a svn-downloaded genuine source code and not even yet modified!!!

Can someone help please?
Thanks a lot anyway!

Outcomes