[Deploying Sakai] Source Install
Steve Swinsburg
steve.swinsburg at gmail.com
Fri Mar 11 22:07:09 PST 2011
You run mvn clean install ... from either the root of the Sakai source if you want to install everything, or from a module if you want to install just that module. So for the LDAP work you'd do it just from the providers directory.
cheers,
Steve
On 12/03/2011, at 4:15 PM, Larry Dougher wrote:
> I know I did that when I was following along with Zach's video. Obviously I didn't do it correctly. Should I run that from ~/ or /sakai-2.7.0 or does it matter?
>
> Thanks Steve,
>
> Larry
>
> Sent from my iPhone
>
> On Mar 12, 2011, at 12:12 AM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
>
>> Hi Larry,
>>
>> Maven is telling you whats up.
>>
>>> [INFO] One or more required plugin parameters are invalid/missing for 'sakai:deploy'
>>>
>>> [0] Inside the definition for plugin 'sakai' specify the following:
>>>
>>> <configuration>
>>> ...
>>> <deployDirectory>VALUE</deployDirectory>
>>> </configuration>
>>>
>>> -OR-
>>>
>>> on the command line, specify: '-Dmaven.tomcat.home=VALUE'
>>
>>
>> You need to specify:
>>
>> -Dmaven.tomcat.home=VALUE
>>
>> Just as you would have had to when you initially built Sakai. You can either set this in your settings.xml for maven, or on the command line, ie
>> mvn clean install sakai:deploy -Dmaven.tomcat.home=/path/to/your/tomcat
>>
>> cheers,
>> Steve
>>
>>
>>
>> On 12/03/2011, at 4:00 PM, Larry Dougher wrote:
>>
>>> Hi Steve,
>>>
>>> I have followed your LDAP directions and think I have uncommented and edited the xml files I need to but when I went to go rebuild and redeploy the providers project I got a Build Error so I don't think it took. Here it is:
>>>
>>> pstest:~ admin$ cd sakai-2.7.0/providers/
>>> pstest:providers admin$ mvn clean install sakai:deploy
>>> [INFO] Scanning for projects...
>>> [INFO] Reactor build order:
>>> [INFO] Sakai Providers Project
>>> [INFO] sakai-allhands-provider
>>> [INFO] sakai-coursemanagement-authz-provider-impl
>>> [INFO] sakai-coursemanagement-authz-provider-impl
>>> [INFO] sakai-sample-provider
>>> [INFO] sakai-jldap-provider-mock
>>> [INFO] sakai-jldap-provider
>>> [INFO] sakai-provider-pack
>>> [INFO] sakai-federating-provider
>>> [INFO] sakai-imsent-provider
>>> [INFO] sakai-kerberos-provider
>>> [INFO] sakai-openldap-provider
>>> WAGON_VERSION: 1.0-beta-2
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Building Sakai Providers Project
>>> [INFO] task-segment: [clean, install, sakai:deploy]
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] [clean:clean {execution: default-clean}]
>>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>>> [INFO] [install:install {execution: default-install}]
>>> [INFO] Installing /Users/admin/sakai-2.7.0/providers/pom.xml to /Users/admin/.m2/repository/org/sakaiproject/providers-base/2.7.0/providers-base-2.7.0.pom
>>> [INFO] ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] One or more required plugin parameters are invalid/missing for 'sakai:deploy'
>>>
>>> [0] Inside the definition for plugin 'sakai' specify the following:
>>>
>>> <configuration>
>>> ...
>>> <deployDirectory>VALUE</deployDirectory>
>>> </configuration>
>>>
>>> -OR-
>>>
>>> on the command line, specify: '-Dmaven.tomcat.home=VALUE'
>>>
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Total time: 4 seconds
>>> [INFO] Finished at: Fri Mar 11 23:57:14 EST 2011
>>> [INFO] Final Memory: 23M/79M
>>>
>>>
>>> Thanks,
>>>
>>> Larry Dougher
>>> Technology Coordinator / ACSP 10.6 / ACMT
>>> Windsor School District
>>> http://windsorschools.net
>>>
>>>
>>>
>>> On Fri, Mar 11, 2011 at 7:55 AM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
>>> Hi Larry,
>>>
>>> Zach has a couple of videos here.
>>> http://aeroplanesoftware.com/sakai-training-videos/
>>>
>>> But for LDAP you could use this guide:
>>> https://confluence.sakaiproject.org/display/~steve.swinsburg/LDAP+in+Sakai+2.5
>>>
>>> Generally there are articles or instructions around for most customisations you need.
>>>
>>> cheers,
>>> Steve
>>>
>>>
>>> On 11/03/2011, at 11:50 PM, Larry Dougher wrote:
>>>
>>>> Hello,
>>>>
>>>> I was wondering if there was any video/documentation of a source install for Sakai? I have a binary install done, but from what I understand I need a source install for LDAP syncing, correct?
>>>>
>>>> Thanks for all your help!,
>>>>
>>>> Larry Dougher
>>>> Technology Coordinator / ACSP 10.6 / ACMT
>>>> Windsor School District
>>>> http://windsorschools.net
>>>>
>>>> _______________________________________________
>>>> production mailing list
>>>> production at collab.sakaiproject.org
>>>>
>>>> http://collab.sakaiproject.org/mailman/listinfo/production
>>>>
>>>> TO UNSUBSCRIBE: send email to production-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20110312/eec56852/attachment.html
More information about the production
mailing list