<?xml version="1.0" ?>
<project name="first" basedir="." default="build-skeleton">
    <property name="dirName" value="module" />
    <property name="fileName" value="config" />
    <target name="build-skeleton" description="Making folders">
        <mkdir dir="./${dirName}/Block" />
        <touch file="./${dirName}/etc/${fileName}.xml" />
    </target>
</project>
phing -f mage_module.xml -DdirName=moduleX,fileName=configphing -f mage_module.xml -DdirName=moduleX fileName=config
Both throw an error - no surprise there.
Is it possible to set multiple properties in Phing via command line?
Just repeating the -D parameter should work:
phing -f mage_module.xml -DdirName=moduleX -DfileName=config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With