[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: org.eclipse.jdt.core.JDTCompilerAdapter seems to find invalid Access restrictions

Alexander Nyßen a écrit :
Hallo,

I am currently using the org.eclipse.jdt.core.JDTCompilerAdapter in a feature-based headless build of an RCP product. The build log shows a couple of access restrictions (forbidden references), which actually do not exist and which only occur in the headless build. If I compile the projects inside Eclipse (without using Ant), there are no forbidden references (I ensured that I set the compiler option to report errors in this case). I attached the output of the headless build regarding one of the classes below. Did I find a bug in the JDTCompilerAdapter or am I doing something wrong?
Could you please open a bug report against JDT/Core with steps to reproduce (build id, test case, ...)?
It would be nice if you could attach a xml log of your compilation. In order to get an xml log use the compilerarg nested element in the javac ant task.
Once we have all required information, we will investigate it.
--
Olivier