The value for "Application Build ID" is picked up from the "Implementation-Version" attribute of MANIFEST.MF file of your EAR file.
You can add following code to your
ant script to automatically increment and set this value in the MANIFEST file.
<buildnumber/>
<property name="application.id" value="${DSTAMP}_${TSTAMP}_v${build.number}"/>
<manifest file="${src}/BeenThereEAR/META-INF/MANIFEST.MF">
<attribute name="Built-By" value="YourName"/>
<attribute name="Specification-Title" value="BeenThere"/>
<attribute name="Specification-Version" value="${build.number}"/>
<attribute name="Specification-Vendor" value="XXXXXX"/>
<attribute name="Implementation-Title" value="YourAppEAR"/>
<attribute name="Implementation-Version" value="${application.id}"/>
<attribute name="Implementation-Vendor" value="YYYYYY"/>
</manifest>