It's all about the answers!

Ask a question

User Properties during compiles


Robert Johnston (4378) | asked May 09 '12, 5:36 p.m.
Is there a way to reference the User Properties on a file during the ant builds? (we are using AntEE on z/OS). I have a number of parts that I want to add some extra compiler options on without having to actually create a new language definition/translator.

I've created a rexx translator with the Default Options :

ALTERNATE CEXEC COMPILE IEXEC SLINE ${COMPILER_OPTION}

I then added User Properties to my files for COMPILER_OPTION and I was hoping the rexx translator would pick up and fill in for each file as it compiles. However it seems to be ignoring the COMPILER_OPTION flag.

Should this be working and I have something set up wrong?

Thanks
Rob.

One answer



permanent link
Robert Johnston (4378) | answered May 10 '12, 12:43 p.m.
I played a bit more with this, and it will pick up the property if I set it at the build level, but I'm still not getting this to work on a file by file basis.

Any thoughts?
Rob.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.