Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 77319 - Ant plugin does not allow for input task
Summary: Ant plugin does not allow for input task
Status: RESOLVED DUPLICATE of bug 45484
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 13:49 EDT by Peter Hayes CLA
Modified: 2004-10-29 13:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hayes CLA 2004-10-29 13:49:11 EDT
I have found that Eclipse does not allow the use of the "input" task in Ant.  We
use this to request certain arguments from our developers to modify build :

<?xml version="1.0"?>
<project name="Input Bug" default="test">
    <target name="test" description="--> Eclipse doesn't allow input">
        <input addproperty="input" message="Give me some input!" />
    </target>
</project>
Comment 1 Olivier Thomann CLA 2004-10-29 13:52:49 EDT
Move to Platform/Ant
Comment 2 Darin Swanson CLA 2004-10-29 13:57:53 EDT
Eclipse allows the input task...it just does not provide a workable input 
handler for builds in a separate VM.

Two workarounds:
run your build in the same VM as Eclispe for which an input handler is 
provided. See the JRE tab for your Ant launch configuration.

create and use your own input handler (specified using -inputhandler)

*** This bug has been marked as a duplicate of 45484 ***