https://issues.apache.org/bugzilla/show_bug.cgi?id=49119
Summary: Enter key pressed twice - parameters lost on input
Product: Ant
Version: 1.7.0
Platform: Sun
OS/Version: SunOS
Status: NEW
Severity: major
Priority: P2
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
Here is the detail of the issue with ANT. When running the static data portion
of the migration (via the attached ANT script) we are prompted to enter the
date the system should be set to:
‘<!-- Standalone jobs (Reserve extra archive day, Set retention days?)-->
<echo message="Running standalone job Reserve Extra Archive Day ..."/>
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd" locale="en,US"/>
</tstamp>
<input message="Please provide business date in yyyy-mm-dd format"
addproperty="inputdate"
defaultvalue="${TODAY}"/>
<java classname="com.dovetailsys.jobprocessing.StandAloneJobInvoker"
fork="yes" failonerror="true" inputstring="">
<classpath path="${local.run.classpath}"/>
<arg value="Reserve Extra Archive Day"/>
<arg value="JPMC"/>
<arg value="Utility"/>
<arg value="-jobInvokerStandalone"/>
<arg value="${inputdate}"/>
</java>’
You key in the date and hit enter, at this point the processing halts until the
enter key is pressed a second time. If you don’t enter the date again before
pressing enter a second time you get the default value applied (TODAY in the
extract above).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.