Regular Expression employed to determine installRoot: -Dcom\.sun\.aas\.installRoot=(/\S+) The value is extracted using the following regular expression: The pattern determines the value of variable called installRoot (installation path) by looking at argument installRoot passed to java binary instance. Regular Expression employed to determine the build: build (+) Unix Platforms The product build is parsed from the output using the following regular expression: Regular Expression employed to determine the version: (?i)(?:GlassFish|Server|Edition)\s*(v?\d+(?:\.\d+)+(?:_\d+)? The result of this command is parsed using the following regular expression: =true the pattern builds the command used for active versioning:Ĭmd /c ' + '"%installRoot%\\bin\\asadmin.bat" version -verbose=true Once the install root (installation path) is obtained, by adding to variable installRoot the following string Regular Expression employed to determine installRoot: In case of Sun JSAS 8.x and older for Windows the pattern uses the following regular expression for parsing the value of installRoot from the process command line: *Regular Expression employed to determine installRoot:* Regular Expression employed to determine installRoot: -Dcom\.sun\.aas\.installRoot=(\w:\\\S+) (Path with no spaces) Active versioning - by running asadmin command Windows Platformsįor version v1 and later on Windows the pattern determines the value of variable called installRoot (installation path) by looking at argument installRoot passed to java binary instance. The pattern will use the first successful method it can to populate the Software Instance version and product_version attributes. Versioning ofthis product is attempted in one of two approaches, one of them through active command execution, and the other through retrieval and parsing of a file. 'Oracle GlassFish Server Domain Administration Server'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |