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.
I have a makefile based project (it's in NB sources, in cnd.remote/tools) that have a universal makefile that automatically builds for the platform it runs on. But project system generates Package-*.bash scripts that have hard-coded platform. This is very inconvenient since the project is under version control, and these files differ each time I work on different platform.
Another possible solution is not to generate such scripts for makefile based projects, or to generate it by user request only.
The generated projects are not designed to be platform agnostic, the metadata is but the generated project is not and has never been. This is an issue that keeps coming back and to solve it is a very hard problem. Think of complex projects with subprojects and libraries and it becomes almost impossible to generate a project that builds correctly on all platforms. Moreover it is rarely an issue for 'real' users because the issue is normally solved with multiple configurations (one of the reasons configurations exists), it is probably only an 'issue' for us developers that have small simple projects we would like to move from system to system and don't want to create multiple configurations for. Will close as dup of 188584. *** This bug has been marked as a duplicate of bug 188584 ***