[Building Sakai] Add opencsv to shared.

Steve Swinsburg steve.swinsburg at gmail.com
Thu Oct 17 16:37:06 PDT 2013


Hi Brian,

I resolved this in a similar way. It does mean that there are multiple jars
for the same dependency all over the place, but its a tiny library so its
an acceptable tradeoff.

regards,
Steve


On Wed, Oct 16, 2013 at 3:03 AM, Brian Baillargeon <bbailla2 at uwo.ca> wrote:

> I've been working on a quartz job with opencsv, and hopefully this is
> fruitful:
>
> My project is called owl-quartz-jobs, and it has two subprojects -
> owl-quartz-jobs and owl-quartz-pack. owl-quartz-jobs contains the source
> code, owl-quartz-pack contains components.xml.
> When running the job, I was having NoClassDefFoundErrors on the CSVReader,
> then in owl-quartz-jobs' pom.xml, I changed:
> <deploy.target>shared</deploy.**target>
> to
> <deploy.target/>.
> At first, the issue persisted, but then I realized there was an old jar in
> shared/lib. Upon deleting the old jar, everything seems to be deploying to
> owl-quartz-pack in components, and the job has been working for me.
>
> If I'm not mistaken, I believe sakora-csv works this way too.
>
> Thanks,
> Brian Baillargeon
>
>
> On 13-10-14 06:45 AM, Aaron Zeckoski wrote:
>
>> Related jira:
>> https://jira.sakaiproject.org/**browse/SAK-25287<https://jira.sakaiproject.org/browse/SAK-25287>
>>
>> -AZ
>>
>>
>> On Mon, Oct 14, 2013 at 6:22 AM, Steve Swinsburg
>> <steve.swinsburg at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have a requirement to add the opencsv library to shared/lib. This
>>> particular library does not work when run from a quartz job in a
>>> component
>>> and thus needs to be somewhere visible, thus shared/lib.
>>>
>>> Deploying libraries to shared/lib is a common pattern used within Tomcat.
>>>
>>> In addition, other tools such as assignments and kernel use this library
>>> (and the same version), and adding this to shared/lib will mean less
>>> duplication.
>>>
>>> The library is 20Kb in size.
>>>
>>> Please get back to me with any issues. In the absence of any major
>>> objection
>>> I plan to commit this change in the next day or so.
>>>
>>> thanks,
>>> Steve
>>>
>>>
>>> ______________________________**_________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.**org <sakai-dev at collab.sakaiproject.org>
>>> http://collab.sakaiproject.**org/mailman/listinfo/sakai-dev<http://collab.sakaiproject.org/mailman/listinfo/sakai-dev>
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.**
>>> sakaiproject.org <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/20131018/77afe12b/attachment.html 


More information about the sakai-dev mailing list