ANT Project action and parameter

Hello.

We use an "execute progam" action to call an ANT build script.

Program File: %ANT_PATH%\bin\ant.bat
Parameters: -logger org.apache.tools.ant.listener.MailLogger -f %BUILDDIR%\build.xml %ANT_TARGETS%
Start In: %BUILDDIR%

At the end of the ANT build a mail with the log from the ANT build is sent via mail.

 

Whe I use the "ANT Project" action for that, I try to use this settings

Build file: %BUILDDIR%\build.xml
Targets: %ANT_TARGETS%
Properties->Property: logger
Properties->Value: org.apache.tools.ant.listener.MailLogger

But ANT doesn't sent out a mail at the end of the ANT build.

 

Is there any other way to set command line parameters for the ANT.BAT build command?

Regards
Michael

Hi Michael,

Thanks for bringing this to our attention. The option was not supported in the current version of the Ant action.

I just added support for this option, and a test build with the new option is now available. You can download it from the following URL:

https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_444.exe


If you'd rather not use a test build version, there is a special custom option on the "Action Inspector" tab called "Extra Params at End". You should be able to add the "-logging " option there in the current version.

Regards,

Angus

Hello Angus,

I don't find the "Action Inspector" tab with the special custom option "Extra Params at End".
I have only the Tabs "General", "Runtime" and "Ant Options" when I look at the ANT action.

 

Do you plan to fix this in Version 4.x too?
Most of our scripts ran with 4.x this time.

 

Regards
Michael

The “Action Inspector” tab isn’t part of the Ant Project action, it’s in the top left pane of the main window. There are three tabs there, “Project”, “Action Types”, and “Action Inspector”. I had to look around a bit for it, too. :slight_smile:

Keith

Hi Michael,

As Keith pointed out, the Action Inspector is in the same tabset as Action Types and Project on the left hand side of the IDE.

And, as there is an acceptable workaround, we’re not planning to back-port this to FB4.

.t8