Samsung Galaxy Note, 4G LTE Plans, Transfer Photos Videos from iPhone to Samsung, Network Performance, Mobile Accounts, Furious Gold SPD TooL, Latest Version Full Setup

Info Pausing an ANT Build on error

Info Pausing an ANT Build on error - this blog we have built from a few years ago and already very much information about gadgets that we convey and a lot of blog visitors New Blog Techno News who are satisfied with the information, we will always try to update the latest information for you, first about Info Pausing an ANT Build on error many already we collect data to make this article so you do not miss the news, please see:

Articles : Info Pausing an ANT Build on error
full Link : Info Pausing an ANT Build on error

You can also see our article on:


Info Pausing an ANT Build on error

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.


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
)



articles Info Pausing an ANT Build on error finished in discussion

hopefully the information we convey about Info Pausing an ANT Build on error can benefit you in getting new knowledge about technology,

you just finished reading the information Info Pausing an ANT Build on error we hope this informmation can answer the question you submit to googlle, if you want to bookmark or share please use link https://moymoycikukecik.blogspot.com/2010/05/info-pausing-ant-build-on-error.html and do not forget to always visit this blog to get the latest information every day.

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Info Pausing an ANT Build on error

0 komentar:

Posting Komentar