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 HTML5 project, it should be possible to use relative path for tests and confs folders. Without this support, it is almost impossible to use HTML5 project for already existing source base. There is a workaround that is update the project.properties file, which works but the UI is in an invalid state.
I'm not sure I understand, but if I create a new HTML5 project with existing resources, the wizard is not asking for test/confs directories. If I then go to Project Properties, I can use relative paths without any problem
Sorry, I forgot to add a 'little' detail in this. The configuration and unit tests should accept folders underneath project folder too. Sorry about forgetting it.
Sorry, the directories are stored as relative paths (if possible). Please, attach your project.properties so we can look at it or provide _exact_ steps to reproduce. Simply reopen this issue, thanks.
Created attachment 146919 [details] Sample project As you can see, in the Sources configuration at project properties UI, there is a error against Unit Tests. If you fix it, a similar issue raises against config folder too.
Well, your Site/Test/Config directories are apparently outside of your project directory - this can be seen in Project Properties dialog (e.g. "../src/main/webapp"). Sorry, I really don't see anything to be fixed here.
The issue is not about the site root folder, but about the tests and configuration files which are mandatory today to be underneath project root folder, but for our needs those files are outside the project too. As stated before, I can workaround it by editing the project.properties file by hand, but I want to do this using the UI, and it is impossible because there is a validation against it.
I have tested with an updated IDE version. Product Version: NetBeans IDE Dev (Build 20140422-549e28a599af) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
(In reply to Michel Graciano from comment #6) > The issue is not about the site root folder, but about the tests and > configuration files which are mandatory today to be underneath project root > folder, but for our needs those files are outside the project too. Ha, finally we know what is the issue here, thanks :) Changing subject accordingly... Also, not P2 since the workaround is easy. We will look at it, thanks.
I am little in a rush so I think I wasn't as clear as I could have been since the beginning :-D Thanks for the help folks. Just let me know if you need anything else. Please, just post here the changeset, I would like to test it as soon as available in the mian repo.
Done, however Láďo please test it so we are sure that everything (moving project, testing project etc.) works as before. Thanks. http://hg.netbeans.org/web-main/rev/bfb9abf30b6d
Sure, will do it on Monday.
Integrated into 'main-silver', will be available in build *201407190718* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bfb9abf30b6d User: Tomas Mysik <tmysik@netbeans.org> Log: #244029 - Config/Test directory cannot be outside project directory