I have created a minimal maven project with a single child module in eclipse helios.
In the src/test/resources folder I have put a single file "install.xml". In the folder src/test/java I have created a single package with a single class that does:
@Test
public void doit() throws Exception {
URL url = this.getClass().getClassLo...
Hi,
I am trying to develop the map element of my app and I am having trouble obtaining a md5 fingerprint, I am using Ubuntu and I have located the debug.keystore file, but when I enter the commands I get:
No command 'store' found, did you mean:
Command '0store' from package 'zeroinstall-injector' (universe)
Command 'stone' from pack...
I'm using Eclipse to develop a java web app and My IT department called and said I had over 75 open oracle connections to the development Oracle Server originating from my PC. The deployed app has been using the same singleton connection bean for a year now and I haven't had any trouble with exceeding connections there. IT even connfir...
Project A depends on project B.
On compilation time , everything is OK.
On debug , when a static function from class bClass of project B is called , I get NoClassDefFoundError .
On run , I get ExceptionInInitializerError.
Besides , the bClass has a static initializer , and when I put a break point there , it never reaches it - whi...
I have an application I am writing for Android that basically does a screen scrape of a large table on the web and presents it in a nicer way on the handset. Its 500k of html and takes about 20 seconds or so normally.
When I have my phone hooked up to the computer, I used to be able to just click on "Run" and my code would execute simil...
Hey all,
I am writing some simple Scala code to control the lifecycle of a MySQL server (start it, create appropriate tables and users, etc...) on Windows XP.
For example, I have a function which starts the mysql daemon in an external shell. The function should exit as soon as mysql has started (it must not wait for it to be finished)...
Eclipse CDT: can I use the parameters defined in Project Settings from a custom makefile ?
I would like to graphically edit the include paths, library paths... and use them inside my custom Makefile.
...
Hi,
I am trying to add a map into my app but it constantly force closes. I have tried some test code and the intent works fine I have followed the HelloGoogleMaps tutorial and created a api key logged the activity in manifest. I have also set permissions in manifest 4 internet ang maps but it still force closes when i select map;
p...
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.
...
Hi,
I'm new to Java (come from C++/.NET background) and am experiencing very strange error. I am developing w/ Eclipse IDE on Windows XP on my local desktop. It seems that for some reason, an older (and of course buggier) instance of my application stays running for some very odd reason which I cannot understand.
Even when I close ecli...
I noticed that when I build even a very simple Java program in Eclipse, and I try to run it from the Terminal/Command Line and it gives me errors. I noticed after some hunting around that I have to actually compile the .java file I created in Eclipse in the Terminal to create and run the application. However, I can just save and run in...
I downloaded the c++ version of eclipse from the eclipse website. This installed then when i ran the basic hello world code, it wouldn't compile.
What else do i need to install to get c++ compiling on eclipse? I thought linux already had what it needed for c++ building/running? Ive googled around but the advice is for older versions of ...
I am getting this error in an eclipse plugin. Here is the code :
ICompilationUnit testCU = findTestUnit(type);
// add some stuff to testCU
testCU.commitWorkingCopy(false, null); // error happens here.
...
Hi,
I am using "Externalize Strings" widget of Eclipse. On externalizing strings, a messages.properties file is generated with key value pairs.
Say the messages.properties looks like this:
Test_msg1=Add
Test_msg2=Remove
Test_msg3=Include
Say I have a file Test.java with code:
String add = Messages.getString("Test_msg1");
String re...
I'm having trouble setting up the Android SDK. I've set up Eclipse before but it didn't work, so I uninstalled it, but I'm trying again.
Does Eclipse need to be extracted to a particular folder for it to work? Where should I extract to?
Edit:
I'm using Eclipse 3.5 on Win7 Ultimate x64
...
I'm setting up Eclipse for Android and when attempting to install the ADT plugin, I encounter the following error:
Edit: Notice the more complete error message here.
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (co...
I've written an OBJ loader which parses the vertices, texture coords, and normals, each are stored in a FloatBuffer, and passed to opengl:
gl.glVertexPointer(3, GL10.GL_FLOAT, 0, fbVertices);
gl.glNormalPointer(GL10.GL_FLOAT, 0, fbNormals);
However I am stumped as to how i am supposed to pass my index buffer to glDrawElements, I've re...
Hi,
I have been trying to add a map to my application, I have followed instructions on the android developers HelloGoogleMaps tutorial but my map is just force closing when I run the maps option. I have obtained my api key logged permissions in manifest (Internet, Maps) and logged intent. When I look at the debugger the intent line al...
Hi all!
I list out files in '/' by:
File directory = new File("/");
fill_listview(directory.listFiles());
And I get those in list:
sqlite_stmt_journals
config
cache
sdcard
d
etc
system
sys
sbin
proc
init.rc
init.goldfish.rc
init
default.prop
data
root
dev
I have two questions:
1.Why cann't I access '/data' folder just like Eclips...
While trying to introduce enums in my Android project in Eclipse, I encountered with the following problem:
Compiler says:
The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class files
The type Enum is not generic; it cannot be parameterized with arguments
I work under Ubuntu 10.04 and use Eclips...