User forums > Using Code::Blocks

remote ip in cb project file

(1/3) > >>

renega_666:
Hi!

We have an issue with the remote target ip address being stored in the cb project file. The project file is under version control and each team member has a dedicated remote machine to test and debug our code. The issue is that as every time we synchronize our work we have conflicts on the cb project file because of different remote ip.

To fix the problem I tried to use a global variable but cb doesn't seem to recognize it (the global variable dialog  does not show (it does for every other global variable used in the project)).

Isn't there any way to specify the remote ip as a global IDE settings?

EDIT:

Codeblocks rev 8059 (17 june 2012) on windows xp.



oBFusCATed:
No, but you can force you colleagues not commit this setting :)

zabzonk:
The normal way to handle this is either to store the IP address in a file that isn't version controlled (or is only version controlled locally), or to use an environment variable, set outside of the development environment, for example during login.

renega_666:

--- Quote ---The normal way to handle this is either to store the IP address in a file
--- End quote ---

I thought about it but how would you make cb aware of this file? Using a script?

oBFusCATed:

--- Quote from: renega_666 on August 29, 2012, 07:06:28 pm ---I thought about it but how would you make cb aware of this file? Using a script?

--- End quote ---
By patching C::B of course and fixing the real problem.

Navigation

[0] Message Index

[#] Next page

Go to full version