poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <yegor.koz...@dinom.ru>
Subject Re: [GUMP@vmgump]: Project poi-test (in module poi) failed
Date Sat, 23 Jul 2011 11:35:05 GMT
My bad. Should be fixed in r1150085

In my previous commit I renamed
org.apache.poi.ss.examples.formula.CalculateMortgage to
org.apache.poi.ss.examples.formula.CalculateMortgageFunction, but
forgot to update a reference to it in the test build file.

My motivation to make this change was that we had two classes
org.apache.poi.ss.examples.formula.CalculateMortgage - one in
poi-examples and the other in poi-excelant's testcases and if I setup
my IDE to compile all classes in the same directory I was getting
errors.

Yegor

On Sat, Jul 23, 2011 at 12:48 PM, Sergey Vladimirov <vlsergey@gmail.com> wrote:
> To whom it may engage ;)
>
> Out internal integration building system show the following error:
>
> TestBuildFile.testUdf
> org.apache.tools.ant.BuildException:
> org.apache.poi.ss.examples.formula.CalculateMortgage
> /.../src/excelant/testcases/org/apache/poi/ss/excelant/tests.xml:125:
> org.apache.poi.ss.examples.formula.CalculateMortgage
>    at org.apache.poi.ss.excelant.ExcelAntTask.execute(ExcelAntTask.java:127)
>    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>    at org.apache.tools.ant.Task.perform(Task.java:348)
>    at org.apache.tools.ant.Target.execute(Target.java:390)
>    at org.apache.tools.ant.Target.performTasks(Target.java:411)
>    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
>    at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
>    at org.apache.poi.ss.excelant.BuildFileTest.executeTarget(BuildFileTest.java:330)
>    at org.apache.poi.ss.excelant.TestBuildFile.testUdf(TestBuildFile.java:71)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at junit.framework.TestCase.runTest(TestCase.java:154)
>    at junit.framework.TestCase.runBare(TestCase.java:127)
>    at junit.framework.TestResult$1.protect(TestResult.java:106)
>    at junit.framework.TestResult.runProtected(TestResult.java:124)
>    at junit.framework.TestResult.run(TestResult.java:109)
>    at junit.framework.TestCase.run(TestCase.java:118)
>    at junit.framework.TestSuite.runTest(TestSuite.java:208)
>    at junit.framework.TestSuite.run(TestSuite.java:203)
>    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
>    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
>    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:879)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.poi.ss.examples.formula.CalculateMortgage
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>    at java.lang.Class.forName0(Native Method)
>    at java.lang.Class.forName(Class.java:169)
>    at org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.addFunction(ExcelAntWorkbookUtil.java:108)
>    at org.apache.poi.ss.excelant.ExcelAntTask.execute(ExcelAntTask.java:125)
>    ... 27 more
>
> On Sat, Jul 23, 2011 at 12:33 PM, Gump [HEAD] :-(
> <general@gump.apache.org> wrote:
>> To whom it may engage...
>>
>> This is an automated request, but not an unsolicited one. For
>> more information please visit http://gump.apache.org/nagged.html,
>> and/or contact the folk at general@gump.apache.org.
>>
>> Project poi-test has an issue affecting its community integration.
>> This issue affects 1 projects.
>> The current state of this project is 'Failed', with reason 'Build Failed'.
>> For reference only, the following projects are affected by this:
>>    - poi-test :  POI
>>
>>
>> Full details are available at:
>>    http://vmgump.apache.org/gump/public/poi/poi-test/index.html
>>
>> That said, some information snippets are provided here.
>>
>> The following annotations (debug/informational/warning/error messages) were provided:
>>  -INFO- Failed with reason build failed
>>  -INFO- Project Reports in: /srv/gump/public/workspace/poi/build/test-results
>>  -INFO- Project Reports in: /srv/gump/public/workspace/poi/build/scratchpad-test-results
>>  -INFO- Project Reports in: /srv/gump/public/workspace/poi/build/ooxml-test-results
>>  -INFO- Project Reports in: /srv/gump/public/workspace/poi/build/excelant-test-results
>>
>>
>>
>> The following work was performed:
>> http://vmgump.apache.org/gump/public/poi/poi-test/gump_work/build_poi_poi-test.html
>> Work Name: build_poi_poi-test (Type: Build)
>> Work ended in a state of : Failed
>> Elapsed: 2 mins 19 secs
>> Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only
-Xbootclasspath/p:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar
org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dversion.id=gump
-DDSTAMP=23072011 test
>> [Working Directory: /srv/gump/public/workspace/poi]
>> CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/poi/build/test-classes:/srv/gump/public/workspace/poi/build/scratchpad-test-classes:/srv/gump/public/workspace/poi/build/ooxml-test-classes:/srv/gump/public/workspace/poi/build/excelant-test-classes:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-23072011.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-23072011.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-23072011.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanuti
>>  ls-23072011.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-23072011.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.7-SNAPSHOT.jar:/srv/gump/public/workspace/junit/dist/junit-23072011.jar:/srv/gump/public/workspace/junit/dist/junit-dep-23072011.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/dom4j/build/dom4j.jar:/srv/gump/public/workspace/poi/build/dist/poi-gump-23072011.jar:/srv/gump/public/workspace/poi/build/dist/poi-scratchpad-gump-23072011.jar:/srv/gump/public/workspace/poi/build/dist/poi-ooxml-gump-23072011.jar:/srv/gump/public/workspace/poi/build/dist/poi-excelant-gump-23072011.jar:/srv/gump/public/workspace/poi/ooxml-lib/stax-api-1.0.1.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.3.0.jar:/srv/gump/public/workspace/poi/ooxml-lib/ooxml-schemas-1.1.jar
>> ---------------------------------------------
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.001 sec
>>    [junit] Running org.apache.poi.xwpf.TestAllExtendedProperties
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.086 sec
>>    [junit] Running org.apache.poi.xwpf.TestDocumentProtection
>>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.343 sec
>>    [junit] Running org.apache.poi.xwpf.TestPackageCorePropertiesGetKeywords
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.072 sec
>>    [junit] Running org.apache.poi.xwpf.extractor.TestXWPFWordExtractor
>>    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 1.449 sec
>>    [junit] Running org.apache.poi.xwpf.model.TestXWPFDecorators
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
>>    [junit] Running org.apache.poi.xwpf.model.TestXWPFHeaderFooterPolicy
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.488 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFDocument
>>    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 0.729 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFFootnotes
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.012 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFHeader
>>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.133 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFHeadings
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.139 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFNumbering
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.036 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFParagraph
>>    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.093 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFPictureData
>>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.118 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFRun
>>    [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.069 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFStyles
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.034 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFTable
>>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.073 sec
>>    [junit] Running org.apache.poi.xwpf.usermodel.TestXWPFTableRow
>>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.001 sec
>>
>> -test-ooxml-write-testfile:
>>
>> -test-excelant-check:
>>
>> test-excelant:
>>    [junit] Running org.apache.poi.ss.examples.formula.TestExcelAntUserDefinedFunction
>>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.024 sec
>>    [junit] Running org.apache.poi.ss.excelant.TestBuildFile
>>    [junit] Tests run: 7, Failures: 0, Errors: 1, Time elapsed: 2.481 sec
>>
>> BUILD FAILED
>> /srv/gump/public/workspace/poi/build.xml:748: Tests failed
>>
>> Total time: 2 minutes 19 seconds
>> ---------------------------------------------
>>
>> To subscribe to this information via syndicated feeds:
>> - RSS: http://vmgump.apache.org/gump/public/poi/poi-test/rss.xml
>> - Atom: http://vmgump.apache.org/gump/public/poi/poi-test/atom.xml
>>
>> ============================== Gump Tracking Only ===
>> Produced by Apache Gump(TM) version 2.3.
>> Gump Run 07000623072011, vmgump.apache.org:vmgump:07000623072011
>> Gump E-mail Identifier (unique within run) #14.
>>
>> --
>> Apache Gump
>> http://gump.apache.org/ [Instance: vmgump]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
>> For additional commands, e-mail: dev-help@poi.apache.org
>>
>>
>
>
>
> --
> Sergey Vladimirov
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message