Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2002
    Location
    Sydney, NSW, Australia
    Posts
    10

    Build Time Variables

    Hi,

    I have a script that covers two products, 95% of the files and are the same but same files are needed depending on the product name.

    I have made a CONSTANT called #_AppName#. And I call it the name I want and then save the script on the basis of that PRODUCT NAME (eg:
    #_AppName# = Product 1). This saves me having to make major changes to 2 scripts.

    Now to include the files I want I put in BUILD TIME CONDITION either "#_AppName#" = "Product 1" or "#_AppName#" = "Product 2" to the files I want to include.

    Unfornuately this doesn't seem to work as the size of the EXE file is the same as when I didn't have BUILDTIME INCLUSIONS.

    Has anybody got any advise on what I may be doing wrong.

    PS. I deleted all PACKAGES that may refer to the files and it doesn't make a difference.

    Thanks in advance.

    Regards
    David
    Centaur Software

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Build Time Variables

    Hi David,

    I tested your design however failed to replicate any problem with your design. However one potential problem is the value you are assigning to the design time constant. Make sure that value is a single string, no spaces. I tried with the variable you defined, and placed two different conditions on the two files and it seemed to have grabbed the correct file, based on the path that was displayed in the build log.

    Also make sure you are using 6.0.1.2. If you send your project file(.sf6) to support@indigorose.com, I'll take a closer look if you like.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts