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.
When creating a project, 'project.properties' always references libraries using relative path - however, 'private.properties' doesn't. So in the end, the project as a whole is not working in every different machine. Example: In 'project.properties': file.reference.jhall.jar=../../PPGD_05_INFRAESTRUTURA/lib/jhall.jar In 'private.properties': file.reference.jhall.jar=/home/jvictor/dev/workspace/PPGD_05_INFRAESTRUTURA/lib/jhall.jar
Sorry, but I do not understand why the project does not work on different machines: 1. You should never share the private.properties among different computers. So the absolute path should be used only on the single computer. 2. If you check-out a project on a different machine, you should have only project.properties (not private.properties), and if the relative path is correct, everything should work OK. If the relative path is not correct, it needs to be fixed, but this is probably not your case. Or am I missing something? Please note that you should never share the nbproject/private directory and its content in the version control system or copy it into a different machine.
.
Ok, i didn't know nbproject/private shouldn't be shared. I thought i could share the entire nbproject folder? Maybe private shouldn't go inside the project folder then.