From 76d6c7a1acf13b3be9d7457e0df4569e922426f9 Mon Sep 17 00:00:00 2001 From: Radim Kubacki Date: Mon, 30 Oct 2006 19:42:27 +0000 Subject: [PATCH] builds against trunk (no org.openide.src) git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4761 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-netbeans/nbproject/build-impl.xml | 6 +++--- pmd-netbeans/nbproject/genfiles.properties | 6 +++--- pmd-netbeans/nbproject/platform.properties | 1 + pmd-netbeans/nbproject/project.properties | 3 ++- pmd-netbeans/nbproject/project.xml | 8 +------- pmd-netbeans/src/pmd/RunPMDAction.java | 3 +-- 6 files changed, 11 insertions(+), 16 deletions(-) diff --git a/pmd-netbeans/nbproject/build-impl.xml b/pmd-netbeans/nbproject/build-impl.xml index 2a878acd71..6b86c5739e 100644 --- a/pmd-netbeans/nbproject/build-impl.xml +++ b/pmd-netbeans/nbproject/build-impl.xml @@ -3,7 +3,7 @@ *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** --> - + @@ -14,8 +14,8 @@ - - + + diff --git a/pmd-netbeans/nbproject/genfiles.properties b/pmd-netbeans/nbproject/genfiles.properties index c90121879a..f608f547cc 100644 --- a/pmd-netbeans/nbproject/genfiles.properties +++ b/pmd-netbeans/nbproject/genfiles.properties @@ -1,5 +1,5 @@ # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=0a996db4 -nbproject/build-impl.xml.script.CRC32=4930d82d -nbproject/build-impl.xml.stylesheet.CRC32=d126b16b +nbproject/build-impl.xml.data.CRC32=bdba7f62 +nbproject/build-impl.xml.script.CRC32=209b78c0 +nbproject/build-impl.xml.stylesheet.CRC32=3f8b4615 diff --git a/pmd-netbeans/nbproject/platform.properties b/pmd-netbeans/nbproject/platform.properties index 108fac5eff..2ea90e414b 100644 --- a/pmd-netbeans/nbproject/platform.properties +++ b/pmd-netbeans/nbproject/platform.properties @@ -1 +1,2 @@ +nbjdk.active=default nbplatform.active=default diff --git a/pmd-netbeans/nbproject/project.properties b/pmd-netbeans/nbproject/project.properties index dab38604ff..acc2c087be 100644 --- a/pmd-netbeans/nbproject/project.properties +++ b/pmd-netbeans/nbproject/project.properties @@ -3,11 +3,12 @@ extra.module.files=\ modules/ext/pmd-3.8.jar \ modules/ext/jakarta-oro-2.0.8.jar \ modules/ext/nbpmdrules.jar +javac.compilerargs=-Xlint:unchecked nbm.distribution=http://pmd.sourceforge.net/ license.file=LICENSE.txt nbm.homepage=http://pmd.sourceforge.net/ -nbm.module.author=Ole-Martin Mørk, Gunnlaugur Þór Briem, Radim Kubacki, Tomasz Slota +nbm.module.author=Ole-Martin M\u00f8rk, Gunnlaugur \u00de\u00f3r Briem, Radim Kubacki, Tomasz Slota #netbeans.dest.dir - absolute pathname of NB platform (or IDE or whatever) that #you are building your module against, and into which your module will be built. #Available in project.properties. diff --git a/pmd-netbeans/nbproject/project.xml b/pmd-netbeans/nbproject/project.xml index e53235653e..abd9d81806 100644 --- a/pmd-netbeans/nbproject/project.xml +++ b/pmd-netbeans/nbproject/project.xml @@ -81,7 +81,7 @@ - 0 + 0-1 1.3.1 @@ -147,12 +147,6 @@ 6.2 - - org.openide.src - - - - org.openide.text diff --git a/pmd-netbeans/src/pmd/RunPMDAction.java b/pmd-netbeans/src/pmd/RunPMDAction.java index 39252c111a..58088e9766 100644 --- a/pmd-netbeans/src/pmd/RunPMDAction.java +++ b/pmd-netbeans/src/pmd/RunPMDAction.java @@ -57,7 +57,6 @@ import org.openide.ErrorManager; import org.openide.awt.StatusDisplayer; import org.openide.cookies.EditorCookie; import org.openide.cookies.LineCookie; -import org.openide.cookies.SourceCookie; import org.openide.filesystems.FileObject; import org.openide.loaders.DataFolder; import org.openide.loaders.DataObject; @@ -130,7 +129,7 @@ public class RunPMDAction extends CookieAction { * @return an array of the two elements DataFolder.class and SourceCookie.class */ protected Class[] cookieClasses() { - return new Class[]{DataFolder.class, SourceCookie.class}; + return new Class[]{DataFolder.class, DataObject.class}; }