Skip to content

Commit d2f53fc

Browse files
committed
Initial commit
0 parents  commit d2f53fc

27 files changed

+1567
-0
lines changed

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Java
2+
*.class
3+
4+
# Eclipse
5+
.settings/
6+
classes/
7+
.classpath
8+
.project
9+
10+
# Mac
11+
.DS_Store
12+
13+
# Maven
14+
log/
15+
target/
16+
17+
# Gradle
18+
.gradle/
19+
build/
20+
21+
# WinMerge
22+
*.bak

LICENSE

Lines changed: 677 additions & 0 deletions
Large diffs are not rendered by default.

NOTICE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
JD-Eclipse license - GPLv3
2+
3+
Libraries used:
4+
5+
JD-Common-IDE Java Release - GPLv3
6+
JD-Common Java Release - GPLv3
7+
JD-Core Java Release - GPLv3

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#JD-Eclipse
2+
3+
JD-Eclipse, a Java decompiler plug-in for the Eclipse platform.
4+
5+
![](http://jd.benow.ca/img/screenshot8.png)
6+
7+
- Java Decompiler projects home page: [http://jd.benow.ca](http://jd.benow.ca)
8+
- Java Decompiler Wikipedia page: [http://en.wikipedia.org/wiki/Java_Decompiler](http://en.wikipedia.org/wiki/Java_Decompiler)
9+
- JD-Eclipse source code: [https://github.com/java-decompiler/jd-eclipse](https://github.com/java-decompiler/jd-eclipse)
10+
11+
##Description
12+
JD-Eclipse is a plug-in for the Eclipse platform. It allows you to
13+
display all the Java sources during your debugging process, even if
14+
you do not have them all.
15+
16+
##How to build JD-Eclipse ?
17+
```
18+
> gradle build installSiteDist
19+
```
20+
generate _"build/install/jd-eclipse-site"_
21+
22+
##How to install JD-Eclipse ?
23+
1. Build or download & unzip _"jd-eclipse-site-x.y.z.zip"_,
24+
2. Launch _Eclipse_,
25+
3. Click on _"Help > Install New Software..."_,
26+
4. Click on button _"Add..."_ to add an new repository,
27+
5. Enter _"JD-Eclipse Update Site"_ and select the local site directory,
28+
6. Check _"Java Decompiler Eclipse Plug-in"_,
29+
7. Next, next, next... and restart.
30+
31+
##How to check the file associations ?
32+
Click on _"Window > Preferences > General > Editors > File Associations"_
33+
- _"*.class"_ : _"Eclipse Class File Viewer"_ is selected by default.
34+
- _"*.class without source"_ : _"JD Class File Viewer"_ is selected by default.
35+
36+
##How to configure JD-Eclipse ?
37+
Click on _"Window > Preferences > Java > Decompiler"_
38+
39+
##How to uninstallation JD-Eclipse ?
40+
1. Click on _"Help > About Eclipse > Installation Details"_,
41+
2. Select _"JD-Eclipse Plug-in"_,
42+
3. Click on _"Uninstall..."_.

build.gradle

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apply plugin: 'distribution'
2+
3+
// Common configuration //
4+
allprojects {
5+
version='1.0.0'
6+
}
7+
8+
distributions {
9+
site {
10+
contents {
11+
into('features') {
12+
from { fileTree('jd.ide.eclipse.feature/build/libs') { include '*.jar' } }
13+
}
14+
into('plugins') {
15+
from { fileTree('jd.ide.eclipse.plugin/build/libs') { include '*.jar' } }
16+
}
17+
from 'jd.ide.eclipse.site/site.xml', 'LICENSE', 'NOTICE', 'README.md'
18+
}
19+
}
20+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apply plugin: 'java'
2+
3+
jar {
4+
from 'feature.xml'
5+
archiveName baseName + '_' + version + '.' + extension
6+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin.includes = feature.xml

jd.ide.eclipse.feature/feature.xml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<feature
3+
id="jd.ide.eclipse.feature"
4+
label="JD-Eclipse Plug-in"
5+
version="1.0.0"
6+
provider-name="Java Decompiler"
7+
plugin="jd.ide.eclipse.plugin">
8+
9+
<description url="http://www.example.com/feature">
10+
JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all.
11+
</description>
12+
13+
<copyright>
14+
Copyright (C) 2008-2015 Emmanuel Dupuy
15+
</copyright>
16+
17+
<license url="http://www.gnu.org/licenses/gpl-3.0.html">.
18+
GNU GENERAL PUBLIC LICENSE
19+
20+
Version 3, 29 June 2007
21+
22+
&lt;http://www.gnu.org/licenses/gpl-3.0.html&gt;
23+
24+
END OF TERMS AND CONDITIONS
25+
26+
How to Apply These Terms to Your New Programs
27+
28+
If you develop a new program, and you want it to be of the greatest
29+
possible use to the public, the best way to achieve this is to make it
30+
free software which everyone can redistribute and change under these terms.
31+
32+
To do so, attach the following notices to the program. It is safest
33+
to attach them to the start of each source file to most effectively
34+
state the exclusion of warranty; and each file should have at least
35+
the "copyright" line and a pointer to where the full notice is found.
36+
37+
JD-Eclipse is a plug-in for the Eclipse platform. It allows you to
38+
display all the Java sources during your debugging process, even if you
39+
do not have them all.
40+
Copyright (C) 2008-2015 Emmanuel Dupuy
41+
42+
This program is free software: you can redistribute it and/or modify
43+
it under the terms of the GNU General Public License as published by
44+
the Free Software Foundation, either version 3 of the License, or
45+
(at your option) any later version.
46+
47+
This program is distributed in the hope that it will be useful,
48+
but WITHOUT ANY WARRANTY; without even the implied warranty of
49+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50+
GNU General Public License for more details.
51+
52+
You should have received a copy of the GNU General Public License
53+
along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.
54+
55+
Also add information on how to contact you by electronic and paper mail.
56+
57+
If the program does terminal interaction, make it output a short
58+
notice like this when it starts in an interactive mode:
59+
60+
JD-Eclipse Copyright (C) 2008-2015 Emmanuel Dupuy
61+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
62+
This is free software, and you are welcome to redistribute it
63+
under certain conditions; type `show c' for details.
64+
65+
The hypothetical commands `show w' and `show c' should show the appropriate
66+
parts of the General Public License. Of course, your program's commands
67+
might be different; for a GUI interface, you would use an "about box".
68+
69+
You should also get your employer (if you work as a programmer) or school,
70+
if any, to sign a "copyright disclaimer" for the program, if necessary.
71+
For more information on this, and how to apply and follow the GNU GPL, see
72+
&lt;http://www.gnu.org/licenses/&gt;.
73+
74+
The GNU General Public License does not permit incorporating your program
75+
into proprietary programs. If your program is a subroutine library, you
76+
may consider it more useful to permit linking proprietary applications with
77+
the library. If this is what you want to do, use the GNU Lesser General
78+
Public License instead of this License. But first, please read
79+
&lt;http://www.gnu.org/philosophy/why-not-lgpl.html&gt;.
80+
</license>
81+
82+
<url>
83+
<update url="http://jd.benow.ca/jd-eclipse/update/"/>
84+
</url>
85+
86+
<plugin
87+
id="jd.ide.eclipse.plugin"
88+
download-size="0"
89+
install-size="0"
90+
version="1.0.0"
91+
unpack="false"/>
92+
93+
</feature>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: JD-Eclipse Plug-in
4+
Bundle-SymbolicName: jd.ide.eclipse.plugin;singleton:=true
5+
Bundle-Version: 1.0.0
6+
Bundle-RequiredExecutionEnvironment: J2SE-1.5
7+
Require-Bundle: org.eclipse.ui,
8+
org.eclipse.ui.editors,
9+
org.eclipse.jdt.ui,
10+
org.eclipse.jdt.core,
11+
org.eclipse.core.runtime,
12+
org.eclipse.core.resources,
13+
org.eclipse.ui.ide,
14+
org.eclipse.jface.text
15+
Bundle-Vendor: Java Decompiler
16+
Bundle-Activator: jd.ide.eclipse.JavaDecompilerPlugin
17+
Bundle-ActivationPolicy: lazy
18+
Bundle-ClassPath: lib/jd-common-0.7.1.jar,
19+
lib/jd-common-ide-0.7.1.jar,
20+
lib/jd-core-0.7.1.jar,
21+
.

jd.ide.eclipse.plugin/about.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
featureImage=icons/jd_32.png
2+
aboutText=Java Decompiler\n\
3+
\n\
4+
Wikipedia http://en.wikipedia.org/wiki/Java_Decompiler\n\
5+
Google+ https://plus.google.com/107508651694381167848\n\
6+
\n\
7+
Copyright © 2008-2015 Emmanuel Dupuy

0 commit comments

Comments
 (0)