tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuan <weiquan.y...@gmail.com>
Subject Re: Patching a jar in a wepabb
Date Wed, 23 Nov 2011 17:57:49 GMT
Can u compile all patches into one jar file?



On 2011-11-23, at 12:41 PM, "Andrew Kujtan" <akujtan@evertz.com> wrote:

> Hello Tomcat-users,
>
>
>
> I'm running Tomcat 7.0.20. My webapp uses several 3rd party jars  
> located
> in WEB-INF/lib and I need to apply a series of patches to one of the
> jars.  The patches are jar files that only have the modified class  
> files
> in it, so to apply it I need to add them to the classpath before the
> third party jar. I.e.
>
> Load patch3.jar, then patch2.jar, then patch1.jar, then 3rdparty.jar
>
>
>
> Reading the class loading docs it doesn't look like there is any
> guarantee as to the order they are loaded or any way to specify the
> order, is this correct?
>
>
>
> If not, is there some other built in mechanism to do this? or am I
> barking down the wrong tree altogether?
>
>
>
> As it stands,  I think I'm just going to have to extract the class  
> files
> from each of the patch jars and insert the structure into my
> WEB-INF/classes folder, as my understanding is that they are ahead of
> the lib folder in the classpath. Is this a viable alternative should  
> all
> other avenues fail?
>
>
>
> Regards,
>
> Andrew Kujtan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message