Ticket #1615 (closed Task: fixed)

Opened 3 years ago

Last modified 3 years ago

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 ?:

Description

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. [3]  http://portableapps.com

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

Change History

Changed 3 years ago by bflorat

  • status changed from new to closed
  • version set to 1.9-dev
  • resolution set to fixed

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  http://integration.jajuk.info/hudson/job/Jajuk%20Daily%20Build%20-%20Trunk/ )

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

Add/Change #1615 (Forced workspace location)

Author



Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.