Issue1783960

classification
Title: can not exclude parts from installation
Type: Severity: normal
Components: Installer Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: otmarhumbel Nosy List: a_o_m, otmarhumbel
Priority: normal Keywords:

Created on 2007-08-29.11:57:56 by a_o_m, last changed 2007-09-03.22:57:08 by otmarhumbel.

Files
File name Uploaded Description Edit Remove
failing-test-patch.txt otmarhumbel, 2007-08-30.22:44:09 new autotest for trunk
installer-trunk-patch.txt otmarhumbel, 2007-08-30.23:00:55 Fixes for project installer
installer-22-patch.txt otmarhumbel, 2007-09-03.22:57:08 Fixes fro project installer (2_2maint)
Messages
msg1882 (view) Author: Alexander (a_o_m) Date: 2007-08-29.11:57:56
$ java -jar jython_installer-2.2.jar -c
Welcome to Jython !
You are about to install Jython version 2.2
[...]
The following installation types are available:
  1. All (everything, including sources)
  2. Standard (core, library modules, demos and examples, documentation)
  3. Minimum (core)
  9. Standalone (a single, executable .jar)
Please select the installation type [1/2/3/9] >>> 2
Do you want to install additional parts ? [y/n] >>> n
Do you want to exclude parts from the installation ? [y/n] >>> y
The following parts are selectable (n = no more) [1/2/3/9] >>> n
Answer n is not valid here


Workaround: when saying 'y' to "install additional parts"  (you can select 'n' there), un-selecting parts is possible later:

[...]
Do you want to install additional parts ? [y/n] >>> y
The following parts are selectable (n = no more) [mod/demo/doc/src/n] >>> n
Do you want to exclude parts from the installation ? [y/n] >>> y
The following parts are selectable (n = no more) [mod/demo/doc/src/n] >>> demo
demo excluded from installation
[...]
msg1883 (view) Author: Oti Humbel (otmarhumbel) Date: 2007-08-30.22:44:11
The attached autotest (named failing-test-patch.txt) exposes the problem on trunk.
To reproduce, do a full-build and then run:
  java -jar jython_installer-YourSnapshot.jar -A
File Added: failing-test-patch.txt
msg1884 (view) Author: Oti Humbel (otmarhumbel) Date: 2007-08-30.23:00:55
The attached patch (installer-trunk-patch.txt) fixes the problem on trunk.
The relevant part is ConsoleInstaller.java, where the answers now are built correctly.
The patch also includes the test from failing-test-patch.txt, and some fixes of javac compiler warnings.
File Added: installer-trunk-patch.txt
msg1885 (view) Author: Oti Humbel (otmarhumbel) Date: 2007-08-30.23:07:02
Fixed on trunk (http://jython.svn.sourceforge.net/viewvc/jython?view=rev&revision=3457)
msg1886 (view) Author: Oti Humbel (otmarhumbel) Date: 2007-09-03.22:57:10
The attached patch (installer-22-patch.txt) fixes the problem on the Release_2_2maint branch.
It is a merge from r3457. 
File Added: installer-22-patch.txt
msg1887 (view) Author: Oti Humbel (otmarhumbel) Date: 2007-09-03.23:01:28
Fixed on the Release_2_2maint branch (http://jython.svn.sourceforge.net/viewvc/jython?view=rev&revision=3469)
History
Date User Action Args
2007-08-29 11:57:56a_o_mcreate