In Apache Netbeans, is it possible to set an ant property in the Project Configuration?
I've got this line in my projects build.xml:
<property name="Create Installer" value="y" />
What I'd like to do is set the value differently in different NetBeans project configurations.
In Apache Netbeans, is it possible to set an ant property in the Project Configuration?
I've got this line in my projects build.xml:
<property name="Create Installer" value="y" />
What I'd like to do is set the value differently in different NetBeans project configurations.
Share Improve this question asked Feb 5 at 22:53 mstoreysmithmstoreysmith 1391 silver badge7 bronze badges 2- What happened when you tried it? – g00se Commented Feb 6 at 10:22
- I'm looking in the Netbeans project configuration dialog boxes, g00se, but I just don't see a place where I can put the property definition. Nor can I find any hint in the Apache Netbeans documentation. So for now, I'm just manually changing the build.xml file whenever I need to alter the value. – mstoreysmith Commented Feb 6 at 13:51
1 Answer
Reset to default 0After much investigation, I discovered that creating a Project Configuration in Apache Netbeans results in the creation of a property file in the folder nbproject/configs. I opened this file (in my case Deploy.properties) and made it look like this:
$label=Deploy
CreateInstaller=true
This made CreateInstaller visible in my project's build.xml.