[Deploying Sakai] Sakai Build error

Kevin cmrncrzy11 at gmail.com
Fri Mar 28 20:37:45 PDT 2014


Hi all,

Last so many days, I have been trying to build Sakai. I have been following 
the steps given in 
https://confluence.sakaiproject.org/display/BOOT/Development+Environment+Set
up+Walkthrough scrupulously. I have worked with Sakai 2.9.1 and 2.9.3 source 
code and have tried to build it directly in Eclipse and through maven in 
command line mode. 

Every time I get stuck on sitemanagegroupsectionrolehelper directory. Build 
always fails for the files ImportedGroup.java and 
GroupImportStep2Producer.java. 

Here is the log of errors:

[INFO] sakai-site-manage-tool ............................ SKIPPED
[INFO] sakai-site-manage-assembly ........................ SKIPPED
[INFO] sakai-site-manage-group-helper .................... SKIPPED
[INFO] Sakai Tool Project ................................ SKIPPED
[INFO] sakai-tool-tool-su ................................ SKIPPED
[INFO] Become User Help (su-help) ........................ SKIPPED
[INFO] sakai-user-tool ................................... SKIPPED
[INFO] ---------------------------------------------------------------------
---
[INFO] BUILD FAILURE
[INFO] ---------------------------------------------------------------------
---
[INFO] Total time: 05:36 min
[INFO] Finished at: 2014-03-29T00:05:55+05:30
[INFO] Final Memory: 83M/495M
[INFO] ---------------------------------------------------------------------
---
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-
plugin:2.5.1:compile (default-compile) on project sakai-site-manage-group-
section-role-helper: Compil
ation failure: Compilation failure:
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[63,51] error: cannot find symbol
[ERROR] symbol:   method getImportedGroups()
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[72,93] error: cannot find symbol
[ERROR] symbol:   method getGroupTitle()
[ERROR] location: variable importedGroup of type ImportedGroup
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[78,53] error: cannot find symbol
[ERROR] symbol:   method getGroupTitle()
[ERROR] location: variable importedGroup of type ImportedGroup
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[82,64] error: cannot find symbol
[ERROR] symbol:   method getGroupTitle()
[ERROR] location: variable importedGroup of type ImportedGroup
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[91,46] error: cannot find symbol
[ERROR] symbol:   method getUserIds()
[ERROR] location: variable importedGroup of type ImportedGroup
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[94,40] error: cannot find symbol
[ERROR] symbol:   method getGroupUserIds(Group)
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[99,43] error: cannot find symbol
[ERROR] symbol:   method getUserIds()
[ERROR] location: variable importedGroup of type ImportedGroup
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\GroupImportS
tep2Producer.java:[104,25] error: cannot find symbol
[ERROR] symbol:   method isValidSiteUser(String)
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[53,31] error: cannot find symbol
[ERROR] symbol:   variable joinableSetName
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[54,31] error: cannot find symbol
[ERROR] symbol:   variable joinableSetNameOrig
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[74,83] error: cannot find symbol
[ERROR] symbol:   variable GROUP_PROP_JOINABLE_SET
[ERROR] location: variable group of type Group
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[96,97] error: cannot find symbol
[ERROR] symbol:   variable GROUP_PROP_JOINABLE_SET
[ERROR] location: variable group of type Group
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[97,93] error: cannot find symbol
[ERROR] symbol:   variable joinableSetName
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[99,48] error: cannot find symbol
[ERROR] symbol:   variable unjoinable
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[99,117] error: cannot find symbol
[ERROR] symbol:   variable GROUP_PROP_JOINABLE_UNJOINABLE
[ERROR] location: variable group of type Group
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[100,48] error: cannot find symbol
[ERROR] symbol:   variable unjoinableOrig
[ERROR] location: variable handler of type SiteManageGroupSectionRoleHandler
[ERROR] C:\Program Files\sakai-2.9\site-manage\site-manage-group-section-
role-
helper\tool\src\java\org\sakaiproject\site\tool\helper\managegroupsectionrol
e\rsf\CreateJoinab
leGroupsProducer.java:[100,73] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn <goals> -rf :sakai-site-manage-group-section-role-helper
C:\Program Files\sakai-2.9>


I tried fixing importedGroup class in to ImportedGroup class but the problem 
appears in one or the other form. I have checked fixes at the following:

https://crucible.sakaiproject.org/browse/SakaiTrunk/site-manage/trunk/site-
manage-group-section-role-
helper/tool/src/java/org/sakaiproject/site/tool/helper/managegroupsectionrol
e/rsf/GroupImportStep2Producer.java?
r=307502&r=131848&r=118259&r=118259&r=307498&r=118259&r=131848&r=118259&r=13
1848

I understand the error is in ImportedGroup.Java file. I have tried keeping 
this file in either rsf line or impl line. Can someone help me with fixing 
error? 

Thanks,
Kevin



More information about the production mailing list