Bug 173660

Summary: www/tomcat7: error on init script when using custom classpath
Product: Ports & Packages Reporter: Victor Balada Diaz <victor>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: ale
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
tomcat7.patch none

Description Victor Balada Diaz 2012-11-16 14:50:00 UTC
If you configure a custom classpath on /etc/rc.conf like:

tomcat7_classpath="/classes/foo.jar:/classes/bar.jar"

It will fail because the assignment have a missing ':'. For it to work
you should specify ':' like:

tomcat7_classpath=":/classes/foo.jar:/classes/bar.jar"

Which is non-obvious.

Fix: The following patch fixes it.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-16 14:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2012-11-16 15:37:41 UTC
State Changed
From-To: open->closed

Improved comment, the patch is wrong because it adds current dir in classpath.