build.xml for pmd bridge
andrew <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <[email protected]> |
Tor,
1. I think, the build.xml file for pmd bridge contains the error,
this file has:
<property name="pmdmod" value="${netbeans.home}/modules/pmd.jar"/>
<property name="pmdlib" value="${netbeans.home}/modules/ext/pmd-1.01.jar"/>
<!-- Let user override it via the build.properties file -->
<property file="build.properties"/>
But it must have:
<!-- Let user override it via the build.properties file -->
<property file="build.properties"/>
<property name="pmdmod" value="${netbeans.home}/modules/pmd.jar"/>
<property name="pmdlib" value="${netbeans.home}/modules/ext/pmd-1.01.jar"/>
According to Ant 1.5.1 manual (and my experiments :-):
"Properties are immutable: whoever sets a property first freezes it for the
rest of the build; they are most definately not variable."
2. Have you achived any success in this? -
"....I'm working on a rewrite that the java module maintainers
will accept and integrate into their module. They didn't like
the dependency on a org.netbeans.modules.java class, so I'm
creating a registry class in org.netbeans.api.java."
Thanks!
Andrew