Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Can't find org.eclipse.swt.win32.win32.x86_3.1.2.jar during export
Can't find org.eclipse.swt.win32.win32.x86_3.1.2.jar during export [message #444387] Tue, 14 February 2006 17:48 Go to next message
Eclipse UserFriend
Originally posted by: kwpeck.mersoft.com

I recently updated to Eclipse 3.1.2 and I installed all the new 3.1.2
files I could find off the download page. When I attempt to do an export
now it says it can't find the file:

org.eclipse.swt.win32.win32.x86_3.1.2.jar

That file is sitting in my C:\Eclipse\plugins directory.

It also states check the log file for more information but I have been
unable to find a log file with anything in it. I have some with 0 bytes
with todays date but that is less than helpful.

Has anyone else upgraded to 3.1.2 (via update under Eclipse / not a new
install) and had this issue? Is there some place I need to update a file
to point to the proper one?
Re: Can't find org.eclipse.swt.win32.win32.x86_3.1.2.jar during export [message #444399 is a reply to message #444387] Wed, 15 February 2006 08:35 Go to previous messageGo to next message
Eclipse UserFriend
It's not a plugin, it's a fragment. It adds to the plugin org.eclipse.swt at runtime.

You should change your dependency to be on org.eclipse.swt instead of the platform specific one, and you won't see this error.

Alex.
Re: Can't find org.eclipse.swt.win32.win32.x86_3.1.2.jar during export [message #444401 is a reply to message #444399] Wed, 15 February 2006 09:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwpeck.mersoft.com

For this features I am set to be dependent on org.eclipse.swt BUT it
does not copy the win32.jar to the final build directory. Nor does it
copy the carbon.jar to the Mac directory. I really want it to copy ALL
required files to the directory for the RCP build when I am done.

I have seen samples in the Eclipse docs that show adding the win32.jar
to the dependency list. Maybe they are wrong too. Just how do you get
this silly thing (we have been working on this for days and I really
want to use a stronger word here) export with all the required files?

Alex Blewitt wrote:
> It's not a plugin, it's a fragment. It adds to the plugin org.eclipse.swt at runtime.
>
> You should change your dependency to be on org.eclipse.swt instead of the platform specific one, and you won't see this error.
>
> Alex.
Re: Can't find org.eclipse.swt.win32.win32.x86_3.1.2.jar during [message #444402 is a reply to message #444401] Wed, 15 February 2006 10:03 Go to previous messageGo to next message
Eclipse UserFriend
I can suggest that you look at a custom build file for your feature, and then in that do a specific copy to move all the files over. I don't think it handles fragments very well at present.

Either that, if you use an automated build system to do the work, tag that on as a step after your plugin has been built ...

It's probably easiest to have the custom build option; you'll need to have an ant file with some specific targets (documentation is almost certainly in the help somewhere or in the build, but it's things like build.jars and gather.parts etc.). In any case, a feature is mostly just an empty zip file with feature.xml in, so tagging the export at that stage probably doesn't hurt.

There might be more specific advice for exporting a multi-platform RCP application in the RCP delta pack; for example, a dependency on the RCP Delta pack might export them for you. But I don't know; I use maven to build plugins, and that's pretty configurable to do what I want :-)

Alex.
Re: Can't find org.eclipse.swt.win32.win32.x86_3.1.2.jar during [message #444403 is a reply to message #444402] Wed, 15 February 2006 10:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwpeck.mersoft.com

The weird part is this works great on another project we did so I know
it is possible. We do use the Delta Pack. I just wanted to recreate a
success. We do have a custom build so we can build on a shared resource
for nightly builds. We will add the logic there which we did not have to
have before. We find that quite a bit in Eclipse, you can get something
to work once but a second time... well good luck.

Alex Blewitt wrote:
> I can suggest that you look at a custom build file for your feature, and then in that do a specific copy to move all the files over. I don't think it handles fragments very well at present.
>
> Either that, if you use an automated build system to do the work, tag that on as a step after your plugin has been built ...
>
> It's probably easiest to have the custom build option; you'll need to have an ant file with some specific targets (documentation is almost certainly in the help somewhere or in the build, but it's things like build.jars and gather.parts etc.). In any case, a feature is mostly just an empty zip file with feature.xml in, so tagging the export at that stage probably doesn't hurt.
>
> There might be more specific advice for exporting a multi-platform RCP application in the RCP delta pack; for example, a dependency on the RCP Delta pack might export them for you. But I don't know; I use maven to build plugins, and that's pretty configurable to do what I want :-)
>
> Alex.
Re: Can't find org.eclipse.swt.win32.win32.x86_3.1.2.jar during [message #444784 is a reply to message #444402] Mon, 20 February 2006 17:23 Go to previous message
Eclipse UserFriend
Originally posted by: kwpeck.mersoft.com

Solved the issue by adding org.eclipse.rcp to the Included Features tab
of the main projects .feature file

Alex Blewitt wrote:
> I can suggest that you look at a custom build file for your feature, and then in that do a specific copy to move all the files over. I don't think it handles fragments very well at present.
>
> Either that, if you use an automated build system to do the work, tag that on as a step after your plugin has been built ...
>
> It's probably easiest to have the custom build option; you'll need to have an ant file with some specific targets (documentation is almost certainly in the help somewhere or in the build, but it's things like build.jars and gather.parts etc.). In any case, a feature is mostly just an empty zip file with feature.xml in, so tagging the export at that stage probably doesn't hurt.
>
> There might be more specific advice for exporting a multi-platform RCP application in the RCP delta pack; for example, a dependency on the RCP Delta pack might export them for you. But I don't know; I use maven to build plugins, and that's pretty configurable to do what I want :-)
>
> Alex.
Previous Topic:customTargets.xml how to add files to target plugins directory
Next Topic:Plugins
Goto Forum:
  


Current Time: Tue Jul 08 03:18:35 EDT 2025

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

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

Back to the top