You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Rolf Kulemann <ro...@apache.org> on 2004/12/18 16:37:29 UTC

Question re Lenya 1.2.1 and libraries

Hi devs,

I recognized that Lenya provides

* xercesImpl-2.6.2
* xml-apis

These libs are also included in Cocoon 2.1.5.1 AND 2.1.6
I wonder if we can remove those libs from our repo.

Any Ideas?

Another thing I recognized in contrast to what we released with Lenya
1.2 is, that we had an endorsed folder under WEB-INF/lib. Isn't the
endorsed folder needed anymore?

-- 
Rolf Kulemann


---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Question re Lenya 1.2.1 and libraries

Posted by Rolf Kulemann <ro...@apache.org>.
On Sun, 2004-12-19 at 09:18, Rolf Kulemann wrote:
> On Sun, 2004-12-19 at 00:49, Gregor J. Rothfuss wrote:
> > Rolf Kulemann wrote:
> > > Hi devs,
> > > 
> > > I recognized that Lenya provides
> > > 
> > > * xercesImpl-2.6.2
> > > * xml-apis
> > > 
> > > These libs are also included in Cocoon 2.1.5.1 AND 2.1.6
> > > I wonder if we can remove those libs from our repo.
> > > 
> > > Any Ideas?
> > 
> > yes, we can remove them
> 
> Ok. I will remove them.

Mhh, we can not remove them so easy, since the build.sh and the
connected shipped ant are not using xml-apis and xerces from the JDK.
I tried hard to find the problem, but xpatch throws an error as soon as
I remove xerces etc from lib/. Running ant directly without build.sh
works fine.

Any ideas?
-- 
Rolf Kulemann


---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Question re Lenya 1.2.1 and libraries

Posted by Rolf Kulemann <ro...@apache.org>.
On Sun, 2004-12-19 at 00:49, Gregor J. Rothfuss wrote:
> Rolf Kulemann wrote:
> > Hi devs,
> > 
> > I recognized that Lenya provides
> > 
> > * xercesImpl-2.6.2
> > * xml-apis
> > 
> > These libs are also included in Cocoon 2.1.5.1 AND 2.1.6
> > I wonder if we can remove those libs from our repo.
> > 
> > Any Ideas?
> 
> yes, we can remove them

Ok. I will remove them.

> 
> > Another thing I recognized in contrast to what we released with Lenya
> > 1.2 is, that we had an endorsed folder under WEB-INF/lib. Isn't the
> > endorsed folder needed anymore?
> 
> we have this in the build file:
> 
>      <echo>INFO: Copy endorsed libraries</echo>
>      <copy todir="${tomcat.endorsed.dir}">
>        <fileset dir="${build.webapp}/WEB-INF/lib/">
>          <include name="xercesImpl-*.jar"/>
>          <include name="xalan-*.jar"/>
>          <include name="jakarta-regexp-*.jar"/>
>          <include name="jakarta-bcel-*.jar"/>
>        </fileset>
>      </copy>
>      <copy file="${build.webapp}/WEB-INF/lib/xml-apis.jar" 
> todir="${tomcat.endorsed.dir}"/>
>    </target>

Ah, ok.
-- 
Rolf Kulemann


---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Question re Lenya 1.2.1 and libraries

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Rolf Kulemann wrote:
> Hi devs,
> 
> I recognized that Lenya provides
> 
> * xercesImpl-2.6.2
> * xml-apis
> 
> These libs are also included in Cocoon 2.1.5.1 AND 2.1.6
> I wonder if we can remove those libs from our repo.
> 
> Any Ideas?

yes, we can remove them

> Another thing I recognized in contrast to what we released with Lenya
> 1.2 is, that we had an endorsed folder under WEB-INF/lib. Isn't the
> endorsed folder needed anymore?

we have this in the build file:

     <echo>INFO: Copy endorsed libraries</echo>
     <copy todir="${tomcat.endorsed.dir}">
       <fileset dir="${build.webapp}/WEB-INF/lib/">
         <include name="xercesImpl-*.jar"/>
         <include name="xalan-*.jar"/>
         <include name="jakarta-regexp-*.jar"/>
         <include name="jakarta-bcel-*.jar"/>
       </fileset>
     </copy>
     <copy file="${build.webapp}/WEB-INF/lib/xml-apis.jar" 
todir="${tomcat.endorsed.dir}"/>
   </target>


-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org