java - ant fails unknown argument: -buildfile=build.xml -
This question can be a basic one but I'm not sure why I got this error: unknown logic : -buildfile = build.xml When trying to run ant in shell script.
I am using:
Anti-version : 1.9.3 < OS : Linux Java version < / Strong>: 1.7.0_65
I am trying to run an ant in a chip script file.
Div class = "post-text" itemprop = "text">
From:
ant [option] [target [target2 [target3] ...]] Options: ... -bildfile & lt; File & gt; Use the given buildfile
Therefore between =
between -buildfile
and
space
.
Instead, try:
ant -Dfile1 = file1 -Dfile2 = file2 -buildfile = build.xml -verbose
:
ant -Dfile1 = file1 -Dfile2 = file2 -buildfile build.xml -verbose
Comments
Post a Comment