[Building Sakai] dashboard build error

Sanghyun Jeon euksa99 at gmail.com
Mon Oct 22 11:43:53 PDT 2012


Sorry for asking this, but I could not quite understand your saying" Make
sure the Dashboard project is looking for your custom branches
API in you local maven repo instead of Sakai's repo." Would you mind
explaining in details... which part of dashboard files should be changed
and how?

After I google my error I thought I need to remove app folder within
dashboard directory and change pom.xml within dashboard corresponding with
the app removal...
Am I wrong?

Sanghyun

On Mon, Oct 22, 2012 at 11:09 AM, Bryan Holladay <holladay at longsight.com>wrote:

> Make sure the Dashboard project is looking for your custom branches
> API in you local maven repo instead of Sakai's repo.
>
> -Bryan
>
> On Mon, Oct 22, 2012 at 2:01 PM, Sanghyun Jeon <euksa99 at gmail.com> wrote:
> > Hello, Bryan,
> >
> > I applied all Assignment patch for dashboard backport as you told me and
> > then I try to build again. Now I have the below errors
> >
> > [INFO] Building dashboard - APP
> > [INFO]    task-segment: [clean, install, sakai:deploy]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [clean:clean {execution: default-clean}]
> > [INFO] Deleting directory
> > /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/target
> > [INFO] [resources:resources {execution: default-resources}]
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] Copying 0 resource
> > [INFO] skip non existing resourceDirectory
> > /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/bundle
> > [INFO] [compiler:compile {execution: default-compile}]
> > [INFO] Compiling 4 source files to
> > /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/target/classes
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[56,76]
> > cannot find symbol
> > symbol  : variable EVENT_RESOURCE_UPD_ACCESS
> > location: interface org.sakaiproject.content.api.ContentHostingService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[57,75]
> > cannot find symbol
> > symbol  : variable EVENT_RESOURCE_UPD_TITLE
> > location: interface org.sakaiproject.content.api.ContentHostingService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[58,80]
> > cannot find symbol
> > symbol  : variable EVENT_RESOURCE_UPD_VISIBILITY
> > location: interface org.sakaiproject.content.api.ContentHostingService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[68,73]
> > cannot find symbol
> > symbol  : variable EVENT_ANNC_UPDATE_TITLE
> > location: interface org.sakaiproject.announcement.api.AnnouncementService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[69,77]
> > cannot find symbol
> > symbol  : variable EVENT_ANNC_UPDATE_ACCESS
> > location: interface org.sakaiproject.announcement.api.AnnouncementService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[70,83]
> > cannot find symbol
> > symbol  : variable EVENT_ANNC_UPDATE_AVAILABILITY
> > location: interface org.sakaiproject.announcement.api.AnnouncementService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[75,73]
> > cannot find symbol
> > symbol  : variable EVENT_REMOVE_CALENDAR_EVENT
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[77,79]
> > cannot find symbol
> > symbol  : variable EVENT_MODIFY_CALENDAR_EVENT_TITLE
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[78,78]
> > cannot find symbol
> > symbol  : variable EVENT_MODIFY_CALENDAR_EVENT_TIME
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[79,78]
> > cannot find symbol
> > symbol  : variable EVENT_MODIFY_CALENDAR_EVENT_TYPE
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[80,80]
> > cannot find symbol
> > symbol  : variable EVENT_MODIFY_CALENDAR_EVENT_ACCESS
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[81,83]
> > cannot find symbol
> > symbol  : variable EVENT_MODIFY_CALENDAR_EVENT_FREQUENCY
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[82,82]
> > cannot find symbol
> > symbol  : variable EVENT_MODIFY_CALENDAR_EVENT_EXCLUDED
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> /opt/sakai-deploy/sakai-2.8.x-all/dashboard/app/src/java/org/sakaiproject/dash/app/SakaiProxy.java:[83,84]
> > cannot find symbol
> > symbol  : variable EVENT_MODIFY_CALENDAR_EVENT_EXCLUSIONS
> > location: interface org.sakaiproject.calendar.api.CalendarService
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 5 minutes 13 seconds
> > [INFO] Finished at: Mon Oct 22 10:54:44 PDT 2012
> > [INFO] Final Memory: 209M/653M
> > [INFO]
> > ----------------------------------------------------------------------
> >
> >
> > I checked your columbia source code from
> >
> https://source.sakaiproject.org/contrib/columbia/dashboard/branches/2-8-x_COLUMBIA/
> > and found out there is no app folder. Should I remove my app folder? I
> > checked out dashboard trunk source code
> > (https://source.sakaiproject.org/contrib/dashboard/trunk/)
> >
> > Thank you in advance.
> >
> >
> >
> > On Mon, Oct 22, 2012 at 6:00 AM, Bryan Holladay <holladay at longsight.com>
> > wrote:
> >>
> >> I've built Dashboard in 2.8.x and compiled a list of jira's that you
> >> need to backport:
> >>
> >>
> >>
> https://confluence.sakaiproject.org/display/DASH/Patching+Sakai+2.8.x+to+support+dashboard+version+1.0.0
> >>
> >> -Bryan
> >>
> >> On Mon, Oct 22, 2012 at 8:53 AM, Beth Kirschner <bkirschn at umich.edu>
> >> wrote:
> >> > The Dashboard tool was developed to work only with Sakai 2.9 (and
> >> > above), though I know there are some other institutions that have
> backported
> >> > some of the functionality needed to build it with Sakai 2.8.
> >> >
> >> > - Beth
> >> >
> >> > On Oct 19, 2012, at 8:20 PM, Sanghyun Jeon wrote:
> >> >
> >> >> I am trying to build dashboard (svn co
> >> >> https://source.sakaiproject.org/contrib/dashboard/branches/1.0.x/dashboard)
> >> >> with sakai 2.8.x-all
> >> >>
> >> >> I am having the below build error. Any suggestion?
> >> >>
> >> >> [INFO] Unable to find resource
> >> >>
> 'org.sakaiproject.announcement:sakai-announcement-api:jar:2.8-SNAPSHOT' in
> >> >> repository sonatype-nexus-snapshots
> >> >> (https://oss.sonatype.org/content/repositories/snapshots)
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [ERROR] BUILD ERROR
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] Failed to resolve artifact.
> >> >>
> >> >> Missing:
> >> >> ----------
> >> >> 1) org.sakaiproject.message:sakai-message-api:jar:2.8-SNAPSHOT
> >> >>
> >> >>   Try downloading the file manually from the project website.
> >> >>
> >> >>   Then, install it using the command:
> >> >>       mvn install:install-file -DgroupId=org.sakaiproject.message
> >> >> -DartifactId=sakai-message-api -Dversion=2.8-SNAPSHOT -Dpackaging=jar
> >> >> -Dfile=/path/to/file
> >> >>
> >> >>   Alternatively, if you host your own repository you can deploy the
> >> >> file there:
> >> >>       mvn deploy:deploy-file -DgroupId=org.sakaiproject.message
> >> >> -DartifactId=sakai-message-api -Dversion=2.8-SNAPSHOT -Dpackaging=jar
> >> >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >> >>
> >> >>   Path to dependency:
> >> >>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
> >> >>         2)
> org.sakaiproject.message:sakai-message-api:jar:2.8-SNAPSHOT
> >> >>
> >> >> 2) org.sakaiproject.assignment:sakai-assignment-api:jar:2.8-SNAPSHOT
> >> >>
> >> >>   Try downloading the file manually from the project website.
> >> >>
> >> >>   Then, install it using the command:
> >> >>       mvn install:install-file -DgroupId=org.sakaiproject.assignment
> >> >> -DartifactId=sakai-assignment-api -Dversion=2.8-SNAPSHOT
> -Dpackaging=jar
> >> >> -Dfile=/path/to/file
> >> >>
> >> >>   Alternatively, if you host your own repository you can deploy the
> >> >> file there:
> >> >>       mvn deploy:deploy-file -DgroupId=org.sakaiproject.assignment
> >> >> -DartifactId=sakai-assignment-api -Dversion=2.8-SNAPSHOT
> -Dpackaging=jar
> >> >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >> >>
> >> >>   Path to dependency:
> >> >>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
> >> >>         2)
> >> >> org.sakaiproject.assignment:sakai-assignment-api:jar:2.8-SNAPSHOT
> >> >>
> >> >> 3) org.sakaiproject.calendar:sakai-calendar-api:jar:2.8-SNAPSHOT
> >> >>
> >> >>   Try downloading the file manually from the project website.
> >> >>
> >> >>   Then, install it using the command:
> >> >>       mvn install:install-file -DgroupId=org.sakaiproject.calendar
> >> >> -DartifactId=sakai-calendar-api -Dversion=2.8-SNAPSHOT
> -Dpackaging=jar
> >> >> -Dfile=/path/to/file
> >> >>
> >> >>   Alternatively, if you host your own repository you can deploy the
> >> >> file there:
> >> >>       mvn deploy:deploy-file -DgroupId=org.sakaiproject.calendar
> >> >> -DartifactId=sakai-calendar-api -Dversion=2.8-SNAPSHOT
> -Dpackaging=jar
> >> >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >> >>
> >> >>   Path to dependency:
> >> >>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
> >> >>         2)
> >> >> org.sakaiproject.calendar:sakai-calendar-api:jar:2.8-SNAPSHOT
> >> >>
> >> >> 4)
> >> >> org.sakaiproject.announcement:sakai-announcement-api:jar:2.8-SNAPSHOT
> >> >>
> >> >>   Try downloading the file manually from the project website.
> >> >>
> >> >>   Then, install it using the command:
> >> >>       mvn install:install-file
> -DgroupId=org.sakaiproject.announcement
> >> >> -DartifactId=sakai-announcement-api -Dversion=2.8-SNAPSHOT
> -Dpackaging=jar
> >> >> -Dfile=/path/to/file
> >> >>
> >> >>   Alternatively, if you host your own repository you can deploy the
> >> >> file there:
> >> >>       mvn deploy:deploy-file -DgroupId=org.sakaiproject.announcement
> >> >> -DartifactId=sakai-announcement-api -Dversion=2.8-SNAPSHOT
> -Dpackaging=jar
> >> >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >> >>
> >> >>   Path to dependency:
> >> >>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
> >> >>         2)
> >> >> org.sakaiproject.announcement:sakai-announcement-api:jar:2.8-SNAPSHOT
> >> >>
> >> >> ----------
> >> >> 4 required artifacts are missing.
> >> >>
> >> >> for artifact:
> >> >>   org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
> >> >>
> >> >> from the specified remote repositories:
> >> >>   default (http://repo1.maven.org/maven2),
> >> >>   sakai-maven2-snapshots
> >> >> (http://source.sakaiproject.org/maven2-snapshots),
> >> >>   central (http://repo1.maven.org/maven2),
> >> >>   sakai-maven (http://source.sakaiproject.org/maven2),
> >> >>   sonatype-nexus-snapshots
> >> >> (https://oss.sonatype.org/content/repositories/snapshots),
> >> >>   projectlombok.org (http://projectlombok.org/mavenrepo)
> >> >>
> >> >>
> >> >>
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] For more information, run Maven with the -e switch
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] Total time: 4 minutes 44 seconds
> >> >> [INFO] Finished at: Fri Oct 19 16:46:24 PDT 2012
> >> >> [INFO] Final Memory: 216M/640M
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [root at SakaiLocalDev sakai-2.8.x-all]# :q!
> >> >> -bash: :q!: command not found
> >> >> [root at SakaiLocalDev sakai-2.8.x-all]#
> >> >>
> >> >> _______________________________________________
> >> >> sakai-dev mailing list
> >> >> sakai-dev at collab.sakaiproject.org
> >> >> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >> >>
> >> >> TO UNSUBSCRIBE: send email to
> >> >> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> >> >> "unsubscribe"
> >> >
> >> > _______________________________________________
> >> > sakai-dev mailing list
> >> > sakai-dev at collab.sakaiproject.org
> >> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >> >
> >> > TO UNSUBSCRIBE: send email to
> >> > sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> >> > "unsubscribe"
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121022/ae8cdf5f/attachment.html 


More information about the sakai-dev mailing list