You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2023/06/09 11:52:45 UTC
Checkstyle isn't happy
All,
When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:
BUILD FAILED
..../apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root
Module: config {res/checkstyle/checkstyle.xml}.
Any ideas how to get more information?
IIRC, I've never been able to get checkstyle running properly with 10.1.x.
I'm using Temurin Java 17 for the build.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Checkstyle isn't happy
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Mark,
On 6/9/23 08:36, Mark Thomas wrote:
> On 09/06/2023 13:16, Mark Thomas wrote:
>> Found it.
>>
>> You'll see this error if the current directory is not the root of the
>> source tree.
>>
>> We should be able to make the build script independent of where it is
>> called from if we want to.
>
> Looks like it was just Checktsyle that was the issue. Should be fixed now.
Yeah, I was starting to think that was the case, as my test-build script
tries not to change the CWD during the process, using full paths for
everything.
I'll have a vote on 10.1.10 shortly, then sew that up.
Thanks,
-chris
>> On 09/06/2023 12:55, Mark Thomas wrote:
>>> I'll see if I can re-create this. Intel or M1 Mac?
>>>
>>> Mark
>>>
>>>
>>> On 09/06/2023 12:52, Christopher Schultz wrote:
>>>> All,
>>>>
>>>> When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:
>>>>
>>>> BUILD FAILED
>>>> ..../apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root
>>>> Module: config {res/checkstyle/checkstyle.xml}.
>>>>
>>>> Any ideas how to get more information?
>>>>
>>>> IIRC, I've never been able to get checkstyle running properly with
>>>> 10.1.x.
>>>>
>>>> I'm using Temurin Java 17 for the build.
>>>>
>>>> -chris
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Checkstyle isn't happy
Posted by Mark Thomas <ma...@apache.org>.
On 09/06/2023 13:16, Mark Thomas wrote:
> Found it.
>
> You'll see this error if the current directory is not the root of the
> source tree.
>
> We should be able to make the build script independent of where it is
> called from if we want to.
Looks like it was just Checktsyle that was the issue. Should be fixed now.
Mark
>
> Mark
>
>
> On 09/06/2023 12:55, Mark Thomas wrote:
>> I'll see if I can re-create this. Intel or M1 Mac?
>>
>> Mark
>>
>>
>> On 09/06/2023 12:52, Christopher Schultz wrote:
>>> All,
>>>
>>> When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:
>>>
>>> BUILD FAILED
>>> ..../apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root
>>> Module: config {res/checkstyle/checkstyle.xml}.
>>>
>>> Any ideas how to get more information?
>>>
>>> IIRC, I've never been able to get checkstyle running properly with
>>> 10.1.x.
>>>
>>> I'm using Temurin Java 17 for the build.
>>>
>>> -chris
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Checkstyle isn't happy
Posted by Mark Thomas <ma...@apache.org>.
Found it.
You'll see this error if the current directory is not the root of the
source tree.
We should be able to make the build script independent of where it is
called from if we want to.
Mark
On 09/06/2023 12:55, Mark Thomas wrote:
> I'll see if I can re-create this. Intel or M1 Mac?
>
> Mark
>
>
> On 09/06/2023 12:52, Christopher Schultz wrote:
>> All,
>>
>> When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:
>>
>> BUILD FAILED
>> ..../apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root
>> Module: config {res/checkstyle/checkstyle.xml}.
>>
>> Any ideas how to get more information?
>>
>> IIRC, I've never been able to get checkstyle running properly with
>> 10.1.x.
>>
>> I'm using Temurin Java 17 for the build.
>>
>> -chris
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Checkstyle isn't happy
Posted by Mark Thomas <ma...@apache.org>.
I'll see if I can re-create this. Intel or M1 Mac?
Mark
On 09/06/2023 12:52, Christopher Schultz wrote:
> All,
>
> When trying to build Tomcat 10.1.10 on my Mac, checkstyle complains:
>
> BUILD FAILED
> ..../apache-tomcat-10.1.10-src/build.xml:859: Unable to create Root
> Module: config {res/checkstyle/checkstyle.xml}.
>
> Any ideas how to get more information?
>
> IIRC, I've never been able to get checkstyle running properly with 10.1.x.
>
> I'm using Temurin Java 17 for the build.
>
> -chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org