简体   繁体   中英

DLTK TCL Project importing problems

I am having problems importing the TCL-DLTK project into my IDE (Eclipse).

I did clone the git repo, but I get warnings and errors on imported projects :

On org.eclipse.dltk.tcl.activeStateDebugger Project, I get the warning

Discouraged access: The type CheckedListDialogField is not accessible due to restriction on required library ...\\plugins\\org.eclipse.dltk.ui_4.0.0.201206120848.jar " on some import instructions.

I also get this error

The constructor TclSpawnpointPreferenceBlock(new IShellProvider(){}, TclActiveStateDebuggerBlock) is undefined" in TclActiveStateDebuggerBlock Class.

An other example is in the org.eclipse.dltk.tcl.core project where I get this error

The import org.eclipse.dltk.compiler.SourceElementRequestorMode cannot be resolved" on the org.eclipse.dltk.tcl.internal.structure/TclSourceElementParser2 Class.

To sum up, almost every project contains errors.

I am working with Eclipse Juno with DLTK and EMF plugin Installed. I appreciate any help you could provide.

The latest source will require the current DLTK release - 5.0

You set up API Baselines in Preferences > Plug-in Development > API Baselines (you can also turn off the warning in the same place). The API Baseline provides additional checks that you are using the code as intended.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM