We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Using anything that would cause a DirSet toString returns files instead of directories.
Steps To Reproduce Example build.xml:
<?xml version="1.0" encoding="UTF-8" ?> <project name="tmp.testing" basedir="." default="tmp.test.dirs"> <property environment="env" /> <property name="source.root" value="${phing.dir}" /> <echo msg="source.root: ${source.root}" /> <target name="tmp.test.dirs"> <dirset id="dist.contents" dir="${source.root}" includes="src/**"> </dirset> <property name="prop.dist.contents" refid="dist.contents"/> <echo msg="prop.dist.contents: ${prop.dist.contents}" /> </target> <target name="tmp.test.files"> <fileset id="dist.contents" dir="${source.root}" includes="src/**"> </fileset> <property name="prop.dist.contents" refid="dist.contents"/> <echo msg="prop.dist.contents: ${prop.dist.contents}" /> </target> </project>
Check files:
$ phing tmp.test.files Buildfile: /var/www/html/checkHookPlugin/build.xml [echo] source.root: /var/www/html/checkHookPlugin tmp.testing > tmp.test.files: [echo] prop.dist.contents: src/plugins/check-hooks/autoload/MainAutoload.php;src/plugins/check-hooks/main/activate/ActivatePlugin.php;src/plugins/check-hooks/plugin-main.php BUILD FINISHED Total time: 0.1959 seconds
Check directories:
$ phing -f buildtemp.xml tmp.test.dirs Buildfile: /var/www/html/checkHookPlugin/build.xml [echo] source.root: /var/www/html/checkHookPlugin tmp.testing > tmp.test.dirs: [echo] prop.dist.contents: src/plugins/check-hooks/autoload/MainAutoload.php;src/plugins/check-hooks/main/activate/ActivatePlugin.php;src/plugins/check-hooks/plugin-main.php BUILD FINISHED Total time: 0.1916 seconds
Expected behavior Only directories should be listed with DirSet
Screenshots / terminal output See above
Additional context This is using latest of phing/main.
The text was updated successfully, but these errors were encountered:
fixing DirSet toString returning files
9cb8fa1
fixes phingofficial#1669 Signed-off-by: Charlie Cadwell <twoseascharlie@gmail.com>
Successfully merging a pull request may close this issue.
Describe the bug
Using anything that would cause a DirSet toString returns files instead of directories.
Steps To Reproduce
Example build.xml:
Check files:
Check directories:
Expected behavior
Only directories should be listed with DirSet
Screenshots / terminal output
See above
Additional context
This is using latest of phing/main.
The text was updated successfully, but these errors were encountered: