[Building Sakai] Sakai 2.6 upgrade

Yzelle, Sonette SYzelle at unisa.ac.za
Fri Apr 16 01:49:14 PDT 2010


This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
________________________________

Sorry to bother you guys again, I know you must be busy and I keep on asking questions.

I just don't know what I am doing wrong.  When deploying in the master project, a lot of the resources could not be found?  See attached document.

Does the kernel get downloaded in the master project because that is still not happening for me?   I am using the standard pom.xml as downloaded for sakai_2-6-2 tag.

Hope you guys can help.

Regards
Sonette


Sonette Yzelle
Analyst Developer
ICT
UNISA
South Africa
email: syzelle at unisa.ac.za<mailto:syzelle at unisa.ac.za>

From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Yzelle, Sonette
Sent: Friday, April 16, 2010 7:39 AM
To: Anthony Whyte
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Sakai 2.6 upgrade

This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
________________________________

Thank you Anthony & Miguel,

I was using Maven 2.0.8 so I am first going to try Maven 2.0.11

I did first do a clean install in the ./master

I ended up doing a checkout of the Sakai 2.6.2 release, just as it is.  So the problem must be maven.

I hope it works this time round!
Thanks for your help it is appreciated

Regards
Sonette
Sonette Yzelle
Analyst Developer
ICT
UNISA
South Africa
email: syzelle at unisa.ac.za<mailto:syzelle at unisa.ac.za>

From: Anthony Whyte [mailto:arwhyte at umich.edu]
Sent: Thursday, April 15, 2010 2:50 PM
To: Yzelle, Sonette
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Sakai 2.6 upgrade

Try to build the master project first.

cd sakai_2-6-x/master
mvn clean install
cd ..
mvn clean install sakai:deploy

Make sure you are using Maven 2.0.10+

Cheers,

Anth



On Apr 15, 2010, at 8:45 AM, Yzelle, Sonette wrote:

This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
________________________________

Thank you Anthony, I ended up using the correct .externals file with some help.
Sakai was checked out successfully - I think.
When trying to deploy I get the following error, what I am doing wrong?
syzelle at pc:/data/myunisa26/workspace26/sakai_2-6-x$ mvn clean install [INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: unknown

Reason: Could not find the model file '/data/myunisa26/workspace26/sakai_2-6-x/kernel/pom.xml'. for project unknown


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could not find the model file '/data/myunisa26/workspace26/sakai_2-6-x/kernel/pom.xml'. for project unknown
      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file '/data/myunisa26/workspace26/sakai_2-6-x/kernel/pom.xml'. for project unknown
      at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1381)
      at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:474)
      at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
      at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)
      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)
      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:524)
      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)
      ... 11 more
Caused by: java.io.FileNotFoundException: /data/myunisa26/workspace26/sakai_2-6-x/kernel/pom.xml (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at hidden.org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:123)
      at hidden.org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67)
      at hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:113)
      at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1376)
      ... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Apr 15 14:40:38 SAST 2010 [INFO] Final Memory: 1M/252M [INFO] ------------------------------------------------------------------------


Sonette Yzelle
Analyst Developer
ICT
UNISA
South Africa
email: syzelle at unisa.ac.za<mailto:syzelle at unisa.ac.za>

From: Anthony Whyte [mailto:arwhyte at umich.edu]
Sent: Thursday, April 15, 2010 2:43 PM
To: Yzelle, Sonette
Cc: sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
Subject: Re: [Building Sakai] Sakai 2.6 upgrade

The file you have chosen is not the .externals file.  It's a file I use to remind me at what 2.6.x revision point I used to create the 2.6.2 release branch (I notice too that it should be pointing to 2.6.x not 2.6.2 but that's another issue).

This is the 2.6.2 .externals file:
https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.2/.externals

Why are you not simply checking out the tag?

svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.2/ 2.6.2

Executing the svn checkout command will download 2.6.2 based on .externals.

Cheers,

Anth



On Apr 15, 2010, at 6:21 AM, Yzelle, Sonette wrote:


This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
________________________________

Hi,
Please help again with upgrading to Sakai 2.6.2

I have copied the https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.2/.externals-2.6.xto2.6.2
externals to our saka project externals.
(
propset svn:externals "access  -r72654 https://source.sakaiproject.org/svn/access/branches/sakai-2.6.2
alias  -r72654 https://source.sakaiproject.org/svn/alias/branches/sakai-2.6.2
announcement  -r72654 https://source.sakaiproject.org/svn/announcement/branches/sakai-2.6.2
archive  -r72654 https://source.sakaiproject.org/svn/archive/branches/sakai-2.6.2
assignment  -r72654 https://source.sakaiproject.org/svn/assignment/branches/sakai-2.6.2)

Now when I want to do the checkout I get errors:
pdate /data/myunisa26/workspace26/sakai_2-6-x -r HEAD --force
     C  /data/myunisa26/workspace26/sakai_2-6-x
    Command completed abnormally.
    svn: URL 'https://source.sakaiproject.org/svn/access/branches/sakai-2.6.2' at revision 72654 doesn't exist
    Command completed abnormally.
    svn: URL 'https://source.sakaiproject.org/svn/alias/branches/sakai-2.6.2' at revision 72654 doesn't exist
    Command completed abnormally.
    svn: URL 'https://source.sakaiproject.org/svn/announcement/branches/sakai-2.6.2' at revision 72654 doesn't exist
    Command completed abnormally.

What am I doing wrong?

Regards
Sonette


Sonette Yzelle
UNISA
ICT
Analyst Programmer
syzelle at unisa.ac.za<mailto:syzelle at unisa.ac.za>


Sonette Yzelle
Analyst Developer
ICT
UNISA
South Africa
email: syzelle at unisa.ac.za<mailto:syzelle at unisa.ac.za>

_______________________________________________
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"

_______________________________________________
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/20100416/a302e644/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: masterDeploy.doc
Type: application/msword
Size: 203776 bytes
Desc: masterDeploy.doc
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100416/a302e644/attachment.doc 


More information about the sakai-dev mailing list