Opened 5 years ago

Closed 5 years ago

#1615 closed Task (fixed)

Forced workspace location

Reported by: bflorat Owned by: bflorat
Priority: 1, lowest Milestone: 1.9 "Killer Queen"
Component: Core Version: 1.9-dev
Keywords: workspace boot bootstrap Cc:
Regression ?:


Specific packaging needs like [3] requires to force a workspace[1] location without using the bootstrap[2] file because the bootstrap file is not then available.

[1] The workspace location is the directory that contains the .jajuk (or .jajuk_test_<version> if using -test option) directory. It is home directory by default.
[2] The bootstrap file is ~/.jajuk_bootstrap and contains the locations toward final or test workspaces.

PS : this ticket has been treated during code freeze because :

  • it allows quickly a new distribution channel without waiting the next version in 6 months or more.
  • the bootstrap code was buggy and required refactoring anyway, several potential flaws have been fixed

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by bflorat

  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 1.9-dev

A new CLI option is now available : -workspace=<workspace location>

Use example :
java -client -Xms20M -Xmx512M -XX:MinHeapFreeRatio=5
-XX:MaxHeapFreeRatio=10 -jar jajuk.jar -notest -workspace=d:\temp

Notes :

  • If the <workspace>/.jajuk directory doesn't exist, the first time wizard is displayed (it allows first time user to select their music like in regular jajuk installations)
  • When using the -workspace option, the bootstrap file (if it exists) is ignored. Jajuk doesn't need it anymore.
  • If the <workspace> location doesn't exist or is not writable, jajuk directly exists with a fatal error
  • When using the -workspace option, user can't anymore select a custom worskpace location through the first time wizard or the Preference view / advanced tab : these options are disabled.

Checked in into 04/05/2010 trunk release (see

Will be officially available in upcoming 1.9RC4 in few days.

Add Comment

Modify Ticket

Change Properties
as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.