[MacPorts] #28938: tomcat 7
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ---------------------------------+------------------------------------------ Would it be possible to add tomcat 7 (latest being 7.0.11) to macports? It's been GA for about six months now and appears to be stable. -- Ticket URL: <https://trac.macports.org/ticket/28938> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: tomcat7 ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: blair@… (added) * port: => tomcat7 -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: tomcat7 ---------------------------------+------------------------------------------ Comment(by blair@…): Sure, I'd like it to have it also? Can you provide a Port for it? The number of cycles I have is limited. BTW, I'm thinking of using the binary Tomcat distribution, not the source one. I don't see any point in compiling Tomcat. -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: tomcat7 ---------------------------------+------------------------------------------ Comment(by pengyu.ut@…): Has this been ported to macports? I still don't find tomcat7. -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: tomcat7 ---------------------------------+------------------------------------------ Comment(by mikejbond@…): I have put together a tomcat7 port based on the tomcat6 Portfile and files. I renamed tomcatctl to tomcat7ctl and updated all the various scripts to make it work. It still uses the src archive as it was simpler and the original tomcat6 port used some files that don't exist in the binary distribution. I don't know how new ports are usually submitted, I'm attaching it to the ticket as a zip file. Anyone that wishes to use this prior to it being included in macports officially can do the following: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java unzip <attached zip file> cd ../.. portindex port install tomcat7 I am using tomcat7 from eclipse for development. I haven't tried to run it standalone so can't guarantee that it will run without some tweaking. -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: tomcat7 ---------------------------------+------------------------------------------ Comment(by mikejbond@…): Correction to the instructions for manually adding the attached zip to the available ports: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java unzip <attached zip file> cd .. portindex port install tomcat7 -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: tomcat7 ---------------------------------+------------------------------------------ Comment(by mikejbond@…): Any chance the attached zip containing the Portfile, etc could be added to the ports repository? -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 ---------------------------------+------------------------------------------ Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: tomcat7 ---------------------------------+------------------------------------------ Comment(by todmorrison@…): Need to add "tomcat-juli.jar" to CLASSPATH when adding "java.util.logging.manager=org.apache.juli.ClassLoaderLogManager" to JAVA_OPTS, i.e. change: if [ -r "${CATALINA_HOME}/bin/tomcat-juli.jar" ]; then JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" fi to: if [ -r "${CATALINA_HOME}/bin/tomcat-juli.jar" ]; then JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/tomcat-juli.jar fi -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 --------------------------+-------------------------------- Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: tomcat7 | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: macports@… (added) Comment: Has duplicate #36288. -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 --------------------------+-------------------------------- Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: tomcat7 | --------------------------+-------------------------------- Comment (by mmpestorich@…): I attached a Portfile for tomcat7. Basically I just modified the existing tomcat6 portfile and didn't ro a lot of testing but its builds and installs without error. Note that Tomcat 7 '''requires''' java 6 in order to be built. You must use java 6 to compile tomcat 7 however you may use java 7 to run tomcat 7 (see: http://tomcat.apache.org/tomcat-7.0-doc/building.html#Download_a_Java_Develo...). -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 --------------------------+-------------------------------- Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: tomcat7 | --------------------------+-------------------------------- Comment (by mmpestorich@…): Woops. Sorry. Guess I should have read all the messages... I just noticed that in the tomcat7.zip there was already an updated Porfile. -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28938: tomcat 7 --------------------------+-------------------------------- Reporter: mikejbond@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: tomcat7 | --------------------------+-------------------------------- Changes (by macsforever2000@…): * cc: jea@… (added) * version: 1.9.2 => Comment: Cc reporter of duplicate #38390. -- Ticket URL: <https://trac.macports.org/ticket/28938#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts