Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java 1.5 ETA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mog
Apprentice
Apprentice


Joined: 05 Jul 2003
Posts: 253
Location: Auckland [NZ]

PostPosted: Mon Apr 25, 2005 8:02 am    Post subject: Java 1.5 ETA Reply with quote

Could someone from the Gentoo devs be so kind and provide a guestimate of approximately when Java 1.5 will be unmasked or if that is not possible make some indication of where Java 1.5 appears on the Gentoo roadmap?
The info is greatly appreciated :).
_________________
To thine own self be true.
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2587
Location: userland

PostPosted: Mon Apr 25, 2005 3:28 pm    Post subject: Reply with quote

There's still a lot of java libs and applications that don't compile correctly with JDK5. As long as this state persists, sun-jdk-1.5 will remain masked. But if you want it, you can always unmask it.
Back to top
View user's profile Send private message
umbra obscura
n00b
n00b


Joined: 23 Apr 2005
Posts: 30
Location: Dortmund (Germany)

PostPosted: Mon Apr 25, 2005 3:39 pm    Post subject: Reply with quote

And as java is mentioned on "Gentoo Linux Staffing Needs" I suppose there is a lack of developers who can try to fix the remaining problems with Java 1.5
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2587
Location: userland

PostPosted: Mon Apr 25, 2005 3:43 pm    Post subject: Reply with quote

umbra obscura wrote:
And as java is mentioned on "Gentoo Linux Staffing Needs" I suppose there is a lack of developers who can try to fix the remaining problems with Java 1.5

I don't think the Gentoo people should burden themselves with 'fixing' the packages in question anyway, this has to happen upstream.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Mon Apr 25, 2005 5:32 pm    Post subject: Reply with quote

:arrow: Bug 79206
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
kustos
Apprentice
Apprentice


Joined: 10 Sep 2003
Posts: 168

PostPosted: Wed Apr 27, 2005 5:04 pm    Post subject: Reply with quote

Voltago wrote:
There's still a lot of java libs and applications that don't compile correctly with JDK5.

Can you name one package, that does not compile if you set -source and -target to 1.4?

The real problem IMHO are not the libraries/packages but the ebuilds/build.xml.
But there exist xslt-stylesheets that fix them. One in bugzilla and I posted one.
So where is the problem?
Back to top
View user's profile Send private message
mog
Apprentice
Apprentice


Joined: 05 Jul 2003
Posts: 253
Location: Auckland [NZ]

PostPosted: Sat Apr 30, 2005 7:15 am    Post subject: Reply with quote

how (i.e. where) can I set the these flags? I looked in the ebuild, but could not find anything ... is there a way to make them part of the java default profile ... how do you set --source 1.4 for openoffice for example? Thanks a bunch ...
_________________
To thine own self be true.
Back to top
View user's profile Send private message
kustos
Apprentice
Apprentice


Joined: 10 Sep 2003
Posts: 168

PostPosted: Sat Apr 30, 2005 10:21 am    Post subject: Reply with quote

mog wrote:
how (i.e. where) can I set the these flags? I looked in the ebuild, but could not find anything ...

gentoo uses ant as build system for java. The configuration file is an xml file called build.xml. So you can use ebuild to fetch and upack the package (see man ebuild). Then the build.xml should be in the build folder.
In it look for javac-elements (tags). Add the attributes source="1.4" target="1.4" to them (if they don't already exist, else change them). Then compile, install and qmerge.
mog wrote:
is there a way to make them part of the java default profile ...

Nope sorry. One day when gentoo switches to maven perhaps.
mog wrote:

how do you set --source 1.4 for openoffice for example? Thanks a bunch ...

If ant is used for building the java code, then it's the same produre. If they use make, you have to edit makefiles.
Back to top
View user's profile Send private message
IvanYosifov
l33t
l33t


Joined: 15 Oct 2004
Posts: 778
Location: Bulgaria

PostPosted: Sat Apr 30, 2005 11:27 am    Post subject: Reply with quote

Quote:

Can you name one package, that does not compile if you set -source and -target to 1.4?


https://bugs.gentoo.org/show_bug.cgi?id=86903
From the bug:
Quote:

Using the above technique I've been able to compile a small ant-based test project that
uses enum as an identifier and to get the java ebuilds I tested to fail for
non-language reasons, but rather for the excesive use of com.sun.* packages
( non-public API ).


I don't remember what the exact ebuilds were, though :(
Back to top
View user's profile Send private message
kustos
Apprentice
Apprentice


Joined: 10 Sep 2003
Posts: 168

PostPosted: Sun May 01, 2005 12:47 am    Post subject: Reply with quote

IvanYosifov wrote:
https://bugs.gentoo.org/show_bug.cgi?id=86903

That still makes 0 packages/libraries that don't compile with -source 1.4 -target 1.4
Quote:
We need a way to get our build.xmls work on 1.3, 1.4 and 1.5.

there is:
https://forums.gentoo.org/viewtopic-t-317253.html
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Mon May 02, 2005 12:30 pm    Post subject: Reply with quote

Continued here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum