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.
Please read issue 32147 and fix your part of issue.
I'm waiting for HIE input to fix this issue.
i would recommend putting JUnit after Ant Scripts given the order looks something like this (from referenced bug): Folder Java Package -------------------- (separator) Java Classes Java GUI Forms Java Beans JSPs & Servlets RMI XML JAR Archives Ant Build Scripts Scripting NetBeans Extensions Other the rationale is that everything up to Ant Build Scripts has to do directly with developing code. Scripting (which may now be gone?)and NetBeans Extensions are things that deal with the IDE. other is catch all. JUnit deals with the users code but isn't quite used in development so it should come after the templates for code and building but before the templates for working with the IDE. does that sound reasonable?
Hmm, I don't know, but I have a feeling that JUnit might be quite well before Ant Build Scripts. At least, because you use templates for ant scrips and stuff like that usually just once and then you just modify the created template. On the other hand, creating JUnit tests via templates (if used at all) might happen more often (not just once). Furthermore, creating tests for your code becomes a very standard for many projects. So what about putting JUnit templates before Ant Build Scripts?
before ant scripts works for me. i should have asked how often the templates are used -thanks for pointing that out.
Fixed in dev. Diff is attached
Created attachment 9539 [details] diff of the fix
Code review? Binary patch for release35 build? Verification to make sure (a) it was fixed (b) no regression
Just wondering how should I create a binary patch if the changes were made only in layer and bundle.properties. The things is also complicated by the fact that JUnit is not a part of release35 build, just of S1S build based on release35. Also wondering how should I provide code review - the only thing changed was that I added ordering attributes to templates defined in layer.xml Also who will verify it? Can I verify it on my own?
Martin, I will verify it when I have a patch.
So I should post here a binary patch of junit.jar against latest S1S build and you check it, right? I'm working on that.
patch verified, thanks Martin :)
approved for release35
OK, integrated to release35 branch.
verified in [s1s5](030327)