Community
Participate
Working Groups
<?xml version="1.0" ?> <project name="CVSforANT" default="cvsLogin" basedir="."> <!-- cvsLogin target --> <target name="cvsLogin"> <input message="Please enter CVS password:" addproperty="cvsPassword" /> <condition property="noCVSPassword"> <equals arg1="" arg2="${cvsPassword}" /> </condition> <fail if="noCVSPassword">You did not enter your CVS password.</fail> <cvspass cvsroot=":localhost:/opt/cvs" password="${cvsPassword}" /> </target> </project> BUILD FAILED: C:\eclipse3\workspace\CVSforANT\build\build.xml:8: Failed to read input from Console.
As detailed in the Eclipse readme, the input task works the same as Eclipse 2.1 if you run the Ant build in the same JRE as Eclipse (which was the only option in Eclipse 2.1). For the input task to work by default run your build in the same JRE as Eclipse. See the the JRE tab of your Ant launch configuration. To use the input task in a separate JRE you will need to provide an input handler. *** This bug has been marked as a duplicate of 45484 ***
Thanks Darin, For those not in the know you can set the jre ant uses from the ">run>external tools" menu option.