eclipse-plugin

doubts related to plugin development for eclipse

假如想象 提交于 2020-01-04 03:52:08
问题 Very new to eclipse plugin development. I have converted jar project into eclipse plugin. But I really dont know, how to make use of it. Some basic doubts, How to call a method available in plugin in our program?? Should every exposed method should be public, in order to use it in our program?? My idea is something like a plugin to sum two numbers. And user installs the plugin and call add(x,y) method in this plugin. Just like calling a method from an included jar. There are many tutorials

Why is Commit Greyed-out in Eclipse's Egit

*爱你&永不变心* 提交于 2020-01-04 02:52:13
问题 The commit button in EGit has mysteriously been greyed-out. It was working just fine a few days ago. Does anyone know how to fix this. I haven't found any clues on Google. I'd include a screenshot, but I don't have enough reputation points yet. 回答1: I was running into the same problem and finally managed to solve it as follows: Since everything was working before I added the remote host, amd everything worked in my small toy project, I removed and re-added my remote host using gut bash: git

Getting SEVERE: Could not locate SessionFactory in JNDI while getting sessionfactory

北城余情 提交于 2020-01-03 20:04:36
问题 I am using hibernate as persistence layer to communicate with the database. I used maven plugin hbm2java to generate dao, java, *hbm.xml and hibernate.cfg.xml. till that time plugins works fine. But when I trying to communicate to db it gives following exception. Aug 30, 2012 1:45:46 PM org.hbm2dao.AssemblyHome getSessionFactory SEVERE: Could not locate SessionFactory in JNDI javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet

Eclipse Incremental Builder Plugin does not work

情到浓时终转凉″ 提交于 2020-01-03 19:58:02
问题 I recently started working with Eclipse's Plug-in development environment on Eclipse RCP (4.2.1 Juno). I created a project with the Incremental Builder Template. My goal is to perform a build process on the user code after Java Build is over. The problem is, I don't know how to use the Builder. I tried Exporting the project into a "Deployable Plug-ins and Fragments" jar file, and then placed the jar file in several places, like Development Workspace, Runtime Workspace, and in the plugins

Installing Remote System Explorer in Eclipse Kepler

本秂侑毒 提交于 2020-01-03 19:35:08
问题 I am using Eclipse Kepler and I am trying to install the Remote system explorer using the repositories. When I search for it in Kepler - http://download.eclipse.org/releases/kepler I find it, but when I attempt to install I get the error: "Installing software" has encountered a problem An error occurred while collecting the items to be installed An error occurred while collecting items to be installed session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2

Eclipse debug stepping with AspectJ

こ雲淡風輕ζ 提交于 2020-01-03 18:42:34
问题 I have Eclipse setup with "The AspectJ Development Tools" plugin. I'm trying to debug some code that uses AspectJ and step through it, but it is unable to match up the source lines since AspectJ has added extra stuff at compile time. No one else seems to be complaining about what seems like a major flaw (being unable to debug!), so I'm hoping I just need to tweak something to make it work. What am I doing wrong? 回答1: Yes, this is a bug with AspectJ. Stepping through advice has the incorrect

Which Functional programming language offers best support in Eclipse?

醉酒当歌 提交于 2020-01-03 18:16:20
问题 As an exercise my team is looking at learning functional programming. One of the factors to choose a language is its support in Eclipse. Any language with Eclipse plug-in is fine but what language offers the best free plug-in? Bonus question: the best online/book tutorial for this language. 回答1: I don't know if it is the best, but it is evolving and improving fast: Scala IDE (up to Scala2.8.1RC1 right now) As for the best online Scala book: Programming Scala (Creative Commons Attribution

GAE - Unable to update: com.google.appengine.tools.admin.HttpIoException:

走远了吗. 提交于 2020-01-03 17:07:48
问题 I tried to upload my test gwt app but I've just faced a quite strange error. Every time I try to upload app I get this: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0& 500 Internal Server Error Server Error (500) A server error has occurred. See the deployment console for more details Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0&

GAE - Unable to update: com.google.appengine.tools.admin.HttpIoException:

旧城冷巷雨未停 提交于 2020-01-03 17:07:10
问题 I tried to upload my test gwt app but I've just faced a quite strange error. Every time I try to upload app I get this: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0& 500 Internal Server Error Server Error (500) A server error has occurred. See the deployment console for more details Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=gwttestapp001&version=1.0&

Eclipse new Web Application Project, can't find my GAE SDK

久未见 提交于 2020-01-03 15:32:13
问题 I've installed the Google Plugin for Eclipse 3.4 and it seems to work fine. But when I start a new Web Application Project, it wants me to configure the Google App Engine SDK. I click on Add App Engine SDK, but it doesn't recognize my (valid) GAE SDK. It comes back with "Failed to initialize App Engine SDK at %path", no matter what path I give it. 回答1: Are you trying to use the Java or Python SDKs, and are you sure you downloaded the right one? If Python, remember that the Google Eclipse