Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Multiple configuration files with TheIDE
Re: Multiple configuration files with TheIDE [message #40444 is a reply to message #40443] Thu, 01 August 2013 22:12 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Novo,

If you're on Linux, you can simply achieve this with zero lines of code Smile All you need to do is to create a symlink to theide binary with different name, e.g.
ln -s /usr/bin/theide /usr/bin/theide-laptop
This way, theide started through the symlink will think the application name is theide-laptop and will store configuration to ~/.upp/theide-laptop/ instead of the usual path. So you get two completely separate sets of configuration.

The downside could be that buildmethods, assemblies and other configuration would be split too, but that can be fixed by hardlinking one to the other if desired (I think symlink wouldn't work in this case, as theide overwrites the file, but I might be wrong).

I successfully use this trick to keep a clean configuration for testing purposes...

On windows, similar thing can probably be done, but I never tried and I don't really remember the perks of windows filesystems anymore Smile

Best regards,
Honza
 
Read Message
Read Message
Read Message
Previous Topic: Check all files when updating
Next Topic: [BUG & Patch] TheIDE under POSIX dosen't open directories containing spaces.
Goto Forum:
  


Current Time: Tue May 13 14:30:48 CEST 2025

Total time taken to generate the page: 0.00472 seconds