[Building Sakai] Sakai 3 won't build
Dunstall, Christopher
cdunstall at csu.edu.au
Wed Jun 23 17:36:58 PDT 2010
Thanks for the response. I built the Google collections jar successfully.
However, I now get this error:
[INFO] ------------------------------------------------------------------------
[INFO] Building Sakai Nakamura :: Database Bundle
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /Volumes/Data/Sakai/source/3akai/sakai3/open-experiments/bundles/persistence/target
[INFO] [dependency:copy-dependencies {execution: embed-dependencies}]
[INFO] Copying commons-dbcp-1.2.2.jar to /Volumes/Data/Sakai/source/3akai/sakai3/open-experiments/bundles/persistence/target/classes/commons-dbcp-1.2.2.jar
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] [compiler:compile]
[INFO] Compiling 22 source files to /Volumes/Data/Sakai/source/3akai/sakai3/open-experiments/bundles/persistence/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/Volumes/Data/Sakai/source/3akai/sakai3/open-experiments/bundles/persistence/src/main/java/org/sakaiproject/nakamura/persistence/dynamic/AmalgamatingClassloader.java:[28,38] package org.sakaiproject.nakamura.util does not exist
/Volumes/Data/Sakai/source/3akai/sakai3/open-experiments/bundles/persistence/src/main/java/org/sakaiproject/nakamura/persistence/dynamic/AmalgamatingClassloader.java:[135,17] cannot find symbol
symbol : class UrlEnumeration
location: class org.sakaiproject.nakamura.persistence.dynamic.AmalgamatingClassloader
Chris Dunstall | Service Support - Applications
Technology Integration/OLE Virtual Team
Division of Information Technology | Charles Sturt University | Bathurst, NSW
Ph: 02 63384818 | Fax: 02 63384181
From: Simon Gaeremynck [mailto:gaeremyncks at gmail.com]
Sent: Wednesday, 23 June 2010 5:09 PM
To: Dunstall, Christopher
Cc: sakai-dev at collab.sakaiproject.org Developers
Subject: Re: [Building Sakai] Sakai 3 won't build
Hi,
That should've been part of the build as we don't publish snapshots to the main sakai repository.
I'm not sure if it helps but that bundle is located at open-experiments/bundles/google-collections and can be built from there as well.
Simon
On 23 Jun 2010, at 07:48, Dunstall, Christopher wrote:
Hi all,
Just getting set up for Sakai 3 development and I'm following [1]. I get an error when I do the first build, after following the preceding instructions to the letter.
The error is:
Downloading: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/nakamura/org.sakaiproject.nakamura.google-collections/0.8-0.6-SNAPSHOT/org.sakaiproject.nakamura.google-collections-0.8-0.6-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.sakaiproject.nakamura
ArtifactId: org.sakaiproject.nakamura.google-collections
Version: 0.8-0.6-SNAPSHOT
Reason: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.sakaiproject.nakamura -DartifactId=org.sakaiproject.nakamura.google-collections -Dversion=0.8-0.6-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.nakamura -DartifactId=org.sakaiproject.nakamura.google-collections -Dversion=0.8-0.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.sakaiproject.nakamura:org.sakaiproject.nakamura.google-collections:jar:0.8-0.6-SNAPSHOT
There are no instructions on adding other repositories. Was this missed in the setup doc or is this a legitimate error (and can it be fixed)?
[1] http://confluence.sakaiproject.org/display/3AK/Sakai+3+UX+Prototype+development
Regards,
Chris Dunstall | Service Support - Applications
Technology Integration/OLE Virtual Team
Division of Information Technology | Charles Sturt University | Bathurst, NSW
Ph: 02 63384818 | Fax: 02 63384181
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto: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<mailto: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/20100624/c16403ae/attachment.html
More information about the sakai-dev
mailing list