python - parsing Gradle exception messages from a text file -


i have gradle build exception message 1 below in text file

 "error code 1\ncommand line is: output/googlesamples/android-> actionbarcompat-basic/head/gradlew --stacktrace -p output/googlesamples/android-actionbarcompat-basic/head assembledebug\n\n\nfailure: build failed exception.\n\n\n\n* where:\n\nbuild file '/...../output/googlesamples/android-actionbarcompat-basic/head/application/build.gradle' line: 12\n\n\n\n* went wrong:\n\na problem occurred evaluating project ':application'.\n\n> failed apply plugin [id 'com.android.application']\n\n   > gradle version 2.10 required. current version 2.8. if using gradle wrapper 

are there libraries in python make use of parse exception message , obtain individual parts of ?

eg: error code, command line, failure, etc ?.


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -