cancel
Showing results for 
Search instead for 
Did you mean: 

[RESOLU]Probleme de compilation avec Eclipse

pilate
Champ in-the-making
Champ in-the-making
Bonjour, j'essaie en vain depuis quelques jours de compiler Alfresco 3.2 (sources svn) avec Eclipse Galileo sur Windows XP Pro. Voici le log :
Buildfile: C:\Alfresco_project\project\alfresco\HEAD\root\build.xml
init:
     [echo] user.home = C:\Documents and Settings\Virtual NETIK
clean-core:
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\build\classes
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\build\dist
clean-jlan:
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\build\classes
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\build\dist
clean-mbeans:
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\mbeans\build\classes
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\mbeans\build\dist
clean-deployment:
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\build\classes
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\build\dist
clean-repository:
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\build\classes
clean-wdrdeployment:
clean-remoteapi:
clean-jndi:
clean-catalinavirtual:
clean-linkvalidation:
clean-webscriptframework:
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\build\classes
   [delete] Deleting directory C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\build\dist
clean-webclient:
clean-webclient-projects:
clean-webframework:
clean-webframeworkcommons:
clean-slingshot:
clean-slingshot-projects:
clean-mobile:
clean-mobile-projects:
clean-webserviceclient:
clean-webstudio:
clean-projects:
clean-avmcompare:
clean-blog:
clean-fb-doclib:
clean-mediawiki:
clean-php:
clean-rm:
clean-sharepoint:
clean-truncatemalformedxml:
clean-dod5015:
clean-dod5015-share:
clean-modules:
clean-webclient-tomcat-deploy:
clean-application-tomcat-deploy:
clean-virtual-tomcat-deploy:
clean-tomcat-deployments:
clean:
compile-core:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\build\classes
    [javac] Compiling 125 source files to C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\build\classes
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\source\java\org\alfresco\ibatis\HierarchicalSqlMapClientFactoryBeanTest.java:43: warning: [deprecation] com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient in com.ibatis.sqlmap.engine.impl has been deprecated
    [javac] import com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient;
    [javac]                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\source\java\org\alfresco\error\AlfrescoRuntimeException.java:159: warning: [deprecation] getMonth() in java.util.Date has been deprecated
    [javac]         padInt(buf, today.getMonth(), 2);
    [javac]                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\source\java\org\alfresco\error\AlfrescoRuntimeException.java:160: warning: [deprecation] getDate() in java.util.Date has been deprecated
    [javac]         padInt(buf, today.getDate(), 2);
    [javac]                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\source\java\org\alfresco\config\xml\XMLConfigServiceTest.java:104: warning: [deprecation] init() in org.alfresco.config.BaseConfigService has been deprecated
    [javac]         svc.init();
    [javac]            ^
    [javac] Note: C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\source\java\org\alfresco\util\ReflectionHelper.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 4 warnings
     [copy] Copying 3 files to C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\build\classes
package-core:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\build\dist
      [jar] Building jar: C:\Alfresco_project\project\alfresco\HEAD\root\projects\core\build\dist\alfresco-core-3.2r2.jar
incremental-core:
compile-webscriptframework:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\build\classes
    [javac] Compiling 199 source files to C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\build\classes
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\facebook\FacebookServletRequest.java:43: warning: [deprecation] org.alfresco.web.scripts.WebScriptServletRequest in org.alfresco.web.scripts has been deprecated
    [javac] public class FacebookServletRequest extends org.alfresco.web.scripts.WebScriptServletRequest
    [javac]                                                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\connector\RemoteClient.java:902: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
    [javac]                 res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, timeErr.getMessage());
    [javac]                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\connector\RemoteClient.java:916: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
    [javac]                 res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, socketErr.getMessage());
    [javac]                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\connector\RemoteClient.java:930: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
    [javac]                 res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, hostErr.getMessage());
    [javac]                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\connector\RemoteClient.java:944: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
    [javac]                 res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, connErr.getMessage());
    [javac]                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\connector\RemoteClient.java:957: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
    [javac]                 res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, ioErr.getMessage());
    [javac]                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:89: warning: [deprecation] setHours(int) in java.util.Date has been deprecated
    [javac]                         dateA.setHours(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:90: warning: [deprecation] setMinutes(int) in java.util.Date has been deprecated
    [javac]                         dateA.setMinutes(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:91: warning: [deprecation] setSeconds(int) in java.util.Date has been deprecated
    [javac]                         dateA.setSeconds(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:96: warning: [deprecation] setDate(int) in java.util.Date has been deprecated
    [javac]                         dateA.setDate(1);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:97: warning: [deprecation] setMonth(int) in java.util.Date has been deprecated
    [javac]                         dateA.setMonth(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:98: warning: [deprecation] setYear(int) in java.util.Date has been deprecated
    [javac]                         dateA.setYear(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:105: warning: [deprecation] setHours(int) in java.util.Date has been deprecated
    [javac]                         dateB.setHours(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:106: warning: [deprecation] setMinutes(int) in java.util.Date has been deprecated
    [javac]                         dateB.setMinutes(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:107: warning: [deprecation] setSeconds(int) in java.util.Date has been deprecated
    [javac]                         dateB.setSeconds(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:112: warning: [deprecation] setDate(int) in java.util.Date has been deprecated
    [javac]                         dateB.setDate(1);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:113: warning: [deprecation] setMonth(int) in java.util.Date has been deprecated
    [javac]                         dateB.setMonth(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\DateCompareMethod.java:114: warning: [deprecation] setYear(int) in java.util.Date has been deprecated
    [javac]                         dateB.setYear(0);
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\servlet\FormData.java:86: warning: [deprecation] isMultipartContent(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
    [javac]         return upload.isMultipartContent(req);
    [javac]                      ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\Index.java:47: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\IndexAll.java:53: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\IndexFamily.java:48: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\IndexLifecycle.java:49: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\IndexPackage.java:49: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\IndexURI.java:49: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\IndexUpdate.java:61: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\JavascriptDebugger.java:60: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\JavascriptDebuggerPost.java:60: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\ServiceDump.java:54: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\bean\ServiceInstall.java:66: warning: [deprecation] executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) in org.alfresco.web.scripts.DeclarativeWebScript has been deprecated
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\servlet\EndPointProxyServlet.java:179: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
    [javac]                     res.setStatus(HttpServletResponse.SC_UNAUTHORIZED,
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\source\java\org\alfresco\web\scripts\servlet\EndPointProxyServlet.java:219: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
    [javac]                 res.setStatus(HttpServletResponse.SC_UNAUTHORIZED,
    [javac]                    ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 32 warnings
package-webscriptframework-jar:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\build\dist
      [jar] Building jar: C:\Alfresco_project\project\alfresco\HEAD\root\projects\webscript-framework\build\dist\alfresco-webscript-framework-3.2r2.jar
compile-jlan:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\build\classes
    [javac] Compiling 483 source files to C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\build\classes
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:43: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac] import sun.security.krb5.EncryptedData;
    [javac]                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:44: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac] import sun.security.krb5.EncryptionKey;
    [javac]                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\debug\JDKLoggingDebug.java:136: warning: [deprecation] global in java.util.logging.Logger has been deprecated
    [javac]      Logger.global.log(logLevel, str);
    [javac]            ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:108: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]               EncryptionKey encKey = new EncryptionKey( krbKey.getEncoded(), krbKey.getKeyType(), new Integer(2));
    [javac]               ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:108: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]               EncryptionKey encKey = new EncryptionKey( krbKey.getEncoded(), krbKey.getKeyType(), new Integer(2));
    [javac]                                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:116: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]                  EncryptedData encPart = new EncryptedData( krbTkt.getEncryptedType(), krbTkt.getEncryptedPartKeyVersion() != -1 ? new Integer(krbTkt.getEncryptedPartKeyVersion()) : null,
    [javac]                  ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:116: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]                  EncryptedData encPart = new EncryptedData( krbTkt.getEncryptedType(), krbTkt.getEncryptedPartKeyVersion() != -1 ? new Integer(krbTkt.getEncryptedPartKeyVersion()) : null,
    [javac]                                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:150: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]           EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:150: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]           EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]                                      ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:158: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]               EncryptedData encPart = new EncryptedData( apReq.getAuthenticatorEncType(), apReq.getAuthenticatorKeyVersion() != -1 ? new Integer(apReq.getAuthenticatorKeyVersion()) : null,
    [javac]               ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:158: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]               EncryptedData encPart = new EncryptedData( apReq.getAuthenticatorEncType(), apReq.getAuthenticatorKeyVersion() != -1 ? new Integer(apReq.getAuthenticatorKeyVersion()) : null,
    [javac]                                           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:233: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]       EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]       ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:233: warning: sun.security.krb5.EncryptionKey is Sun proprietary API and may be removed in a future release
    [javac]       EncryptionKey encKey = new EncryptionKey( m_encTkt.getEncryptionKeyType(), m_encTkt.getEncryptionKey());
    [javac]                                  ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:241: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]        EncryptedData encPart = new EncryptedData( krbApRep.getEncryptionType(), krbApRep.getKeyVersion() != -1 ? new Integer(krbApRep.getKeyVersion()) : null,
    [javac]        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:241: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]        EncryptedData encPart = new EncryptedData( krbApRep.getEncryptionType(), krbApRep.getKeyVersion() != -1 ? new Integer(krbApRep.getKeyVersion()) : null,
    [javac]                                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\source\java\org\alfresco\jlan\server\auth\kerberos\KrbAuthContext.java:284: warning: sun.security.krb5.EncryptedData is Sun proprietary API and may be removed in a future release
    [javac]              encPart = new EncryptedData( encKey, decPart, 12);
    [javac]                            ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 16 warnings
     [copy] Copied 6 empty directories to 6 empty directories under C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\build\classes
package-jlan:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\build\dist
      [jar] Building jar: C:\Alfresco_project\project\alfresco\HEAD\root\projects\alfresco-jlan\build\dist\alfresco-jlan-embed-3.2r2.jar
incremental-jlan:
compile-mbeans:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\mbeans\build\classes
    [javac] Compiling 2 source files to C:\Alfresco_project\project\alfresco\HEAD\root\projects\mbeans\build\classes
package-mbeans:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\mbeans\build\dist
      [jar] Building jar: C:\Alfresco_project\project\alfresco\HEAD\root\projects\mbeans\build\dist\alfresco-mbeans-3.2r2.jar
incremental-mbeans:
compile-deployment:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\build\classes
    [javac] Compiling 57 source files to C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\build\classes
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\source\java\org\alfresco\deployment\SurfRefreshRunnable.java:39: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac] import sun.net.www.protocol.http.HttpURLConnection;
    [javac]                                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\source\java\org\alfresco\deployment\SurfRefreshRunnable.java:138: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac]         HttpURLConnection conn = null;
    [javac]         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\source\java\org\alfresco\deployment\SurfRefreshRunnable.java:147: warning: sun.net.www.protocol.http.HttpURLConnection is Sun proprietary API and may be removed in a future release
    [javac]             conn = (HttpURLConnection) url.openConnection();
    [javac]                     ^
    [javac] 3 warnings
     [copy] Copied 2 empty directories to 2 empty directories under C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\build\classes
package-deployment-jar:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\build\dist
      [jar] Building jar: C:\Alfresco_project\project\alfresco\HEAD\root\projects\deployment\build\dist\alfresco-deployment-3.2r2.jar
compile-repository-java:
    [mkdir] Created dir: C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\build\classes
    [javac] Compiling 2656 source files to C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\build\classes
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:91: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\attributes\AttributeServiceTest.java:28: warning: [deprecation] java.rmi.server.LogStream in java.rmi.server has been deprecated
    [javac] import java.rmi.server.LogStream;
    [javac]                       ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:45: warning: [deprecation] org.alfresco.repo.avm.actions.AVMRevertListAction in org.alfresco.repo.avm.actions has been deprecated
    [javac] import org.alfresco.repo.avm.actions.AVMRevertListAction;
    [javac]                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:46: warning: [deprecation] org.alfresco.repo.avm.actions.AVMRevertStoreAction in org.alfresco.repo.avm.actions has been deprecated
    [javac] import org.alfresco.repo.avm.actions.AVMRevertStoreAction;
    [javac]                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:47: warning: [deprecation] org.alfresco.repo.avm.actions.AVMRevertToVersionAction in org.alfresco.repo.avm.actions has been deprecated
    [javac] import org.alfresco.repo.avm.actions.AVMRevertToVersionAction;
    [javac]                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:48: warning: [deprecation] org.alfresco.repo.avm.actions.AVMUndoSandboxListAction in org.alfresco.repo.avm.actions has been deprecated
    [javac] import org.alfresco.repo.avm.actions.AVMUndoSandboxListAction;
    [javac]                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:49: warning: [deprecation] org.alfresco.repo.avm.actions.SimpleAVMPromoteAction in org.alfresco.repo.avm.actions has been deprecated
    [javac] import org.alfresco.repo.avm.actions.SimpleAVMPromoteAction;
    [javac]                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:50: warning: [deprecation] org.alfresco.repo.avm.actions.SimpleAVMSubmitAction in org.alfresco.repo.avm.actions has been deprecated
    [javac] import org.alfresco.repo.avm.actions.SimpleAVMSubmitAction;
    [javac]                                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\transform\AbstractContentTransformer.java:109: warning: [deprecation] org.alfresco.repo.content.transform.ContentTransformerRegistry.TransformationKey in org.alfresco.repo.content.transform.ContentTransformerRegistry has been deprecated
    [javac]     protected List<ContentTransformerRegistry.TransformationKey> getExplicitTransformations()
    [javac]                                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\transform\AbstractContentTransformer.java:121: warning: [deprecation] org.alfresco.repo.content.transform.ContentTransformerRegistry.TransformationKey in org.alfresco.repo.content.transform.ContentTransformerRegistry has been deprecated
    [javac]     public void setExplicitTransformations(List<ContentTransformerRegistry.TransformationKey> explicitTransformations)
    [javac]                                                                           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\transform\RemoteOpenOfficeContentTransformer.java:42: warning: [deprecation] org.alfresco.repo.content.transform.AbstractContentTransformer in org.alfresco.repo.content.transform has been deprecated
    [javac] import org.alfresco.repo.content.transform.AbstractContentTransformer;
    [javac]                                           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\transform\RemoteOpenOfficeContentTransformer.java:60: warning: [deprecation] org.alfresco.repo.content.transform.AbstractContentTransformer in org.alfresco.repo.content.transform has been deprecated
    [javac] public class RemoteOpenOfficeContentTransformer extends AbstractContentTransformer
    [javac]                                                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\dialect\AlfrescoOracle9Dialect.java:5: warning: [deprecation] org.hibernate.dialect.Oracle9Dialect in org.hibernate.dialect has been deprecated
    [javac] import org.hibernate.dialect.Oracle9Dialect;
    [javac]                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\dialect\AlfrescoOracle9Dialect.java:16: warning: [deprecation] org.hibernate.dialect.Oracle9Dialect in org.hibernate.dialect has been deprecated
    [javac] public class AlfrescoOracle9Dialect extends Oracle9Dialect
    [javac]                                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:81: warning: [deprecation] org.hibernate.dialect.Oracle9Dialect in org.hibernate.dialect has been deprecated
    [javac] import org.hibernate.dialect.Oracle9Dialect;
    [javac]                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:83: warning: [deprecation] org.hibernate.dialect.OracleDialect in org.hibernate.dialect has been deprecated
    [javac] import org.hibernate.dialect.OracleDialect;
    [javac]                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\management\subsystems\AbstractPropertyBackedBean.java:43: cannot find symbol
    [javac] symbol  : class PropertyPlaceholderHelper
    [javac] location: package org.springframework.util
    [javac] import org.springframework.util.PropertyPlaceholderHelper;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\management\subsystems\AbstractPropertyBackedBean.java:490: cannot find symbol
    [javac] symbol  : class PropertyPlaceholderHelper
    [javac] location: class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean
    [javac]     public class DefaultResolver extends PropertyPlaceholderHelper
    [javac]                                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\management\subsystems\LegacyConfigPostProcessor.java:46: cannot find symbol
    [javac] symbol  : class PriorityOrdered
    [javac] location: package org.springframework.core
    [javac] import org.springframework.core.PriorityOrdered;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\management\subsystems\LegacyConfigPostProcessor.java:56: cannot find symbol
    [javac] symbol: class PriorityOrdered
    [javac] public class LegacyConfigPostProcessor implements BeanFactoryPostProcessor, PriorityOrdered
    [javac]                                                                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\node\BaseNodeServiceTest.java:88: warning: sun.security.action.GetBooleanAction is Sun proprietary API and may be removed in a future release
    [javac] import sun.security.action.GetBooleanAction;
    [javac]                           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\ADMLuceneSearcherImpl.java:92: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\ADMLuceneIndexerImpl.java:94: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\AVMLuceneIndexerImpl.java:100: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\FilterIndexReaderByStringId.java:41: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\LuceneResultSet.java:49: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\LuceneResultSet.java:62: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac]     Hits hits;
    [javac]     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\LuceneResultSet.java:83: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac]     public LuceneResultSet(Hits hits, Searcher searcher, NodeService nodeService, TenantService tenantService, SearchParameters searchParameters,
    [javac]                            ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\querymodel\impl\lucene\LuceneQueryEngine.java:55: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac] import org.apache.lucene.search.Hits;
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\TransactionalCache.java:617: warning: [deprecation] flush() in org.alfresco.repo.transaction.TransactionListener has been deprecated
    [javac]     public void flush()
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\policy\TransactionBehaviourQueue.java:119: warning: [deprecation] flush() in org.alfresco.repo.transaction.TransactionListener has been deprecated
    [javac]     public void flush()
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\filesys\util\CifsMounter.java:199: warning: [deprecation] setCommandMap(java.util.Map<java.lang.String,java.lang.String>) in org.alfresco.util.exec.RuntimeExec has been deprecated
    [javac]       exec.setCommandMap( commandMap);
    [javac]           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\filesys\util\CifsMounter.java:276: warning: [deprecation] setCommandMap(java.util.Map<java.lang.String,java.lang.String>) in org.alfresco.util.exec.RuntimeExec has been deprecated
    [javac]       exec.setCommandMap( commandMap);
    [javac]           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\transaction\TransactionListenerAdapter.java:37: warning: [deprecation] flush() in org.alfresco.repo.transaction.TransactionListener has been deprecated
    [javac]     public void flush()
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\jcr\session\SessionImpl.java:460: warning: [deprecation] isDirty() in org.alfresco.repo.transaction.AlfrescoTransactionSupport has been deprecated
    [javac]         return AlfrescoTransactionSupport.isDirty();
    [javac]                                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\jcr\version\VersionImpl.java:121: warning: [deprecation] getCreatedDate() in org.alfresco.service.cmr.version.Version has been deprecated
    [javac]         calendar.setTime(version.getCreatedDate());
    [javac]                                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\action\ActionTransactionListener.java:60: warning: [deprecation] flush() in org.alfresco.repo.transaction.TransactionListener has been deprecated
    [javac]    public void flush()
    [javac]                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\metadata\AbstractMappingMetadataExtracter.java:555: warning: [deprecation] getExtractionTime() in org.alfresco.repo.content.metadata.MetadataExtracter has been deprecated
    [javac]     public long getExtractionTime()
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\metadata\AbstractMappingMetadataExtracter.java:211: warning: [deprecation] getReliability(java.lang.String) in org.alfresco.repo.content.metadata.MetadataExtracter has been deprecated
    [javac]     public double getReliability(String mimetype)
    [javac]                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:2563: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac]         Hits hits = searcher.search(query);
    [javac]         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:2563: warning: [deprecation] search(org.apache.lucene.search.Query) in org.apache.lucene.search.Searcher has been deprecated
    [javac]         Hits hits = searcher.search(query);
    [javac]                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:2571: warning: [deprecation] search(org.apache.lucene.search.Query) in org.apache.lucene.search.Searcher has been deprecated
    [javac]         hits = searcher.search(query);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:2579: warning: [deprecation] search(org.apache.lucene.search.Query) in org.apache.lucene.search.Searcher has been deprecated
    [javac]         hits = searcher.search(query);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:3474: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac]                             Hits hits = searcher.search(query);
    [javac]                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:3474: warning: [deprecation] search(org.apache.lucene.search.Query) in org.apache.lucene.search.Searcher has been deprecated
    [javac]                             Hits hits = searcher.search(query);
    [javac]                                                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\index\IndexInfo.java:3817: warning: [deprecation] getDirectory(java.io.File,boolean) in org.apache.lucene.store.FSDirectory has been deprecated
    [javac]                     Directory directory = FSDirectory.getDirectory(outputLocation, true);
    [javac]                                                      ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2122: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]             int isolationLevel = session.connection().getTransactionIsolation();
    [javac]                                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2125: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(1);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2133: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(isolationLevel);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2153: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]             int isolationLevel = session.connection().getTransactionIsolation();
    [javac]                                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2156: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(1);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2164: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(isolationLevel);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2183: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]             return session.connection().getMetaData().supportsTransactionIsolationLevel(1);
    [javac]                           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2203: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]             int isolationLevel = session.connection().getTransactionIsolation();
    [javac]                                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2206: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(1);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2215: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(isolationLevel);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2351: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]             int isolationLevel = session.connection().getTransactionIsolation();
    [javac]                                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2354: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(1);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2362: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(isolationLevel);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2383: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]             int isolationLevel = session.connection().getTransactionIsolation();
    [javac]                                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2386: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(1);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\hibernate\AclDaoComponentImpl.java:2395: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]                 session.connection().setTransactionIsolation(isolationLevel);
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMRepository.java:921: warning: [deprecation] noCache() in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]             fAVMNodeDAO.noCache();
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMRepository.java:938: warning: [deprecation] yesCache() in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]             fAVMNodeDAO.yesCache();
    [javac]                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:1303: warning: [deprecation] org.alfresco.repo.avm.actions.AVMRevertToVersionAction in org.alfresco.repo.avm.actions has been deprecated
    [javac]             final ActionImpl action = new ActionImpl(null, GUID.generate(), AVMRevertToVersionAction.NAME);
    [javac]                                                                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:1304: warning: [deprecation] org.alfresco.repo.avm.actions.AVMRevertToVersionAction in org.alfresco.repo.avm.actions has been deprecated
    [javac]             action.setParameterValue(AVMRevertToVersionAction.TOREVERT, toRevert);
    [javac]                                      ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:1305: warning: [deprecation] org.alfresco.repo.avm.actions.AVMRevertToVersionAction in org.alfresco.repo.avm.actions has been deprecated
    [javac]             final AVMRevertToVersionAction revert = (AVMRevertToVersionAction) fContext.getBean("avm-revert-to-version");
    [javac]                   ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMServiceTest.java:1305: warning: [deprecation] org.alfresco.repo.avm.actions.AVMRevertToVersionAction in org.alfresco.repo.avm.actions has been deprecated
    [javac]             final AVMRevertToVersionAction revert = (AVMRevertToVersionAction) fContext.getBean("avm-revert-to-version");
    [javac]                                                      ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\AVMSyncServiceImpl.java:643: warning: [deprecation] evict(org.alfresco.repo.avm.AVMNode) in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]             AVMDAOs.Instance().fAVMNodeDAO.evict(node);
    [javac]                                           ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\DirectoryNodeImpl.java:75: warning: [deprecation] evict(org.alfresco.repo.avm.ChildEntry) in org.alfresco.repo.avm.ChildEntryDAO has been deprecated
    [javac]         AVMDAOs.Instance().fChildEntryDAO.evict(newChild);
    [javac]                                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\DirectoryNodeImpl.java:76: warning: [deprecation] evict(org.alfresco.repo.avm.AVMNode) in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]         AVMDAOs.Instance().fAVMNodeDAO.evict(node);
    [javac]                                       ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\NOOPLookupCache.java:135: warning: [deprecation] org.alfresco.repo.avm.AVMNodeUnwrapper in org.alfresco.repo.avm has been deprecated
    [javac]                     child = new Pair<AVMNode, Boolean>(AVMNodeUnwrapper.Unwrap(entry.getChild()), true);
    [javac]                                                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\NOOPLookupCache.java:135: warning: [deprecation] Unwrap(org.alfresco.repo.avm.AVMNode) in org.alfresco.repo.avm.AVMNodeUnwrapper has been deprecated
    [javac]                     child = new Pair<AVMNode, Boolean>(AVMNodeUnwrapper.Unwrap(entry.getChild()), true);
    [javac]                                                                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\ibatis\AVMNodeDAOIbatis.java:317: warning: [deprecation] yesCache() in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]     public void yesCache()
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\ibatis\AVMNodeDAOIbatis.java:309: warning: [deprecation] noCache() in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]     public void noCache()
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\ibatis\AVMNodeDAOIbatis.java:293: warning: [deprecation] evict(org.alfresco.repo.avm.AVMNode) in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]     public void evict(AVMNode node)
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\ibatis\AVMNodeDAOIbatis.java:285: warning: [deprecation] flush() in org.alfresco.repo.avm.AVMNodeDAO has been deprecated
    [javac]     public void flush()
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\avm\ibatis\ChildEntryDAOIbatis.java:137: warning: [deprecation] evict(org.alfresco.repo.avm.ChildEntry) in org.alfresco.repo.avm.ChildEntryDAO has been deprecated
    [javac]     public void evict(ChildEntry entry)
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\EhCacheTracerJob.java:197: warning: [deprecation] getMaxElementsInMemory() in net.sf.ehcache.Cache has been deprecated
    [javac]             maxSize = cache.getMaxElementsInMemory();
    [javac]                            ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\EhCacheTracerJob.java:199: warning: [deprecation] getHitCount() in net.sf.ehcache.Cache has been deprecated
    [javac]             hitCount = cache.getHitCount();
    [javac]                             ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\EhCacheTracerJob.java:200: warning: [deprecation] getMissCountNotFound() in net.sf.ehcache.Cache has been deprecated
    [javac]             missCount = cache.getMissCountNotFound();
    [javac]                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\EhCacheTracerJob.java:229: warning: [deprecation] getMaxElementsInMemory() in net.sf.ehcache.Cache has been deprecated
    [javac]             long maxSize = cache.getMaxElementsInMemory();
    [javac]                                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\EhCacheTracerJob.java:231: warning: [deprecation] getHitCount() in net.sf.ehcache.Cache has been deprecated
    [javac]             long hitCount = cache.getHitCount();
    [javac]                                  ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\EhCacheTracerJob.java:232: warning: [deprecation] getMissCountNotFound() in net.sf.ehcache.Cache has been deprecated
    [javac]             long totalMissCount = cache.getMissCountNotFound() + cache.getMissCountExpired();
    [javac]                                        ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\cache\EhCacheTracerJob.java:232: warning: [deprecation] getMissCountExpired() in net.sf.ehcache.Cache has been deprecated
    [javac]             long totalMissCount = cache.getMissCountNotFound() + cache.getMissCountExpired();
    [javac]                                                                       ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\AbstractContentStore.java:259: warning: [deprecation] getWriter(org.alfresco.service.cmr.repository.ContentReader,java.lang.String) in org.alfresco.repo.content.ContentStore has been deprecated
    [javac]     public final ContentWriter getWriter(ContentReader existingContentReader, String newContentUrl)
    [javac]                                ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\AbstractRoutingContentStore.java:374: warning: [deprecation] getWriter(org.alfresco.service.cmr.repository.ContentReader,java.lang.String) in org.alfresco.repo.content.ContentStore has been deprecated
    [javac]     public ContentWriter getWriter(ContentReader existingContentReader, String newContentUrl) throws ContentIOException
    [javac]                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\replication\ContentStoreReplicator.java:201: warning: [deprecation] getWriter(org.alfresco.service.cmr.repository.ContentReader,java.lang.String) in org.alfresco.repo.content.ContentStore has been deprecated
    [javac]             ContentWriter writer = targetStore.getWriter(null, contentUrl);
    [javac]                                               ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\transform\AbstractContentTransformer2.java:216: warning: [deprecation] transform(org.alfresco.service.cmr.repository.ContentReader,org.alfresco.service.cmr.repository.ContentWriter,java.util.Map<java.lang.String,java.lang.Object>) in org.alfresco.repo.content.transform.ContentTransformer has been deprecated
    [javac]     public final void transform(
    [javac]                       ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\content\transform\RuntimeExecutableContentTransformerTest.java:62: warning: [deprecation] setCommandMap(java.util.Map<java.lang.String,java.lang.String>) in org.alfresco.util.exec.RuntimeExec has been deprecated
    [javac]         transformCommand.setCommandMap(commandMap);
    [javac]                         ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:1151: warning: [deprecation] org.hibernate.dialect.OracleDialect in org.hibernate.dialect has been deprecated
    [javac]         else if (dialectClazz.equals(OracleDialect.class) || dialectClazz.equals(Oracle9Dialect.class))
    [javac]                                      ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:1151: warning: [deprecation] org.hibernate.dialect.Oracle9Dialect in org.hibernate.dialect has been deprecated
    [javac]         else if (dialectClazz.equals(OracleDialect.class) || dialectClazz.equals(Oracle9Dialect.class))
    [javac]                                                                                  ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\domain\schema\SchemaBootstrap.java:1222: warning: [deprecation] connection() in org.hibernate.Session has been deprecated
    [javac]             connection = session.connection();
    [javac]                                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\template\VersionHistoryNode.java:126: warning: [deprecation] getCreatedDate() in org.alfresco.service.cmr.version.Version has been deprecated
    [javac]         return this.version.getCreatedDate();
    [javac]                            ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\template\VersionHistoryNode.java:136: warning: [deprecation] getCreator() in org.alfresco.service.cmr.version.Version has been deprecated
    [javac]         return this.version.getCreator();
    [javac]                            ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\jscript\ScriptVersion.java:67: warning: [deprecation] getCreatedDate() in org.alfresco.service.cmr.version.Version has been deprecated
    [javac]         return converter.convertValueForScript(services, scope, null, version.getCreatedDate());
    [javac]                                                                              ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\jscript\ScriptVersion.java:77: warning: [deprecation] getCreator() in org.alfresco.service.cmr.version.Version has been deprecated
    [javac]         return version.getCreator();
    [javac]                       ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\management\subsystems\AbstractPropertyBackedBean.java:510: cannot find symbol
    [javac] symbol  : method replacePlaceholders(java.lang.String,java.util.Properties)
    [javac] location: class org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.DefaultResolver
    [javac]             return AbstractPropertyBackedBean.this.propertyDefaults == null ? null : replacePlaceholders(
    [javac]                                                                                      ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\model\filefolder\FileFolderServiceImpl.java:824: warning: [deprecation] makeFolders(org.alfresco.service.cmr.repository.NodeRef,java.util.List<java.lang.String>,org.alfresco.service.namespace.QName) in org.alfresco.service.cmr.model.FileFolderService has been deprecated
    [javac]     public FileInfo makeFolders(NodeRef parentNodeRef, List<String> pathElements, QName folderTypeQName)
    [javac]                     ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\node\PerformanceNodeServiceTest.java:224: warning: [deprecation] flush() in org.alfresco.repo.transaction.AlfrescoTransactionSupport has been deprecated
    [javac]                AlfrescoTransactionSupport.flush();
    [javac]                                          ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\ADMLuceneSearcherImpl.java:311: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac]                 Hits hits;
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\ADMLuceneSearcherImpl.java:427: warning: [deprecation] search(org.apache.lucene.search.Query,org.apache.lucene.search.Sort) in org.apache.lucene.search.Searcher has been deprecated
    [javac]                     hits = searcher.search(query, new Sort(fields));
    [javac]                                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\ADMLuceneSearcherImpl.java:432: warning: [deprecation] search(org.apache.lucene.search.Query) in org.apache.lucene.search.Searcher has been deprecated
    [javac]                     hits = searcher.search(query);
    [javac]                                    ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\ADMLuceneSearcherImpl.java:477: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated
    [javac]                 Hits hits = searcher.search(query);
    [javac]                 ^
    [javac] C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\ADMLuceneSearcherImpl.java:477: warning: [deprecation] search(org.apache.lucene.search.Query) in org.apache.lucene.search.Searcher has been deprecated
    [javac]                 Hits hits = searcher.search(query);
    [javac]                                     ^
    [javac] Note: Some input files additionally use or override a deprecated API.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors
    [javac] 100 warnings

BUILD FAILED
C:\Alfresco_project\project\alfresco\HEAD\root\projects.xml:246: The following error occurred while executing this line:
C:\Alfresco_project\project\alfresco\HEAD\root\macros.xml:27: Compile failed; see the compiler error output for details.

Total time: 3 minutes 56 seconds

Sachant qu'avant cela, au building du worskspace, j'ai cette erreur :
Buildfile: C:\Alfresco_project\project\alfresco\HEAD\root\projects\repository\build.xml
compile-jibx-eclipse:
init:
     [echo] user.home = C:\Documents and Settings\VirtualXP
compile-repository-jibx:
     [bind] Failed setting classpath from Ant task
     [bind] Failed setting classpath from Ant task
BUILD SUCCESSFUL
Total time: 3 seconds

EDIT: j'ai l'impression que je dois installer tomcat commme décrit ici http://wiki.alfresco.com/wiki/Install_Tomcat6 ==> question : à quoi sert cette page ??? A installer tomcat pour un alfresco depuis les sources ou pour configurer un environnement de développement ?
2 REPLIES 2

pilate
Champ in-the-making
Champ in-the-making
J'ai finalement réussi à passer le cap de la compilation en pointant sur le SDK de Sun et non l'OpenJDK. Comme mentionné sur le wiki mais pas vraiment en évidence. Car c'est indispensable.

pilate
Champ in-the-making
Champ in-the-making
En fait ce n'était pas le jdk le probleme mais la machine virtuelle que j'utilisais. Peut-être que toutes les ressources du PC étaient nécessaires et que la VM bridait la compilation ? Je n'en sais rien mais quoiqu'il en soit, je conseille d'éviter d'utiliser une VM pour faire de la compilation d'Alfresco pour l'avoir testé sur deux VM différentes de deux machines différentes.
:mrgreen: