ant - Running espresso test from jenkins using android annotations -
i created simple weather app using android annotations , test project weather app using espresso. right i'm trying run test jenkins can't make work. followed guide (https://github.com/excilys/androidannotations/wiki/automating-the-build-in-jenkins-with-ant) create custom_rules.xml... when start building app jenkins....
-pre-compile: -compile: [echo] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [echo] android annotations generating code [echo] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [javac] compiling 6 source files c:\users\john.tremp\.jenkins\workspace\weatherapp\bin\classes [javac] note: resolve log file c:\users\john.tremp\.jenkins\workspace\weatherapp\bin\androidannotations.log [javac] note: initialize androidannotations 3.0.1 options {} [javac] note: start processing 2 annotations on 6 elements [javac] note: androidmanifest.xml file found in parent folder c:\users\john.tremp\.jenkins\workspace\weatherapp: c:\john.tremp\.jenkins\workspace\weatherapp\androidmanifest.xml [javac] note: androidmanifest.xml found: androidmanifest [applicationpackage=com.example.weatherapp, componentqualifiednames=[com.example.weatherapp.mainactivity_], permissionqualifiednames=[], applicationclassname=null, libraryproject=false, debugabble=false, minsdkversion=16, maxsdkversion=-1, targetsdkversion=19] [javac] note: found project r class: com.example.weatherapp.r [javac] note: found android class: android.r [javac] note: validating elements [javac] note: validating eactivityhandler: [com.example.weatherapp.mainactivity] [javac] note: validating viewbyidhandler: [textview] [javac] note: processing root elements [javac] note: processing root elements eactivityhandler: [com.example.weatherapp.mainactivity] [javac] note: processing enclosed elements [javac] note: processing enclosed elements viewbyidhandler: [org.androidannotations.model.annotationelements$annotatedandrootelements@2c1a8529] [javac] note: number of files generated androidannotations: 1 [javac] note: writting following api classes in project: [] [javac] note: generating class: com.example.weatherapp.mainactivity_ [javac] note: time measurements: [whole processing = 225 ms], [process annotations = 85 ms], [generate sources = 58 ms], [find r classes = 26 ms], [validate annotations = 14 ms], [extract manifest = 11 ms], [extract annotations = 9 ms], [javac] note: finish processing [javac] exception has occurred in compiler (1.8.0). please file bug @ java developer connection (http://java.sun.com/webapps/bugreport) after checking bug parade duplicates. include program , following diagnostic in report. thank you. [javac] java.lang.illegalstateexception: endpostable set [javac] @ com.sun.tools.javac.util.diagnosticsource.setendpostable(diagnosticsource.java:136) [javac] @ com.sun.tools.javac.util.log.setendpostable(log.java:350) [javac] @ com.sun.tools.javac.main.javacompiler.parse(javacompiler.java:670) [javac] @ com.sun.tools.javac.main.javacompiler.parsefiles(javacompiler.java:953) [javac] @ com.sun.tools.javac.processing.javacprocessingenvironment$round.<init>(javacprocessingenvironment.java:892) [javac] @ com.sun.tools.javac.processing.javacprocessingenvironment$round.next(javacprocessingenvironment.java:921) [javac] @ com.sun.tools.javac.processing.javacprocessingenvironment.doprocessing(javacprocessingenvironment.java:1187) [javac] @ com.sun.tools.javac.main.javacompiler.processannotations(javacompiler.java:1173) [javac] @ com.sun.tools.javac.main.javacompiler.compile(javacompiler.java:859) [javac] @ com.sun.tools.javac.main.main.compile(main.java:523) [javac] @ com.sun.tools.javac.main.main.compile(main.java:381) [javac] @ com.sun.tools.javac.main.main.compile(main.java:370) [javac] @ com.sun.tools.javac.main.main.compile(main.java:361) [javac] @ com.sun.tools.javac.main.compile(main.java:56) [javac] @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) [javac] @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) [javac] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [javac] @ java.lang.reflect.method.invoke(method.java:483) [javac] @ org.apache.tools.ant.taskdefs.compilers.javac13.execute(javac13.java:56) [javac] @ org.apache.tools.ant.taskdefs.javac.compile(javac.java:1159) [javac] @ org.apache.tools.ant.taskdefs.javac.execute(javac.java:935) [javac] @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:292) [javac] @ sun.reflect.generatedmethodaccessor4.invoke(unknown source) [javac] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [javac] @ java.lang.reflect.method.invoke(method.java:483) [javac] @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) [javac] @ org.apache.tools.ant.task.perform(task.java:348) [javac] @ org.apache.tools.ant.taskdefs.sequential.execute(sequential.java:68) [javac] @ com.android.ant.ifelsetask.execute(ifelsetask.java:120) [javac] @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:292) [javac] @ sun.reflect.generatedmethodaccessor4.invoke(unknown source) [javac] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [javac] @ java.lang.reflect.method.invoke(method.java:483) [javac] @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) [javac] @ org.apache.tools.ant.task.perform(task.java:348) [javac] @ org.apache.tools.ant.taskdefs.sequential.execute(sequential.java:68) [javac] @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:292) [javac] @ sun.reflect.generatedmethodaccessor4.invoke(unknown source) [javac] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [javac] @ java.lang.reflect.method.invoke(method.java:483) [javac] @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) [javac] @ org.apache.tools.ant.task.perform(task.java:348) [javac] @ org.apache.tools.ant.taskdefs.macroinstance.execute(macroinstance.java:396) [javac] @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:292) [javac] @ sun.reflect.generatedmethodaccessor4.invoke(unknown source) [javac] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [javac] @ java.lang.reflect.method.invoke(method.java:483) [javac] @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) [javac] @ org.apache.tools.ant.task.perform(task.java:348) [javac] @ org.apache.tools.ant.target.execute(target.java:435) [javac] @ org.apache.tools.ant.target.performtasks(target.java:456) [javac] @ org.apache.tools.ant.project.executesortedtargets(project.java:1393) [javac] @ org.apache.tools.ant.helper.singlecheckexecutor.executetargets(singlecheckexecutor.java:38) [javac] @ org.apache.tools.ant.project.executetargets(project.java:1248) [javac] @ org.apache.tools.ant.taskdefs.ant.execute(ant.java:441) [javac] @ org.apache.tools.ant.taskdefs.subant.execute(subant.java:306) [javac] @ org.apache.tools.ant.taskdefs.subant.execute(subant.java:221) [javac] @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:292) [javac] @ sun.reflect.generatedmethodaccessor4.invoke(unknown source) [javac] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [javac] @ java.lang.reflect.method.invoke(method.java:483) [javac] @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) [javac] @ org.apache.tools.ant.task.perform(task.java:348) [javac] @ org.apache.tools.ant.taskdefs.sequential.execute(sequential.java:68) [javac] @ com.android.ant.ifelsetask.execute(ifelsetask.java:120) [javac] @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:292) [javac] @ sun.reflect.generatedmethodaccessor4.invoke(unknown source) [javac] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [javac] @ java.lang.reflect.method.invoke(method.java:483) [javac] @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) [javac] @ org.apache.tools.ant.task.perform(task.java:348) [javac] @ org.apache.tools.ant.target.execute(target.java:435) [javac] @ org.apache.tools.ant.target.performtasks(target.java:456) [javac] @ org.apache.tools.ant.project.executesortedtargets(project.java:1393) [javac] @ org.apache.tools.ant.project.executetarget(project.java:1364) [javac] @ org.apache.tools.ant.helper.defaultexecutor.executetargets(defaultexecutor.java:41) [javac] @ org.apache.tools.ant.project.executetargets(project.java:1248) [javac] @ org.apache.tools.ant.main.runbuild(main.java:851) [javac] @ org.apache.tools.ant.main.startant(main.java:235) [javac] @ org.apache.tools.ant.launch.launcher.run(launcher.java:280) [javac] @ org.apache.tools.ant.launch.launcher.main(launcher.java:109) build failed c:\users\john.tremp\adt-bundle-windows-x86_64-20140321\sdk\tools\ant\build.xml:620: following error occurred while executing line: c:\users\john.tremp\.jenkins\workspace\weatherapp\custom_rules.xml:9: following error occurred while executing line: c:\users\john.tremp\.jenkins\workspace\weatherapp\custom_rules.xml:27: compile failed; see compiler error output details.
does using android annotations , espresso has experience running test jenkins? or how set environment? help!
Comments
Post a Comment