113 lines
4.1 KiB
Properties
113 lines
4.1 KiB
Properties
![]() |
# The properties defined in this file can be overridden on the command line by
|
||
|
# passing them in as parameters like so:
|
||
|
#
|
||
|
# ant -Dpbuild=myapp -Dversion.recommended=2.0.5 install
|
||
|
#
|
||
|
# *** DO NOT DEFINE A PROPERTY BUT LEAVE ITS VALUE BLANK. PANTS WILL BREAK! ***
|
||
|
|
||
|
|
||
|
# Recommended Package Version
|
||
|
#
|
||
|
# Set this property's value to the package version you want Pants to use for the
|
||
|
# pbuild by default. The version string specified must match the version
|
||
|
# substring from the package's filename if the filename contains a version
|
||
|
# number.
|
||
|
#
|
||
|
# Comment out this property to force use of the latest available version.
|
||
|
#
|
||
|
# If the pbuild is CVS-based rather than package-based, this property must be
|
||
|
# set to 'CVS'.
|
||
|
#
|
||
|
# Example:
|
||
|
#
|
||
|
# version.recommended=2.0.4
|
||
|
version.recommended=5.1.2
|
||
|
|
||
|
# Latest Package Version
|
||
|
#
|
||
|
# There are currently two ways to inform Pants of the latest version number for
|
||
|
# your package.
|
||
|
#
|
||
|
# Method 1: Manually modify the property 'version.latest' to reflect the latest
|
||
|
# version number.
|
||
|
#
|
||
|
# Method 2: Provide a URL for a page on the package's website and a regular
|
||
|
# expression with which to parse it in order to extract the version
|
||
|
# number of the latest available package. For this you must define the
|
||
|
# properties 'version.latest.find.url', 'version.latest.find.regex',
|
||
|
# and any regular expression engine mode flags needed. The pattern
|
||
|
# defined must have exactly one capturing group to encapsulate the
|
||
|
# version string, otherwise the operation will fail.
|
||
|
#
|
||
|
# You may use both methods, in which case the version number specified by Method
|
||
|
# 1 will be used as the fallback value if Method 2 for some reason is
|
||
|
# unsuccessful.
|
||
|
#
|
||
|
# If neither method is enabled here or they fail to return a valid value to
|
||
|
# Pants, the 'ant update' operation for this pbuild may exit ungracefully unless
|
||
|
# the pbuild is CVS-based (none of the version.latest.* properties are used by
|
||
|
# CVS-based pbuilds).
|
||
|
#
|
||
|
# The following is a list of boolean properties for optional mode flags used by
|
||
|
# the regular expression engine. Set a value of "true" for any you wish to use.
|
||
|
#
|
||
|
# version.latest.find.regex.canonicaleq - Enable canonical equivalence
|
||
|
# version.latest.find.regex.caseinsensitive - Enable case-insensitive matching
|
||
|
# version.latest.find.regex.comments - Permit whitespace and comments
|
||
|
# version.latest.find.regex.dotall - Enable dotall mode
|
||
|
# version.latest.find.regex.multiline - Enable multi-line mode
|
||
|
# version.latest.find.regex.unicodecase - Enable Unicode-aware case folding
|
||
|
# version.latest.find.regex.unixlines - Enable Unix lines mode
|
||
|
#
|
||
|
# Examples:
|
||
|
#
|
||
|
# version.latest=5.1.2
|
||
|
# version.latest.find.url=http://sourceforge.net/projects/jetty/
|
||
|
# version.latest.find.regex=Stable.+?Jetty-(.+?)</A>
|
||
|
version.latest=5.1.2
|
||
|
version.latest.find.url=http://sourceforge.net/projects/jetty/
|
||
|
version.latest.find.regex=Stable.+?Jetty-(.+?)</A>
|
||
|
|
||
|
# Package URL
|
||
|
#
|
||
|
# Specify the URL pointing to the pbuild's package from here. The token
|
||
|
# '${pbuild.version}' if used will automatically be expanded to the appropriate
|
||
|
# version string.
|
||
|
#
|
||
|
# The package URL property is not used by CVS-based pbuilds.
|
||
|
#
|
||
|
# Examples:
|
||
|
#
|
||
|
# package.url=ftp://borkbork.se/bork-${pbuild.version}.tar.bz2
|
||
|
# package.url=http://bork.borkbork.se/bork-${pbuild.version}-src.tar.gz
|
||
|
package.url=http://mesh.dl.sourceforge.net/sourceforge/jetty/jetty-${pbuild.version}.zip
|
||
|
|
||
|
# CVS Repository
|
||
|
#
|
||
|
# The values expected for CVS properties here are the same as those expected by
|
||
|
# their corresponding Apache Ant 'Cvs' task attributes. For details see:
|
||
|
#
|
||
|
# http://ant.apache.org/manual/CoreTasks/cvs.html
|
||
|
#
|
||
|
# Not all of the 'Cvs' task's attributes have corresponding Pants properties.
|
||
|
# The following is a list of all valid CVS properties for Pants (and their
|
||
|
# default values if applicable):
|
||
|
#
|
||
|
# cvs.compression.level
|
||
|
# cvs.date
|
||
|
# cvs.package
|
||
|
# cvs.passfile=~/.cvspass
|
||
|
# cvs.port=2401
|
||
|
# cvs.root
|
||
|
# cvs.rsh
|
||
|
# cvs.tag
|
||
|
#
|
||
|
# Of these, only the 'cvs.root' property is required for CVS-based pbuilds.
|
||
|
#
|
||
|
# Examples:
|
||
|
#
|
||
|
# cvs.root=:pserver:anoncvs@borkbork.se:/cvsroot/bork
|
||
|
# cvs.rsh=ssh
|
||
|
# cvs.package=borkbork
|
||
|
|