Forum Problems Installing LAMS: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?


 
Search: 

17: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 15 06/29/09 05:44 PM
[ Reply | Forward ]
So the library containing
: class ExtServerToolAdapterMap
[javac] location: package org.lamsfoundation.lams.integration
[javac] import org.lamsfoundation.lams.integration.ExtServerToolAdapterMap;
[javac]

does not exist anywhere in my checkout of the code specified, or in my lams 2.3 install. Did I miss a step of something to checkout?

Posted by Dave Bauer

21: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 17 06/29/09 06:09 PM
[ Reply | Forward ]
Hi Dave,

The ExtServerToolAdapterMap code is actually new to 2.3.1, so you'll need to check out from the lams2_3_1 tag to get the latest for both tool adapter and core. This new class was part of a feature to allow multiple integrated moodle servers to use the tooladapter.

Try checking out from the lams2_3_1 tag.

Luke

Posted by Luke Foxton

22: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 21 06/29/09 07:03 PM
[ Reply | Forward ]
Ok one more dumb question then I'll go away for a bit and work.

If I checkout the lams 2.3.1 tag, is there other stuff in there besides the external tool adapter I need?

Perhaps another solution would have been to checkout the moodle adapters from an earlier date instead of HEAD?

Posted by Dave Bauer

23: Re: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 22 06/29/09 07:11 PM
[ Reply | Forward ]
Yes,

You need at least the lams_build project, which contains all the core jar files needed to compile the other projects.

Check out this page for more info about building lams:
http://wiki.lamsfoundation.org/display/lams/Building+LAMS

Basically, before building you will need to edit the lams_build/common.properties to make sure its configured to talk to your database, and is set to either windows or unix. You'll also need to edit the <your os type>.properties file to point the builder to the correct locations on your server.

Then you can run the tool's deploy-tool ant task and it should hopefully work.

Good luck

Luke

Posted by Luke Foxton

24: Re: Re: Re: Re: Re: Re: Re: How to use Moodle 1.9.4 activities in LAMS 2.2?
In response to 23 06/29/09 07:15 PM
[ Reply | Forward ]
Yes, I did this, checking out lams_build from HEAD.

It did not seem to work, it was missing the ExtToolAdapaterMap class which appears to be in a different module from my cvs browsing. I checked out the whole 2_3_1 tree and I'll try to build it and let you know.

Thanks for the help!

Posted by Dave Bauer

Reply to first post on this page
Back to Problems Installing LAMS