Build Definition
[edit}
What I have in place is
1) a build engine definition (with properties specified on the definition)
2) a build definition based on the ant template (with properties specified on the properties page) (there are two places that properties can be defined, one is the schedule page and one is the properties page.
3) a JBE that advertises as the build engine definitions execution resource.
I am running personal builds against my workspace using the build definition. (I have tried submitting properties on the build request also)
if I look at the log produced I see that the properties from the build engine and the submission request appear as properties my ANT script sees. I see no evidence that the build definition properties are present.
Snip from build log with -v -d specified for the ant command line: (some edits with .... for withheld info or chatty output...) bolded items are from the submission and the engine properties settings.
.....
Adding reference: ant.ComponentHelper
Setting ro project property: buildEngineHostName -> {cannot determine host name}
Setting ro project property: abcdefgh -> 12345678
Setting ro project property: com.ibm.team.build.internal.engine.monitoring.threshold -> 3
Setting ro project property: requestUUID -> _HOEUEDILEeWcW562sOfrfg
....
Setting ro project property: buildEngineId -> MyBuildEngine
Setting ro project property: personalBuild -> true
...
Setting ro project property: buildResultUUID -> _HOEUETILEeWcW562sOfrfg
Setting ro project property: buildLabel -> 20150724-0859
Setting ro project property: com.ibm.team.build.internal.template.id -> com.ibm.team.build.ant
Setting ro project property: team.scm.workspaceUUID -> _uT-zkCmPEeWvu7MCD8z2rA
Setting ro project property: team.scm.buildOnlyIfChanges -> true
Setting ro project property: myPassword -> ......
Setting ro project property: team.scm.acceptBeforeFetch -> true
Setting ro project property: team.scm.createFoldersForComponents -> false
Setting ro project property: team.scm.deleteDestinationBeforeFetch -> true
Setting ro project property: team.scm.includeComponents -> false
Setting ro project property: team.scm.loadComponents ->
...
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
...
Accepted answer
Comments
I will mark your answer as the accepted answer as it is (as far as I can tell) the exact right thing to do. I have done this but still do not see the properties from the build definition property page. Not quite sure what the issue is at this point. seems like an RTC to JBE communication issue in that the build definition (vs build engine, etc) properties are just not being passed in.
Try deleting the build definition and creating a new one.
I have tested 4.0.6 and 5.0.2 so far. Maybe it needs a second look again replicating your environment so please add a complete use case as well to jazz.net defect with your environment details. ( OS+Software versions etc )
One other answer
Comments
did recently change the build tookit to what should be the server level. both are 5.0.1 levels. (to the best of my knowledge).
regarding how they are being used. the are being referenced by name like this for example:
<ftp action="mkdir" server="<removed>"
userid="${myUserid}" password="${myPassword}"
passive="true" remotedir="${buildOutputDirectory}" verbose="true" />