eclipse

How to generate camelized getters and setters in Zend Studio 7 (for Eclipse)?

Example: protected $_labelName = null; Should generate public function getLabelName() { $this->_labelName; } public function setLabelName($labelName) { $this->_labelName = $labelName; return $this; } But it is generates public function get_labelName() { return $this->_labelName; } public function set_labelName($_...

Avoiding duplicate library .jars when exporting a single .jar in Eclipse

I'm using the Eclipse "Export... Runnable jar file" feature to package up my Clojure+Java application for deployment. This works great, magically including various resources and Clojure source files etc. The one issue I have is that various libraries I have get included multiple times from the "lib" directory dependant projects, e.g. I...

How to launch minimal eclipse?

This my seem a little odd but I want to start eclipse (v3.5) in the most minimal version possible. Pherhaps just the core and the ui component without anything else. I'm new to eclipse Plugin Development so I don't really know if this is possible at all? I googled this topic but there seems to be no useful info out there. Perhaps someon...

Eclipse 3.5 customized with some plugins fails to start on target machine

Hi, i have been creating a customized Eclipse Version with some specific Plugins (CDT, AVR-Development) and after configuring and testing successfully on my machine, I zipped the eclipse-Folder and send it to my client to install onto the target machine. But when he tries to start eclipse he gets the following error in the Logfile: ...

Jar Can't Find Main Method - Connected to main class, but can't access method.

Hey everyone! I've been working on a project in Eclipse and everything's been going smooth except for some Ant issues along the way. My code compiles perfectly and does exactly what I want it to do, but, when it's in a jar, I get the error: Exception in thread "main" java.lang.NoSuchMethodError: main Main definitely exists in the f...

Getting Started with Sweave, Eclipse, and R

Hi All, I am very new to LaTex and R, but I am learning on a daily basis. I really am getting into using Eclipse and want to join the party and start automating my work using Sweave; I am excited for the prospects. That said, I followed Jeromy's post here and think (keyword, think) that everything is set up correctly. However, since ...

Getting auto completion with Eclipse + PyDev for function arguments

Hello, I am using Eclipse and PyDev with Iron Python on a Windows XP machine. I have a class definition that takes an object as an argument which is itself an instantiation of another class like this: myObject1 = MyClass1() myObject2 = MyClass2(myObject1) The two class definitions are in different modules, myclass1.py and myclass2....

Cannot debug Mockito / JUnit code in Eclipse, works fine with just JUnit

I've got JUnit tests that run just fine. Added Mockito to my build and I try to put a breakpoint in my JUnit test that uses Mockito to mock out some of the public methods. When I try to run the debugger on the class, I get the error "unable to install breakpoint in XXX due to missing line number attributes. Modify compiler options to g...

How can I make hidden files display in Eclipse Project explorer when using a RSE linked folder ?

So in my project i link a folder with Remote Systems Explorer. I have some hidden files I need to edit like .htaccess What I tried removed .* filter from Project explorer windows checked "show hidden files" in RSE properties Still doesn't display the hidden files for me Any light to shed ? ...

Eclipse plugin for generating UML diagram from c++ code

Is there any eclipse plugin that can generate UML/Class Diagram from C++ source code? ...

Wanted: Eclipse plugin for Javadoc highlighting unused parameters.

Is there a way to make Eclipse/Javadoc give me warning for unused parameters? It can happen that my comments contain something like @param foo while I no longer use a parameter of the name foo in my method signature. I wish Eclipse would give me a warning when I compile that the parameter is not used, f.e. as a strike through. Xcode do...

JMS - can anybody give a reference on JMS

Hi, Im doing a JMS project. can anybody point out a reference on running ActiveMQ(JMS) on two different pc using eclipse on both pc? tnx -jaded ...

Key for Subclipse icons

Does anyone know of a comprehensive key for the range of Subclipse icons? ...

jface wizard passing variables

Hi I'm a Java novice but am trying to produce a wizard using the Wizard class (org.eclipse.jface.wizard.Wizard) Basically where I extend the Wizard in the constructor I addPage the two pages I want. On my first page I take some credentials. On the second page I want to run a query against the database using the credentials from the ...

How do i import my Cursor from my database class into my current class?

Here is my code for my db class: package one.two; import java.util.List; import android.app.ListActivity; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.database.sqlite.SQLiteDatabase.CursorFactory; import j...

Confused about exporting jars for a project with may packages and main() without including the whole lot

I have a single eclipse project myProject/ com.mydomain.myproject.item1/ Item1.java //contains a main() com.mydomain.myproject.item2/ Item2.java //contains a main() com.mydomain.myproject.item3/ ...

Why does eclipse not find the beans.xml files in a spring based Maven project

I have a maven project under eclipse with m2eclipse. WHen running integration tests the tests fail with the mention that the spring configuration files cannot be found on the classpath, and I get a similar error from log4j. I was under the impression that m2eclipse would add the resources directories to the classpath but apparently no...

Eclipse Android SDK Manager Warning: null

Hi, I don't really know anything about this, but I'm learning how to write Android apps. I'm working through the Hello, World | Android Developer Tutorial, and was doing fine until I tried the XML code. I copy/pasted the code given in the tutorial into the layout file as instructed. But when I attempted the next step (open strings.xml...

How do I start a new project in Eclipse and Subversion

Hi, A newbie question (I haven't really created new projects in Eclipse yet): I have a machine running Linux with a fresh install of Eclipse 3.5.2. I want to create a new Java project in an existing subversion repository (which already contains some unrelated stuff). So after running Eclipse I get this dialog to specify workspace. What ...

Is there way to expand all folders in Eclipse project view and search results?

I'm spending a lot of time manually expanding deeply-nested folders in tree views like the Project Explorer and the File Search result tree. Is there a keyboard shortcut or menu command to expand all folders? ...