Skip to main content



      Home
Home » Newcomers » Newcomers » Cant add .jar to target plattform
Cant add .jar to target plattform [message #1414498] Sun, 31 August 2014 09:53 Go to next message
Eclipse UserFriend
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 11:07 Go to previous messageGo to next message
Eclipse UserFriend
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 05:19 Go to previous messageGo to next message
Eclipse UserFriend
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 11:44 Go to previous messageGo to next message
Eclipse UserFriend
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 09:27 Go to previous messageGo to next message
Eclipse UserFriend
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 09:30 Go to previous messageGo to next message
Eclipse UserFriend
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 14:26 Go to previous messageGo to next message
Eclipse UserFriend
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 03:43 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 06:14:26 EDT 2025

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

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

Back to the top