I slightly modified the build-impl.xml file of my NetBeans project. (Specifically, I made it to insert build time into program code). If I run project via build.xml “run” target, I get behavior I expect – the program displays build time and date. But if I run project using standard (and most obvious, used it always) button “Run Main Project”, I get totally another result (no build date). Moreover, if I insert any code into build.xml, I still get result if I run the target explicitly and no result if it is run simply by NetBeans. And this leads me to conclusion, that this button uses another method to run my application.
My question is: what does that button do? What method does it call? And can it be configured to run the needed target of make file?
I slightly modified the build-impl.xml file of my NetBeans project. (Specifically, I made it
Share
that button runs the main project.. it could be that the current project that you set is not the same as the one you’re working on..
additionally, heres the message about build-impl.xml file and build.xml file which may help you:
build-impl is a generated file, so your first error is in modifying the code. refer,
http://wiki.netbeans.org/FaqMobilityBuildScript
heres some comments on the build.xml file
hmm, try cleaning up the project and running it again.