Re: This template is already defined? *
Mauro Ziliani <[email protected]> Tue, 25 Jan 2011 10:37:45 +0100
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============5727545652569285551== Content-Type: multipart/alternative; boundary="------------060300090104050208030209" This is a multi-part message in MIME format. --------------060300090104050208030209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi i'm working with wx2.8 and wx2.9. I need to check if the template 'wxlike' and 'wxgui' are already defined. When I work with wx2.9 and wx2.8 in linux this is not important. When I compile my project in msvs2008prj this is important because inside the wx2.8.11 presets the two templates are not defined, while in 2.9.1 they are. So I need to check if 'wxlike' and 'wxgui' already exists. On 28/10/2010 13:13, Vaclav Slavik wrote: > Junk Score: 1 out of 10 (below your Auto Allow threshold <https://www.boxbe.com/mail-screening>) | Approve sender > <https://www.boxbe.com/anno?tc=5602164339_146163211> | Block sender <https://www.boxbe.com/anno?tc=5602164339_146163211&disp=b> | > Block domain <https://www.boxbe.com/anno?tc=5602164339_146163211&disp=b&dom> | Boxbe <https://www.boxbe.com/overview> > > > On 28/10/10 11:01, Mauro Ziliani wrote: >> How to check if a template is already defined? > You can't. > >> How can I access to the templates dictionary within bakefile script? > You can't -- and shouldn't ever have the need to access such internals. > If you do, I think there's some better solution for your (unknown) problem. > > > Regards, > Vaclav > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps& games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Bakefile-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bakefile-devel --------------060300090104050208030209 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi i'm working with wx2.8 and wx2.9.<br> I need to check if the template 'wxlike' and 'wxgui' are already defined.<br> <br> When I work with wx2.9 and wx2.8 in linux this is not important.<br> When I compile my project in msvs2008prj this is important because inside the wx2.8.11 presets the two templates are not defined, while in 2.9.1 they are.<br> So I need to check if 'wxlike' and 'wxgui' already exists.<br> <br> <br> <br> <br> On 28/10/2010 13:13, Vaclav Slavik wrote: <blockquote cite="mid:7.834754783293246E7.Boxbe" type="cite"> <div style="font-size: 12px; color: rgb(102, 102, 102); font-family: 'Lucida Grande',Helvetica,Arial,sans-serif;"> Junk Score: 1 out of 10 (below <a moz-do-not-send="true" style="text-decoration: none; color: rgb(94, 150, 234);" href="https://www.boxbe.com/mail-screening">your Auto Allow threshold</a>) | <a moz-do-not-send="true" style="text-decoration: none; color: rgb(94, 150, 234);" href="https://www.boxbe.com/anno?tc=5602164339_146163211">Approve sender</a> | <a moz-do-not-send="true" style="text-decoration: none; color: rgb(94, 150, 234);" href="https://www.boxbe.com/anno?tc=5602164339_146163211&disp=b">Block sender</a> | <a moz-do-not-send="true" style="text-decoration: none; color: rgb(94, 150, 234);" href="https://www.boxbe.com/anno?tc=5602164339_146163211&disp=b&dom">Block domain</a> | <a moz-do-not-send="true" href="https://www.boxbe.com/overview" style="text-decoration: none; color: rgb(94, 150, 234);"><img moz-do-not-send="true" alt="Boxbe" src="http://www.boxbe.com/images/logo_dark_small.png" style="margin-left: 5px; border: medium none;" width="64px"></a><img moz-do-not-send="true" src="http://www.boxbe.com/stfopen?tc=5602164339_146163211"><br> </div> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> On 28/10/10 11:01, Mauro Ziliani wrote: </pre> <blockquote type="cite"> <pre wrap="">How to check if a template is already defined? </pre> </blockquote> <pre wrap=""> You can't. </pre> <blockquote type="cite"> <pre wrap="">How can I access to the templates dictionary within bakefile script? </pre> </blockquote> <pre wrap=""> You can't -- and shouldn't ever have the need to access such internals. If you do, I think there's some better solution for your (unknown) problem. Regards, Vaclav ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/nokia-dev2dev">http://p.sf.net/sfu/nokia-dev2dev</a> _______________________________________________ Bakefile-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/bakefile-devel">https://lists.sourceforge.net/lists/listinfo/bakefile-devel</a> </pre> </blockquote> <br> </body> </html> --------------060300090104050208030209-- --===============5727545652569285551== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d --===============5727545652569285551== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bakefile-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bakefile-devel --===============5727545652569285551==--