Re: RFR: JDK-8230521: rename --output/-o option and add default value (".")

2019-09-14 Thread Andy Herrick
This looks good. /Andy On 9/13/2019 8:20 PM, Alexander Matveev wrote: http://cr.openjdk.java.net/~almatvee/8230521/webrev.01/ - Simplified setting default value for destination folder. - Undo renaming of output variables to dest. - Modified help messages as per Andy suggestion. - Removed

Re: RFR: JDK-8230521: rename --output/-o option and add default value (".")

2019-09-13 Thread Alexey Semenyuk
Looks good. - Alexey On 9/13/2019 8:20 PM, Alexander Matveev wrote: http://cr.openjdk.java.net/~almatvee/8230521/webrev.01/ - Simplified setting default value for destination folder. - Undo renaming of output variables to dest. - Modified help messages as per Andy suggestion. - Removed

Re: RFR: JDK-8230521: rename --output/-o option and add default value (".")

2019-09-13 Thread Alexander Matveev
http://cr.openjdk.java.net/~almatvee/8230521/webrev.01/ - Simplified setting default value for destination folder. - Undo renaming of output variables to dest. - Modified help messages as per Andy suggestion. - Removed obsolete tests as per Alexey suggestion. Thanks, Alexander On 9/12/2019

Re: RFR: JDK-8230521: rename --output/-o option and add default value (".")

2019-09-13 Thread Andy Herrick
On 9/12/2019 9:34 PM, Alexander Matveev wrote: Please review the jpackage fix for bug [1] at [2]. This is a fix for the JDK-8200758-branch branch of the open sandbox repository (jpackage). - Renamed "--output" to "--dest" and made it optional with default to ".". [1]

Re: RFR: JDK-8230521: rename --output/-o option and add default value (".")

2019-09-12 Thread Alexey Semenyuk
On 9/12/2019 10:47 PM, Alexey Semenyuk wrote: http://cr.openjdk.java.net/~almatvee/8230521/webrev.00/src/jdk.jpackage/share/classes/jdk/jpackage/internal/Arguments.java.sdiff.html: --- 126 Path destPath = Paths.get(".").toAbsolutePath();  127 if

Re: RFR: JDK-8230521: rename --output/-o option and add default value (".")

2019-09-12 Thread Alexey Semenyuk
http://cr.openjdk.java.net/~almatvee/8230521/webrev.00/src/jdk.jpackage/share/classes/jdk/jpackage/internal/Arguments.java.sdiff.html: --- 126 Path destPath = Paths.get(".").toAbsolutePath();  127 if (destPath.getFileName().toString().equals(".")) {  128 dest =

RFR: JDK-8230521: rename --output/-o option and add default value (".")

2019-09-12 Thread Alexander Matveev
Please review the jpackage fix for bug [1] at [2]. This is a fix for the JDK-8200758-branch branch of the open sandbox repository (jpackage). - Renamed "--output" to "--dest" and made it optional with default to ".". [1] https://bugs.openjdk.java.net/browse/JDK-8230521 [2]