[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: How to programatly add and exclusion filter on a java CPE_SOURCE entry

You need to create the source entry using:
JavaCore.newSourceEntry(IPath path, IPath[] exclusionPatterns)

then set the resulting entry (along with other entries if needed) using:
IJavaProject.setRawClasspath(...)

Jerome

"cherief" <gcherief@xxxxxxxxxxx> wrote in message
news:b7ll7t$l8t$1@xxxxxxxxxxxxxxxx
> I look at the JDT Help on the Internet Website. But I don't find How to
> programatly add and exclusion filter on a java CPE_SOURCE entry ?
>
>
>