Log4J problems in xtext plugins [message #1736474] |
Wed, 29 June 2016 15:33 |
|
Hello
I observe the strange situation. I use Log4j library for logging in my DSL plugin.
BUT
Log4j API is available in plugin mydsl but not available in ui plugin.
The same situation with org.antlr.runtime library. it is not available in ide plugin
I cannot understand the reason of this issue.
Eclipse suggets me to change access rule. But why? In one plugin this library is available.
You help is very appreciated
Thanks in advance
Alexander
[Updated on: Wed, 29 June 2016 15:42] Report message to a moderator
|
|
|
|
|
|
Re: Log4J problems in xtext plugins [message #1736481 is a reply to message #1736479] |
Wed, 29 June 2016 16:15 |
|
Also the same problem with :
Access restriction: The constructor 'DynamicEObjectImpl()' is not API (restriction on required library 'C:\tools\eclipse\mars\xtext-dsl-64\plugins\org.eclipse.emf.ecore_2.11.2.v20160208-0816.jar')
Access restriction: The constructor 'PolymorphicDispatcher<Collection<FollowElement>>(String, int, int, List<? extends Object>)' is not API (restriction on required library 'C:\tools\eclipse\mars\xtext-dsl-64\plugins\org.eclipse.xtext.util_2.10.0.v201605250459.jar')
Access restriction: The field 'IFileSystemAccess.DEFAULT_OUTPUT' is not API (restriction on required library 'C:\tools\eclipse\mars\xtext-dsl-64\plugins\org.eclipse.xtext_2.10.0.v201605250459.jar')
Access restriction: The method 'EObject.eClass()' is not API (restriction on required library 'C:\tools\eclipse\mars\xtext-dsl-64\plugins\org.eclipse.emf.ecore_2.11.2.v20160208-0816.jar')
Access restriction: The method 'Injector.injectMembers(Object)' is not API (restriction on required library 'C:\tools\eclipse\mars\xtext-dsl-64\plugins\com.google.inject_3.0.0.v201312141243.jar')
Access restriction: The type 'EList<Property>' is not API (restriction on required library 'C:\tools\eclipse\mars\xtext-dsl-64\plugins\org.eclipse.emf.common_2.11.1.v20160208-0816.jar')
and other
Also I tried to reimport my project to new workspace the same story is observed
[Updated on: Wed, 29 June 2016 16:41] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Log4J problems in xtext plugins [message #1736487 is a reply to message #1736486] |
Wed, 29 June 2016 17:01 |
|
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="xtend-gen"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
|
|
|
Re: Log4J problems in xtext plugins [message #1736488 is a reply to message #1736487] |
Wed, 29 June 2016 17:02 |
|
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>com.psl.atom.ui</name>
<comment></comment>
<projects>
<project>com.psl.atom.services</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
|
|
|
|
|
|
|
Re: Log4J problems in xtext plugins [message #1736584 is a reply to message #1736492] |
Thu, 30 June 2016 12:58 |
|
I resolve this problem via installing Eclipse Mars from scratch and aply my project again. Seems to me reason is incorrect update of current version of Eclipse. I could not find out which update is destroy eclipse distribition. History of installation does not contains significal update last week.
|
|
|
Powered by
FUDForum. Page generated in 0.04980 seconds