Quite a few projects have multiple interlinked build scripts for creating a product build. For instance a complete build might involve compilation of the code, packaging the properties/config files, UTF-8 conversions, documentation generation, installer generation, etc. Each of these might be separate ant scripts or commands. If a build fails anywhere in-between it would be great if the build process is PAUSED so that one can easily see the exact failure point.
Tuesday, May 25, 2010
you just read the article entitled All New Pausing an ANT Build on error if you feel this information is useful for you and want to bookmark it or want to share it please use link https://mjoaobrum.blogspot.com/2010/05/all-new-pausing-ant-build-on-error.html.
Tag :
All New Pausing an ANT Build on error
By
Unknown
at
May 25, 2010
All New Pausing an ANT Build on error - do you know that every day there are new gadgets that are created with new advantages to simplify your life, on the blog Gadget Center we will discuss about the latest gadgets and gadgets that have long ranging from speck and price, now we will discuss about All New Pausing an ANT Build on error we have collected a lot of news to make this article to be really useful for you, please see.
Articles : All New Pausing an ANT Build on error
full Link : All New Pausing an ANT Build on error
Articles : All New Pausing an ANT Build on error
full Link : All New Pausing an ANT Build on error
You can also see our article on:
All New Pausing an ANT Build on error
One way to achieve this if you are using ANT, is to modify the ant.bat file that ships with ant in the bin folder.
Just below this line:
:runAntWithClasspath
"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS%
Add the following lines:
if %ERRORLEVEL% == 1 (
ECHO =============================
echo. Ant Build Error
Echo Return Code = %ERRORLEVEL%
ECHO ==============================
PAUSE
)
article titled All New Pausing an ANT Build on error has been completed in the discussion
hopefully information about All New Pausing an ANT Build on error can provide benefits for you in determining the gadget to suit your needs so much easier in living everyday life.
you just read the article entitled All New Pausing an ANT Build on error if you feel this information is useful for you and want to bookmark it or want to share it please use link https://mjoaobrum.blogspot.com/2010/05/all-new-pausing-ant-build-on-error.html.
Tag :
Tags :
Related : All New Pausing an ANT Build on error
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment