coderanger.com blog

news about what I am developing and other random thoughts

BuildIT 2.0 Build 115 Released


A new build is available that adds a couple of minor features and fixes:

  • Added ability to ‘copy’ an item in the File Management Task list
  • Added nice new QHTM List Box control for Insert Items dialog and made it sizeable
    Insert Items dialog is now sizeable and has more description
  • Added graphics to most dialogs
    Graphics have been added to most dialogs and pages to make them a little less daunting
  • Improved/Changed task graphics and icons
  • Fixed some nasty resource leaks and excessive GDI and memory usage when many progress bars appear within the output window
  • Fixed output log not scrolling to the end when new output is added

Don’t forget, please let me know if something isn’t working or requires a change or addition to make BuildIT more useful … I love to hear feedback and it helps focus things.

16 Responses to “BuildIT 2.0 Build 115 Released”

  1. Josh McFarlane Says:

    for some reason your manage files task doesn’t work properly.

    I want to do the equivalent of rmdir /s /q C:/SomeDir.

    Delete Directory Tree returns an error that the directory is not empty. Delete Directory clears all the files in it, and all the files in subdirectories, but not the directories themselves.

    Also, attempting to run the valid DOS command rmdir says that rmdir cannot be found.

    The hack ended up being:

    Run DOS Command:
    cmd.exe

    With Commandline:

    /C rmdir /s /q Treetodelete.

    Is there an easier way to do this?

    Also, the validation on the tabs can get annoying. I think it would be best to allow the user to flip through the tabs, even if they have invalid data, but to only force them to fix it on clicking OK. (Perhaps highlight the tab with invalid data as RED until fixed, sort of a passive notification rather than forcing me to deal with the data in a specified order.)

    Other than that, great software!

  2. Dan Says:

    This appears to be a bug, as delete directory tree should do exactly what you would imagine it to do. It appears to have been broken with some changes I made for a previous release, some files and some folders are being deleted but not if there is more than one folder in the root.

    I take your validation points on-board and will check to see if there is something that can be done about that … i might just allow you to do what you want and output error messages in the output if they arent fixed prior to running the task.

    Thanks for the feedback.

  3. Lorenzo Zotano Says:

    I need some help using command line parameters. I need to run a task every day in a computer but at a time when nobody is in the computer, so i need to automate a task. Can you help me ?

    Thanks.

  4. Dan Says:

    What you probably need to do is create your appropriate task(s) in BuildIT, then use something like Windows Task Scheduler to schedule this build file to run at a specified time each day whether you are logged onto the computer or not.

    BuildIT makes this easier by creating your tasks, saving the file, then just choose “Schedule Run…” from the “Run” menu, this will bring up the Windows Task Scheduler dialog with all the bits filled out for you, you just need to specify the time and days that you want it to run.

    Hope this helps.

  5. Raghu Says:

    Dan,

    I’m using your wonderful application to do some of my automated tasks. I have setup a task to get latest of the entire solution. I have a SourceSafe server and when I try to get the solution recursively, I get this error.

    Can you please help me find the problem?

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Tasks started at 20/06/2006 10:56:46 - (executing 1 item)

    Executing item ‘UtilitiesGetFromVS’ at 20/06/2006 10:56:46…
    Connect to SourceSafe Database ‘\\server03\Source\Sterling.Utilities\srcsafe.ini’ as karupakala_r
    There was an error finding the item ” for the chosen operation
    Continuing as StopOnError for item ‘UtilitiesGetFromVS’ was off

    All tasks executed successfully

    Tasks finished successfully at 20/06/2006 10:56:46 - (tasks took 0 seconds)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Thanks,

    Raghu.

  6. Carl Says:

    First, let me compliment you on a wonderful product in BuildIT. It is exactly what I have been looking for. It has the features I need, but is not overly complex.

    I have found one issue with the integration with sourcesafe. It appears that when you run a “Get” operation and have the recursive box checked, it not doing a truly recursive “Get”.

    It seems to be getting all of the files in the sourcesafe project that you specify. But, I would expect a “Recursive” get to get latest of the directory specified AND all subdirectories (recursively).

    Would it be possible to add this ability? Or am I maybe just missing it somehow.

    Thanks,
    Carl

  7. Raghu Says:

    Dan,

    Just to let you know that I’ve fixed the problem. The problem was that I was not mentioning the name of the project properly. If this helps to anyone, the parameters for getting latest on a project from SourceSafe should be set the following way.

    Database Path: H:\MyApplication\srcsafe.ini
    Operation: Get, and check the box ‘Recursive’
    Project: $/MyApplication/ (Notice forward slash and the $ sign).

    This did its magic.

    Dan, I have been developing applications (both win and web) and I have seen and used lot of application and I have to say this is one of the best I’ve used! Keep up the good work! Waiting for more applications like this from you!

    Thanks,

    Raghu.

  8. Dan Says:

    Sorry Raghu, I have been away so didnt see your comments. Yes you got it right, it has to be the project path that you see in Sourcesafe above the right hand list starting “Contents of $/…”.

    I could put a bit of validation in to make sure the $ is at the beginning and provide an example.

  9. Dan Says:

    Carl, thanks for your lovely comments, it makes the long nights worthwile.

    As for your issue, it should do a recursive get just as you would expect for all sub-projects.

    It does for me, perhaps there is some setting in SourceSafe that is stopping this happening via automation. Try setting the default for your “Get” within SourceSafe to “Recursive”. Does this help?

  10. Carl Says:

    That appears to be working Dan, thanks a lot for your help!

    I have another question now :-)

    Is it possible to get a timestamp at the beginning of the build run (when you click Run All) using variables, and have it hold that value for the entire build process?

    What i’m trying to do is have the build process create a folder on the network using a time stamp to which it should copy files. The file copying process usually takes 2 - 3 minutes. At the end of all of the steps, I have it sending a success email to the administrators using the same timestamp variable to let them know where the files were copied to. But, since it took a while to copy the files, the time has changed. I would like a way to be able to only evaluate the timestamp variable at the beginning of the process and then use that same variable throughout the other steps (emails, labeling sourcesafe, etc). Is this possible.

    Again, I want to thank you for such a great product!

  11. Dan Says:

    I would create a “script” task at the beginning that has the following code:
    Sub Main()
    BuildIT.CreateMacro “TIME”, “$YYYY$$MM$$DD$$HH$$NN$”
    End Sub

    Then you can use the macro “time” in any task and it gets expanded. So you could create a folder with “d:\test\$TIME$\” to create a timestamped folder.

    That should do what you want.

    Choose “Script Functions and Macros” from the Help menu for a list of available macros and script functions you can use.

    Hope this helps.

  12. Carl Says:

    That worked. Thanks so much!

  13. Brandon Says:

    I have a build with 9 solutions, 3 pieces each get latest/build, copy.

    Two of the solutions seem to always fail, though all are developed using the same version of Visual studio (2003)

    This is the command its running :
    Building command line: ‘”c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.com” “C:\Apps.NET\Sterling.VersionFramework\Sterling.VersionFramework.sln” /REBUILD “Debug” ‘

    That appears identical to one that works :
    Building command line: ‘”c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.com” “C:\Apps.Net\Sterling.CacheFramework\Sterling.CacheFramework.sln” /REBUILD “Debug” ‘

    If i open the solution manually, it opens in 7.1 (2003).

    Any idea?

  14. Brandon Says:

    I forgot to make it clear, we DO have 2005 and 2.0 framework installed on our machines here, but all these solutions are 2003 / 1.1

  15. Kien Says:

    I’m having some trouble with using this tool when I have VS.2005 installed side by side with 2003. Even though it states ‘Run as a Visual Studio 7″ Project, it will still access the VS8 compiler and attempt to load the VS7 files. The message is “Solution file ” is from a previous version of Visual Studio. To convert the Solution….” and exits as sucessfull.

    I couldn’t find a place to specificy exact paths for where visual studio is installed.

  16. Dan Says:

    BuildIT only handles VS2006 and VS6 so anything inbetween is unlikely to work. What I need to do (for those with multiple versions running alongside) is to have separate tasks for each version of VS … this I will do for the next version.


Leave a Reply

archives

  • December 2007
  • July 2007
  • June 2007
  • November 2006
  • April 2006
  • November 2005
  • October 2005
  • September 2005
  • July 2004
  • June 2004
  • November 2003
  • October 2003
  • September 2003
  • categories

  • BuildIT (21)
  • General (47)
  • MailViewIT (1)