You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Felix Schumacher <fe...@internetallee.de> on 2015/09/15 20:26:35 UTC

Usage of JreVendor class

Hi all,

with change r1701668 JreVendor is used in catalina.Globals. But it seems 
to be missing in tomcat-utils.jar since .../util/compat/** is not on the 
included files list.

I have tried the patch

diff --git a/build.xml b/build.xml
index 3462373..03c4270 100644
--- a/build.xml
+++ b/build.xml
@@ -348,6 +348,7 @@
    <patternset id="files.tomcat-util">
      <include name="org/apache/tomcat/util/buf/**" />
      <include name="org/apache/tomcat/util/codec/**" />
+    <include name="org/apache/tomcat/util/compat/**" />
      <include name="org/apache/tomcat/util/file/**" />
      <include name="org/apache/tomcat/util/res/**" />
      <include name="org/apache/tomcat/util/security/**" />
@@ -408,6 +409,7 @@
      <!-- Remaining tomcat-util packages -->
      <include name="org/apache/tomcat/util/bcel/**" />
      <include name="org/apache/tomcat/util/collections/**" />
+    <include name="org/apache/tomcat/util/compat/**" />
      <include name="org/apache/tomcat/util/http/**" />
      <include name="org/apache/tomcat/util/log/**" />
      <include name="org/apache/tomcat/util/modeler/**" />
@@ -2050,6 +2052,7 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
            <exclude name="org/apache/tomcat/util/buf" />
            <exclude name="org/apache/tomcat/util/codec" />
            <exclude name="org/apache/tomcat/util/collections" />
+          <exclude name="org/apache/tomcat/util/compat" />
            <exclude name="org/apache/tomcat/util/descriptor" />
            <exclude name="org/apache/tomcat/util/file" />
            <exclude name="org/apache/tomcat/util/http" />

and I can start the tomcat under output/build again.

Should I commit it?

Regards,
  Felix

Re: Usage of JreVendor class

Posted by Felix Schumacher <fe...@internetallee.de>.

Am 16. September 2015 22:45:14 MESZ, schrieb "Rémy Maucherat" <re...@apache.org>:
>2015-09-16 22:34 GMT+02:00 Mark Thomas <ma...@apache.org>:
>
>> I'd expect tomcat-utils.jar
>>
>> No problem.

In tomcat 7 that class resides in tomcat-coyote.

Should I move it, too? 

Regards, 
Felix 
>
>Rémy


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


Re: Usage of JreVendor class

Posted by Rémy Maucherat <re...@apache.org>.
2015-09-16 22:34 GMT+02:00 Mark Thomas <ma...@apache.org>:

> I'd expect tomcat-utils.jar
>
> No problem.

Rémy

Re: Usage of JreVendor class

Posted by Mark Thomas <ma...@apache.org>.
On 16/09/2015 21:27, Felix Schumacher wrote:
> Am 15.09.2015 um 20:26 schrieb Felix Schumacher:
>> Hi all,
>>
>> with change r1701668 JreVendor is used in catalina.Globals. But it
>> seems to be missing in tomcat-utils.jar since .../util/compat/** is
>> not on the included files list.
>>
>> I have tried the patch
>>
>> diff --git a/build.xml b/build.xml
>> index 3462373..03c4270 100644
>> --- a/build.xml
>> +++ b/build.xml
>> @@ -348,6 +348,7 @@
>>    <patternset id="files.tomcat-util">
>>      <include name="org/apache/tomcat/util/buf/**" />
>>      <include name="org/apache/tomcat/util/codec/**" />
>> +    <include name="org/apache/tomcat/util/compat/**" />
>>      <include name="org/apache/tomcat/util/file/**" />
>>      <include name="org/apache/tomcat/util/res/**" />
>>      <include name="org/apache/tomcat/util/security/**" />
>> @@ -408,6 +409,7 @@
>>      <!-- Remaining tomcat-util packages -->
>>      <include name="org/apache/tomcat/util/bcel/**" />
>>      <include name="org/apache/tomcat/util/collections/**" />
>> +    <include name="org/apache/tomcat/util/compat/**" />
>>      <include name="org/apache/tomcat/util/http/**" />
>>      <include name="org/apache/tomcat/util/log/**" />
>>      <include name="org/apache/tomcat/util/modeler/**" />
>> @@ -2050,6 +2052,7 @@ Apache Tomcat ${version} native binaries for
>> Win64 AMD64/EMT64 platform.
>>            <exclude name="org/apache/tomcat/util/buf" />
>>            <exclude name="org/apache/tomcat/util/codec" />
>>            <exclude name="org/apache/tomcat/util/collections" />
>> +          <exclude name="org/apache/tomcat/util/compat" />
>>            <exclude name="org/apache/tomcat/util/descriptor" />
>>            <exclude name="org/apache/tomcat/util/file" />
>>            <exclude name="org/apache/tomcat/util/http" />
>>
>> and I can start the tomcat under output/build again.
>>
>> Should I commit it?
> I have seen, that Remy has commited 1702183 a while ago, in which he
> placed the JreVendor class into tomcat-api and commented, whether the
> class would better be placed into o.a.tomcat.
> 
> In which jar should the class end up?

I'd expect tomcat-utils.jar

Mark


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


Re: Usage of JreVendor class

Posted by Felix Schumacher <fe...@internetallee.de>.
Am 15.09.2015 um 20:26 schrieb Felix Schumacher:
> Hi all,
>
> with change r1701668 JreVendor is used in catalina.Globals. But it 
> seems to be missing in tomcat-utils.jar since .../util/compat/** is 
> not on the included files list.
>
> I have tried the patch
>
> diff --git a/build.xml b/build.xml
> index 3462373..03c4270 100644
> --- a/build.xml
> +++ b/build.xml
> @@ -348,6 +348,7 @@
>    <patternset id="files.tomcat-util">
>      <include name="org/apache/tomcat/util/buf/**" />
>      <include name="org/apache/tomcat/util/codec/**" />
> +    <include name="org/apache/tomcat/util/compat/**" />
>      <include name="org/apache/tomcat/util/file/**" />
>      <include name="org/apache/tomcat/util/res/**" />
>      <include name="org/apache/tomcat/util/security/**" />
> @@ -408,6 +409,7 @@
>      <!-- Remaining tomcat-util packages -->
>      <include name="org/apache/tomcat/util/bcel/**" />
>      <include name="org/apache/tomcat/util/collections/**" />
> +    <include name="org/apache/tomcat/util/compat/**" />
>      <include name="org/apache/tomcat/util/http/**" />
>      <include name="org/apache/tomcat/util/log/**" />
>      <include name="org/apache/tomcat/util/modeler/**" />
> @@ -2050,6 +2052,7 @@ Apache Tomcat ${version} native binaries for 
> Win64 AMD64/EMT64 platform.
>            <exclude name="org/apache/tomcat/util/buf" />
>            <exclude name="org/apache/tomcat/util/codec" />
>            <exclude name="org/apache/tomcat/util/collections" />
> +          <exclude name="org/apache/tomcat/util/compat" />
>            <exclude name="org/apache/tomcat/util/descriptor" />
>            <exclude name="org/apache/tomcat/util/file" />
>            <exclude name="org/apache/tomcat/util/http" />
>
> and I can start the tomcat under output/build again.
>
> Should I commit it?
I have seen, that Remy has commited 1702183 a while ago, in which he 
placed the JreVendor class into tomcat-api and commented, whether the 
class would better be placed into o.a.tomcat.

In which jar should the class end up?

Regards,
  Felix

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