Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cant add .jar to target plattform
Cant add .jar to target plattform [message #1414498] Sun, 31 August 2014 13:53 Go to next message
alloisxp alloisxp is currently offline alloisxp alloisxpFriend
Messages: 6
Registered: May 2014
Junior Member
Hello everybody!

I'm trying to add the new xtend lib (2.62) to my target plattform.
I downloaded the .jar files (xtend.lib,xbase.lib), and copied them (within eclipse) into a subfolder (plugins) of my active target plattform.

But when I go to Window -> Pref. -> Plugin Dev. -> target plattform (choosing then edit, with the correct plattform marked) I cant find the new xtend lib (only the old one, 2.31 wich was there before).

What else do I have to do? (Refreshenig all projects or restarting eclipse does not work).

One xtend Template I wanted to use says "Add xtend libs to classpath" as quickfix (clicking it does not work...)
Re: Cant add .jar to target plattform [message #1414516 is a reply to message #1414498] Sun, 31 August 2014 15:07 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/31/2014 07:53 AM, alloisxp alloisxp wrote:
> Hello everybody!
>
> I'm trying to add the new xtend lib (2.62) to my target plattform.
> I downloaded the .jar files (xtend.lib,xbase.lib), and copied them
> (within eclipse) into a subfolder (plugins) of my active target plattform.
>
> But when I go to Window -> Pref. -> Plugin Dev. -> target plattform
> (choosing then edit, with the correct plattform marked) I cant find the
> new xtend lib (only the old one, 2.31 wich was there before).
>
> What else do I have to do? (Refreshenig all projects or restarting
> eclipse does not work).
>
> One xtend Template I wanted to use says "Add xtend libs to classpath" as
> quickfix (clicking it does not work...)

What goes in the plugin subdirectory under Eclipse is plug-in tools for
Eclipse.

JARs don't go in your plug-in folder. I'm not a plug-in developer, but I
think you want them somewhere in your project because you're using them
to develop software not run Eclipse itself, right?
Re: Cant add .jar to target plattform [message #1414771 is a reply to message #1414516] Mon, 01 September 2014 09:19 Go to previous messageGo to next message
alloisxp alloisxp is currently offline alloisxp alloisxpFriend
Messages: 6
Registered: May 2014
Junior Member
Thanks for your answer!

Im new to plugin-dev too, but I thought the concept of the target-plattform means a collection of plugins that are usable by your plugin-project when you point to this target plattform.

So I thought when I copy a .jar file into this target plattform folder its like copying a .jar into a classpath (in standard java projects)?
Is there something else I have to do? (he does not find the new xtend lib when I want to add it under dependencys for a plugin, only the old lib, but the jar files are in the same folder... ?? Im confused...)
Re: Cant add .jar to target plattform [message #1414915 is a reply to message #1414771] Mon, 01 September 2014 15:44 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 09/01/2014 03:19 AM, alloisxp alloisxp wrote:
> Thanks for your answer!
>
> Im new to plugin-dev too, but I thought the concept of the
> target-plattform means a collection of plugins that are usable by your
> plugin-project when you point to this target plattform.
>
> So I thought when I copy a .jar file into this target plattform folder
> its like copying a .jar into a classpath (in standard java projects)?
> Is there something else I have to do? (he does not find the new xtend
> lib when I want to add it under dependencys for a plugin, only the old
> lib, but the jar files are in the same folder... ?? Im confused...)

Some brighter Crayon than I should be along soon, perhaps tomorrow if
not today, which is a US holiday.
Re: Cant add .jar to target plattform [message #1415728 is a reply to message #1414771] Wed, 03 September 2014 13:27 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 01/09/2014 11:19, alloisxp alloisxp wrote:
> Thanks for your answer!
>
> Im new to plugin-dev too, but I thought the concept of the
> target-plattform means a collection of plugins that are usable by your
> plugin-project when you point to this target plattform.
>
> So I thought when I copy a .jar file into this target plattform folder
> its like copying a .jar into a classpath (in standard java projects)?
> Is there something else I have to do? (he does not find the new xtend
> lib when I want to add it under dependencys for a plugin, only the old
> lib, but the jar files are in the same folder... ?? Im confused...)

Hi

the target platform is based on installed bundles, thus, just copying
..jar is not enough, as far as I know...

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: Cant add .jar to target plattform [message #1416173 is a reply to message #1415728] Thu, 04 September 2014 13:30 Go to previous messageGo to next message
alloisxp alloisxp is currently offline alloisxp alloisxpFriend
Messages: 6
Registered: May 2014
Junior Member
hm ok, so somehow I must install xtend to the target plattform. How do I do that if not by copying the runtime librarie jars into the target platform?
Im trying to get this fixed for a week now. Sad
Re: Cant add .jar to target plattform [message #1416271 is a reply to message #1416173] Thu, 04 September 2014 18:26 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
You might try posting your question in the Plugin Development Environment (PDE) forum.
Re: Cant add .jar to target plattform [message #1422692 is a reply to message #1416173] Sat, 13 September 2014 07:43 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 04/09/2014 15:30, alloisxp alloisxp wrote:
> hm ok, so somehow I must install xtend to the target plattform. How do I
> do that if not by copying the runtime librarie jars into the target
> platform?
> Im trying to get this fixed for a week now. :(

You can use a .target definition file.

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Jetty 9.2.3 java.util.concurrent.TimeoutException
Next Topic:Re: Eclipse plugin development - Custom Wizard for New C++ project
Goto Forum:
  


Current Time: Fri Mar 29 07:17:41 GMT 2024

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

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

Back to the top