Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] org.eclipse.emf.teneo.libraries and commons-logging
[Teneo] org.eclipse.emf.teneo.libraries and commons-logging [message #117816] Fri, 11 April 2008 20:48 Go to next message
Paul Gardiner is currently offline Paul GardinerFriend
Messages: 94
Registered: July 2009
Member
I am having issues because org.eclipse.emf.teneo requires the
org.eclipse.emf.teneo.libraries bundle, which exports commons-logging. The
problem comes up when other bundles are also using commons-logging, and
interact with bundles using teneo.

Ideally, it would be nice if the libraries bundle just went away, and you
put an Import-Package for the commons-logging api's in
org.eclipse.emf.teneo, but a simple workaround is to put an Import-Package
in the libraries bundle, so that the internal jar file is only used if
commons-logging is not present. All that is needed is:

Import-Package: org.apache.commons.logging

in org.eclipse.emf.teneo.libraries' manifest file. I am doing that right
now as a workaround, but would like somethig more permanent.

Thanks,
Paul
Re: [Teneo] org.eclipse.emf.teneo.libraries and commons-logging [message #117866 is a reply to message #117816] Fri, 11 April 2008 23:37 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Adding import-package to the libraries bundle did not seem to work (got build issues). Instead I
changed the dependencies of the other plugins to import-package (instead of the dependency on the
libraries plugin). This worked and all the testcases pass. This approach will also work for you I guess?
This will then be in the next build of Teneo (this weekend).

gr. Martin

Paul Gardiner wrote:
> I am having issues because org.eclipse.emf.teneo requires the
> org.eclipse.emf.teneo.libraries bundle, which exports commons-logging. The
> problem comes up when other bundles are also using commons-logging, and
> interact with bundles using teneo.
>
> Ideally, it would be nice if the libraries bundle just went away, and you
> put an Import-Package for the commons-logging api's in
> org.eclipse.emf.teneo, but a simple workaround is to put an Import-Package
> in the libraries bundle, so that the internal jar file is only used if
> commons-logging is not present. All that is needed is:
>
> Import-Package: org.apache.commons.logging
>
> in org.eclipse.emf.teneo.libraries' manifest file. I am doing that right
> now as a workaround, but would like somethig more permanent.
>
> Thanks,
> Paul
>
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] org.eclipse.emf.teneo.libraries and commons-logging [message #117890 is a reply to message #117866] Sat, 12 April 2008 00:19 Go to previous message
Paul Gardiner is currently offline Paul GardinerFriend
Messages: 94
Registered: July 2009
Member
Martin,

Thanks a lot. Yes, that sounds great. I'll try it out Monday morning.

Paul
"Martin Taal" <mtaal@elver.org> wrote in message
news:ftosne$5i5$1@build.eclipse.org...
> Adding import-package to the libraries bundle did not seem to work (got
> build issues). Instead I changed the dependencies of the other plugins to
> import-package (instead of the dependency on the libraries plugin). This
> worked and all the testcases pass. This approach will also work for you I
> guess?
> This will then be in the next build of Teneo (this weekend).
>
> gr. Martin
>
> Paul Gardiner wrote:
>> I am having issues because org.eclipse.emf.teneo requires the
>> org.eclipse.emf.teneo.libraries bundle, which exports commons-logging.
>> The problem comes up when other bundles are also using commons-logging,
>> and interact with bundles using teneo.
>>
>> Ideally, it would be nice if the libraries bundle just went away, and you
>> put an Import-Package for the commons-logging api's in
>> org.eclipse.emf.teneo, but a simple workaround is to put an
>> Import-Package in the libraries bundle, so that the internal jar file is
>> only used if commons-logging is not present. All that is needed is:
>>
>> Import-Package: org.apache.commons.logging
>>
>> in org.eclipse.emf.teneo.libraries' manifest file. I am doing that right
>> now as a workaround, but would like somethig more permanent.
>>
>> Thanks,
>> Paul
>>
>>
>>
>
>
> --
>
> With Regards, Martin Taal
>
> Springsite/Elver.org
> Office: Hardwareweg 4, 3821 BV Amersfoort
> Postal: Nassaulaan 7, 3941 EC Doorn
> The Netherlands
> Tel: +31 (0)84 420 2397
> Fax: +31 (0)84 225 9307
> Mail: mtaal@springsite.com - mtaal@elver.org
> Web: www.springsite.com - www.elver.org
Re: [Teneo] org.eclipse.emf.teneo.libraries and commons-logging [message #616215 is a reply to message #117816] Fri, 11 April 2008 23:37 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Adding import-package to the libraries bundle did not seem to work (got build issues). Instead I
changed the dependencies of the other plugins to import-package (instead of the dependency on the
libraries plugin). This worked and all the testcases pass. This approach will also work for you I guess?
This will then be in the next build of Teneo (this weekend).

gr. Martin

Paul Gardiner wrote:
> I am having issues because org.eclipse.emf.teneo requires the
> org.eclipse.emf.teneo.libraries bundle, which exports commons-logging. The
> problem comes up when other bundles are also using commons-logging, and
> interact with bundles using teneo.
>
> Ideally, it would be nice if the libraries bundle just went away, and you
> put an Import-Package for the commons-logging api's in
> org.eclipse.emf.teneo, but a simple workaround is to put an Import-Package
> in the libraries bundle, so that the internal jar file is only used if
> commons-logging is not present. All that is needed is:
>
> Import-Package: org.apache.commons.logging
>
> in org.eclipse.emf.teneo.libraries' manifest file. I am doing that right
> now as a workaround, but would like somethig more permanent.
>
> Thanks,
> Paul
>
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] org.eclipse.emf.teneo.libraries and commons-logging [message #616219 is a reply to message #117866] Sat, 12 April 2008 00:19 Go to previous message
Paul Gardiner is currently offline Paul GardinerFriend
Messages: 94
Registered: July 2009
Member
Martin,

Thanks a lot. Yes, that sounds great. I'll try it out Monday morning.

Paul
"Martin Taal" <mtaal@elver.org> wrote in message
news:ftosne$5i5$1@build.eclipse.org...
> Adding import-package to the libraries bundle did not seem to work (got
> build issues). Instead I changed the dependencies of the other plugins to
> import-package (instead of the dependency on the libraries plugin). This
> worked and all the testcases pass. This approach will also work for you I
> guess?
> This will then be in the next build of Teneo (this weekend).
>
> gr. Martin
>
> Paul Gardiner wrote:
>> I am having issues because org.eclipse.emf.teneo requires the
>> org.eclipse.emf.teneo.libraries bundle, which exports commons-logging.
>> The problem comes up when other bundles are also using commons-logging,
>> and interact with bundles using teneo.
>>
>> Ideally, it would be nice if the libraries bundle just went away, and you
>> put an Import-Package for the commons-logging api's in
>> org.eclipse.emf.teneo, but a simple workaround is to put an
>> Import-Package in the libraries bundle, so that the internal jar file is
>> only used if commons-logging is not present. All that is needed is:
>>
>> Import-Package: org.apache.commons.logging
>>
>> in org.eclipse.emf.teneo.libraries' manifest file. I am doing that right
>> now as a workaround, but would like somethig more permanent.
>>
>> Thanks,
>> Paul
>>
>>
>>
>
>
> --
>
> With Regards, Martin Taal
>
> Springsite/Elver.org
> Office: Hardwareweg 4, 3821 BV Amersfoort
> Postal: Nassaulaan 7, 3941 EC Doorn
> The Netherlands
> Tel: +31 (0)84 420 2397
> Fax: +31 (0)84 225 9307
> Mail: mtaal@springsite.com - mtaal@elver.org
> Web: www.springsite.com - www.elver.org
Previous Topic:[CDO 0.8.0] CDOSessionImpl registerEPackage
Next Topic:[Net4j] newbee: Example for a simple server and client
Goto Forum:
  


Current Time: Fri Apr 19 05:14:53 GMT 2024

Powered by FUDForum. Page generated in 0.03517 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top