Closed dbenn closed 1 year ago
Hi @dbenn , The 'failifexecutionfails="no"' does have the desired effect: see the 'BUILD SUCCESSFUL' message at the end of the log. However, ant also prints an error message that is pretty correct. Well, except for this error message, everything works.
Can you tell me what that error is @mpyat2 ? I don't see it on the Mac.
Hi @dbenn Well, I probably was not correct: this is not an error but rather an information message. C:\Personal\Projects\VStarGIT\VStar>ant clean Buildfile: C:\Personal\Projects\VStarGIT\VStar\build.xml
clean: [exec] Execute failed: java.io.IOException: Cannot run program "rm" (in directory "C:\Personal\Projects\VStarGIT\VStar"): CreateProcess error=2
BUILD SUCCESSFUL Total time: 5 seconds
Of course, you do not see it on the Mac because it has the 'rm' command.
Hi @mpyat2. So, are you still seeing that error/message? The rm
command should not be used in the clean
target in an exec
task now and all file removal is being done via Ant delete
tasks which would translate into rm
or del
or similar in the target OS.
Hi @dbenn , now everything is ok. See https://github.com/AAVSO/VStar/pull/361#pullrequestreview-1519434778
Thanks @mpyat2. The section of
build.xml
is:In principle it should not be necessary and I'm surprised that
failifexecutionfails="no"
doesn't have the desired effect. I could try puttingVStar.app
back in as a fileset again. I'll raise an issue for this.