Re: Excluded service.bat From Maven Artefact

2023-03-16 Thread Mark Thomas

On 16/03/2023 04:01, LANDER Tim wrote:

Hi, I've noticed that service.bat and Tomcat.exe (Actually all exe's: 
https://github.com/apache/tomcat/blob/6de806a21adc68a23aa4043c67c0d80bbab1c458/build.xml#L2825-L2828)
 are excluded from the tomcat maven artefact (org.apache.tomcat:tomcat). What's 
the reason for this? I couldn't find it documented anywhere.


That is the platform neutral zip distro, so the Windows specific files 
are excluded. The Windows specific distributions are created by the 
target that follows that.



This makes it a bit annoying trying to add tomcat to a (Windows) installer. I 
know I can download and extract those files from
archieve.apache.org, but it makes automating this process unnecessarily 
annoying.


It looks to be possible to add the Windows specific binaries. They'll 
need their own artifact IDs - something like "tomcat-windows-x86" and 
"tomcat-windows-x64" - but the rest of the necessary plumbing is already 
in place.


Please open an enhancement request if you'd like to see this in Tomcat. 
If you want to provide a patch as well, even better.


Mark

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



Re: Excluded service.bat From Maven Artefact

2023-03-15 Thread LANDER Tim
> On 3/15/23 22:01, LANDER Tim wrote:
> > Hi, I've noticed that service.bat and Tomcat.exe (Actually all exe's: 
> > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Ftomcat%2Fblob%2F6de806a21adc68a23aa4043c67c0d80bbab1c458%2Fbuild.xml%23L2825-L2828=05%7C01%7C%7Ce96c8721d0554f67c2d708db25d3fd88%7C1b16ab3eb8f64fe39f3e2db7fe549f6a%7C0%7C0%7C638145364653337506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=FQXKYh0X%2BKPY%2B0IS52L2j25hpnHL0SScWsRkZqwfj%2BY%3D=0)
> >  are excluded from the tomcat maven artefact (org.apache.tomcat:tomcat). 
> > What's the reason for this? I couldn't find it documented anywhere.
> >
> > This makes it a bit annoying trying to add tomcat to a (Windows) installer. 
> > I know I can download and extract those files from
> > archieve.apache.org, but it makes automating this process unnecessarily 
> > annoying.
> > -
>>  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> Isn't Tomcat a java app, using jar files?

There's a apache-tomcat-10.0.27-windows-x64.zip under 
https://archive.apache.org/dist/tomcat/tomcat-10/v10.0.27/bin/ that contains 
service.bat and Tomcat.exe.
In fact, org.apache.tomcat:tomcat contains several bat/sh files under /bin. So 
it's clear to me that Tomcat is more than just a java app.
Also apologises for safelinks butchering my links, I can't disable that on this 
account.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Excluded service.bat From Maven Artefact

2023-03-15 Thread Rob Sargent




On 3/15/23 22:01, LANDER Tim wrote:

Hi, I've noticed that service.bat and Tomcat.exe (Actually all exe's: 
https://github.com/apache/tomcat/blob/6de806a21adc68a23aa4043c67c0d80bbab1c458/build.xml#L2825-L2828)
 are excluded from the tomcat maven artefact (org.apache.tomcat:tomcat). What's 
the reason for this? I couldn't find it documented anywhere.

This makes it a bit annoying trying to add tomcat to a (Windows) installer. I 
know I can download and extract those files from
archieve.apache.org, but it makes automating this process unnecessarily 
annoying.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


Isn't Tomcat a java app, using jar files?

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



Excluded service.bat From Maven Artefact

2023-03-15 Thread LANDER Tim
Hi, I've noticed that service.bat and Tomcat.exe (Actually all exe's: 
https://github.com/apache/tomcat/blob/6de806a21adc68a23aa4043c67c0d80bbab1c458/build.xml#L2825-L2828)
 are excluded from the tomcat maven artefact (org.apache.tomcat:tomcat). What's 
the reason for this? I couldn't find it documented anywhere.

This makes it a bit annoying trying to add tomcat to a (Windows) installer. I 
know I can download and extract those files from 
archieve.apache.org, but it makes automating this process unnecessarily 
annoying.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org