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 234655 - Missing right parenthesis '}' in property value
Summary: Missing right parenthesis '}' in property value
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-20 13:45 UTC by rekoch
Modified: 2013-08-21 13:53 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 rekoch 2013-08-20 13:45:19 UTC
If you like to compile a JavaFx-Application, created with the new Netbeans version 7.3.1, you get an Syntax-Error on the plattform-property.

Syntax error in property: ${platforms.JDK_1.7__GlassFish_.home

So we find out, that in the build-impl.xml which comes with Netbeans, there is a missing right parenthesis in the value="${@{value}} (Line 274)

Thats why in the property the right-parenthesis is missing too.

    <target name="-init-macrodef-property">
        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
            <attribute name="name"/>
            <attribute name="value"/>
            <sequential>
                <property name="@{name}" value="${@{value}}"/>
            </sequential>
        </macrodef>
    </target>
Comment 1 Petr Somol 2013-08-21 13:53:59 UTC
I just checked that both in 7.3.1 and the current dev build the newly generated build-impl.xml contains correct definition of target "-init-macrodef-property". Do I understand it right that in your case the target contains <property name="@{name}" value="${@{value}"/> ?

I could not reproduce the problem in any of my settings, so more information is needed in order to do anything about that.

I can imagine incorrect build-impl.xml only in case it comes from an older project (pre-7.3.1) in which it had been manually modified. That would be the only scenario in which it would remain not re-generated to the correct form when the project is opened in 7.3.1.

please try to delete the affected build-iml.xml and reopen the project in NB. If the problem persists, would you please attach the project (or a dummy project on which you can demonstrate the issue) here ?

As I could not reproduce I am closing for the time being until additional information can be obtained. Please reopen when you add new information. Thanks.