-
Notifications
You must be signed in to change notification settings - Fork 29
Add JFace #1
Comments
Good example of Jface maven repo is: And this is my dependency tree in project (note: x64 platform):
I know, my tree start root from org.eclipse.jface:text:jar and contain some additional jface dependencies. Hope this help. |
What JAR files are needed is explained here: https://wiki.eclipse.org/JFace#Using_JFace_outside_the_Eclipse_platform I guess it is not as easy as SWT because one seems to have to extract the necessary files from an Eclipse download. One probably has to scrape first http://download.eclipse.org/eclipse/downloads/ to get at the drops and then scrape http://download.eclipse.org/eclipse/downloads/drops4/R-4.5-201506032000/ to download a Platform Runtime Binary. Thanks for your efforts with SWT. |
I used the following bash script on OS X to download the necessary JAR files. Hope this helps.
|
JFace is not updated in above repo |
I added the jars mentioned my @bpieber and created the poms. Just add <dependency>
<groupId>org.eclipse.jface</groupId>
<artifactId>org.eclipse.jface</artifactId>
<version>3.11.0</version>
</dependency> to your dependencies at <repository>
<id>545ch4</id>
<url>https://raw.githubusercontent.com/545ch4/maven-eclipse.github.io/master/maven</url>
</repository> See my PR. |
Anyone tried? |
@545ch4 Seems to work for me - thanks! |
Any update on having jface in this repository? |
I'd vote for this. |
👍 |
You can use my fork:
I've added all other eclipse jars for 4.5.2 and up. This includes JFace |
Hi guys, no news about having a jface repo (or include jface jars in this repo) for standalone app using SWT and JFACE? |
Hi @oeil, please take a look at Central Repository: org/eclipse/platform and Eclipse Neon.2 is on Maven Central for more info. |
@albertus82 awesome! thanks |
thank you! that's the true answer。 |
but how to use it? |
Try browsing https://mvnrepository.com/artifact/org.eclipse.platform |
this is my pom.xml but it coms several errors, like this: |
Finally, i found out i have to add 'exclusions' to 'dependency'. The pom.xml just like this: And the repository setting is: |
BTW, feel free to check this presentation on how maven can be tweaked to handle swt dependencies in a platform independent way - without any exclusions (slides - in particular |
I've never used JFace, whats JARs are required to get it working? Where can I find them? Is OSGI required?
It should be easy to modify the scrape script for this
The text was updated successfully, but these errors were encountered: