I am new for Alfresco, i just check-out the source, and now try compile it, but i hit some bug during the webclient compilation.
Please advise.
Thanks.
ERROR:
compile-webclient:
[mkdir] Created dir: D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\build\classes
[javac] Compiling 757 source files to D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\build\classes
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\app\servlet\JBPMDeployProcessServlet.java:42: warning: [deprecation] org.apache.commons.fileupload.DiskFileUpload in org.apache.commons.fileupload has been deprecated
[javac] import org.apache.commons.fileupload.DiskFileUpload;
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\app\servlet\JBPMDeployProcessServlet.java:146: warning: [deprecation] org.apache.commons.fileupload.DiskFileUpload in org.apache.commons.fileupload has been deprecated
[javac] private class GPDUpload extends DiskFileUpload
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\app\ContextListener.java:101: warning: [deprecation] setCompanyRootId(java.lang.String) in org.alfresco.web.app.Application has been deprecated
[javac] Application.setCompanyRootId(companySpaceNodeRef.getId());
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\app\servlet\BaseServlet.java:292: warning: [deprecation] getCompanyRootId() in org.alfresco.web.app.Application has been deprecated
[javac] nodeRef = new NodeRef(Repository.getStoreRef(), Application.getCompanyRootId());
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\app\servlet\JBPMDeployProcessServlet.java:98: warning: [deprecation] isMultipartContent(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
[javac] if (!FileUpload.isMultipartContent(request))
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\app\servlet\JBPMDeployProcessServlet.java:104: warning: [deprecation] parseRequest(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
[javac] List list = fileUpload.parseRequest(request);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\scripts\FormData.java:93: warning: [deprecation] isMultipartContent(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
[javac] return upload.isMultipartContent(req);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\app\servlet\command\ExecuteScriptCommand.java:93: warning: [deprecation] getCompanyRootId() in org.alfresco.web.app.Application has been deprecated
[javac] new NodeRef(Repository.getStoreRef(), Application.getCompanyRootId()),
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\DocumentPropertiesBean.java:128: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(FacesContext.getCurrentInstance());
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\SpaceDetailsBean.java:344: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(FacesContext.getCurrentInstance());
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\UserShortcutsBean.java:120: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\UserShortcutsBean.java:253: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\UserShortcutsBean.java:301: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\UserShortcutsBean.java:377: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\clipboard\AVMClipboardItem.java:112: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(fc);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\clipboard\AVMClipboardItem.java:211: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(fc);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\clipboard\WorkspaceClipboardItem.java:150: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(fc);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\clipboard\WorkspaceClipboardItem.java:336: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(fc);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\forums\CreateDiscussionDialog.java:112: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\forums\CreateDiscussionDialog.java:177: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\groups\GroupsDialog.java:327: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\groups\GroupsDialog.java:493: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\rules\RulesDialog.java:182: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(fc);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\users\UserMembersBean.java:649: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\users\UserMembersBean.java:691: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\wcm\AVMEditBean.java:177: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\wcm\ImportWebsiteDialog.java:202: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\workflow\ManageTaskDialog.java:284: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\workflow\ManageTaskDialog.java:324: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\workflow\ManageTaskDialog.java:379: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\wcm\ManageChangeRequestTaskDialog.java:113: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\bean\wizard\NewUserWizard.java:395: warning: [deprecation] getUserTransaction(javax.faces.context.FacesContext) in org.alfresco.web.bean.repository.Repository has been deprecated
[javac] tx = Repository.getUserTransaction(context);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\scripts\bean\ServiceInstall.java:97: warning: [deprecation] isMultipartContent(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
[javac] boolean isMultipart = upload.isMultipartContent(servletReq);
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\ui\repo\component\template\DefaultModelHelper.java:97: warning: [deprecation] getCompanyRootId() in org.alfresco.web.app.Application has been deprecated
[javac] NodeRef companyRootRef = new NodeRef(Repository.getStoreRef(), Application.getCompanyRootId());
[javac] ^
[javac] D:\Projects\Eclipse\alfresco\alfresco\root\projects\web-client\source\java\org\alfresco\web\ui\repo\tag\JBPMProcessImageTag.java:217: warning: [deprecation] getCurrentJbpmContext() in org.jbpm.JbpmContext has been deprecated
[javac] JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();