AnsweredAssumed Answered

site-statics +alfresco 4.0.c errors

Question asked by dorra87 on Apr 19, 2012
I want to test this site statics http://code.google.com/p/site-statistics/,so I put the code do some changes and use ant to build  but I get errors.
The code used sdk alfresco-enterprise-sdk-3.4.2.but I try to build it using sdk 4.0.c,I added the missed packages from the embeded sdk 4.0.c
compile:
    [mkdir] Created dir: F:\workspaceIndigo\SiteStatisticsDashlet\build\classes
    [javac] Compiling 5 source files to F:\workspaceIndigo\SiteStatisticsDashlet\build\classes
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:11: package org.alfresco.model does not exist
    [javac] import org.alfresco.model.ContentModel;
    [javac]                          ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:12: package org.alfresco.repo.site does not exist
    [javac] import org.alfresco.repo.site.SiteModel;
    [javac]                              ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:13: package org.alfresco.service.cmr.repository does not exist
    [javac] import org.alfresco.service.cmr.repository.StoreRef;
    [javac]                                           ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:14: package org.alfresco.service.cmr.search does not exist
    [javac] import org.alfresco.service.cmr.search.ResultSet;
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:15: package org.alfresco.service.cmr.search does not exist
    [javac] import org.alfresco.service.cmr.search.ResultSetRow;
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:16: package org.alfresco.service.cmr.search does not exist
    [javac] import org.alfresco.service.cmr.search.SearchParameters;
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:17: package org.alfresco.service.cmr.search does not exist
    [javac] import org.alfresco.service.cmr.search.SearchService;
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:18: package org.alfresco.service.cmr.security does not exist
    [javac] import org.alfresco.service.cmr.security.AuthorityService;
    [javac]                                         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:19: package org.alfresco.service.cmr.security does not exist
    [javac] import org.alfresco.service.cmr.security.AuthorityType;
    [javac]                                         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:20: package org.alfresco.service.cmr.security does not exist
    [javac] import org.alfresco.service.cmr.security.PermissionService;
    [javac]                                         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:21: package org.alfresco.service.cmr.site does not exist
    [javac] import org.alfresco.service.cmr.site.SiteService;
    [javac]                                     ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:23: package org.apache.commons.logging does not exist
    [javac] import org.apache.commons.logging.Log;
    [javac]                                  ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:24: package org.apache.commons.logging does not exist
    [javac] import org.apache.commons.logging.LogFactory;
    [javac]                                  ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:25: package org.springframework.extensions.webscripts does not exist
    [javac] import org.springframework.extensions.webscripts.DeclarativeWebScript;
    [javac]                                                 ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:26: package org.springframework.extensions.webscripts does not exist
    [javac] import org.springframework.extensions.webscripts.WebScriptRequest;
    [javac]                                                 ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:35: cannot find symbol
    [javac] symbol: class DeclarativeWebScript
    [javac] public class SiteMembersWebScript extends DeclarativeWebScript
    [javac]                                           ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:39: cannot find symbol
    [javac] symbol  : class AuthorityService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     private AuthorityService authorityService;
    [javac]             ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:40: cannot find symbol
    [javac] symbol  : class PermissionService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     private PermissionService permissionService;
    [javac]             ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:41: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     private SearchService searchService;
    [javac]             ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:42: cannot find symbol
    [javac] symbol  : class SiteService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     private SiteService siteService;
    [javac]             ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:43: cannot find symbol
    [javac] symbol  : class Log
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     private final static Log LOGGER = LogFactory.getLog(SiteMembersWebScript.class);
    [javac]                          ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:46: cannot find symbol
    [javac] symbol  : class WebScriptRequest
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]    protected Map<String, Object> executeImpl(WebScriptRequest req)
    [javac]                                              ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:126: cannot find symbol
    [javac] symbol  : class AuthorityService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     public AuthorityService getAuthorityService()
    [javac]            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:131: cannot find symbol
    [javac] symbol  : class AuthorityService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     public void setAuthorityService(AuthorityService authorityService)
    [javac]                                     ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:136: cannot find symbol
    [javac] symbol  : class PermissionService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     public PermissionService getPermissionService()
    [javac]            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:141: cannot find symbol
    [javac] symbol  : class PermissionService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     public void setPermissionService(PermissionService permissionService)
    [javac]                                      ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:146: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     public SearchService getSearchService()
    [javac]            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:151: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     public void setSearchService(SearchService searchService)
    [javac]                                  ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:157: cannot find symbol
    [javac] symbol  : class SiteService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]         public SiteService getSiteService() {
    [javac]                ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:162: cannot find symbol
    [javac] symbol  : class SiteService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]         public void setSiteService(SiteService siteService) {
    [javac]                                    ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:11: package org.alfresco.service.cmr.repository does not exist
    [javac] import org.alfresco.service.cmr.repository.NodeService;
    [javac]                                           ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:12: package org.alfresco.service.cmr.search does not exist
    [javac] import org.alfresco.service.cmr.search.SearchService;
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:13: package org.alfresco.service.cmr.workflow does not exist
    [javac] import org.alfresco.service.cmr.workflow.WorkflowService;
    [javac]                                         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:16: package org.apache.commons.logging does not exist
    [javac] import org.apache.commons.logging.Log;
    [javac]                                  ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:17: package org.apache.commons.logging does not exist
    [javac] import org.apache.commons.logging.LogFactory;
    [javac]                                  ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:18: package org.springframework.extensions.webscripts does not exist
    [javac] import org.springframework.extensions.webscripts.DeclarativeWebScript;
    [javac]                                                 ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:19: package org.springframework.extensions.webscripts does not exist
    [javac] import org.springframework.extensions.webscripts.WebScriptRequest;
    [javac]                                                 ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:28: cannot find symbol
    [javac] symbol: class DeclarativeWebScript
    [javac] public class SiteStatisticsWebScript extends DeclarativeWebScript {
    [javac]                                              ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:34: cannot find symbol
    [javac] symbol  : class WorkflowService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    private WorkflowService workflowService;   
    [javac]            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:35: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    private SearchService searchService;
    [javac]            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:36: cannot find symbol
    [javac] symbol  : class NodeService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    private NodeService nodeService;
    [javac]            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:39: cannot find symbol
    [javac] symbol  : class Log
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    private final static Log LOGGER = LogFactory.getLog(SiteStatisticsWebScript.class);
    [javac]                         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:41: cannot find symbol
    [javac] symbol  : class WebScriptRequest
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    protected Map<String, Object> executeImpl(WebScriptRequest req)
    [javac]                                              ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:62: cannot find symbol
    [javac] symbol  : class WebScriptRequest
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    public void getRequestParameters(WebScriptRequest req)
    [javac]                                     ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:130: cannot find symbol
    [javac] symbol  : class WorkflowService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    public WorkflowService getWorkflowService() {
    [javac]           ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:134: cannot find symbol
    [javac] symbol  : class WorkflowService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    public void setWorkflowService(WorkflowService workflowService) {
    [javac]                                   ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:139: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    public SearchService getSearchService() {
    [javac]           ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:143: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    public void setSearchService(SearchService searchService) {
    [javac]                                 ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:302: cannot find symbol
    [javac] symbol  : class NodeService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    public NodeService getNodeService() {
    [javac]           ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:306: cannot find symbol
    [javac] symbol  : class NodeService
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    public void setNodeService(NodeService nodeService) {
    [javac]                               ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:4: package org.alfresco.service.cmr.search does not exist
    [javac] import org.alfresco.service.cmr.search.ResultSet;
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:5: package org.alfresco.service.cmr.search does not exist
    [javac] import org.alfresco.service.cmr.search.SearchService;
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:6: package org.alfresco.web.bean.repository does not exist
    [javac] import org.alfresco.web.bean.repository.Repository;
    [javac]                                        ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:14: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.util.AlfrescoUtils
    [javac]    private static SearchService searchService;
    [javac]                   ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:15: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.util.AlfrescoUtils
    [javac]    public SearchService getSearchService()
    [javac]           ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:19: cannot find symbol
    [javac] symbol  : class SearchService
    [javac] location: class org.alfresco.util.AlfrescoUtils
    [javac]    public static void  setSearchService(SearchService searchService1)
    [javac]                                         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\DateUtils.java:12: package org.apache.commons.logging does not exist
    [javac] import org.apache.commons.logging.Log;
    [javac]                                  ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\DateUtils.java:13: package org.apache.commons.logging does not exist
    [javac] import org.apache.commons.logging.LogFactory;
    [javac]                                  ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\DateUtils.java:24: cannot find symbol
    [javac] symbol  : class Log
    [javac] location: class org.alfresco.util.DateUtils
    [javac]    private final static Log LOGGER = LogFactory.getLog(DateUtils.class);
    [javac]                         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:43: cannot find symbol
    [javac] symbol  : variable LogFactory
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]     private final static Log LOGGER = LogFactory.getLog(SiteMembersWebScript.class);
    [javac]                                       ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:52: cannot find symbol
    [javac] symbol  : variable SiteModel
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]         Set<String> permissions = permissionService.getSettablePermissions(SiteModel.TYPE_SITE);
    [javac]                                                                            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:63: cannot find symbol
    [javac] symbol  : variable AuthorityType
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]             Set<String> users = authorityService.getContainedAuthorities(AuthorityType.USER, groupName, true);
    [javac]                                                                          ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:98: cannot find symbol
    [javac] symbol  : class SearchParameters
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]         SearchParameters searchParameters = new SearchParameters();
    [javac]         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:98: cannot find symbol
    [javac] symbol  : class SearchParameters
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]         SearchParameters searchParameters = new SearchParameters();
    [javac]                                                 ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:100: cannot find symbol
    [javac] symbol  : variable StoreRef
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]         searchParameters.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
    [javac]                                   ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:102: cannot find symbol
    [javac] symbol  : class ResultSet
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]         ResultSet resultSet = searchService.query(searchParameters);
    [javac]         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:107: cannot find symbol
    [javac] symbol  : class ResultSetRow
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteMembersWebScript
    [javac]                 ResultSetRow row = resultSet.getRow(0);
    [javac]                 ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteMembersWebScript.java:109: package ContentModel does not exist
    [javac]                 String userName = (String) values.get(ContentModel.PROP_USERNAME.toString());
    [javac]                                                                   ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\repo\web\scripts\webscripts\dashlets\SiteStatisticsWebScript.java:39: cannot find symbol
    [javac] symbol  : variable LogFactory
    [javac] location: class org.alfresco.repo.web.scripts.webscripts.dashlets.SiteStatisticsWebScript
    [javac]    private final static Log LOGGER = LogFactory.getLog(SiteStatisticsWebScript.class);
    [javac]                                      ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:31: cannot find symbol
    [javac] symbol  : class ResultSet
    [javac] location: class org.alfresco.util.AlfrescoUtils
    [javac]         ResultSet resultSet = searchService.query(Repository.getStoreRef(),SearchService.LANGUAGE_LUCENE, query);
    [javac]         ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:31: cannot find symbol
    [javac] symbol  : variable Repository
    [javac] location: class org.alfresco.util.AlfrescoUtils
    [javac]         ResultSet resultSet = searchService.query(Repository.getStoreRef(),SearchService.LANGUAGE_LUCENE, query);
    [javac]                                                   ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\AlfrescoUtils.java:31: cannot find symbol
    [javac] symbol  : variable SearchService
    [javac] location: class org.alfresco.util.AlfrescoUtils
    [javac]         ResultSet resultSet = searchService.query(Repository.getStoreRef(),SearchService.LANGUAGE_LUCENE, query);
    [javac]                                                                            ^
    [javac] F:\workspaceIndigo\SiteStatisticsDashlet\source\java\org\alfresco\util\DateUtils.java:24: cannot find symbol
    [javac] symbol  : variable LogFactory
    [javac] location: class org.alfresco.util.DateUtils
    [javac]    private final static Log LOGGER = LogFactory.getLog(DateUtils.class);
    [javac]                                      ^
    [javac] 73 errors

BUILD FAILED
F:\workspaceIndigo\SiteStatisticsDashlet\build.xml:142: Compile failed; see the compiler error output for details.
I didn't have errors before the build.
Can I make it work?I can also post the code.
thanks
regards

Outcomes