Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1.0
-
Fix Version/s: 1.3.0
-
Component/s: None
-
Labels:None
-
Environment:Linux, Groovy 1.5.4, JDK 1.6.0
-
Number of attachments :
Description
There is no positive message letting me know that installation is successful.
danno@danno-laptop:~/java/gant-1.1.0/bin$ groovy install.groovy
[chmod] Skipping fileset for directory /home/danno/java/groovy-1.5.4/bin. It is empty.
danno@danno-laptop:~/java/gant-1.1.0/bin$
Traditionally on Unix and similar OSs such as Linux, Solaris, FreeBSD, etc., no message is output on success and the return code is 0. On error a message is printed and the return code is non-zero. Having said this, I see that the script doesn't handle errors sensibly so there is a definite problem to solve here.