eclipse

Incrementally compiling java source files

Hi , I want to compile my only changed changed java source files. I know that eclipse is doing this inside JDT plugin . But my question is that , is it possible to do without an eclipse installtion ? I meant is it possible to get a small subset of jars from eclipse plugins and use the Compiler from it to compile only changed java fi...

Android: How to hook into Eclipse Build Project?

I would like to run a custom shell script upon clicking Build Project in Eclipse. I tried modifying the "compile" section in build.xml, but my script is not getting run. Invoking ant debug on the commandline works, however. ...

Hadoop 0.20.2 Eclipse plugin not fully functioning - can't 'Run on Hadoop'.

Hi folks, I've just finished installing Hadoop 0.20.2 under Cygwin on Windows 7 with Eclipse Helios (3.6). Hadoop is now fully started, and I'm trying to run a test application within a newly created MapReduce test project in Eclipse. I'm using the Hadoop 0.20.2 plugin from the Hadoop download. The Map/Reduce Location perspective opera...

Namespace refactoring tool for Eclipse?

I'm doing some housekeeping on some files, and I need to move some classes to a new namespace. Currently I have to manually edit the files, but I was wondering if there's a more efficient way of doing this? I heard about ReSharper for Visual Studio does what I need, but is there a similar tool for Eclipse? ...

How can I configure additional eclipse settings with m2eclipse?

With the maven eclipse plugin, I can configure checkstyle or sonar configurations by adding the necessary invocations to the pom.xml and calling "mvn eclipse:eclipse" to create the project configuration. Some members of my team want to just use "Import Maven project" and therefore don't get the benefits of the project preconfigurations....

Eclipse and How it Handles JARS -- Odd Case

Trying to make some small changes to Apache's Velocity engine. Here's what I can and can't do. I'm making a change to the merge function(). The change I'm making doesn't matter because I haven't made it yet. ;) Right now I am settling for a println statement firing. I have two references to merge(). If I change the function to mergeBA...

Android App began crashing, I can't explain it

Hi, I was putting the finishing touches on my app today. I created a layout-large main.xml, and a drawable-hdpi for a few of my app's images. That was all working fine, on both the WVGA and HVGA emulators. Then I added a "Help" button, with no associated code, into my menu-key menu. That was also working. I can't remember changing anythi...

Can Eclipse features be chosen and installed by id?

If I already know a component's feature id, is there an easy way to find and install it within Eclipse? ...

Configuring string externalization in Eclipse to use ${key} as field name

Suppose I have a simple code like this: public class ExternalizeStringDemo { public static void main(String[] args) { System.out.println("Hello world"); } } Now, I want to externalize the greeting, perhaps to facilitate internationalization/localization/etc. Using Eclipse, I can use the String Externalization wizard (S...

How to enter a directory as an argument in Eclipse

Basically, I have a directory with some files in it. In run configurations I am trying to put the directory as an arguement like so: \(workspacename\directory. Then, the following code should create a list of all the files in that directory: String directory = args[1]; File folder = new File(directory); File[] allFiles = folder.listFile...

how to write a java program that detects inputted capitial letters?

i need to write a eclipse java program that asks a user to input a word and then reads the word and then displays if the word contains any capitial letters. ...

Regarding eclipse galileo

Hi, I'm using eclipse galileo for developing some web application. But I want to get the eclipse installed on the server(assume some other pc or server machine) and I want to access it as a client and work as I was working before. Please suggest me what type of server I should configure and which Operating System supports it...Please he...

Publish step to TomCat is too long (Ivy dependencies using) from Eclipse Helios

Hi, In my web project environment i use ivy (with ivyde plugin) to manage all my dependencies (about 40 .jar files). All is ok (dependencies resolve/retrieve - building - final running on my Tomcat server). But, when at each tomcat publishing operation (from Eclipse in the server view), this step is too long (> 10 seconds) because all...

Can't hit breakpoints for user generated actions when debugging jython code with PyDev in Eclipse

I'm implementing a GUI application in Jython, using Eclipse and PyDev plugin. The problem is that I have a hard time using the builtin debugger. When I start a debug session it just stops. Of course this should be expected as the program just creates a JFrame and then it's finished. So any breakpoints I put for different events .e.g. ...

java pst library

hello, I'm wrinting Junit tests and for a specefic actions I need to give path the the java library "pst.dll" I set it from eclipse->run config->VM arguments and I set the path to pst.dll the problem is , I have to do it for each testcase otherwise I get : Exception in thread "Thread-13" java.lang.UnsatisfiedLinkError: no pst in java.lib...

How are PNG files defined as drawable objects resized based on the resolution of the Android phone?

I have a PNG file that is 32x32 pixels. I use 8 of these as drawables in a row for my app. These drawables are not in the hdpi, mdpi, or ldpi folders. I’ve found that when starting any of the 3 standard size emulators, the screen view with all 8 drawables looks pretty much the same. I note that the ldpi emulator I’m using (QVGA) has ...

Deploying a Spring application in a Tomcat server instance

Hello! I am a newbie and I want to deploy a Spring project which I get via SVN to my Tomcat application server. I did a checkout in Eclipse (Subclipse) and so the project is located in my workspace. I downloaded the 6.0.29 Tomcat server and extracted it to a directory. Then I create a new Tomcat server in the Server tab of Eclipse. I c...

Half-ignored files in VCS - is this supported?

I am using Eclipse and Subversion for Java development, and I find myself wishing for a feature in version control systems (one that is not available in SVN, to the best of my knowledge). I would like my project settings files to be half-ignored. To be more precise, I want them to be available in VCS, I want merge to occur when someone ...

jnlp. eclipse rcp

Hi quick question, new to eclipse RCP environment. I have a Webstart Apps/jnlp that I would like to add into an already made rcp client. Was wondering if It was possible to integrate it into the RCP so it will appear under the menu toolbar so if it was clicked from the menu upon the jnlp will load into the browser. How will I go about d...

how to load a web start application into eclipse rcp

Hi quick question, I have a Webstart Apps/jnlp in which I would like to add into an already made rcp client. Can I integrate the web start application into the RCP so it will appear under the menu toolbar so if it was clicked it will load ithe application.If so How will I go about doing that, would it need to be place into as a plug-in? ...