[ https://issues.apache.org/jira/browse/GEODE-7436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernest Burghardt closed GEODE-7436. ----------------------------------- Assignee: Ernest Burghardt > 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 > Assignee: Ernest Burghardt > Priority: Major > Fix For: 1.12.0 > > Time Spent: 4h 40m > Remaining Estimate: 0h > > # 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)