[Building Sakai] Build path problem.

gayan sukumal wiharagoda gayanwiharagoda at gmail.com
Mon May 21 00:12:32 PDT 2012


Hi Steve,
That was the thing that  I asked. There is no any error in
content-tool module.
Regards,
Gayan.

On Mon, May 21, 2012 at 12:35 PM, Steve Swinsburg <steve.swinsburg at gmail.com
> wrote:

> Hi Gayan,
>
> I'm not sure what you mean. Using the command line you can build any
> module by itself (eg content or roster or rwiki) via mvn clean install
> sakai:deploy.
>
> Having the module imported into eclipse just makes it easier for
> development.
>
> Steve
>
>
>
> On 21/05/2012, at 4:41 PM, gayan sukumal wiharagoda wrote:
>
> Hi Steve,
> even now there is no any dependencies on content-tool. Do I need to build
> hole project again. Can't I build a one module in command line
> regards,
> Gayan.
>
> On Mon, May 21, 2012 at 12:02 PM, Steve Swinsburg <
> steve.swinsburg at gmail.com> wrote:
>
>> I think you might need to re-add this project to eclipse. You shouldn't
>> be getting this many errors.
>>
>> Do this:
>>
>> 1. remove project
>> 2. in eclipse, file, new, java project
>> 3. navigate to content module in your source code
>> 4. add
>> 5. resolve the build path issues for just the content-tool section. You
>> should only need to have:
>>
>> commons-lang
>> commons-logging
>> sakai-component-manager
>> sakai-kernel-api
>> sakai-kernel-util
>> sakai-velocity-tool
>>
>> 6. do all builds via command line.
>>
>>
>>
>> On 21/05/2012, at 4:08 PM, gayan sukumal wiharagoda wrote:
>>
>> Hi,
>> ResourceEventVoter cannot be resolved to a type
>> ResourceEventVoterHelper cannot be resolved to a type
>> now I have these errors. I dont have any dependencies in content-tool.
>> Don't I need to fix other dependencies.
>>
>> regards,
>> Gayan.
>>
>> On Mon, May 21, 2012 at 9:42 AM, Steve Swinsburg <
>> steve.snwinsburg at gmail.com <steve.swinsburg at gmail.com>> wrote:
>>
>>> Assuming you have built Sakai, then these can be found in your local
>>> maven repo.
>>>
>>> So edit the build path manually and navigate to the jars
>>>
>>> The import org.sakaiproject.coursemanagement cannot be resolved
>>>
>>>
>>> org/sakaiproject/edu-services/...
>>>
>>> The import org.sakaiproject.test cannot be resolved
>>>
>>>
>>> This one is also in the kernel, test-harness module.
>>>
>>> For your current purposes though (GSoC project) you'll only need to make
>>> sure the content-tool part has its dependencies resolved, the rest you can
>>> ignore.
>>>
>>> cheers,
>>> Steve
>>>
>>> On 21/05/2012, at 12:50 PM, gayan sukumal wiharagoda wrote:
>>>
>>> Hi,
>>> The import org.sakaiproject.coursemanagement cannot be resolved
>>> The import org.sakaiproject.test cannot be resolved
>>> These are the errors that shown to me now.
>>> regards,
>>> Gayan.
>>>
>>> On Mon, May 21, 2012 at 8:14 AM, Steve Swinsburg <
>>> steve.swinsburg at gmail.com> wrote:
>>>
>>>> The best solution is to fix the build path issues in Eclipse so it is
>>>> happy (no red lines and code hints are working again), then build via Maven
>>>> on the command line.
>>>>
>>>> Without seeing the issues that it is presenting, it is difficult to
>>>> tell what the problem is.
>>>>
>>>> cheers,
>>>> Steve
>>>>
>>>>
>>>> On 21/05/2012, at 12:16 PM, gayan sukumal wiharagoda wrote:
>>>>
>>>> Hi ,
>>>> When I fix that error and clean and build trough the eclipse meven
>>>> plugin it gives some other errors. Is there any reason for that.
>>>>
>>>> regards,
>>>> Gayan.
>>>>
>>>> On Mon, May 21, 2012 at 4:37 AM, Steve Swinsburg <
>>>> steve.swinsburg at gmail.com> wrote:
>>>>
>>>>> Hi Gayan:
>>>>>
>>>>> org.sakaiproject.content.api.ContentHostingService
>>>>>>
>>>>>
>>>>> sakai-kernel-api
>>>>>
>>>>> org.sakaiproject.component
>>>>>
>>>>>
>>>>> sakai-component-mananger
>>>>>
>>>>> cheers,
>>>>> Steve
>>>>>
>>>>>
>>>>> On 20/05/2012, at 9:22 PM, gayan sukumal wiharagoda wrote:
>>>>>
>>>>> Hi,
>>>>>  This is the only erro now remian(I am using Sakai 2.9, maven 2,).
>>>>> Error is come when import the content package.
>>>>> The import org.sakaiproject.component cannot be resolved
>>>>>
>>>>> regards,
>>>>> Gayan.
>>>>>
>>>>> On Sun, May 20, 2012 at 5:30 AM, gayan sukumal wiharagoda <
>>>>> gayanwiharagoda at gmail.com> wrote:
>>>>>
>>>>>> Hi
>>>>>> I got the following error. What is the library that I want to import.
>>>>>> Can some one help me.
>>>>>>
>>>>>> Cannot find the class file for
>>>>>> org.sakaiproject.content.api.ContentHostingService. Fix the build path then
>>>>>> try building this project
>>>>>>
>>>>>> regards,
>>>>>> Gayan.
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> sakai-dev mailing list
>>>>> 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 with a subject of
>>>>> "unsubscribe"
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120521/766045d3/attachment.html 


More information about the sakai-dev mailing list