empty properties on command line

Basin Ilya <[email protected]> Mon, 5 Jul 2021 22:35:37 +0300
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
Hi list.
Looks like it's well-known, but I can't find in the docs.
Trying to pass a property with an empty value on the command line leads to ignoring explicit targets:

    C:\16>ant -Daaa= clean
    Buildfile: C:\16\build.xml
    
    default:
         [echo] default
    
    BUILD SUCCESSFUL
    Total time: 0 seconds
    
    C:\16>ant -Daaa=d clean
    Buildfile: C:\16\build.xml
    
    clean:
         [echo] clean
    
    BUILD SUCCESSFUL
    Total time: 0 seconds

Even Eclipse mimics this behavior in InternalAntRunner.processMinusDProperties()


I expected some info here: https://ant.apache.org/manual/running.html