[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-dev
Subject:    DO NOT REPLY [Bug 52791] New: [PATCH] read windows installer default values from config file
From:       bugzilla () apache ! org
Date:       2012-02-28 19:40:35
Message-ID: bug-52791-78 () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52791

             Bug #: 52791
           Summary: [PATCH] read windows installer default values from
                    config file
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Native:Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: smadden@vocera.com
    Classification: Unclassified


Created attachment 28399
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28399
patch for the tomcat install project file

Hi,

I attached a patch for the tomcat nsis installer that enables the installer to
read it's default values from an ini file (config.ini) instead of using the in
script defined onces. If the ini file does not exist, the script values are
used. The same happens if the ini file exists, but a value is not defined. E.g.
maybe you want to go with all of the script defined values but one or so.
Please look at the attached diff. 

This is how a sample config.ini file would look like (filename must be
config.ini and reside in $EXEDIR)

---------------
config.ini:
---------------

TomcatPortHttp=80
TomcatMenuEntriesEnable=1
TomcatShortcutAllUsers=1
TomcatAdminEnable=1

---------------


It would be great if this enhancement could be merged into the next installer
:-)

Thanks!
Sandra

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic