Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » Some questions of LDT on MacOSX
Some questions of LDT on MacOSX [message #1416373] Sun, 01 April 2012 05:46
xu cao is currently offline xu caoFriend
Messages: 10
Registered: April 2012
Junior Member
Hi,

I am a new user of LDT and have some questions for it.

I've installed LDT on eclipse 3.7 and the OS is MacOSX, I found the feature Code Assistance didn't work for me. The message "No completions available" will be given if I want to trigger this feature even on some system module like io.

And there is a bug of Error Markers and Variable Highlighting. If the lua source file contains some non-ascii characters like Chinese as below, the Error Markers and Variable Highlighting will appear in wrong position. I guess it is because that the scanner gets wrong length of tokens' length of Chinese strings.

-- 联动相关方法
--visible、invisible、enable、disable在checkbox不选择中时要执行相反功能。而radio/select则不需要,他们只需执行新选择的radio/option对应的功能;
--参数长度任意,每个参数为控件的name,参数之间用逗号分隔,如RYTVisiable("",userName,password),当多个控件有相同的name时同等处理;
--调用此方法后,请调用screen:reflash();
--第一个参数为引起控件本身的name值,checkbox必需填值,其它控件可选,也可传空值("")。
function RYTL:visiable(name, ...)
for i, v in ipairs(arg) do
local vars = document:getElementsByProperty{name=v; -- '}' expected
for j, c in ipairs(vars) do
if self:needDoReverse(name) == true then
c:setStyleByName("display", "none");
else
c:setStyleByName("display", "block");
end
end
end
end

Finally, I want to build LDT from source code but I get the following error when I run 'mvn package' on the project that I downloaded from github.

localhost:koneki.ldt apple$ mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.eclipse.koneki.ldt:aggregator

Reason: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'eclipse'. for project org.eclipse.koneki.ldt:aggregator


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find layout implementation corresponding to: 'p2' for remote repository with id: 'eclipse'. for project org.eclipse.koneki.ldt:aggregator
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)


Is there a tutorial that introduces how to hack, build, test and contribute? Any help will be appreciate.
Previous Topic:The Selection cannot be launched, and there are no recent launches
Next Topic:Some questions of LDT on MacOSX
Goto Forum:
  


Current Time: Thu Apr 25 05:19:19 GMT 2024

Powered by FUDForum. Page generated in 0.02938 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top