You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by pl...@apache.org on 2003/05/05 04:59:33 UTC

cvs commit: maven/src/plugins-build/appserver plugin.properties

plynch      2003/05/04 19:59:33

  Modified:    src/plugins-build/appserver plugin.properties
  Log:
  o adjusting propeties to closely mimic that of the new webserver plugin
  
  Revision  Changes    Path
  1.3       +45 -91    maven/src/plugins-build/appserver/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/appserver/plugin.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.properties	26 Jan 2003 07:27:39 -0000	1.2
  +++ plugin.properties	5 May 2003 02:59:32 -0000	1.3
  @@ -1,135 +1,89 @@
  -#############################################################################
  +############################################################################
   # W E B S E R V E R
  -#----------------------------------------------------------------------------
  +#---------------------------------------------------------------------------
   
  -#
  -# the place where the root install of the app server resides
  -#
  -maven.appserver.home=/apps/apache2
  -
  -#
  -# a supported name of an application server instance to install
  -#
  -maven.appserver.name=apache
  -
  -#
  -# version number of the application server
  -#
  -maven.appserver.version=2.x
  -
  -# needed for dir searches and messages
  -maven.appserver.fullname=${maven.appserver.name}-${maven.appserver.version}
  +#-------------------------------------------------------#
  +# OPTIONAL PROPERTIES TO BE SET BY PLUGIN CONSUMER      #
  +#-------------------------------------------------------#
   
   #
  -# ports to access this server instance
  +# ports to access and configure this server instance
   #
   maven.appserver.port.http=80
   maven.appserver.port.https=443
  -maven.appserver.port.one=8090
  -maven.appserver.port.two=8091
  -maven.appserver.port.three=8092
   
   #
  -# where to install the local instance of the server
  +# optional ports for other work
   #
  -maven.appserver.dir=${basedir}/server
  -
  -#
  -# where to look for the instance specific files for this appserver
  -#
  -maven.appserver.conf.dir=${maven.conf.dir}/appserver/${maven.appserver.fullname}
  -
  -#
  -# files in an 'includes' pattern to include when controlling the server
  -# For example, if you have classes in your classpath you would like to
  -# include when starting the server, you could use
  -# maven.appserver.classpath=${java.class.path}
  -# paths can be absolute or relative to ${maven.appserver.dir} as that is
  -# where a jvm will be started. This is common for libraries that need sharing
  -# across all webapps installed in the server
  -#
  -maven.appserver.classpath=
  +# maven.appserver.port.A=
  +# maven.appserver.port.B=
  +# maven.appserver.port.C=
   
   #
   # The host name, used when configuring, defaults to localhost
   #
   maven.appserver.host=localhost
   
  -#
  -# The URL used to test the current running status of the appserver
  -#
  -maven.appserver.url=http://${maven.appserver.host}:${maven.appserver.port.http}/index.html
  -
  -#
  -# The root directory out of which you will server will serve your documents
  -#
  -maven.appserver.root=${maven.appserver.dir}/webapps/ROOT
  +#-------------------------------------------------------#
   
   
  -#############################################################################
  -############################## L E G A C Y ##################################
  -# ---> These properties pasted here from the J2EE plugin implementation
  -# ---> They should be culled
  -#############################################################################
  -# A P P S E R V E R
  -#----------------------------------------------------------------------------
  +#-------------------------------------------------------#
  +# REQUIRED PROPERTIES THAT MAY/MUST BE SET BY USER      #
  +#-------------------------------------------------------#
   
   #
  -# used to let the appserver implementation scripts know which version of j2ee we are
  -# running against
  +# a supported name of an application server instance to install
   #
  -# maven.j2ee.version=13
  +# maven.appserver.name=tomcat
   
   #
  -# the place where the main install of the application server resides
  +# version number of the application server
   #
  -#maven.appserver.home=/apps/jakarta-tomcat-4
  +# maven.appserver.version=4.x
   
   #
  -# a supported name of an application server instance to install
  +# The place where the binary machine install of the web server resides
   #
  -#maven.appserver.name=tomcat
  +# maven.appserver.home=/apps/apache2
   
   #
  -# version number of the application server, in the form of ##
  +# The directory to install the local instance of the server
   #
  -#maven.appserver.version=4.x
  -
  -## needed for dir names and messages to the user
  -#maven.appserver.fullname=${maven.appserver.name}-${maven.appserver.version}
  +maven.appserver.dir=${basedir}/server
   
   #
  -# ports to access this server instance
  +# The default port to test for a TCP/IP connection listener for determining if
  +# the appserver instance is started. Default is the same as the http port
   #
  -#maven.appserver.port.http=8082
  -#maven.appserver.port.https=8083
  -#maven.appserver.port.one=8087
  -#maven.appserver.port.two=8088
  -#maven.appserver.port.three=8089
  +maven.appserver.test.socket=${maven.appserver.port.http}
   
   #
  -# where to install the local instance of the server
  +# The URL used to test the current running status of the appserver
  +# Default is left as null, so that only the socket is used to test if the server
  +# is started
   #
  -#maven.appserver.dir=${basedir}/server
  +# maven.appserver.test.url=http://${maven.appserver.host}:${maven.appserver.port.http}/index.html
   
   #
  -# files in an 'includes' pattern to include when controlling the server
  -# For example, if you have classes in your classpath you would like to
  -# include when starting the server, you could use
  -# maven.appserver.classpath=${java.class.path}
  -# paths can be absolute or relative to ${maven.appserver.dir} as that is
  -# where a jvm will be started. This is common for libraries that need sharing
  -# across all webapps installed in the server
  +# The root directory out of which you will server will serve your documents
  +# The default is under webapps, to allow this appserver to play friendly
  +# with a Tomcat application container by default
   #
  -#maven.appserver.classpath=
  +maven.appserver.root=${maven.appserver.dir}/webapps/ROOT
   
  -#
  -# The host name, used when configuring, defaults to localhost
  -#
  -#maven.appserver.host=localhost
  +#-------------------------------------------------------#
  +
  +
  +#-------------------------------------------------------#
  +# REQUIRED PROPERTIES NOT NORMALLY MODIFIED BY USERS    #
  +#-------------------------------------------------------#
  +
  +# needed for dir searches and messages, should NOT be changed by user
  +maven.appserver.fullname=${maven.appserver.name}-${maven.appserver.version}
   
   #
  -# The URL used to test the current running status of the appserver
  +# where to look for the instance specific config files for this appserver
   #
  -#maven.appserver.url=http://${maven.appserver.host}:${maven.appserver.port.http}/index.html
  +maven.appserver.conf.dir=${maven.conf.dir}/appserver/${maven.appserver.fullname}
  +
   
  
  
  

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