This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219298 - debug project, got error nbjpdaconnect doesn't support the "listeningcp" attribute
Summary: debug project, got error nbjpdaconnect doesn't support the "listeningcp" attr...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-02 05:00 UTC by zlob.jc
Modified: 2012-10-10 03:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zlob.jc 2012-10-02 05:00:00 UTC
try to debug project, got "nbproject/build-impl.xml:476: nbjpdaconnect doesn't support the "listeningcp" attribute"

<target name="connect-debugger" unless="is.debugged">
        <condition property="listeningcp" value="sourcepath">
            <istrue value="${j2ee.compile.on.save}"/>
        </condition>
        <nbjpdaconnect address="${jpda.address}" host="${jpda.host}" listeningcp="${listeningcp}" name="${jpda.host}:${jpda.address}" transport="${jpda.transport}">
            <classpath>
                <path path="${debug.classpath}"/>
                <fileset dir="${build.dir}" includes="lib/*.jar"/>
            </classpath>
            <sourcepath>
                <path path="${ear.docbase.dirs}"/>
            </sourcepath>
        </nbjpdaconnect>
</target>

Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.6.0_35; Java HotSpot(TM) Client VM 20.10-b01-428
System: Mac OS X version 10.7.4 running on i386; MacRoman; en_US (nb)
Comment 1 Martin Entlicher 2012-10-09 16:11:33 UTC
The "listeningcp" attribute was added in NetBeans 7.2. Therefore it's fixed there.
Also, didn't you open a project created in NetBeans 7.2 or newer?
Comment 2 zlob.jc 2012-10-10 03:15:19 UTC
may be, I have 7.2 installation