Gentoo Archives: gentoo-java

From: Henrique Ferreiro <henrique.ferreiro@×××××.com>
To: gentoo-java@l.g.o
Subject: [gentoo-java] problems compiling junit
Date: Wed, 12 Apr 2006 11:09:49
Message-Id: 1144843758.6927.10.camel@localhost
I am using the migration overlay. After installing sun-jdk-1.4 and
sun-jdk-1.5 and setting 1.4 as system vm I have the following problem:

localhost ~ # emerge -1 junit
Calculating dependencies ... done!
>>> Emerging (1 of 1) dev-java/junit-3.8.1-r1 to / >>> checksums files ;-) junit-3.8.1-r1.ebuild >>> checksums files ;-) files/digest-junit-3.8.1-r1 >>> checksums src_uri ;-) junit3.8.1.zip
* Enabling generation-2 compatibility ... * Using sun-jdk-1.4 [ ok ]>>> Unpacking source...
>>> Unpacking junit3.8.1.zip to /var/tmp/portage/junit-3.8.1-r1/work
Archive: src.jar creating: META-INF/ inflating: META-INF/MANIFEST.MF creating: junit/awtui/ creating: junit/extensions/ creating: junit/framework/ creating: junit/runner/ creating: junit/swingui/ creating: junit/swingui/icons/ creating: junit/textui/ creating: junit3.8.1/ inflating: build.xml inflating: junit/awtui/AboutDialog.java inflating: junit/awtui/Logo.java inflating: junit/awtui/ProgressBar.java inflating: junit/awtui/TestRunner.java inflating: junit/extensions/ActiveTestSuite.java inflating: junit/extensions/ExceptionTestCase.java inflating: junit/extensions/RepeatedTest.java inflating: junit/extensions/TestDecorator.java inflating: junit/extensions/TestSetup.java inflating: junit/framework/Assert.java inflating: junit/framework/AssertionFailedError.java inflating: junit/framework/ComparisonFailure.java inflating: junit/framework/Protectable.java inflating: junit/framework/Test.java inflating: junit/framework/TestCase.java inflating: junit/framework/TestFailure.java inflating: junit/framework/TestListener.java inflating: junit/framework/TestResult.java inflating: junit/framework/TestSuite.java inflating: junit/runner/BaseTestRunner.java inflating: junit/runner/ClassPathTestCollector.java inflating: junit/runner/excluded.properties inflating: junit/runner/FailureDetailView.java inflating: junit/runner/LoadingTestCollector.java inflating: junit/runner/logo.gif inflating: junit/runner/ReloadingTestSuiteLoader.java inflating: junit/runner/SimpleTestCollector.java inflating: junit/runner/smalllogo.gif inflating: junit/runner/Sorter.java inflating: junit/runner/StandardTestSuiteLoader.java inflating: junit/runner/TestCaseClassLoader.java inflating: junit/runner/TestCollector.java inflating: junit/runner/TestRunListener.java inflating: junit/runner/TestSuiteLoader.java inflating: junit/runner/Version.java inflating: junit/swingui/AboutDialog.java inflating: junit/swingui/CounterPanel.java inflating: junit/swingui/DefaultFailureDetailView.java inflating: junit/swingui/FailureRunView.java inflating: junit/swingui/icons/error.gif inflating: junit/swingui/icons/failure.gif inflating: junit/swingui/icons/hierarchy.gif inflating: junit/swingui/icons/ok.gif inflating: junit/swingui/ProgressBar.java inflating: junit/swingui/StatusLine.java inflating: junit/swingui/TestHierarchyRunView.java inflating: junit/swingui/TestRunContext.java inflating: junit/swingui/TestRunner.java inflating: junit/swingui/TestRunView.java inflating: junit/swingui/TestSelector.java inflating: junit/swingui/TestSuitePanel.java inflating: junit/swingui/TestTreeModel.java inflating: junit/textui/ResultPrinter.java inflating: junit/textui/TestRunner.java inflating: stylesheet.css
>>> Source unpacked. >>> Compiling source
in /var/tmp/portage/junit-3.8.1-r1/work/junit3.8.1 ... /usr/bin/ant: line 161: arch: command not found Buildfile: build.xml init: versiontag: [copy] Copying 1 file to /var/tmp/portage/junit-3.8.1-r1/work/junit3.8.1/junit/runner [move] Moving 1 file to /var/tmp/portage/junit-3.8.1-r1/work/junit3.8.1/junit/runner build: BUILD FAILED java.lang.UnsupportedClassVersionError: junit/framework/Test (Unsupported major.minor version 49.0) -- gentoo-java@g.o mailing list

Replies

Subject Author
[gentoo-java] Re: problems compiling junit Wiktor Wandachowicz <siryes@×××××.com>
[gentoo-java] Re: problems compiling junit Wiktor Wandachowicz <siryes@×××××.com>