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.
We probably started development of application based on NetBeans 5.0. We migrated to new NB platform every new NB release. We found build-impl.xml file was not regenerated for all modules in suite. It causes a lot of problems. Is it possible to regenete the build-impl.xml files for all projects in suite?
What problems does it cause? 6.7 harness should build 6.5 and older modules/suites without problems, however some manual tweaks in platform.properties or build.xml can break it. If you didn't do manual changes, the bug is rather in harness than in IDE. AFAIK the policy is that project metadata should not change just by opening the project in newer version. If you want to re-generate build-impl.xml, changing something in Suite Properties -> Libraries should do.
Created attachment 84305 [details] troublesome build-impl.xml
I attached troublesome build-impl.xml. I was not able to debug or run from modules build.xml.
build-impl.xml ought to be regenerated if you open the project in a new IDE. If not, it's a bug. Can you reproduce? "project metadata should not change just by opening the project in newer version" is true for primary configuration such as project.xml, not for generated build scripts. BTW as of NB 6.7 the IDE remembers in genfiles.properties which version of the module generated build-impl.xml, so reopening the project in the old IDE again will not cause build-impl.xml to be replaced with the old version.
genfiles.properties is not updated for some projects. For example I tried to add a dependency to project. Project.xml was updated corretly. But genfiles.properties was the same. Last modification of genfiles.properties was done at 2007-10-12 05:17:04. I'll attach packed nbproject folder.
Created attachment 84425 [details] nbproject.zip
Your ZIP shows nbproject/build-impl.xml modified Jul 2nd and nbproject/genfiles.properties modified Jun 23rd. Do you have a test case to reproduce?
My coworker doesn't have such problems like me. The files are correctly regenerated on his computer. I don't have any idea what's wrong on my computer (Ubuntu).
I cannot reproduce this. What I did: 1) I've set up suite with 2 projects and some classes in them in NB 6.5 with 6.5 platform, harness supplied with IDE - clean, build works, uses "old" (i.e. 6.5) build-impl.xml files 2) I've added the same platform to platform mgr in NB 6.7, opened the suite and one of the modules - clean, build works, only suite private.properties were changed, that's ok 3) Disabled some clusters in Suite Libraries - build-impl.xml in suite re-generated correctly, genfiles.properties updated, clean, build works - module files unchanged 4) Added module dep in one of the modules and used it in code - build-impl.xml in module re-generated correctly, genfiles.properties updated, clean, build works Then I tried the same with harness supplied with Platform (i.e. "old" harness), everything works as well, only build-impl.xml are not re-generated at all as expected. Closing, feel free to reopen when you find reproducible test case.