Thanks
Sid.
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
1. Create a CEC file for the versioning capability. The CEC file will tell
the build system what it wants to do (in my case, run a custom EXE), and
when it needs to do it (in my case, during the PreMakeImg stage of the
build). The #CUSTOM build action allows you to run a batch file or EXE (as
indicated in my other messages, don't put the EXE in the same directory
where it's supposed to run, however, unless you include the full path).
2. Add this CEC file to the catalog (File|Manage Catalog Features... menu
item in PB).
3. Add the feature to your project (find it in the catalog and add feature
to platform).
Depending on what exectly you're doing and when it needs to be done, this
should handle most cases.
Paul T.
"Sid Price" <sidp...@softtools.com> wrote in message
news:OnYZcFT#CHA....@TK2MSFTNGP11.phx.gbl...
Once again it seems to me that this a missing feature of the tool chain, to
be able to version the image. With DevStudio and eVC one has to play similar
games to get the version of an EXE or DLL updated automatically. This is
something that should be bult into all these kinds of tools. Now VB has it
built-in!
Thanks again,
Sid.
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
"Paul G. Tobey [eMVP]" <ptobey...@instrument.com> wrote in message
news:#8swbNT#CHA....@TK2MSFTNGP10.phx.gbl...
Paul T.
"Sid Price" <sidp...@softtools.com> wrote in message
news:#Ke3qRT#CHA....@TK2MSFTNGP10.phx.gbl...
ComponentType
(
Name ( "Build Control" )
GUID ( {0C5D229C-8CAE-4338-A329-3F019A97C632} )
MaxResolvedImpsAllowed( 1 )
Implementations
(
Implementation
(
Name ( "IncrementBuild" )
GUID ( {590257B3-5303-44FB-A265-079DDC4E4F52} )
Description ( "Increment the build number file for the current
platform" )
Version ( "4.1.0.0" )
Locale ( 0409 )
Vendor ( "Sid Price Software Tools" )
Date ( "4/2/2003" )
SizeIsCPUDependent( 1 )
BuildMethods
(
BuildMethod
(
GUID ( {DB394F4A-ABED-4AD3-8A04-3C48B17C8E63} )
Step ( PreMakeImg )
CPU ( "emulator" )
CPU ( "x86" )
CoreOS ( "IABASE" )
CoreOS ( "HLBASE" )
Action ( '#CUSTOM("$(_FLATRELEASEDIR)",
"$(_WINCEROOT)\COMMON\BuildInc\BuildInc.exe")' )
)
)
)
)
)
Thanks
Sid.
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
"Paul G. Tobey [eMVP]" <ptobey...@instrument.com> wrote in message
news:OYoOfUT#CHA....@TK2MSFTNGP11.phx.gbl...
--
Dean Ramsier - eMVP
Accelent Systems
http://www.accelent.com
"Sid Price" <sidp...@softtools.com> wrote in message
news:OnYZcFT#CHA....@TK2MSFTNGP11.phx.gbl...
I *don't* see anything wrong. What exactly does the build log say when it
fails? You *are* intending to limit the tool to x86 and emulator builds,
right? Any chance that the GUIDs are copied from some other CEC already in
the build, causing a problem?
Paul T.
"Sid Price" <sidp...@softtools.com> wrote in message
news:eGoDjZU#CHA....@TK2MSFTNGP10.phx.gbl...
Now at this point the EXE does NOT live where the CEC file says it is, in
fact it doesn't exist I am still writing it. So, when I build my platform it
should error right? Well I see no error and my platform builds.
Any clues?
Sid
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
"Paul G. Tobey [eMVP]" <ptobey...@instrument.com> wrote in message
news:emJdyfU#CHA....@TK2MSFTNGP10.phx.gbl...
Keeping that in mind it would be nice if the tools provided an open
architecture based on real world scenarios covering the single developer
scenario to large teams where only the QA group assigns build numbers. There
are a number of ways to do this using CEC files and the post processing BAT
files. But no standard has arisen as of yet.
--
Steve Maillet (eMVP)
Entelechy Consulting
smaillet_AT_EntelechyConsulting_DOT_com
I have two more questions: Is there a macro to get to my project base
directory, I tried $(_TARGETPLATROOT) but that takes me to the root of the
BSP not the platform I am building. By using this the CEC becomes generic
since I can copy to $(_FLATRELEASEDIR). BTW: Where are these very useful
macros listed?
Also, which output stream of my utility will PB capture for the output
window? I would like some confirmation that it has run. I tried making it a
console application and using printf, but that did not appear.
Many thanks for all the help,
Sid.
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
"Paul G. Tobey [eMVP]" <ptobey...@instrument.com> wrote in message
news:O0rgaJV#CHA....@TK2MSFTNGP11.phx.gbl...
> Hmmm. If you do a Clean from the Build menu (I'm assuming you're using PB
> 4.1, I guess), it should do the custom step very early in the process.
> Also, if you do a Make Image from the Build Menu, it's pretty much the
first
> thing that happens. It generates a red error line in the build output
window
> for me when it can't find the EXE. The only thing that might be a problem
> is the CPU choice or, maybe, the OS choice (IABase, etc.). I don't even
> have an OS type in my CEC file. My CEC is attached.
>
> Paul T.
>
> "Sid Price" <sidp...@softtools.com> wrote in message
> news:uqRYMrU#CHA....@TK2MSFTNGP10.phx.gbl...
Where is this stuff documented?
Still would like some output from my utility in the output window, any
pointers please,
Sid.
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
"Sid Price" <sidp...@softtools.com> wrote in message
news:u19R#KW#CHA....@TK2MSFTNGP11.phx.gbl...
The macros are unfortunately not documented in any one place. Worse yet the
available macros are different depending on where you are trying to use
them! This is an area of the tools that is need of some cleaning up.
Paul T.
"Steve Maillet (eMVP)" <nos...@EntelechyConsulting.com> wrote in message
news:OH68KfW#CHA....@TK2MSFTNGP11.phx.gbl...
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
"Paul G. Tobey [eMVP]" <ptobey...@instrument.com> wrote in message
news:eyEQajW#CHA....@TK2MSFTNGP10.phx.gbl...
--
Dean Ramsier - eMVP
Accelent Systems
http://www.accelent.com
"Sid Price" <sidp...@softtools.com> wrote in message
news:em$81YW#CHA....@TK2MSFTNGP11.phx.gbl...
Thanks for taking the time to respond,
Sid.
--
----------------------------------------
Sid Price's Software Tools
http://www.softtools.com
-----------------------------------------
"Dean Ramsier" <dramsie...@accelentnospam.com> wrote in message
news:eWgSfUh#CHA....@TK2MSFTNGP12.phx.gbl...