From: Federico Fissore <federico@fsfe.org>
To: Gentoo Java <gentoo-java@lists.gentoo.org>
Subject: [gentoo-java] eclipse should be built using 1.4
Date: Tue, 19 Feb 2008 23:18:12 +0100 [thread overview]
Message-ID: <47BB55A4.3010403@fsfe.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
hello all
I'm just trying the latest 3.3.1.1 and I've found an issue
Since I'm working on a 1.4 project and since all the plugins are built
with 1.5, when I run my junit tests I get an UnsupportedClassVersionError
I'm experimenting a patched version of the ebuild that SHOULD leave
junit.runtime plugin untouched, but it doesn't work: my class files are
still compiled with target 1.5 (I get a 49 when running "file
RemoteTestRunner.class", a class into
org.eclipse.jdt.junit.runtime.*.jar). You find the patch attached
I'll be glad to get some feedback on it
Thank you all
ps: at the beginning this email was a bugzilla entry, but jakub was a
little touchy [0] at that time. btw I love that guy: it does a great job
[0] http://bugs.gentoo.org/show_bug.cgi?id=210759
--
: Federico Fissore
: Blog : http://www.fissore.org
: Jabber : federico@jabber.fsfe.org
---------+-----------------------------------------------------
[] : "The best thing is when you mix free beer and free
[][][] | speech 'cause then you get some really free speech"
|| : Dick Wall
[-- Attachment #2: eclipse-sdk-3.3.1.1.ebuild.patch --]
[-- Type: text/x-patch, Size: 769 bytes --]
--- /usr/portage/dev-util/eclipse-sdk/eclipse-sdk-3.3.1.1.ebuild 2008-02-06 21:05:57.000000000 +0100
+++ eclipse-sdk-3.3.1.1.ebuild 2008-02-19 22:50:31.000000000 +0100
@@ -87,7 +87,8 @@
remove-bundled-stuff
# No warnings / Java 5 / all output should be directed to stdout
- find "${S}" -type f -name '*.xml' -exec \
+# find "${S}" -type f -name '*.xml' -exec \
+ find "${S}" -type f -name '*.xml' -not \( -wholename './plugins/org.eclipse.jdt.junit.runtime/build.xml' \) -exec \
sed -r -e "s:(-encoding ISO-8859-1):\1 -nowarn:g" -e "s:(\"compilerArg\" value=\"):\1-nowarn :g" \
-e "s:(<property name=\"javacSource\" value=)\".*\":\1\"1.5\":g" \
-e "s:(<property name=\"javacTarget\" value=)\".*\":\1\"1.5\":g" -e "s:output=\".*(txt|log).*\"::g" -i {} \;
next reply other threads:[~2008-02-19 22:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 22:18 Federico Fissore [this message]
2008-02-21 12:24 ` [gentoo-java] eclipse should be built using 1.4 Vlastimil Babka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47BB55A4.3010403@fsfe.org \
--to=federico@fsfe.org \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox