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 207518 - Application installer build fails when not run from IDE
Summary: Application installer build fails when not run from IDE
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: NETFIX
Depends on:
Blocks:
 
Reported: 2012-01-19 13:56 UTC by František Mantlík
Modified: 2013-06-18 21:58 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 František Mantlík 2012-01-19 13:56:44 UTC
When application installer build is run outside IDE, as a Maven antrun-style task in my case, build fails with the following error:

....\application\target\installerbuild\nbi_all\.common\product.xml:546: Unable to delete file ....\application\target\installerbuild\nbi_all\ext\infra\build\products\helloworld\build\temp\bin\myapp

Very simple patch of product.xml script fixes the problem:

Line 546:

<delete dir="${current.temp.dir}"/>

has to be replaced with:

<delete dir="${current.temp.dir}" deleteonexit="true"/>
Comment 1 Libor Fischmeistr 2012-03-28 09:57:59 UTC
Your patch applied: /core-main/rev/b14c12bad707

Thank you.