forked from phoedos/pmd
builds against trunk (no org.openide.src)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4761 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
*** GENERATED FROM project.xml - DO NOT EDIT ***
|
||||
*** EDIT ../build.xml INSTEAD ***
|
||||
-->
|
||||
<project name="pmd-impl" basedir=".." xmlns:nbmproject="http://www.netbeans.org/ns/nb-module-project/2">
|
||||
<project name="pmd-impl" basedir="..">
|
||||
<property file="nbproject/private/platform-private.properties"/>
|
||||
<property file="nbproject/platform.properties"/>
|
||||
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
|
||||
@ -14,8 +14,8 @@
|
||||
</sequential>
|
||||
</macrodef>
|
||||
<property file="${user.properties.file}"/>
|
||||
<nbmproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/>
|
||||
<nbmproject:property name="netbeans.dest.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/>
|
||||
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
|
||||
<nbmproject2:property name="netbeans.dest.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
|
||||
<fail message="You must define 'nbplatform.${nbplatform.active}.harness.dir'">
|
||||
<condition>
|
||||
<not>
|
||||
|
@ -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
|
||||
|
@ -1 +1,2 @@
|
||||
nbjdk.active=default
|
||||
nbplatform.active=default
|
||||
|
@ -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.
|
||||
|
@ -81,7 +81,7 @@
|
||||
<build-prerequisite/>
|
||||
<compile-dependency/>
|
||||
<run-dependency>
|
||||
<release-version>0</release-version>
|
||||
<release-version>0-1</release-version>
|
||||
<specification-version>1.3.1</specification-version>
|
||||
</run-dependency>
|
||||
</dependency>
|
||||
@ -147,12 +147,6 @@
|
||||
<specification-version>6.2</specification-version>
|
||||
</run-dependency>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<code-name-base>org.openide.src</code-name-base>
|
||||
<build-prerequisite/>
|
||||
<compile-dependency/>
|
||||
<run-dependency/>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<code-name-base>org.openide.text</code-name-base>
|
||||
<build-prerequisite/>
|
||||
|
@ -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};
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user