phingofficial/phing

PropertyPromptTask not found

jawira opened this issue · 1 comments

Describe the bug

Hello guys, I'm not sure this is really an issue but I can't use PropertyPromptTask.

But since InputTask does the same thing, maybe PropertyPromptTask has been removed from Phing? If this is the case I think PropertyPromptTask should be removed from documentation too, I can do that if you want.

Steps To Reproduce

Run test target:

<?xml version="1.0" encoding="UTF-8" ?>

<project name="test" default="test">

    <target name="test">
        <propertyprompt propertyName="someprop" defaultValue="/var/www"
                        promptText="Enter your web root"/>
        <echo>${someprop}</echo>
    </target>

</project>

Expected behavior

PropertyPromptTask should work.

Screenshots / terminal output

phing test
Buildfile: /home/jawira/xxxxxxxx/xxxxxxxxxx/build.xml

test > test:


BUILD FAILED
/home/jawira/xxxxxxxx/xxxxxxxxxx/build.xml:7:57 Could not create task/type: 'propertyprompt'. Make sure that this class has been declared using taskdef / typedef.

Total time: 0.0565 seconds

So PropertyPromptTask was removed in 2016: 271cf6a