Skip to content

Commit 1d60175

Browse files
committed
Commit updates to eclipse plugin used to release version 1.4
MOE_MIGRATED_REVID=172007003
1 parent adf8837 commit 1d60175

File tree

4 files changed

+35
-9
lines changed

4 files changed

+35
-9
lines changed

eclipse_plugin/META-INF/MANIFEST.MF

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: google-java-format
44
Bundle-SymbolicName: google-java-format-eclipse-plugin;singleton:=true
5-
Bundle-Version: 1.5.0
5+
Bundle-Version: 1.4.0
66
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
77
Require-Bundle: org.eclipse.jdt.core;bundle-version="3.10.0",
88
org.eclipse.jface,
@@ -11,5 +11,5 @@ Require-Bundle: org.eclipse.jdt.core;bundle-version="3.10.0",
1111
org.eclipse.equinox.common
1212
Bundle-ClassPath: .,
1313
lib/guava-19.0.jar,
14-
lib/javac-9-dev-r4023-3-shaded.jar,
15-
lib/google-java-format-1.5-SNAPSHOT.jar
14+
lib/javac-shaded-9-dev-r4023-3.jar,
15+
lib/google-java-format-1.4.jar

eclipse_plugin/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# google-java-format Eclipse Plugin
2+
3+
## Enabling
4+
5+
See https://github.com/google/google-java-format#eclipse
6+
7+
## Development
8+
9+
1) Uncomment `<module>eclipse_plugin</module>` in the parent `pom.xml`
10+
11+
2) Run `mvn install`, which will copy the dependences of the plugin to
12+
`eclipse_plugin/lib`.
13+
14+
2) If you are using Java 9, add
15+
16+
```
17+
-vm
18+
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java
19+
```
20+
21+
to `/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini`.
22+
23+
3) Open the `eclipse_plugin` project in a recent Eclipse SDK build.
24+
25+
4) From `File > Export` select `Plugin-in Development > Deployable plugin-ins
26+
and fragments` and follow the wizard to export a plugin jar.

eclipse_plugin/build.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ output.. = target/classes
33
bin.includes = META-INF/,\
44
.,\
55
plugin.xml,\
6-
lib/google-java-format-1.5-SNAPSHOT.jar,\
7-
lib/javac-9-dev-r4023-3-shaded.jar,\
8-
lib/guava-19.0.jar
6+
lib/javac-shaded-9-dev-r4023-3.jar,\
7+
lib/guava-19.0.jar,\
8+
lib/google-java-format-1.4.jar

eclipse_plugin/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
<parent>
2121
<groupId>com.google.googlejavaformat</groupId>
2222
<artifactId>google-java-format-parent</artifactId>
23-
<version>1.5-SNAPSHOT</version>
23+
<version>1.4</version>
2424
</parent>
2525

2626
<artifactId>google-java-format-eclipse-plugin</artifactId>
27-
<version>1.5.0</version>
27+
<version>1.4.0</version>
2828
<packaging>eclipse-plugin</packaging>
2929
<name>google-java-format Plugin for Eclipse 4.5+</name>
3030

@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>com.google.googlejavaformat</groupId>
5050
<artifactId>google-java-format</artifactId>
51-
<version>1.5-SNAPSHOT</version>
51+
<version>1.4</version>
5252
</dependency>
5353
</dependencies>
5454

0 commit comments

Comments
 (0)