[JSEProject] how to access sourceRoots ?

1 view
Skip to first unread message

Laurent Forêt

unread,
Jul 21, 2008, 11:43:17 AM7/21/08
to d...@openide.netbeans.org, dev-iv...@googlegroups.com
Hello,

  Still working on ivy integration in Netbeans, I want to access to the SourceRoots of JSEProjects. That means Iwant to use the two methods getSourceRoots() and getTestSourceRoots(). But I can not.
The problem is that I am not a friend of J2SEProject :
build.xml:97: The module com.googlecode.ivybeans.module is not a friend of D:\scm\hg\netbeans\main\nbbuild\netbeans\java2\modules\org-netbeans-modules-java-j2seproject.jar

Ok, but if I want to recreate myself these SourceRoots, I also have the same trouble with the "Java Common project API".

Do you know, how can I deal with these friendship problems?

All I want is the sources and testSources folders as an array of FileObject .

Thanks for all your suggestions and best regards.

Laurent.
Reply all
Reply to author
Forward
0 new messages