User forums > Help

C::B & Uniwin

<< < (3/6) > >>

Rigel:
Hmm... Uniwin looks for changes in specified directory and syncronizes with remote directory through sftp. Since C::B uses complex saving method, I don't think it is easy to make it compatible with Uniwin without breaking current save method. Tomorrow I will try to add *.tmp mask to sync files in Uniwin. I think this can help... I will report this.

Update: Adding *.tmp to sync files mask didn't help...

killerbot:
I think that way of saving files is already in CB way longer then 8nov2006. I remember that someone once posted that uniwin works with CB (search the forum), so it seems the problem might be something else.
Help Morton back track since when it did not work anymore so he can have a look at the code.
[EDIT] : http://forums.codeblocks.org/index.php?topic=2378

Rigel:
Yes, 08.11 nightly saves this way too. Uniwin catches file changes sometimes. i don't know why "sometimes", but it helps me somehow )

Thats why I looking forward at Enviroment Variables settings per target (or help how to set them at pre-build commands) and slashes\backslashes issue (maybe its nice to add option to switch replacement on/off?)...

MortenMacFly:

--- Quote from: Rigel on November 21, 2006, 09:57:25 pm ---Thats why I looking forward at Enviroment Variables settings per target [...]

--- End quote ---
I guess I'm still missing something here: You said previously that you would like to pass specific variables per-target. Why don't you use user variables for this as they should get replaced also for the commands?! Thus in the command write something like:

--- Code: ---call_my_batch.bat $MyUserVar
--- End code ---
And setup the user variable for this target e.g. as "123.234.123.234"...
Then inside the batch file you can do with it whatever you want, e.g.

--- Code: ---@echo off
echo The command line provided is: %1.
the_app.exe "%1"

--- End code ---
With regards, Morten.

Rigel:
OK, I got you idea. Tried out and it works!

What about backslashes? How can I avoid replacement?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version