[Yanel-development] build error endorsed libs
Jonathan Addison
jon at wyona.com
Thu Nov 9 17:51:19 CET 2006
Hey Simon
simon litwan wrote:
> Michael Wechner schrieb:
>> simon litwan wrote:
>>
>>> hi all
>>>
>>> /home/simon/src/yanel/src/build/build.xml:296: The following error
>>> occurred while executing this line:
>>> /home/simon/src/yanel/src/build/build.xml:323: Endorsed lib is
>>> missing
>>> (/opt/apache-tomcat-5.5.20/common/endorsed/xercesImpl-2.7.1.jar).
>>> Copy lib (build/webapps/ROOT/WEB-INF/lib/xercesImpl-2.7.1.jar) to
>>> Tomcat's endorsed directory.
>>>
>>>
>>> /home/simon/src/yanel/src/build/build.xml:296: The following error
>>> occurred while executing this line:
>>> /home/simon/src/yanel/src/build/build.xml:326: Endorsed lib is
>>> missing
>>> (/opt/apache-tomcat-5.5.20/common/endorsed/xml-apis-1.3.02.jar).
>>> Copy lib (build/webapps/ROOT/WEB-INF/lib/xml-apis-1.3.02.jar) to
>>> Tomcat's endorsed directory.
>>>
>>>
>>> is there a reason why this isn't done automaticaly?
>>
>>
>> yes, because one might already have these kind of libs, but different
>> versions.
>>
>> But I think instead of stopping the build we should ask of these libs
>> should be copied or not and then proceed with the build ...
>
> made it. patch attached to:
> http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=4998
Maybe we could also check whether a different version of the libs
already exists in tomcat and then display a warning. This might help
people decide whether they need to copy the new libs or not.
Maybe something like 'xml-apis-1.3.03.jar already exists but has not
been verified to work with yanel. If you would like to use it anyway
please choose No, otherwise choose Yes to add the default lib.'
Otherwise the user will always select 'Yes' because it's better to have
2 libs than 0.
>
> simon
>
>>
>> Cheers
>>
>> Michi
>>
>>>
>>> simon
>>>
>>
>>
>
>
--
Jonathan Addison jon<at>wyona.com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
More information about the Yanel-development
mailing list