eclipse

Organizing Selenium tests in Eclipse for batch execution

This is an organizational question - I have a set of "Java Projects" within the same workspace in Eclipse, comprising of a series of Selenium tests (pretty much each it's own Java Project). They are all within a same package. Now, in an effort towards automated execution, I need to batch execute these. Any ideas on how to better organiz...

i cannot run my android app in eclipse anymore.

i am new to both eclipse & android. I am on eclipse 3.5.2 (galileo). The error message i get is: An internal error occurred during: "Launching MyActivity". It was working earlier today. I have tried cleaning the project which does not correct the situation. the entire error message is as follows: java.lang.NullPointerException at co...

Does Eclipse do a binary-compatibility-check of jars as they are added to a project?

While I was singing the praises of Maven's dependency management, an Eclipse user told me (an IntelliJ user) they don't need stuff like that because any time they add a jar to a project Eclipse will test it's binary compatibility against other jars in the project. Is this true? Is this Eclipse itself or a plugin? Is there similar functi...

How to test java code in Eclipse?

I have project created in eclipse. Can you please guide me how can i test it on Eclipse? Where can i get the relevant eclipse version and how to do that? The project file contains the following details: <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arg...

Android Installation. Problem with Android SDK.

i want to know how i can work with android sdk on my new machine. Windows 7 ...64 bit processor? When i 'm working in eclipse my ADt gets installed but when i try to add the virtual device the destination..path (SDK-2.2 or 2.1) is not displayed. ...

Run eclipse on windows 7 64 bit

Hello, I'm trying to run eclipse for java in Windows 7 64bit edition, and when I run the eclipse.exe file, absolutely nothing happens. A ephimeral javaw.exe process is created in the task manager, but as I said, it's just there for a split second, and it disappears, after that NOTHING. I tried compiling a small program with the javac.exe...

how to know whether a particular line of code is present in the compilation unit?

I want to search for a particular line of code in the compilation unit. So need some input on how to go about the same. thanks ...

Java IDEs vs Microsoft IDEs

Hi Guys, I come from a strong Java background and in recent years have been also developing in C#. What I can never understand is how far behind (Personal Opinion) the Visual Studio IDE's are in compared with Intelli-J IDEA and Eclipse (Java). There have been improvements by Microsoft from VS 2005 to VS 2008, but I feel they are not q...

Environment for java + scala + lift project in eclipse without maven

I'm trying to understand what's the best way to setup a project that is a mix of java and scala and that will use lift. Lift is intended to run embedded by jetty in another application. I'm comfortable to work in Eclipse and also used to how it works with ant as build tool. I'm a relatively newbie in both scala and lift and get confused...

How does the debug 'Detail Formatters' resolve classes in eclipse?

In eclipse you can set custom "Detail Formatters" under Preferences -> Java -> Debug -> Detail Formatters to print objects in custom ways when debugging. I'd like to use a utility class to print an object using a formatter like: return com.foo.Bar.xzyToString(this); where xzyToString is a static method of Bar returning a String, but e...

VStudio theme in eclipse ?

I am a .net developer working with VStudio from few years. Now due to some priority I have to work in java using eclipse studio. I am very fond of vstudio theme and color.. can someone help me to find vstudio theme for eclipse ? ...

How to use variables for classpath definition in eclipse launch configurations?

In our project we use Eclipse launch configurations which are under version control to be shared with all developers. Now it is necessary to include an external archive to a launch configuration file's classpath. Fortunately the required archive is in every developer's local Maven repository. I already found out that there is a classpath...

Template to show method name and parameter values in Eclipse

Is there any way to have a template (Java -> Editor -> Templates) in Eclipse that generate something like this debug("methodName arg1=" + arg1 + " arg2=" + arg2 + " arg3=" + arg3); When used in a method. For instance: public void setImage(long rowId, long contactId, String thinggy) { // invoking the template here, produces this: ...

How do I disable Eclipse's find/search regex hint drop-down ?

When searching (across files) or finding (within files), if you have regular expressions enabled and enter a certain character (backslash, opening paren, etc) it displays a drop-down box with hints in. I don't need these hints; they get in the way of the rest of the dialog, and the stupid drop-down hijacks my home/end keys. However, I ...

Android Programming Question

Howdy, I am a programmer that has worked almost exclusively with c++/c#/vbs and am just now entering into the world of Android development. I am running into a few issues that I cant seem to find answers for/ dont want to watch lengthy tutorial videos to find out so I figured I would ask here and get a quick answer. I dont know if this ...

What are some methods of dynamic validation for a generic class?

So basically the title sounds way fancier than the actual question. I am writing an application in which I would like to implement an achievement system. If I have all of my achievements created as instances of a generic class, how do I write a method to validate those achievements (i.e. determine if the user has met or exceeded goals) ...

Can android execute string as code?

So basically I would like my app to read info from a database, this info would be a string that is valid java code. Once read, I would like my app to execute this string as if it were code. Is there any functionality packaged with the android sdk that supports this? Essentially I want the phone to populate some data with information que...

How do you change what the Eclipse debugger displays for an object in the Variables pane?

How do you change what the Eclipse debugger displays for a Java object in the Variables pane? I'd like to provide a custom string to put there for my objects so I don't have to keep clicking on them. The default of SomeClass (id=111111...) isn't very useful. I'm using Eclipse 3.6.0. ...

my android app stopped runing when i deleted an avd - how do i recover?

since deleting 3 emulators that i had created, my android app no longer runs. I am using eclipse 3.5 (galileo). the error msg i get is "An internal error occurred during: "Launching MyActivity". java.lang.NullPointerException" ...... the complete error looks like this: java.lang.NullPointerException at com.android.ide.eclipse.adt.int...

No Project to Select for Build Target in Android Test Project

I followed the instruction for "Hello, Testing" tutorial but could not found any project to select for build target at this instruction "Test Target: Set "An existing Android project", click Browse, and then select "HelloAndroid" from the list of projects." Ok, let type the location of an existing project: ~/workspace/HelloAndroid, the ...