Gang Yan created GEODE-7436:
-------------------------------
Summary: Ability: can recognize version part when deploy function
jar in GFSH
Key: GEODE-7436
URL: https://issues.apache.org/jira/browse/GEODE-7436
Project: Geode
Issue Type: Improvement
Components: gfsh, management
Reporter: Gang Yan
# WHAT
1. recognize version part of file name, for the file to be deployed
1. can recognize version pattern. "filename-version[label].jar" .
filename=[a-zA-Z/-]+, not single "-", not end with "-"
version=[0-9/.]*, not single ".", not end with "."
label=[-/.]{1}[a-zA-Z0-9]*
such as:
- <commons-beanutils-1.9.3.jar> is a later version of
<commons-beanutils-1.9.2.jar>, will deploy.
- <commons-beanutils-1.9.3.jar> is a same version of
<commons-beanutils-1.9.3-SNAPSHOT.jar>, the later wins
- <commons-beanutils-1.9.3-RELEASE.jar> is a same version of
<commons-beanutils-1.9.3-SNAPSHOT.jar>, the later wins
--
This message was sent by Atlassian Jira
(v8.3.4#803005)