Re: tomcat8 for 10.7

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Fink Core Team
Message-ID <[email protected]>
On 5/6/14, 6:51 PM, Jack Howarth wrote:
> Alexander,
>           Attached is a first attempt of recrafting the old tomcat6
> packages in 10.5-EOL into JDK-1.7 based tomcat8 packages.The main
> change, other than the upgrade to tomcat 8.0.5 is the change
> to…
>
> JAVA_HOME=@JAVA_SDK_HOME@               export JAVA_HOME
>
> in the tomcat8.patch so that the PostInstScript can use
>
>          # Locate locat Java 1.7 SDK
>          JDK_LOCATION=`/usr/libexec/java_home`
>          perl -pi -e "s|\@JAVA_SDK_HOME\@|$JDK_LOCATION|"
> %p/etc/%N/tomcat.conf
>
> to set the proper location for the SDK.
>        Are there any particular issues with the tomcat6 packaging that I
> should be aware of?
>                  Jack


No real clue.  I think I tried _using_ it for something a while back but 
I don't know much about the guts of it.

You can probably simplify things a bit because declaring Type: java 
should automatically set JAVA_HOME to be the output from 
`/usr/libexec/java_home`.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.