Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Maven Repository for SWT?(Question about putting SWT on a Maven repository)
icon6.gif  Maven Repository for SWT? [message #526626] Mon, 12 April 2010 13:04 Go to next message
Jon Kristensen is currently offline Jon Kristensen
Messages: 4
Registered: April 2010
Junior Member
Is there a way that the SWT team could provide SWT on a Maven repository, such as the Central Maven Repository?

At the moment I'm typing the following commands to add SWT to my local repository but it would be nicer if it could just be added as a dependency.

mvn install:install-file -DgroupId=org.eclipse.swt -DartifactId=win32 -Dversion=3.5.2 -Dpackaging=jar -Dfile=swt.jar
mvn install:install-file -DgroupId=org.eclipse.swt -DartifactId=win32 -Dversion=3.5.2 -Dpackaging=jar -Dfile=src.zip -Dclassifier=sources

mvn install:install-file -DgroupId=org.eclipse.swt -DartifactId=gtk-linux-x86 -Dversion=3.5.2 -Dpackaging=jar -Dfile=swt.jar
mvn install:install-file -DgroupId=org.eclipse.swt -DartifactId=gtk-linux-x86 -Dversion=3.5.2 -Dpackaging=jar -Dfile=src.zip -Dclassifier=sources

mvn install:install-file -DgroupId=org.eclipse.swt -DartifactId=macosx -Dversion=3.5.2 -Dpackaging=jar -Dfile=swt.jar
mvn install:install-file -DgroupId=org.eclipse.swt -DartifactId=macosx -Dversion=3.5.2 -Dpackaging=jar -Dfile=src.zip -Dclassifier=sources

Thanks in advance!

Warm regards,
Jon
Re: Maven Repository for SWT? [message #526956 is a reply to message #526626] Tue, 13 April 2010 14:56 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2150
Registered: July 2009
Senior Member
Hi Jon,

Yes, this has been requested, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=199302 . If I can't get to
this soon then I'll reassign it to someone that can.

Grant


"Jon Kristensen" <technology@jonkristensen.com> wrote in message
news:hpv5p2$h66$1@build.eclipse.org...
> Is there a way that the SWT team could provide SWT on a Maven repository,
such as the Central Maven Repository?
>
> At the moment I'm typing the following commands to add SWT to my local
repository but it would be nicer if it could just be added as a dependency.
>
> mvn
install:install-file -DgroupId=org.eclipse.swt -DartifactId=win32 -Dversion=
3.5.2 -Dpackaging=jar -Dfile=swt.jar
> mvn
install:install-file -DgroupId=org.eclipse.swt -DartifactId=win32 -Dversion=
3.5.2 -Dpackaging=jar -Dfile=src.zip -Dclassifier=sources
>
> mvn
install:install-file -DgroupId=org.eclipse.swt -DartifactId=gtk-linux-x86 -D
version=3.5.2 -Dpackaging=jar -Dfile=swt.jar
> mvn
install:install-file -DgroupId=org.eclipse.swt -DartifactId=gtk-linux-x86 -D
version=3.5.2 -Dpackaging=jar -Dfile=src.zip -Dclassifier=sources
>
> mvn
install:install-file -DgroupId=org.eclipse.swt -DartifactId=macosx -Dversion
=3.5.2 -Dpackaging=jar -Dfile=swt.jar
> mvn
install:install-file -DgroupId=org.eclipse.swt -DartifactId=macosx -Dversion
=3.5.2 -Dpackaging=jar -Dfile=src.zip -Dclassifier=sources
>
> Thanks in advance!
>
> Warm regards,
> Jon
Re: Maven Repository for SWT? [message #526969 is a reply to message #526956] Tue, 13 April 2010 15:22 Go to previous message
Jon Kristensen is currently offline Jon Kristensen
Messages: 4
Registered: April 2010
Junior Member
Thank you! I look forward to be able to start using SWT in my Maven projects! Smile

Take care!
Previous Topic:TreeItem setBackGround() not working....
Next Topic:high number of handles used by form based editor
Goto Forum:
  


Current Time: Wed Sep 03 07:13:13 GMT 2014

Powered by FUDForum. Page generated in 0.02557 seconds