Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
batchbuild issues with backticked commands
takeshimiya:
--- Quote from: MortenMacFly on October 18, 2006, 11:24:00 pm ---
--- Quote from: Takeshi Miya on October 18, 2006, 11:18:09 pm ---3) The Environment Variables should be part of the SDK, if not, we have inter-plugin dependences and the side effect that you get different things between batch builds and normal builds.
--- End quote ---
I wouldn't say this. It can (and should) be a plugin (otherwise you could argue that e.g. the compiler plugin should be in the sdk, too - right?).
--- End quote ---
Yes, both ways are arguable, but because you could say "have cbEditor as plugin", or for example you can "set the Network proxy" in Environment, but you can't "set environment variables"?
Either way, it's fine as long while it can be accessed from Squirrel.
MortenMacFly:
--- Quote from: tiwag on October 18, 2006, 11:30:33 pm ---
--- Quote from: Takeshi Miya on October 18, 2006, 11:18:09 pm ---6) The default.conf is getting unreliable lately, but this is for another post.
--- End quote ---
true, i had a lot of issues too
--- End quote ---
I think this has already been resolved by Thomas meanwhile. IMHO the reason were the TinyXml changes related to <, > and consorts. But this works now properly... (I hadn't have any issues since then).
With regards, Morten.
MortenMacFly:
--- Quote from: Takeshi Miya on October 18, 2006, 11:35:12 pm ---Either way, it's fine as long while it can be accessed from Squirrel.
--- End quote ---
So hopefully you've seen that I have edited the post you are refering to meanwhile (sorry if our posts crossed). So this should be fine then?!
With regards, Morten.
takeshimiya:
--- Quote from: tiwag on October 18, 2006, 11:30:33 pm ---
--- Quote from: Takeshi Miya on October 18, 2006, 11:18:09 pm ---1) wx-config --prefix= hangs even in command-line when the exe was built with MSVC2005 Express only.
--- End quote ---
didn't try but i don't believe this
--- End quote ---
Then try it first :wink:
You may have to do a
--- Quote ---set WXCFG=
--- End quote ---
and
--- Quote ---set WXWIN=
--- End quote ---
to reproduce it.
--- Quote from: tiwag on October 18, 2006, 11:30:33 pm ---
--- Quote from: Takeshi Miya on October 18, 2006, 11:18:09 pm ---2) Code::Blocks parses backticks outputs. Thus self-referencing backticks causes an infinite loop. Is this good behaviour or not?
--- End quote ---
it is good behavior
think of nested calls of some backticked commands
`aaa` -> `bbb` -> "something useful"
--- End quote ---
OK, re-asking the question and having in mind that back-ticks in Windows are supposed to do exactly the same thing as in Linux.
So the question becomes: what does bash with self-referencing back-ticks? We need to have the same behavior.
--- Quote from: Takeshi Miya on October 18, 2006, 11:18:09 pm ---4) Question: for those who know, errors should be better printed in stdout or stderr? My idea is that a C::B regex can parse them.
--- End quote ---
--- Quote from: tiwag on October 18, 2006, 11:30:33 pm ---PLEASE don't print novels as error messages
just send ( "ERROR: %d : %s\n", errornumber , errordescription )
--- End quote ---
In short, sending long messages to stderr and one-liners to stdout is what you suggest and what gcc does, for instance?
takeshimiya:
--- Quote from: MortenMacFly on October 18, 2006, 11:35:54 pm ---I think this has already been resolved by Thomas meanwhile. IMHO the reason were the TinyXml changes related to <, > and consorts. But this works now properly... (I hadn't have any issues since then).
With regards, Morten.
--- End quote ---
Yes, but I'm talking about lot of different issues with it not related to that, which deserves a thread on it's own.
--- Quote from: MortenMacFly on October 18, 2006, 11:37:37 pm ---So hopefully you've seen that I have edited the post you are refering to meanwhile (sorry if our posts crossed). So this should be fine then?!
--- End quote ---
If one can Add new variables, Change variable values, Delete variables, Toggle variables and Set now variables from Squirrel, it's perfectly fine.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version