mbauhardt / antw Goto Github PK
View Code? Open in Web Editor NEWa wrapper for apache ant that uses special logger to log statistics about an ant build. http://mbauhardt.github.com/antw/
License: Apache License 2.0
a wrapper for apache ant that uses special logger to log statistics about an ant build. http://mbauhardt.github.com/antw/
License: Apache License 2.0
Caught an exception while logging the end of the build. Exception was:
java.lang.RuntimeException: can not rename file
at antw.common.util.ExceptionUtil.convertToRuntimeException(ExceptionUt
l.java:11)
at antw.logger.LoggerContext.finishReports(LoggerContext.java:70)
at antw.logger.AntwLogger.buildFinished(AntwLogger.java:181)
at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2093)
at org.apache.tools.ant.Main.runBuild(Main.java:832)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: Failed to delete C:\Users\bla\data\dap.an
w\reports\ant-default.txt while trying to rename it.
at org.apache.tools.ant.util.FileUtils.rename(FileUtils.java:1318)
at antw.logger.LoggerContext.finishReports(LoggerContext.java:68)
... 6 more
Happens on windows with mingw git bash
After using the ant wrapper and seeing no error I added the antw functionality to the command line step by step. Here my tests:
./antw clean-all findbugs-plugins
# ANT-WRAPPER
# No errors detected (INCORRECT)
~/path-to/apache-ant-1.9.6/bin/ant clean-all findbugs-plugins
# ANT
# Errors detected (CORRECT)
~/path-to/apache-ant-1.9.6/bin/ant -Dantw.stdout.view=treesummary clean-all findbugs-plugins
# Added "antw.stdout.view"
# Errors detected (CORRECT)
# NOTE: expected since the param is probably processed within the antw-logger jar
~/path-to/apache-ant-1.9.6/bin/ant -Dantw.stdout.view=treesummary -lib lib/build/ant/antw-logger-0.6.5-dev-fat.jar -logger antw.logger.AntwLogger clean-all findbugs-plugins
# Added "antw-logger"
# No errors detected (INCORRECT)
install it via gradle
currently antw shows the percentage usage of an target related to his parent target but not related to the whole build.
the sum of all percent's should be 100%
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.