How do you build an SWT application with Maven

后端 未结 6 1658
忘掉有多难
忘掉有多难 2020-12-29 22:57

I trying to learn swt, and I use maven for all my builds and eclipse for my IDE. When getting the swt jars out of the maven repository, I get:

Exception in t         


        
6条回答
  •  Happy的楠姐
    2020-12-29 23:14

    Since 2013 (this post inception year), things has changed. SWT is now published on Maven Central. Here are the coordinates as of this writing:

    
        org.eclipse.platform
        org.eclipse.swt.win32.win32.x86_64
        ${swt.version}
    
    

    You may find this ticket interesting.

    Latest SWT artefacts for windows 64bit: https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.swt.win32.win32.x86_64

提交回复
热议问题