Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT jars with maven
SWT jars with maven [message #538956] Wed, 09 June 2010 07:52 Go to next message
lkr is currently offline lkr
Messages: 5
Registered: June 2010
Junior Member
Hello,

I'm working on a simple SWT application with maven enabled dependy management. But I can't find any recent jar in the ibiblio repository and also not in the jboss repository - only version 3.3 from 2007. So I'm wondering why the SWT/JFace jars are not available anymore with maven ? And I don't want to pull out all the jars from the eclipse plugin directory.

Thank you
Lothar
Re: SWT jars with maven [message #539044 is a reply to message #538956] Wed, 09 June 2010 12:34 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

lkr wrote:
> Hello,
>
> I'm working on a simple SWT application with maven enabled dependy
> management. But I can't find any recent jar in the ibiblio repository
> and also not in the jboss repository - only version 3.3 from 2007. So
> I'm wondering why the SWT/JFace jars are not available anymore with
> maven ? And I don't want to pull out all the jars from the eclipse
> plugin directory.

Who put the first set into maven in 2007?

There are p2 repos that have SWT available in them
3.4.2 in http://download.eclipse.org/eclipse/updates/3.4
3.5.2 in http://download.eclipse.org/eclipse/updates/3.5
3.6.0 will appear in http://download.eclipse.org/eclipse/updates/3.6 soon

If you use maven with p2 support, you can the SWT plugins from those p2
repos. But SWT comes in 2 jars in those repos.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: SWT jars with maven [message #539072 is a reply to message #539044] Wed, 09 June 2010 14:43 Go to previous messageGo to next message
lkr is currently offline lkr
Messages: 5
Registered: June 2010
Junior Member
Both addresses causes a 404 NOT FOUND. At least in a web broswer. Even http://download.eclipse.org/releases causes the same error. Do I miss something ?
Re: SWT jars with maven [message #539125 is a reply to message #539072] Wed, 09 June 2010 17:32 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

lkr wrote:
> Both addresses causes a 404 NOT FOUND. At least in a web broswer. Even
> http://download.eclipse.org/releases causes the same error. Do I miss
> something ?

Those are p2 repos, so they don't have index.html, and
download.eclipse.org refuses directory browsing. But the URLs are valid.

You can only use them if your maven supports p2 repos (I thought there
was a maven plugin for that)

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: SWT jars with maven [message #539309 is a reply to message #539125] Thu, 10 June 2010 11:09 Go to previous messageGo to next message
lkr is currently offline lkr
Messages: 5
Registered: June 2010
Junior Member
I've just got maven 3 beta with p2 support working. But how do I know the group + artifact id's for the SWT/JFaces libs ? Just changing the version to 3.5.2 seems to be not working.

Thank you
Lothar
Re: SWT jars with maven [message #539341 is a reply to message #539309] Thu, 10 June 2010 13:31 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

lkr wrote:
> I've just got maven 3 beta with p2 support working. But how do I know
> the group + artifact id's for the SWT/JFaces libs ? Just changing the
> version to 3.5.2 seems to be not working.

I'd ask on eclipse.tools.equinox ... My guess is that you would specify
a version range like [3.5.0,3.6.0), but version ranges and p2 are more
about equinox and not so much about SWT

PW



--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:ExpandBar not expanded properly
Next Topic:Word 2007 OLE: Events firing multiple times
Goto Forum:
  


Current Time: Fri Oct 31 06:31:58 GMT 2014

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

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