You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Edith Chevrier <ed...@wyona.com> on 2005/08/30 14:09:43 UTC

Library question

Hi,

i need the commons-codec-1.3.jar library (to fix the SMTP class in 
lenya-1.2, bug#36115), which is already in cocoon, but only as optional 
library. To make it available the slide block and those one, on which 
the slide block depends, must be included. An other possibility is to 
distribute commons-codec-1.3.jar with lenya too.

WDYT?

Edith

-- 
Edith Chevrier
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                          http://lenya.apache.org
edith.chevrier@wyona.com                         edith@apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Library question

Posted by Michael Wechner <mi...@wyona.com>.
Edith Chevrier wrote:

> Michael Wechner wrote:
>
>> Edith Chevrier wrote:
>>
>>> Hi,
>>>
>>> i need the commons-codec-1.3.jar library (to fix the SMTP class in 
>>> lenya-1.2, bug#36115), which is already in cocoon, but only as 
>>> optional library. To make it available the slide block and those 
>>> one, on which the slide block depends, must be included. An other 
>>> possibility is to distribute commons-codec-1.3.jar with lenya too.
>>>
>>> WDYT?
>>
>>
>>
>>
>> another possibility would be to ship it Lenya within
>>
>> LENYA_1_2_X/src/webapp/WEB-INF/lib/...
>>
> It doesn't work, because those libs are copied in build only after the 
> compilation.


this means we should change the build, because this is the place where
one can overwrite libraries which are being shipped with Cocoon.

But actually this used to work, because we used that for the Lucene library
as long as Cocoon didn't ship the 1.4 version.

I will check it later.

>
>
> Why not in LENYA_1_2_X/lib/... ?


because this for additional libraries which are not being shipped
with Cocoon

>
> What is the purpose of the lib in 
> LENYA_1_2_X/src/webapp/WEB-INF/lib/... ?


see above. IIUC the library you added might be part of Cocoon, so I think
it should be within this directory.

Michi

>
> Edith
>
>> HTH
>>
>> Michi
>>
>>>
>>> Edith
>>>
>>
>>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Library question

Posted by Michael Wechner <mi...@wyona.com>.
Edith Chevrier wrote:

> Gregor J. Rothfuss wrote:
>
>> Edith Chevrier wrote:
>>
>>> Why not in LENYA_1_2_X/lib/... ?
>>>
>>> What is the purpose of the lib in 
>>> LENYA_1_2_X/src/webapp/WEB-INF/lib/... ?
>>
>>
>>
>> none. i removed it, but someone re-added it for no good reason.
>>
> Ok. So i put the commons-codec-1.3.jar library in LENYA_1_2_X/lib/...


as said in my other email I think it makes more sense to add it
to the other dir, because this way you might end up with two different
versions within the build (if the appropriate block is enabled) and
it can lead to confusing problems.

Michi

>
> Edith
>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Library question

Posted by Edith Chevrier <ed...@wyona.com>.
Gregor J. Rothfuss wrote:

> Edith Chevrier wrote:
>
>> Why not in LENYA_1_2_X/lib/... ?
>>
>> What is the purpose of the lib in 
>> LENYA_1_2_X/src/webapp/WEB-INF/lib/... ?
>
>
> none. i removed it, but someone re-added it for no good reason.
>
Ok. So i put the commons-codec-1.3.jar library in LENYA_1_2_X/lib/...

Edith

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Edith Chevrier
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                          http://lenya.apache.org
edith.chevrier@wyona.com                         edith@apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Library question

Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:

> Edith Chevrier wrote:
>
>> Why not in LENYA_1_2_X/lib/... ?
>>
>> What is the purpose of the lib in 
>> LENYA_1_2_X/src/webapp/WEB-INF/lib/... ?
>
>
> none. i removed it, but someone re-added it for no good reason.


yes, I have added it quite some time ago and we dicussed this on the mailing
list. Can't you just ask before you remove stuff which are useful?!

I even put a README.txt file in there such that people understand why
this lib dir is useful.

I will re-add it.

Michi

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Library question

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Edith Chevrier wrote:

> Why not in LENYA_1_2_X/lib/... ?
> 
> What is the purpose of the lib in LENYA_1_2_X/src/webapp/WEB-INF/lib/... ?

none. i removed it, but someone re-added it for no good reason.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Library question

Posted by Edith Chevrier <ed...@wyona.com>.
Michael Wechner wrote:

> Edith Chevrier wrote:
>
>> Hi,
>>
>> i need the commons-codec-1.3.jar library (to fix the SMTP class in 
>> lenya-1.2, bug#36115), which is already in cocoon, but only as 
>> optional library. To make it available the slide block and those one, 
>> on which the slide block depends, must be included. An other 
>> possibility is to distribute commons-codec-1.3.jar with lenya too.
>>
>> WDYT?
>
>
>
> another possibility would be to ship it Lenya within
>
> LENYA_1_2_X/src/webapp/WEB-INF/lib/...
>
It doesn't work, because those libs are copied in build only after the 
compilation.

Why not in LENYA_1_2_X/lib/... ?

What is the purpose of the lib in LENYA_1_2_X/src/webapp/WEB-INF/lib/... ?

Edith

> HTH
>
> Michi
>
>>
>> Edith
>>
>
>

-- 
Edith Chevrier
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                          http://lenya.apache.org
edith.chevrier@wyona.com                         edith@apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Library question

Posted by Michael Wechner <mi...@wyona.com>.
Edith Chevrier wrote:

> Hi,
>
> i need the commons-codec-1.3.jar library (to fix the SMTP class in 
> lenya-1.2, bug#36115), which is already in cocoon, but only as 
> optional library. To make it available the slide block and those one, 
> on which the slide block depends, must be included. An other 
> possibility is to distribute commons-codec-1.3.jar with lenya too.
>
> WDYT?


another possibility would be to ship it Lenya within

LENYA_1_2_X/src/webapp/WEB-INF/lib/...

HTH

Michi

>
> Edith
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org