Author Topic: importing settings from older versions of codeblocks  (Read 7472 times)

Offline laserbeak43

  • Multiple posting newcomer
  • *
  • Posts: 61
importing settings from older versions of codeblocks
« on: January 20, 2008, 02:26:20 pm »
hi can i import settings of older nightly builds?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: importing settings from older versions of codeblocks
« Reply #1 on: January 20, 2008, 02:42:39 pm »
hi can i import settings of older nightly builds?
There is not really an import - you can just try to use the old settings file. Worst thing that can happen is that you have parts that will never be used in the config and/or your layout maybe broken (until you delete the current layout). In addition there is also a tool called cb_share_config (part of the SVN sources) that would allow you to transfer settings of an (old) config file to another. But only the most important parts not each and every possible feature.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline laserbeak43

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: importing settings from older versions of codeblocks
« Reply #2 on: January 26, 2008, 05:03:36 pm »
interesting!!
thanks for the reply!! :)

Offline laserbeak43

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: importing settings from older versions of codeblocks
« Reply #3 on: January 26, 2008, 05:09:12 pm »
is it the config.script in share\CodeBlocks\templates\wizard\lf\files\common\buildscripts?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: importing settings from older versions of codeblocks
« Reply #4 on: January 26, 2008, 05:20:16 pm »
is it the config.script in share\CodeBlocks\templates\wizard\lf\files\common\buildscripts?
No it's "default.conf" in "~/.codeblocks" on Linux and c:\"Document and Settings\<username>\Application Data\codeblocks" on Windows.
Path for Windows might not be exactly the same (I only have a german system not an english one).

Offline laserbeak43

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: importing settings from older versions of codeblocks
« Reply #5 on: January 26, 2008, 05:31:23 pm »
hmm... thanks, seems that it must have already been updated since i downloaded and executed a nightly build before i even posted this?
i guess i could always just open up an instance of each version and copy and paste my wanted settingS?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: importing settings from older versions of codeblocks
« Reply #6 on: January 26, 2008, 06:56:48 pm »
hmm... thanks, seems that it must have already been updated since i downloaded and executed a nightly build before i even posted this?
i guess i could always just open up an instance of each version and copy and paste my wanted settingS?

Cut and Paste is Very Strongly discouraged of configuration settings; can cause had to diagnose problems.
No, if it does not work don't blame us; or ask for help on fixing the settings. Or on fixing any other C::B problem you have till you delete the configuration and use a standard method to update them.

Note: I am not an member of the Code::Blocks Team, but at least one other Code::Blocks forum member agrees with the above.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline laserbeak43

  • Multiple posting newcomer
  • *
  • Posts: 61
Re: importing settings from older versions of codeblocks
« Reply #7 on: January 26, 2008, 07:14:10 pm »
erm, ok, not a problem. what did i say wrong to get such a reaction? I LOVE CODE::BLOCKS

-edit-
reason i asked is cause i can't find info on how to find the svn.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: importing settings from older versions of codeblocks
« Reply #8 on: January 26, 2008, 07:18:20 pm »
erm, ok, not a problem. what did i say wrong to get such a reaction? I LOVE CODE::BLOCKS

Many 1000's hours of developer time has been wasted when the cause was found to be the user cut and pasted settings in a configuration file. This is on all open source projects not just Code::Blocks.

reason i asked is cause i can't find info on how to find the svn.

http://www.codeblocks.org/source_code.shtml

Tim S
« Last Edit: January 26, 2008, 07:21:16 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org