Search found 5 matches

by msk
Tue Aug 19, 2014 7:01 pm
Forum: Developers
Topic: error with plug-ins eclipse
Replies: 18
Views: 20290

Re: error with plug-ins eclipse

Yes, it's IDEA problem.

When IDEA is executing project (in debug mode), commandline looks like:

C:\Program Files\Java\jdk1.6.0_38\bin\java" -Dvisualvm.id=4187372098827 -Didea.launcher.port=7536 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.0.1\bin" -Dfile.encoding=UTF ...
by msk
Tue Aug 19, 2014 6:52 pm
Forum: Developers
Topic: error with plug-ins eclipse
Replies: 18
Views: 20290

Re: error with plug-ins eclipse

OK, it should be a some weird problem within IDE, because I tried to start locally installed sh3d (using windows installer) and plugin was loaded (I see meny entry).

But what to do now. I need to debug the plugin :D ...
by msk
Tue Aug 19, 2014 6:45 pm
Forum: Developers
Topic: error with plug-ins eclipse
Replies: 18
Views: 20290

Re: error with plug-ins eclipse

... I run it from within IDEA ide, using ...Bootstrap... main class, jar is copied manually into plugins folder.
by msk
Tue Aug 19, 2014 6:42 pm
Forum: Developers
Topic: error with plug-ins eclipse
Replies: 18
Views: 20290

Re: error with plug-ins eclipse

Yes it is.

I tried to check if it is not a JDK version mismatch problem so I completely removed JDK7, installed JDK6, so my generated class is the same version as (for example) class from "Advanced Editing Plugin" - 32 hex = jdk 1.6.

Plugin still rejected, both on linux(64bit) and windows (64bit ...
by msk
Tue Aug 19, 2014 3:51 pm
Forum: Developers
Topic: error with plug-ins eclipse
Replies: 18
Views: 20290

Re: error with plug-ins eclipse

Have the same problem.

My plugin:

public class TestPlugin extends com.eteks.sweethome3d.plugin.Plugin {
@Override
public PluginAction[] getActions() {
return new PluginAction[]{new TestAction()};
}
}

Application output:

Invalid plug-in jar:file:/home/msk/.eteks/sweethome3d/plugins/sh3d ...