Release 4.2.1.0.0

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5949 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Torsten Kleiber
2008-04-01 21:26:49 +00:00
parent b94f79e961
commit edcf128ae3
12 changed files with 18 additions and 15 deletions

View File

@ -3,11 +3,11 @@
<property name="config" value="config/"/>
<property name="src" value="src/"/>
<property name="etc" value="etc/"/>
<property name="pmdjar" value="pmd14-4.1.jar"/>
<property name="pmdjar" value="pmd14-4.2.jar"/>
<!-- first and second number for the pmd plugin -->
<!-- third number JDeveloper Version 1:9.0.5-10.1.2, 2:10.1.3, 3:11.1.1 -->
<!-- fourth and fifth number minor version number for the JDeveloper Plugin -->
<property name="pluginversion" value="4.1.1.0.0"/>
<property name="pluginversion" value="4.2.1.0.0"/>
<property name="release.dir" value="C:/Documents and Settings/Torsten/My Documents/Eigene Programme/Java/PMD/releases"/>
<property name="jdeveloper.dir" value="C:/Oracle/10gJD10122"/>
<property name="jdeveloper905.install.dir" value="${release.dir}/ides/jdev9052/jdev/lib/ext/${ant.project.name}-${pluginversion}"/>
@ -66,7 +66,7 @@
<copy file="lib/asm-util-3.1.jar" todir="${jdeveloper1012.install.dir}/lib"/>
<copy file="lib/backport-util-concurrent.jar" todir="${jdeveloper1012.install.dir}/lib"/>
<copy file="lib/jaxen-1.1.1.jar" todir="${jdeveloper1012.install.dir}/lib"/>
<copy file="lib/retroweaver-rt-2.0.2.jar" todir="${jdeveloper1012.install.dir}/lib"/>
<copy file="lib/retroweaver-rt-2.0.5.jar" todir="${jdeveloper1012.install.dir}/lib"/>
</target>
<target name="deploy9052" depends="delete,jar9052">
@ -78,7 +78,7 @@
<copy file="lib/asm-util-3.1.jar" todir="${jdeveloper905.install.dir}/lib"/>
<copy file="lib/backport-util-concurrent.jar" todir="${jdeveloper905.install.dir}/lib"/>
<copy file="lib/jaxen-1.1.1.jar" todir="${jdeveloper905.install.dir}/lib"/>
<copy file="lib/retroweaver-rt-2.0.2.jar" todir="${jdeveloper905.install.dir}/lib"/>
<copy file="lib/retroweaver-rt-2.0.5.jar" todir="${jdeveloper905.install.dir}/lib"/>
</target>
<target name="releaseall">
@ -91,7 +91,7 @@
<copy file="lib/asm-util-3.1.jar" todir="tmp/${ant.project.name}-${pluginversion}/lib"/>
<copy file="lib/backport-util-concurrent.jar" todir="tmp/${ant.project.name}-${pluginversion}/lib"/>
<copy file="lib/jaxen-1.1.1.jar" todir="tmp/${ant.project.name}-${pluginversion}/lib"/>
<copy file="lib/retroweaver-rt-2.0.2.jar" todir="tmp/${ant.project.name}-${pluginversion}/lib"/>
<copy file="lib/retroweaver-rt-2.0.5.jar" todir="tmp/${ant.project.name}-${pluginversion}/lib"/>
</target>
<target name="release1012" depends="clean,jar1012,releaseall">

View File

@ -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.

View File

@ -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!"

View File

@ -9,7 +9,7 @@
<gallery>
<name>net.sourceforge.pmd.jdeveloper.Plugin</name>
<description>PMD JDeveloper Extension</description>
<help>Provides integrated support for PMD 4.1 in JDeveloper 10.1.2.</help>
<help>Provides integrated support for PMD 4.2 in JDeveloper 10.1.2.</help>
<category>General</category>
<folder>PMD</folder>
</gallery>

View File

@ -9,7 +9,7 @@
<gallery>
<name>net.sourceforge.pmd.jdeveloper.Plugin</name>
<description>PMD JDeveloper Extension</description>
<help>Provides integrated support for PMD 4.1 in JDeveloper 9.0.5.</help>
<help>Provides integrated support for PMD 4.2 in JDeveloper 9.0.5.</help>
<category>General</category>
<folder>PMD</folder>
</gallery>

Binary file not shown.

View File

@ -63,11 +63,11 @@
<nodeClass>oracle.jdeveloper.model.JavaSourceNode</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="lib/pmd14-4.0rc2.jar"/>
<URL path="lib/pmd14-4.2.jar"/>
<nodeClass>oracle.jdevimpl.jar.JarFolder</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
<URL path="lib/retroweaver-rt-2.0.2.jar"/>
<URL path="lib/retroweaver-rt-2.0.5.jar"/>
<nodeClass>oracle.jdevimpl.jar.JarFolder</nodeClass>
</Item>
<Item class="oracle.ide.model.Reference">
@ -225,7 +225,7 @@
<Value class="oracle.jdevimpl.config.JProjectLibraries">
<jdkName>1.4.2_06</jdkName>
<jdkVersionNumber>1.4.2_06</jdkVersionNumber>
<libraries>PMD 4.0;Oracle Java Compiler;JDeveloper Extension SDK</libraries>
<libraries>PMD 4.2;Oracle Java Compiler;JDeveloper Extension SDK</libraries>
</Value>
</Item>
<Item>

View File

@ -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) {

View File

@ -24,7 +24,7 @@ class Version {
}
public static String version() {
return "4.1.1.0.0";
return "4.2.1.0.0";
}
}