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 270163 - Build failed on multimodule project when there are no modules
Summary: Build failed on multimodule project when there are no modules
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-22 09:24 UTC by Jiri Prox
Modified: 2017-03-26 02:51 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 Jiri Prox 2017-03-22 09:24:48 UTC
Build failed on multimodule project when there are no modules

Steps to reproduce:
1) create new MM project
2) clean&build
->
C:\Users\jprox\Documents\NetBeansProjects\JavaModularApplication5\nbproject\build-impl.xml:1047: The following error occurred while executing this line:
C:\Users\jprox\Documents\NetBeansProjects\JavaModularApplication5\nbproject\build-impl.xml:1052: The following error occurred while executing this line:
C:\Users\jprox\Documents\NetBeansProjects\JavaModularApplication5\nbproject\build-impl.xml:1039: C:\Users\jprox\Documents\NetBeansProjects\JavaModularApplication5\${entry} does not exist.
BUILD FAILED (total time: 1 second)



Product Version: NetBeans IDE Dev (Build 201703220002)
Java: 9-ea; Java HotSpot(TM) 64-Bit Server VM 9-ea+161
Runtime: Java(TM) SE Runtime Environment 9-ea+161
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Svata Dedic 2017-03-22 14:38:09 UTC
It seems that the macro customizable element placeholder does not support ant:if or and:unless namespaces. With wrapper <sequential> the condition works OK.

fixed in jet-main#c889107f1bcf
Comment 2 Quality Engineering 2017-03-26 02:51:33 UTC
Integrated into 'main-silver', will be available in build *201703260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c889107f1bcf
User: Svata Dedic <sdedic@netbeans.org>
Log: #270163: customizable element doesn't seem to support conditional namespaces, use wrapper element