VirtualTim commented on PR #609:
URL: https://github.com/apache/tomcat/pull/609#issuecomment-1508011831

   OK, so what do you think the end goal should look like?
   org.apache.tomcat/tomcat is currently described as "Binary distribution of 
Apache Tomcat".
   Currently that contains a tar.gz that works on Windows/Linux, a zip that 
does not work on Linux (this is why I assume they were mean to be 
platform-specific), and no way (out of the box) to run it as a Windows service.
   
   So here are my ideas:
   
   1. Split org.apache.tomcat/tomcat in two, with a Windows and a Linux 
classifier. Ie:
   1.1. tomcat-11.0.0-M4-linux.tar.gz
   1.1.1. contains no bat files
   1.2. tomcat-11.0.0-M4-windows.zip
   1.2.1. contains no sh files
   1.2.2. contains tomcat10.exe, tomcat10w.exe, service.bat
   
   2. From all platform-specific stuff (bat, sh, exe) from 
org.apache.tomcat/tomcat.
   2.1. Create two new platform-specific artefacts that depend on 
org.apache.tomcat/tomcat, and contain the required bat, sh, etc.
   
   3. Just put everything in one tar.gz. I'm pretty sure Windows will be able 
to deal with UNIX line endings and permissions.
   
   4. Add the service.bat to org.apache.tomcat/tomcat.
   4.1. This it the only option that does not break compatibility for anyone 
already using this artefact.
   
   Personally I'd go with 4., as preserving backwards compatibility is 
important, and consider 1. or 2. for tomcat 12/13.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to