[Building Sakai] moved/removed javacode 2.5 - 2.6

View: New views
10 Messages — Rating Filter:   Alert me  

[Building Sakai] moved/removed javacode 2.5 - 2.6

by Peter Krooks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
during our lift from 2.5-2.6, we noticed that these files has dissapeared in Sakai 2.6:
 
/user/user-api/api/src/java/org/sakaiproject/user/api/UserDirectoryService.java
/user/user-api/api/src/java/org/sakaiproject/user/cover/UserDirectoryService.java

Does anyone know if this code is located in other files or totally removed?

Thanks!
/Peter
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Noah Botimer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter,

This is part of the transition to the "K1" kernel. That is, a bunch  
of modules were pulled together as the fundamental base of Sakai. It  
is just a repackaging for convenience and coherence. The only changes  
required to a project should be in the poms.

Sakai 2.6 depends on the 1.0 branch of K1, which lives here:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/


There are various posts to this list archived on how to update  
projects. If you are just looking to apply local modifications, you  
may want to look at the layout here. Once you get into the user/api  
directory, for example, it's all the same as the old user/user-api  
contents. It's pretty straightforward:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/ 
src/main/java/org/sakaiproject/


Thanks,
-Noah

On Nov 6, 2009, at 9:19 AM, Peter Krooks wrote:

> Hi all,
> during our lift from 2.5-2.6, we noticed that these files has  
> dissapeared in Sakai 2.6:
>
> /user/user-api/api/src/java/org/sakaiproject/user/api/
> UserDirectoryService.java
> /user/user-api/api/src/java/org/sakaiproject/user/cover/
> UserDirectoryService.java
>
> Does anyone know if this code is located in other files or totally  
> removed?
>
> Thanks!
> /Peter
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-
> unsubscribe@... with a subject of "unsubscribe"
>
>

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Seth Theriault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter Krooks wrote:

> during our lift from 2.5-2.6, we noticed that these files has
> dissapeared in Sakai 2.6:
>  
> /user/user-api/api/src/java/org/sakaiproject/user/api/UserDirectoryService.java
> /user/user-api/api/src/java/org/sakaiproject/user/cover/UserDirectoryService.java
>
> Does anyone know if this code is located in other files or totally removed?

Starting with 2.6, these files (and other parts of the core
framework) have moved into the Kernel. For more ifnormation, see:

http://confluence.sakaiproject.org/x/iAAiAQ

Seth
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Peter Krooks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
when looking in svn I see the file I want to modify: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/src/main/java/org/sakaiproject/user/api/UserDirectoryService.java

But the file is absent in our checkout,  wich was done like this (from documentation on http://confluence.sakaiproject.org/display/DOC/Overview+%282.6%29):
   
    To checkout a stable release tag issue the following svn command from the terminal:
    svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.0/ 
    ...
    Starting with Sakai 2.6, Sakai common services (e.g., authz, content, event, site, tool, user, etc.) have been repackaged and refactored as the Sakai Kernel (K1). In most cases, you will never have to check out the kernel manually as Sakai 2.6 kernel dependencies   are managed by Maven.

Do I need to check out the kernel separately?

regards,
Peter
Umdac, Umea University


________________________________________
Från: Noah Botimer [botimer@...]
Skickat: den 6 november 2009 15:31
Till: Peter Krooks
Kopia: sakai-dev@...
Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

Peter,

This is part of the transition to the "K1" kernel. That is, a bunch
of modules were pulled together as the fundamental base of Sakai. It
is just a repackaging for convenience and coherence. The only changes
required to a project should be in the poms.

Sakai 2.6 depends on the 1.0 branch of K1, which lives here:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/


There are various posts to this list archived on how to update
projects. If you are just looking to apply local modifications, you
may want to look at the layout here. Once you get into the user/api
directory, for example, it's all the same as the old user/user-api
contents. It's pretty straightforward:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/
src/main/java/org/sakaiproject/


Thanks,
-Noah

On Nov 6, 2009, at 9:19 AM, Peter Krooks wrote:

> Hi all,
> during our lift from 2.5-2.6, we noticed that these files has
> dissapeared in Sakai 2.6:
>
> /user/user-api/api/src/java/org/sakaiproject/user/api/
> UserDirectoryService.java
> /user/user-api/api/src/java/org/sakaiproject/user/cover/
> UserDirectoryService.java
>
> Does anyone know if this code is located in other files or totally
> removed?
>
> Thanks!
> /Peter
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-
> unsubscribe@... with a subject of "unsubscribe"
>
>

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Aaron Zeckoski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The kernel is distributed as a binary now. If you want the source you
have to check it out from here:
https://source.sakaiproject.org/svn/kernel/trunk (this is trunk)
or one of the tags here:
https://source.sakaiproject.org/svn/kernel/tags/
You probably want to grab the version of the kernel built for your
version of Sakai (just check your base POM).
-AZ


On Mon, Nov 9, 2009 at 9:49 AM, Peter Krooks <Peter.Krooks@...> wrote:

> Hi,
> when looking in svn I see the file I want to modify: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/src/main/java/org/sakaiproject/user/api/UserDirectoryService.java
>
> But the file is absent in our checkout,  wich was done like this (from documentation on http://confluence.sakaiproject.org/display/DOC/Overview+%282.6%29):
>
>    To checkout a stable release tag issue the following svn command from the terminal:
>    svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.0/
>    ...
>    Starting with Sakai 2.6, Sakai common services (e.g., authz, content, event, site, tool, user, etc.) have been repackaged and refactored as the Sakai Kernel (K1). In most cases, you will never have to check out the kernel manually as Sakai 2.6 kernel dependencies   are managed by Maven.
>
> Do I need to check out the kernel separately?
>
> regards,
> Peter
> Umdac, Umea University
>
>
> ________________________________________
> Från: Noah Botimer [botimer@...]
> Skickat: den 6 november 2009 15:31
> Till: Peter Krooks
> Kopia: sakai-dev@...
> Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6
>
> Peter,
>
> This is part of the transition to the "K1" kernel. That is, a bunch
> of modules were pulled together as the fundamental base of Sakai. It
> is just a repackaging for convenience and coherence. The only changes
> required to a project should be in the poms.
>
> Sakai 2.6 depends on the 1.0 branch of K1, which lives here:
>
> https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/
>
>
> There are various posts to this list archived on how to update
> projects. If you are just looking to apply local modifications, you
> may want to look at the layout here. Once you get into the user/api
> directory, for example, it's all the same as the old user/user-api
> contents. It's pretty straightforward:
>
> https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/
> src/main/java/org/sakaiproject/
>
>
> Thanks,
> -Noah
>
> On Nov 6, 2009, at 9:19 AM, Peter Krooks wrote:
>
>> Hi all,
>> during our lift from 2.5-2.6, we noticed that these files has
>> dissapeared in Sakai 2.6:
>>
>> /user/user-api/api/src/java/org/sakaiproject/user/api/
>> UserDirectoryService.java
>> /user/user-api/api/src/java/org/sakaiproject/user/cover/
>> UserDirectoryService.java
>>
>> Does anyone know if this code is located in other files or totally
>> removed?
>>
>> Thanks!
>> /Peter
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev@...
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-
>> unsubscribe@... with a subject of "unsubscribe"
>>
>>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"
>



--
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Noah Botimer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ahh, right. Yes, you do need to check it out separately. This is part  
of the convenience factor -- most people do not need to work on the  
kernel code, so it is not checked out with the standard "sakai" tags  
and a binary jar is used.

However, you can check it out and build it yourself (and also add a  
new entry to svn:externals if you like). Depending on whether you're  
building from a tag or 2.6.x, you may want to choose one of the  
kernel 1.0 tags or the 1.0.x branch.

Cheers,
-Noah

On Nov 9, 2009, at 4:49 AM, Peter Krooks wrote:

> Hi,
> when looking in svn I see the file I want to modify: https://
> source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/src/
> main/java/org/sakaiproject/user/api/UserDirectoryService.java
>
> But the file is absent in our checkout,  wich was done like this  
> (from documentation on http://confluence.sakaiproject.org/display/ 
> DOC/Overview+%282.6%29):
>
>     To checkout a stable release tag issue the following svn  
> command from the terminal:
>     svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.0/
>     ...
>     Starting with Sakai 2.6, Sakai common services (e.g., authz,  
> content, event, site, tool, user, etc.) have been repackaged and  
> refactored as the Sakai Kernel (K1). In most cases, you will never  
> have to check out the kernel manually as Sakai 2.6 kernel  
> dependencies   are managed by Maven.
>
> Do I need to check out the kernel separately?
>
> regards,
> Peter
> Umdac, Umea University
>
>
> ________________________________________
> Från: Noah Botimer [botimer@...]
> Skickat: den 6 november 2009 15:31
> Till: Peter Krooks
> Kopia: sakai-dev@...
> Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6
>
> Peter,
>
> This is part of the transition to the "K1" kernel. That is, a bunch
> of modules were pulled together as the fundamental base of Sakai. It
> is just a repackaging for convenience and coherence. The only changes
> required to a project should be in the poms.
>
> Sakai 2.6 depends on the 1.0 branch of K1, which lives here:
>
> https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/
>
>
> There are various posts to this list archived on how to update
> projects. If you are just looking to apply local modifications, you
> may want to look at the layout here. Once you get into the user/api
> directory, for example, it's all the same as the old user/user-api
> contents. It's pretty straightforward:
>
> https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/
> src/main/java/org/sakaiproject/
>
>
> Thanks,
> -Noah
>
> On Nov 6, 2009, at 9:19 AM, Peter Krooks wrote:
>
>> Hi all,
>> during our lift from 2.5-2.6, we noticed that these files has
>> dissapeared in Sakai 2.6:
>>
>> /user/user-api/api/src/java/org/sakaiproject/user/api/
>> UserDirectoryService.java
>> /user/user-api/api/src/java/org/sakaiproject/user/cover/
>> UserDirectoryService.java
>>
>> Does anyone know if this code is located in other files or totally
>> removed?
>>
>> Thanks!
>> /Peter
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev@...
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-
>> unsubscribe@... with a subject of "unsubscribe"
>>
>>
>
>
>

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Anthony Whyte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sakai 2.6.0 binds to kernel 1.0.11.


Sakai 2.6.1 binds to kernel 1.0.12


The 2.6.x branch (HEAD) binds currently to kernel 1.0.13-SNAPSHOT


You can confirm which version a Sakai tag/branch is using by checking the Sakai master pom <sakai.version.kernel> property:

Example

<sakai.kernel.version>1.0.11</sakai.kernel.version>
Cheers,

Anthony

On Nov 9, 2009, at 4:53 AM, Aaron Zeckoski wrote:

The kernel is distributed as a binary now. If you want the source you
have to check it out from here:
https://source.sakaiproject.org/svn/kernel/trunk (this is trunk)
or one of the tags here:
https://source.sakaiproject.org/svn/kernel/tags/
You probably want to grab the version of the kernel built for your
version of Sakai (just check your base POM).
-AZ


On Mon, Nov 9, 2009 at 9:49 AM, Peter Krooks <Peter.Krooks@...> wrote:
Hi,
when looking in svn I see the file I want to modify: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/src/main/java/org/sakaiproject/user/api/UserDirectoryService.java

But the file is absent in our checkout,  wich was done like this (from documentation on http://confluence.sakaiproject.org/display/DOC/Overview+%282.6%29):

   To checkout a stable release tag issue the following svn command from the terminal:
   svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.0/
   ...
   Starting with Sakai 2.6, Sakai common services (e.g., authz, content, event, site, tool, user, etc.) have been repackaged and refactored as the Sakai Kernel (K1). In most cases, you will never have to check out the kernel manually as Sakai 2.6 kernel dependencies   are managed by Maven.

Do I need to check out the kernel separately?

regards,
Peter
Umdac, Umea University


________________________________________
Från: Noah Botimer [botimer@...]
Skickat: den 6 november 2009 15:31
Till: Peter Krooks
Kopia: sakai-dev@...
Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

Peter,

This is part of the transition to the "K1" kernel. That is, a bunch
of modules were pulled together as the fundamental base of Sakai. It
is just a repackaging for convenience and coherence. The only changes
required to a project should be in the poms.

Sakai 2.6 depends on the 1.0 branch of K1, which lives here:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/


There are various posts to this list archived on how to update
projects. If you are just looking to apply local modifications, you
may want to look at the layout here. Once you get into the user/api
directory, for example, it's all the same as the old user/user-api
contents. It's pretty straightforward:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/
src/main/java/org/sakaiproject/


Thanks,
-Noah

On Nov 6, 2009, at 9:19 AM, Peter Krooks wrote:

Hi all,
during our lift from 2.5-2.6, we noticed that these files has
dissapeared in Sakai 2.6:

/user/user-api/api/src/java/org/sakaiproject/user/api/
UserDirectoryService.java
/user/user-api/api/src/java/org/sakaiproject/user/cover/
UserDirectoryService.java

Does anyone know if this code is located in other files or totally
removed?

Thanks!
/Peter
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-
unsubscribe@... with a subject of "unsubscribe"



_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"




--
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"





_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

smime.p7s (3K) Download Attachment

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Seth Theriault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Noah Botimer wrote:

> Ahh, right. Yes, you do need to check it out separately. This
> is part of the convenience factor -- most people do not need to
> work on the kernel code, so it is not checked out with the
> standard "sakai" tags and a binary jar is used.

Additionally, this model applies for all packages that have been
converted to "independent release" status. If you have local
changes in these "independent" packages, you will have to build
your own versions and manage them locally, possible through a
local maven repository or other method.

Seth

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Peter Krooks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
thank you for your help!
But I get an error in tests when downloading the kernel, adding it to my master-pom and building everything.
(When building the kernel first and the rest after without adding kernel to master pom, everything builds ok)

I put it first in the build order:

  </activation>
      <modules>
        <module>kernel-1.0.11</module>
        <module>blogwow</module>
        <module>sitestats</module>
        <module>melete</module>


The error I get is:

    -------------------------------------------------------
      T E S T S
    -------------------------------------------------------
    Running org.sakaiproject.test.ChildContextDependencyInjectionTest
    Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.028 sec <<< FAILURE!
    Running org.sakaiproject.test.SimpleDependencyInjectionTest
    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
    Running org.sakaiproject.test.SampleSakaiTest
    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.021 sec <<< FAILURE!

    Results :

   Tests in error:
     org.sakaiproject.test.SampleSakaiTest

   Tests run: 4, Failures: 0, Errors: 4, Skipped: 0

    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] There are test failures.
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 7 minutes 49 seconds


Any ideas?
regards,
Peter
________________________________________
Från: Anthony Whyte [arwhyte@...]
Skickat: den 9 november 2009 16:04
Till: Peter Krooks
Kopia: Developers List; Zeckoski Aaron
Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

Sakai 2.6.0 binds to kernel 1.0.11.

https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0.11/

Sakai 2.6.1 binds to kernel 1.0.12

https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0.12/

The 2.6.x branch (HEAD) binds currently to kernel 1.0.13-SNAPSHOT

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/

You can confirm which version a Sakai tag/branch is using by checking the Sakai master pom <sakai.version.kernel> property:

Example

https://source.sakaiproject.org/svn/master/tags/sakai-2.6.0/pom.xml

<sakai.kernel.version>1.0.11</sakai.kernel.version>

Cheers,

Anthony

On Nov 9, 2009, at 4:53 AM, Aaron Zeckoski wrote:

The kernel is distributed as a binary now. If you want the source you
have to check it out from here:
https://source.sakaiproject.org/svn/kernel/trunk (this is trunk)
or one of the tags here:
https://source.sakaiproject.org/svn/kernel/tags/
You probably want to grab the version of the kernel built for your
version of Sakai (just check your base POM).
-AZ


On Mon, Nov 9, 2009 at 9:49 AM, Peter Krooks <Peter.Krooks@...> wrote:
Hi,
when looking in svn I see the file I want to modify: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/src/main/java/org/sakaiproject/user/api/UserDirectoryService.java

But the file is absent in our checkout,  wich was done like this (from documentation on http://confluence.sakaiproject.org/display/DOC/Overview+%282.6%29):

   To checkout a stable release tag issue the following svn command from the terminal:
   svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.0/
   ...
   Starting with Sakai 2.6, Sakai common services (e.g., authz, content, event, site, tool, user, etc.) have been repackaged and refactored as the Sakai Kernel (K1). In most cases, you will never have to check out the kernel manually as Sakai 2.6 kernel dependencies   are managed by Maven.

Do I need to check out the kernel separately?

regards,
Peter
Umdac, Umea University


________________________________________
Från: Noah Botimer [botimer@...]
Skickat: den 6 november 2009 15:31
Till: Peter Krooks
Kopia: sakai-dev@...
Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

Peter,

This is part of the transition to the "K1" kernel. That is, a bunch
of modules were pulled together as the fundamental base of Sakai. It
is just a repackaging for convenience and coherence. The only changes
required to a project should be in the poms.

Sakai 2.6 depends on the 1.0 branch of K1, which lives here:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/


There are various posts to this list archived on how to update
projects. If you are just looking to apply local modifications, you
may want to look at the layout here. Once you get into the user/api
directory, for example, it's all the same as the old user/user-api
contents. It's pretty straightforward:

https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/
src/main/java/org/sakaiproject/


Thanks,
-Noah

On Nov 6, 2009, at 9:19 AM, Peter Krooks wrote:

Hi all,
during our lift from 2.5-2.6, we noticed that these files has
dissapeared in Sakai 2.6:

/user/user-api/api/src/java/org/sakaiproject/user/api/
UserDirectoryService.java
/user/user-api/api/src/java/org/sakaiproject/user/cover/
UserDirectoryService.java

Does anyone know if this code is located in other files or totally
removed?

Thanks!
/Peter
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-
unsubscribe@... with a subject of "unsubscribe"



_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"




--
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"



_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] moved/removed javacode 2.5 - 2.6

by Steve Swinsburg-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Build the kernel separately, ie mvn clean install sakai:deploy in the  
kernel directory. Then it will be in your local repo and you can just  
build Sakai and any custom tools against it.

By the way, the order of modules in the POM doesn't matter, Maven  
figures it out so any dependencies are built first.

cheers,
Steve


On 12/11/2009, at 11:36 PM, Peter Krooks wrote:

> Hi,
> thank you for your help!
> But I get an error in tests when downloading the kernel, adding it  
> to my master-pom and building everything.
> (When building the kernel first and the rest after without adding  
> kernel to master pom, everything builds ok)
>
> I put it first in the build order:
>
>  </activation>
>      <modules>
>        <module>kernel-1.0.11</module>
>        <module>blogwow</module>
>        <module>sitestats</module>
>        <module>melete</module>
>
>
> The error I get is:
>
>    -------------------------------------------------------
>      T E S T S
>    -------------------------------------------------------
>    Running org.sakaiproject.test.ChildContextDependencyInjectionTest
>    Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed:  
> 0.028 sec <<< FAILURE!
>    Running org.sakaiproject.test.SimpleDependencyInjectionTest
>    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:  
> 0.031 sec <<< FAILURE!
>    Running org.sakaiproject.test.SampleSakaiTest
>    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:  
> 0.021 sec <<< FAILURE!
>
>    Results :
>
>   Tests in error:
>     org.sakaiproject.test.SampleSakaiTest
>
>   Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
>
>    [INFO]  
> ------------------------------------------------------------------------
>    [ERROR] BUILD FAILURE
>    [INFO]  
> ------------------------------------------------------------------------
>    [INFO] There are test failures.
>    [INFO]  
> ------------------------------------------------------------------------
>    [INFO] For more information, run Maven with the -e switch
>    [INFO]  
> ------------------------------------------------------------------------
>    [INFO] Total time: 7 minutes 49 seconds
>
>
> Any ideas?
> regards,
> Peter
> ________________________________________
> Från: Anthony Whyte [arwhyte@...]
> Skickat: den 9 november 2009 16:04
> Till: Peter Krooks
> Kopia: Developers List; Zeckoski Aaron
> Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6
>
> Sakai 2.6.0 binds to kernel 1.0.11.
>
> https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0.11/
>
> Sakai 2.6.1 binds to kernel 1.0.12
>
> https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0.12/
>
> The 2.6.x branch (HEAD) binds currently to kernel 1.0.13-SNAPSHOT
>
> https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/
>
> You can confirm which version a Sakai tag/branch is using by  
> checking the Sakai master pom <sakai.version.kernel> property:
>
> Example
>
> https://source.sakaiproject.org/svn/master/tags/sakai-2.6.0/pom.xml
>
> <sakai.kernel.version>1.0.11</sakai.kernel.version>
>
> Cheers,
>
> Anthony
>
> On Nov 9, 2009, at 4:53 AM, Aaron Zeckoski wrote:
>
> The kernel is distributed as a binary now. If you want the source you
> have to check it out from here:
> https://source.sakaiproject.org/svn/kernel/trunk (this is trunk)
> or one of the tags here:
> https://source.sakaiproject.org/svn/kernel/tags/
> You probably want to grab the version of the kernel built for your
> version of Sakai (just check your base POM).
> -AZ
>
>
> On Mon, Nov 9, 2009 at 9:49 AM, Peter Krooks <Peter.Krooks@...
> > wrote:
> Hi,
> when looking in svn I see the file I want to modify: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/src/main/java/org/sakaiproject/user/api/UserDirectoryService.java
>
> But the file is absent in our checkout,  wich was done like this  
> (from documentation on http://confluence.sakaiproject.org/display/DOC/Overview+%282.6%29 
> ):
>
>   To checkout a stable release tag issue the following svn command  
> from the terminal:
>   svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.6.0/
>   ...
>   Starting with Sakai 2.6, Sakai common services (e.g., authz,  
> content, event, site, tool, user, etc.) have been repackaged and  
> refactored as the Sakai Kernel (K1). In most cases, you will never  
> have to check out the kernel manually as Sakai 2.6 kernel  
> dependencies   are managed by Maven.
>
> Do I need to check out the kernel separately?
>
> regards,
> Peter
> Umdac, Umea University
>
>
> ________________________________________
> Från: Noah Botimer [botimer@...]
> Skickat: den 6 november 2009 15:31
> Till: Peter Krooks
> Kopia: sakai-dev@...
> Ämne: Re: [Building Sakai] moved/removed javacode 2.5 - 2.6
>
> Peter,
>
> This is part of the transition to the "K1" kernel. That is, a bunch
> of modules were pulled together as the fundamental base of Sakai. It
> is just a repackaging for convenience and coherence. The only changes
> required to a project should be in the poms.
>
> Sakai 2.6 depends on the 1.0 branch of K1, which lives here:
>
> https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/
>
>
> There are various posts to this list archived on how to update
> projects. If you are just looking to apply local modifications, you
> may want to look at the layout here. Once you get into the user/api
> directory, for example, it's all the same as the old user/user-api
> contents. It's pretty straightforward:
>
> https://source.sakaiproject.org/svn/kernel/branches/kernel-1.0.x/api/
> src/main/java/org/sakaiproject/
>
>
> Thanks,
> -Noah
>
> On Nov 6, 2009, at 9:19 AM, Peter Krooks wrote:
>
> Hi all,
> during our lift from 2.5-2.6, we noticed that these files has
> dissapeared in Sakai 2.6:
>
> /user/user-api/api/src/java/org/sakaiproject/user/api/
> UserDirectoryService.java
> /user/user-api/api/src/java/org/sakaiproject/user/cover/
> UserDirectoryService.java
>
> Does anyone know if this code is located in other files or totally
> removed?
>
> Thanks!
> /Peter
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-
> unsubscribe@... with a subject of "unsubscribe"
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
>  with a subject of "unsubscribe"
>
>
>
>
> --
> Aaron Zeckoski (azeckoski (at) vt.edu)
> Senior Research Engineer - CARET - University of Cambridge
> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
> http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
>  with a subject of "unsubscribe"
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
>  with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"