diff --git a/pmd-jdeveloper.09.0.5-10.1.2/etc/build.xml b/pmd-jdeveloper.09.0.5-10.1.2/etc/build.xml
index f6288ba52a..a903638d60 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/etc/build.xml
+++ b/pmd-jdeveloper.09.0.5-10.1.2/etc/build.xml
@@ -3,11 +3,11 @@
-
+
-
+
@@ -66,7 +66,7 @@
-
+
@@ -78,7 +78,7 @@
-
+
@@ -91,7 +91,7 @@
-
+
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/etc/changelog.txt b/pmd-jdeveloper.09.0.5-10.1.2/etc/changelog.txt
index b75ec4301c..9d4bdc6cd9 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/etc/changelog.txt
+++ b/pmd-jdeveloper.09.0.5-10.1.2/etc/changelog.txt
@@ -1,3 +1,6 @@
+April 08, 2008 - 4.2:
+Updated PMD version to 4.2.
+
December 06, 2007 - 4.1:
Updated PMD version to 4.1.
Set PMD java version to project J2SE/target.
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/etc/doing_the_next_pmd_jdeveloper_release.txt b/pmd-jdeveloper.09.0.5-10.1.2/etc/doing_the_next_pmd_jdeveloper_release.txt
index ba7603eda5..08aa455e71 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/etc/doing_the_next_pmd_jdeveloper_release.txt
+++ b/pmd-jdeveloper.09.0.5-10.1.2/etc/doing_the_next_pmd_jdeveloper_release.txt
@@ -21,7 +21,7 @@ ant upload
Go to Admin, Edit/Release Files, click on Add new release
Paste stuff into the changelog/readme boxes
Add the pmd-jdeveloperXXX-src-X.X.X.X.X.zip file
-Add the pmd-jdeveloper-bin-1.9.zip file
+Add the pmd-jdeveloperXXX-bin-X.X.X.X.X.zip file
Classify the file
Submit some news saying "hey, new release of the jdeveloper plugin!"
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev1012-ext.xml b/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev1012-ext.xml
index 92d6441950..fa5348d947 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev1012-ext.xml
+++ b/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev1012-ext.xml
@@ -9,7 +9,7 @@
net.sourceforge.pmd.jdeveloper.Plugin
PMD JDeveloper Extension
- Provides integrated support for PMD 4.1 in JDeveloper 10.1.2.
+ Provides integrated support for PMD 4.2 in JDeveloper 10.1.2.
General
PMD
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev9052-ext.xml b/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev9052-ext.xml
index 5b3022675b..db54021beb 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev9052-ext.xml
+++ b/pmd-jdeveloper.09.0.5-10.1.2/etc/jdev9052-ext.xml
@@ -9,7 +9,7 @@
net.sourceforge.pmd.jdeveloper.Plugin
PMD JDeveloper Extension
- Provides integrated support for PMD 4.1 in JDeveloper 9.0.5.
+ Provides integrated support for PMD 4.2 in JDeveloper 9.0.5.
General
PMD
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/lib/pmd14-4.1.jar b/pmd-jdeveloper.09.0.5-10.1.2/lib/pmd14-4.1.jar
deleted file mode 100644
index 1cf3c1af90..0000000000
Binary files a/pmd-jdeveloper.09.0.5-10.1.2/lib/pmd14-4.1.jar and /dev/null differ
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/lib/pmd14-4.2.jar b/pmd-jdeveloper.09.0.5-10.1.2/lib/pmd14-4.2.jar
new file mode 100644
index 0000000000..c6a26f8574
Binary files /dev/null and b/pmd-jdeveloper.09.0.5-10.1.2/lib/pmd14-4.2.jar differ
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/lib/retroweaver-rt-2.0.2.jar b/pmd-jdeveloper.09.0.5-10.1.2/lib/retroweaver-rt-2.0.2.jar
deleted file mode 100644
index 7d5892c454..0000000000
Binary files a/pmd-jdeveloper.09.0.5-10.1.2/lib/retroweaver-rt-2.0.2.jar and /dev/null differ
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/lib/retroweaver-rt-2.0.5.jar b/pmd-jdeveloper.09.0.5-10.1.2/lib/retroweaver-rt-2.0.5.jar
new file mode 100644
index 0000000000..3edaa91214
Binary files /dev/null and b/pmd-jdeveloper.09.0.5-10.1.2/lib/retroweaver-rt-2.0.5.jar differ
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/pmd-jdeveloper.jpr b/pmd-jdeveloper.09.0.5-10.1.2/pmd-jdeveloper.jpr
index 830c5c3443..8d0aedf3e3 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/pmd-jdeveloper.jpr
+++ b/pmd-jdeveloper.09.0.5-10.1.2/pmd-jdeveloper.jpr
@@ -63,11 +63,11 @@
oracle.jdeveloper.model.JavaSourceNode
-
-
+
oracle.jdevimpl.jar.JarFolder
-
-
+
oracle.jdevimpl.jar.JarFolder
-
@@ -225,7 +225,7 @@
1.4.2_06
1.4.2_06
- PMD 4.0;Oracle Java Compiler;JDeveloper Extension SDK
+ PMD 4.2;Oracle Java Compiler;JDeveloper Extension SDK
-
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Plugin.java b/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Plugin.java
index 6a9351e8c5..ea33c2d37f 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Plugin.java
+++ b/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Plugin.java
@@ -202,7 +202,7 @@ public class Plugin implements Addin, Controller, ContextMenuListener {
}
public float version() {
- return 4.1f;
+ return 4.2f;
}
public float ideVersion() {
return 0.1f;
@@ -253,11 +253,11 @@ public class Plugin implements Addin, Controller, ContextMenuListener {
} catch (PMDException e) {
// TODO reroute the whole printStackTrace to the IDE log window
e.printStackTrace();
- e.getReason().printStackTrace();
+ e.getCause().printStackTrace();
JOptionPane.showMessageDialog(null,
"Error while running PMD: " +
"\n" + e.getMessage() + "\n" +
- e.getReason().getMessage(),
+ e.getCause().getMessage(),
PMD_TITLE,
JOptionPane.ERROR_MESSAGE);
} catch (Exception e) {
diff --git a/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Version.java b/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Version.java
index d949621a58..410bd28dba 100644
--- a/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Version.java
+++ b/pmd-jdeveloper.09.0.5-10.1.2/src/net/sourceforge/pmd/jdeveloper/Version.java
@@ -24,7 +24,7 @@ class Version {
}
public static String version() {
- return "4.1.1.0.0";
+ return "4.2.1.0.0";
}
}
\ No newline at end of file