PDA

View Full Version : EurekaLog 6 and Automated Build Studio 5 problem


Unregistered
04-Dec-2008, 08:14 PM
Hello,

I was just wondering if anyone in here successfully use EurekaLog 6 within Automated Build Studio scripts? I'm using Automated Build Studio 5 to nightly build our Delphi 7 projects and when I try to use the "EurekaLog 6 operation" I'm getting error: Failed to find an appropriate compiler. I've posted question to the AutomatedQA support team for several days but they haven't answer back. Although, when we manual compile the project within the Delphi 7 IDE and have it use EurekaLog it'll compiled fine and everything works great. So, my question is what is the "appropriate compiler" that ABS is looking for and where should it be located? If someone can please offer some suggestion as to what is the file name and from what folder I can get and/or put it in to get this to work I'd be very appreciated.

Thank you very much.

admin
11-Dec-2008, 08:26 AM
Hi,

I have only add an "EurekaLog 6 Operation" and leaved all the default values filling only the project field with the .DPR file full path.

This will compile the project too, so you can remove any prior Delphi 7 project build operation related to the same .DPR file.

Unregistered
12-Dec-2008, 05:49 PM
Thank you for your suggestion but it still didn't work. It seems ABS cannot see the file ecc32.exe even though it's there in \Borland\Delphi7\Bin. I've copied the file ecc32.exe to all the other folders in the search path and it still didn't work. I'll try other ways and let you know the result. Thanks again.

admin
15-Dec-2008, 04:54 PM
Hi,

are you sure to run ABS with the same user used to install EurekaLog?

Unregistered
23-Dec-2008, 09:57 PM
Hello,

I've un-installed and re-installed ABS and EurekaLog a few times already. I'm logged in, installing, using the 2 programs under the same user name. It looks like ABS is looking for ecc32.exe in another folder, I'm not sure where. I've copied ecc32.exe to a lot lot places including the ABS search path but it still doesn't work.

I'm thinking of doing it another way. I'll use the "Execute Program" operation in ABS to call ecc32.exe directly. By reading the EurekaLog help file I see that I can call this with options --el_config to "compile the project with different EurekaLog option file". How can I create this option file? Where can I find it and what can I put in it? I cannot set Delphi7 to compile with EurekaLog by default so I guess I need to include the "EurekaLog option file" to set all the properties of a EurekaLog build.

Thank you

Unregistered
27-Dec-2008, 06:46 PM
Hello,

I'm very interested in using ECC32.EXE with the --el_alter_exe option. Can you please provide more information on what's the purpose and how to use this option? The explanation in the Help file is too short and too vague for me to understand. Please elaborate on the use of ECC32.EXE both with the --el_config and --el_alter_exe options and if possible please provide some examples.

Thank you.

Karl
08-Jan-2009, 08:20 AM
Hello,

I've un-installed and re-installed ABS and EurekaLog a few times already. I'm logged in, installing, using the 2 programs under the same user name. It looks like ABS is looking for ecc32.exe in another folder, I'm not sure where. I've copied ecc32.exe to a lot lot places including the ABS search path but it still doesn't work.

I'm thinking of doing it another way. I'll use the "Execute Program" operation in ABS to call ecc32.exe directly. By reading the EurekaLog help file I see that I can call this with options --el_config to "compile the project with different EurekaLog option file". How can I create this option file? Where can I find it and what can I put in it? I cannot set Delphi7 to compile with EurekaLog by default so I guess I need to include the "EurekaLog option file" to set all the properties of a EurekaLog build.

Thank you

Hi,

The EurekaLog option file contains the same settings from the [Exception Log] section that is in either the .DOF, .BDSPROJ or .DPROJ project file.

If you use the --el_config option then EurekaLog will use these options rather than the ones in the project files.

hope this helps
Karl

admin
08-Jan-2009, 08:44 AM
Hi,

the best thing to do to solve your ABS issue is:

Add an "Execute Program" macro using the following parameters:
* Filename: full ecc32.exe file path;
* Parameters: --el_alter_exe"ProjectFile.dpr"

The "--el_alter_exe" parameter was created just to allow the use of 3thy party tools that are not able to runs directly the ecc32.exe command-line compiler.
It simply add to a just compiled file the EurekaLog options and debug data.

PS: what do you think to open a new bug on the ABS site (if you want I can help you because I'm in contact with the ABS authors)?

Unregistered
08-Jan-2009, 06:40 PM
Thank you all for your replies. I'll try out the suggestion by Fabio to use the operation "Execute Program" with --el_alter_exe parameter.

The good news (well, partially) is that we've found out the problem with ABS integration of EurekaLog. For some reason and only on this machine ABS was looking for the ecc32.exe file in \Program files\Borland folder instead of \Program files\Borland\Delphi7\Bin folder. We copied the ecc32.exe file to \Program files\Borland folder and ABS script would build now. However, ABS will not execute the EurekaLog 6 operation if you set Dialog Type to none. It requires you set the Diaglog Type to either Messagebox, MS Classic, or EurekaLog. That's very strict. We have to set the Diaglog Type to MS Classic at build time and then reset it back to none in the code.

Thanks again.

admin
09-Jan-2009, 01:50 PM
Hi,

I suggest you to post this big bug to the ABS site and to use my suggestion to works with it without any limitations (waiting for the official fix)! :)