I have a script that was made on a build machine, this machine was giving us problems so we replaced it. I copied the script to the new machine and i started building with it. After a few tweaks in the installation i got it to work. So far so good.
Now we are starting to build for our coming release and i noticed that the packages and exe are all build with debug info while these are turned off in the action. On the previous machine this all worked fine, but on the new machine that is running version 6.2.0.1265 i can't get the build so that the debug info is left out.
Is this something anyone else has seen or is it something in my configuration. Making a new action didn't work.
These settings in the dpk take precedence over the options passed to the command line compiler. To Counter this, the Delphi action in FinalBuilder has an option to update the package source to update those compiler options with the settings you want for your builds. If turning that option on doesn’t solve the problem then please send us ( support at finalbuilder.com) your finalbuilder project file and one of the package files (.dpk andf .dproj) so we can take a look and see what is happening.
I tested it and you are right. This means that i have to redesign my build. I don’t have .dpk at design time in the edit for the project file.
Some other questions: When i check this option when i have .dpk in the edit i can check it. And when i remove the .dpk the option is still checked. Do you think it will still do it’s job? Or do i have to keep the .dpk in the edit?
I place the package to build in variable that is used in the edit. So when the .dpk has to be in the edit i have to redesign.
Putting .dpk in the edit and then checking the option, and removing the .dpk works. But as you recommended i also did put the code in the before action script.