The freeform project may have an folder as its output. To be able to use such a
project as a library project of some other project new artifact type
representing a folder has to be introduced.
I've added the constant representing it (ARTIFACT_TYPE_FOLDER) into
Created attachment 21777 [details]
Looks OK to me. I presume the real fix would involve changes to java/freeform
and/or java/j2seproject to use the new constant.
Yes, the diff of a complete fix (non API part) is attached to issue #57733
Knowing there is a test for the new behaviour makes me feel more confident,
the change will be useful and correct. Is see changes in a test, but why it
does not refer to the new constant?
The test used hardcoded values. I've fixed it to use the constants from JPC.
Checking in project/src/org/netbeans/api/java/project/JavaProjectConstants.java;
new revision: 1.6; previous revision: 1.5
Marking this issue as VERIFIED since the issue reporter == issue owner.