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 I want to implement for example J2MEPlatform I need to return PathContent. PathContent doesn't have any non-abstract child and each implementation requires new 2 classes and about 160 lines of code (length copy-pasted code from JavaModule). I think that classpath conversion String -> PathContent is so common that it should be public.
Would it be enough for you to be able to create PathContent based on FileSet which contains the resources (*.jar files or folders)?
Yes, that would be good, thanks. I hope MutableFileSet.add(Object) eats URLs :-)
Yes, URLs can always be used. Additionaly, you can add/remove also FileObjects (and DataObjects) depending on which factory method you used to create the fileset.
Not a bug it is a feature. :-) There is no public visible implementation of PR an CP, but there are factories, both project related and project independent, to create CP. PathResource is something which is abstract from its definition, because they can be very different e.g. CompiledClasses, Jar and Library. Providers of PR can provide templates for them or factory methods as Java module does. Closing the issue as invalid.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED --->
---> CLOSED