Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » jdk 1.5, and early release stuff
jdk 1.5, and early release stuff [message #49222] Wed, 04 June 2003 22:12 Go to next message
Eclipse UserFriend
Originally posted by: tgm1024SiteNameMispelled.hotmale.com

If I were to install the sun early adopter stuff for experimenting with
generics and other things, will eclipse work ok with it even though the
eclipse syntax engine itself will not like things like

List<String> list = new ArrayList<String>();

?

Thanks.
Re: jdk 1.5, and early release stuff [message #49417 is a reply to message #49222] Wed, 04 June 2003 23:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: faust.acm.org

This won't work until the Eclipse compiler supports it (on the 3.0 plan).You
can turn off all compilation and use ANT to build. And you can associate
..java files with the default text editor instead of the Java editor if
that's giving you grief. So I suppose if you hack around, you can get this
to "work."


Randy

"Muad'Dib" <tgm1024SiteNameMispelled@hotmale.com> wrote in message
news:bblqvd$ps4$1@rogue.oti.com...
>
> If I were to install the sun early adopter stuff for experimenting with
> generics and other things, will eclipse work ok with it even though the
> eclipse syntax engine itself will not like things like
>
> List<String> list = new ArrayList<String>();
>
> ?
>
> Thanks.
>
>
Re: jdk 1.5, and early release stuff [message #49476 is a reply to message #49417] Wed, 04 June 2003 23:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tgm1024SiteNameMispelled.hotmale.com

Sounds like time for vi or emacs as my IDE for experimenting with the early
adoption releases. Thanks for yor reply!


In news:bblu2n$rjv$1@rogue.oti.com,
Randy Faust <faust@acm.org> spoke unto us:
> This won't work until the Eclipse compiler supports it (on the 3.0
> plan).You can turn off all compilation and use ANT to build. And you
> can associate .java files with the default text editor instead of the
> Java editor if that's giving you grief. So I suppose if you hack
> around, you can get this to "work."
>
>
> Randy
>
> "Muad'Dib" <tgm1024SiteNameMispelled@hotmale.com> wrote in message
> news:bblqvd$ps4$1@rogue.oti.com...
>>
>> If I were to install the sun early adopter stuff for experimenting
>> with generics and other things, will eclipse work ok with it even
>> though the eclipse syntax engine itself will not like things like
>>
>> List<String> list = new ArrayList<String>();
>>
>> ?
>>
>> Thanks.
Re: jdk 1.5, and early release stuff [message #49863 is a reply to message #49417] Thu, 05 June 2003 08:56 Go to previous messageGo to next message
Martin Kersten is currently offline Martin KerstenFriend
Messages: 306
Registered: July 2009
Senior Member
> This won't work until the Eclipse compiler supports it (on the 3.0
plan).You
> can turn off all compilation and use ANT to build. And you can associate
> .java files with the default text editor instead of the Java editor if
> that's giving you grief. So I suppose if you hack around, you can get this
> to "work."

Maybe you just wait for the first milestone builds. Maybe
some of the requested features are implemented then
(including generics).


Martin (Kersten)
Re: jdk 1.5, and early release stuff [message #49922 is a reply to message #49863] Thu, 05 June 2003 09:54 Go to previous messageGo to next message
Johan Compagner is currently offline Johan CompagnerFriend
Messages: 148
Registered: July 2009
Senior Member
i think "wait for one of the last milestone builds to include these features"
is more what we can expect.

johan


"Martin Kersten" <Martin.Kersten@student.uni-magdeburg.de> wrote in message news:bbn0g7$h3l$1@rogue.oti.com...
> > This won't work until the Eclipse compiler supports it (on the 3.0
> plan).You
> > can turn off all compilation and use ANT to build. And you can associate
> > .java files with the default text editor instead of the Java editor if
> > that's giving you grief. So I suppose if you hack around, you can get this
> > to "work."
>
> Maybe you just wait for the first milestone builds. Maybe
> some of the requested features are implemented then
> (including generics).
>
>
> Martin (Kersten)
>
>
Re: jdk 1.5, and early release stuff [message #50528 is a reply to message #49922] Thu, 05 June 2003 15:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tgm1024SiteNameMispelled.hotmale.com

Why doesn't eclipse have a simple option:

O turn off jdk specifics

or

O Allow experimental jdk's such as early adoptions

To turn off specific syntax highlighting and the like?





In news:bbn3vq$k49$1@rogue.oti.com,
Johan Compagner <jcompagner@j-com.nl> spoke unto us:
> i think "wait for one of the last milestone builds to include these
> features"
> is more what we can expect.
>
> johan
>
>
> "Martin Kersten" <Martin.Kersten@student.uni-magdeburg.de> wrote in
> message news:bbn0g7$h3l$1@rogue.oti.com...
>>> This won't work until the Eclipse compiler supports it (on the 3.0
>> plan).You
>>> can turn off all compilation and use ANT to build. And you can
>>> associate .java files with the default text editor instead of the
>>> Java editor if
>>> that's giving you grief. So I suppose if you hack around, you can
>>> get this
>>> to "work."
>>
>> Maybe you just wait for the first milestone builds. Maybe
>> some of the requested features are implemented then
>> (including generics).
>>
>>
>> Martin (Kersten)
Re: jdk 1.5, and early release stuff [message #50828 is a reply to message #50528] Thu, 05 June 2003 18:03 Go to previous messageGo to next message
Johan Compagner is currently offline Johan CompagnerFriend
Messages: 148
Registered: July 2009
Senior Member
Why would you turnf off syntax highlighting?

I just imported Test.java of the generics zip into Eclipse
and it colors it fine

The only problem is that Eclipse has an internal compiler
that doesn't reconize that code. That's the big problem.

johan


"Muad'Dib" <tgm1024SiteNameMispelled@hotmale.com> wrote in message news:bbnp7h$8u3$1@rogue.oti.com...
>
> Why doesn't eclipse have a simple option:
>
> O turn off jdk specifics
>
> or
>
> O Allow experimental jdk's such as early adoptions
>
> To turn off specific syntax highlighting and the like?
>
>
>
>
>
> In news:bbn3vq$k49$1@rogue.oti.com,
> Johan Compagner <jcompagner@j-com.nl> spoke unto us:
> > i think "wait for one of the last milestone builds to include these
> > features"
> > is more what we can expect.
> >
> > johan
> >
> >
> > "Martin Kersten" <Martin.Kersten@student.uni-magdeburg.de> wrote in
> > message news:bbn0g7$h3l$1@rogue.oti.com...
> >>> This won't work until the Eclipse compiler supports it (on the 3.0
> >> plan).You
> >>> can turn off all compilation and use ANT to build. And you can
> >>> associate .java files with the default text editor instead of the
> >>> Java editor if
> >>> that's giving you grief. So I suppose if you hack around, you can
> >>> get this
> >>> to "work."
> >>
> >> Maybe you just wait for the first milestone builds. Maybe
> >> some of the requested features are implemented then
> >> (including generics).
> >>
> >>
> >> Martin (Kersten)
>
>
Re: jdk 1.5, and early release stuff [message #51404 is a reply to message #49922] Fri, 06 June 2003 09:14 Go to previous messageGo to next message
Philippe Mulet is currently offline Philippe MuletFriend
Messages: 229
Registered: July 2009
Senior Member
We are indeed considering the 1.5 effort in the second half of the
development cycle for 3.0.

"Johan Compagner" <jcompagner@j-com.nl> wrote in message
news:bbn3vq$k49$1@rogue.oti.com...
> i think "wait for one of the last milestone builds to include these
features"
> is more what we can expect.
>
> johan
>
>
> "Martin Kersten" <Martin.Kersten@student.uni-magdeburg.de> wrote in
message news:bbn0g7$h3l$1@rogue.oti.com...
> > > This won't work until the Eclipse compiler supports it (on the 3.0
> > plan).You
> > > can turn off all compilation and use ANT to build. And you can
associate
> > > .java files with the default text editor instead of the Java editor if
> > > that's giving you grief. So I suppose if you hack around, you can get
this
> > > to "work."
> >
> > Maybe you just wait for the first milestone builds. Maybe
> > some of the requested features are implemented then
> > (including generics).
> >
> >
> > Martin (Kersten)
> >
> >
>
>
Re: jdk 1.5, and early release stuff [message #52263 is a reply to message #50528] Sat, 07 June 2003 10:52 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
"Muad'Dib" <tgm1024SiteNameMispelled@hotmale.com> wrote in message
news:bbnp7h$8u3$1@rogue.oti.com...

> Why doesn't eclipse have a simple option:
>
> O turn off jdk specifics

What would that do?

> or
>
> O Allow experimental jdk's such as early adoptions

....and what would that do? You can use "experimental JDKs"
fine as it is.

> To turn off specific syntax highlighting and the like?

That sounds worse than useless to me.
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: jdk 1.5, and early release stuff [message #52565 is a reply to message #52263] Sat, 07 June 2003 19:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tgm1024SiteNameMispelled.hotmale.com

In news:bbsg4u$hp2$1@rogue.oti.com,
Tim Tyler <tim@tt1.org> spoke unto us:
> "Muad'Dib" <tgm1024SiteNameMispelled@hotmale.com> wrote in message
> news:bbnp7h$8u3$1@rogue.oti.com...
>
>> Why doesn't eclipse have a simple option:
>>
>> O turn off jdk specifics
>
> What would that do?

Turn off anything within eclipse that was specific to a particular jdk
release.


>
>> or
>>
>> O Allow experimental jdk's such as early adoptions
>
> ...and what would that do? You can use "experimental JDKs"
> fine as it is.

You seem to be at odds with everyone else's post in this thread.
Re: jdk 1.5, and early release stuff [message #52622 is a reply to message #52565] Sat, 07 June 2003 21:16 Go to previous messageGo to next message
Johan Compagner is currently offline Johan CompagnerFriend
Messages: 148
Registered: July 2009
Senior Member
> >> Why doesn't eclipse have a simple option:
> >>
> >> O turn off jdk specifics
> >
> > What would that do?
>
> Turn off anything within eclipse that was specific to a particular jdk
> release.

Such as?


What is specific to a particular JDK?


> >> or
> >>
> >> O Allow experimental jdk's such as early adoptions
> >
> > ...and what would that do? You can use "experimental JDKs"
> > fine as it is.
>
> You seem to be at odds with everyone else's post in this thread.


using a JDK (the jre of the jdk) can be used perfectly fine
(If you had the JDK1.5 beta now you could use it for running and debugging)

The problem with JDK1.5 that javac is changed pretty much and the internal
compiler of eclipse has to catchup.

johan
Re: jdk 1.5, and early release stuff [message #52649 is a reply to message #52622] Sat, 07 June 2003 22:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tgm1024SiteNameMispelled.hotmale.com

In news:bbtko3$2f2$1@rogue.oti.com,
Johan Compagner <jcompagner@j-com.nl> spoke unto us:
>>>> Why doesn't eclipse have a simple option:
>>>>
>>>> O turn off jdk specifics
>>>
>>> What would that do?
>>
>> Turn off anything within eclipse that was specific to a particular
>> jdk release.
>
> Such as?
>
>
> What is specific to a particular JDK?

Numerous language changes in 1.5. Generics, for loop iterator enhancement,
Boxing/unboxing of primitives, yadda. These require a different javac.exe
and eclipse is bound to it's internal compiler's revs.

There should be a way to turn off the jdk revision specific stuff, hence
turn off its reliance upon the internal compiler, to just allow external
compilation. Visual Cafe for Java used to do just that, back when it was
alive before borland bought 'em. You had a crap load of fields to fill out,
but you could set it up to use any jdk release when they ended up obsoleting
the one built into the ide.

But you answer yourself in the following paragraphs.


>
>
>>>> or
>>>>
>>>> O Allow experimental jdk's such as early adoptions
>>>
>>> ...and what would that do? You can use "experimental JDKs"
>>> fine as it is.
>>
>> You seem to be at odds with everyone else's post in this thread.
>
>
> using a JDK (the jre of the jdk) can be used perfectly fine
> (If you had the JDK1.5 beta now you could use it for running and
> debugging)

Sure, if that's all you want it for. I tend to use an IDE for /compiling/
too.


> The problem with JDK1.5 that javac is changed pretty much and the
> internal compiler of eclipse has to catchup.
>
> johan


RIGHT. Which according to folks here, means that I cannot develop using
1.5-isms with eclipse as it stands before rev 3.0.
Re: jdk 1.5, and early release stuff [message #53196 is a reply to message #52649] Mon, 09 June 2003 13:07 Go to previous messageGo to next message
Johan Compagner is currently offline Johan CompagnerFriend
Messages: 148
Registered: July 2009
Senior Member
> Numerous language changes in 1.5. Generics, for loop iterator enhancement,
> Boxing/unboxing of primitives, yadda. These require a different javac.exe
> and eclipse is bound to it's internal compiler's revs.
>
> There should be a way to turn off the jdk revision specific stuff, hence
> turn off its reliance upon the internal compiler, to just allow external
> compilation. Visual Cafe for Java used to do just that, back when it was
> alive before borland bought 'em. You had a crap load of fields to fill out,
> but you could set it up to use any jdk release when they ended up obsoleting
> the one built into the ide.


Just turn off auto build and make a ANT builder that uses the javac command.

Of course the Java Editor will still not understand generics code
and i think there will be other problems that could also arise for
example with code completion..



>
> Sure, if that's all you want it for. I tend to use an IDE for /compiling/
> too.

with an ant builder this should be possible,


>
> > The problem with JDK1.5 that javac is changed pretty much and the
> > internal compiler of eclipse has to catchup.
> >
> > johan
>
>
> RIGHT. Which according to folks here, means that I cannot develop using
> 1.5-isms with eclipse as it stands before rev 3.0.

1.5 isn't even out yet (and i mean out as the first beta)
of course you could use the early adaptor generices lib for looking at it.
But i wouldn't build any code with it as long as the first beta's or RC are
appearing. Because it is still a running target. That's why i believe
eclipse won't support it in the first Milestones of the 3.0 release.

Because then they are constantly playing catchup. Hopefully the generices
spec will stablelize as soon as possible.

But even if an ide had just a javac call. Then i still believe that the IDE
has to be alterd to support all the new syntax (think about the editor)

I also don't know exactly which roadmaps ends first the one of eclispe 3.0
or the one of 1.5? If i have to guess then i think we have Eclipse 3.0 final
long before a 1.5 final so if eclise supports it then it is fine by me.

johan
Re: jdk 1.5, and early release stuff [message #53274 is a reply to message #52649] Mon, 09 June 2003 15:21 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
"Muad'Dib" <tgm1024SiteNameMispelled@hotmale.com> wrote in message
news:bbtnuc$3l1$1@rogue.oti.com...
> Johan Compagner <jcompagner@j-com.nl> spoke unto us:

> >>>> Why doesn't eclipse have a simple option:
> >>>>
> >>>> O turn off jdk specifics
> >>>
> >>> What would that do?
> >>
> >> Turn off anything within eclipse that was specific to a particular
> >> jdk release.
> >
> > Such as?
> >
> > What is specific to a particular JDK?
>
> Numerous language changes in 1.5. Generics, for loop iterator
enhancement,
> Boxing/unboxing of primitives, yadda.

A "turn off jdk specifics" option would help with this not in the slightest.

> There should be a way to turn off the jdk revision specific stuff, hence
> turn off its reliance upon the internal compiler, to just allow external
> compilation.

There already is - use javac, jikes - or whatever - as an external tool.

See the "Run > External tools" menu.

> Visual Cafe for Java used to do just that, back when it was
> alive before borland bought 'em. You had a crap load of fields
> to fill out, but you could set it up to use any jdk release when
> they ended up obsoleting the one built into the ide.

So - do that with Eclipse - if you really want.

It can call command-line utilities like the best of them.
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: jdk 1.5, and early release stuff [message #53412 is a reply to message #53196] Mon, 09 June 2003 18:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tgm1024SiteNameMispelled.hotmale.com

In news:bc2481$b63$1@rogue.oti.com,
Johan Compagner <jcompagner@j-com.nl> spoke unto us:

....[snipity doo dah]...

> But even if an ide had just a javac call. Then i still believe that
> the IDE has to be alterd to support all the new syntax (think about
> the editor)

Not really---there could be an option like I suggested to turn off anything
in the editor (and anything else in the ide) that is language specific.

Ok, thanks for your suggestions though. I'll give them a whack.
Re: jdk 1.5, and early release stuff [message #66342 is a reply to message #53412] Tue, 24 June 2003 18:32 Go to previous message
Artur Biesiadowski is currently offline Artur BiesiadowskiFriend
Messages: 6
Registered: July 2009
Junior Member
Muad'Dib wrote:

>
> Not really---there could be an option like I suggested to turn off anything
> in the editor (and anything else in the ide) that is language specific.

To be honest - if you will turn off java support in eclipse, you end up
with quite big and not very good text editor. There is a plenty of
better tools out there for that. For me, strength of eclipse lies in
tight integration with content you are editing - all metadata about
source code available for entire IDE. Without it, eclipse editor itself
isn't worth enough. You can do a lot better with jedit.

Artur
Previous Topic:[ANN] release 1.3.2 of metrics plugin
Next Topic:Copying files from a plug-in subdirectory to a project subdirectory
Goto Forum:
  


Current Time: Sun Jun 30 13:52:08 GMT 2024

Powered by FUDForum. Page generated in 0.05843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top