eclipse

how to pass varible in function so eclipse can detect its type and work with intelli sense ?

how can we pass a variable or what we can do inside the method, so eclipse can show the intellisense. ...

What is the best and useful debug tool in Linux environment for Perl and C++ scripts?

What is the best and useful debug tool in Linux environment for Perl and C++ scripts? In related to that, does anyone know the differences between Eclipse to DDD tools? Thank you, YoDar. ...

What IDE setup and workflow is used for OSGi development?

I made quite a few easy OSGi test projects in Eclipse RCP. My typical workflow would always be: Make 3 different projects: APIproject, Clientproject and Serverproject Edit the MANIFEST.MF of APIproject to export the api package Edit the MANIFEST.MF file of Clientproject and Serverproject to add the required API package Choose "Run as.....

Include path of php.ini ignored by Eclipse

Hi all, I have a PHP script to run. If I run it from the command line, it works fine (include path is set correctly). If I want to run it inside Eclipse (Run as script), then the PHP include path of my php.ini is replaced by Eclipse, with all the libraries I've added to the project. I've configured my PHP executable in Eclipse. I've ...

Memory Setting for OC4J in Eclipse

I've looked on the web for a while and can't seem to find the setting to increase the memory allocated to OC4J when launching from Eclipse. Does anyone know where the setting is? Thanks. ...

Help getting array from arrays.xml file (Android, Eclipse)

I am just trying to display a list from an array that I have in my arrays.xml. When I try to run it in the emulator, I get a force close message. If I define the array in the java file (String[] testArray = "one","two","three","etc";) it works, but when I use "String[] testArray = getResources().getStringArray(R.array.testArray); " it ...

ant basedir and eclipse .project file generation

I have an ant target that echo's the content of an eclipse .project file, the idea here is to ensure that the project is easily importable into eclipse. The project name should match the directory in which its checkout. I have this so far <target name="eclipse" description="creates an eclipse .project file"> <echo file=".project"> ...

Android: building different versions of my app (free, premium, etc.) with Eclipse

With my current code base I'd like to build two or more different versions of my Android app (free, premium, ...). For the iPhone (XCode) I can definte different targets. Is there something similar implemented in Eclipse? ...

maven generate eclipse project for custom packaging

Hi,for a project I'm working on, I've defined a custom maven packaging, and the associated lifecycle (through the definition of a components.xml and the definition of a LifecycleMapping). Obviously, this packaging corresponds to a specific development, for which a plugin has been created in Eclipse. What I would like to do is configure ...

Problem upgrading eclipse rcp app from 3.3 to 3.5 on Mac OS

I previously had an eclipse rcp app based on eclipse 3.3 pugins deployed on both windows and mac OS X 10.4. i'm now trying to port the app to java 1.6 and eclipse 3.5 (Build id: 20100218-1602) plugins on Mac OS X 10.5.8 (Leopard). I can launch the product from eclipse 3.5 on windows but not on Mac OS X. I have the 64bit cocoa eclipse ID...

Package does not exist

I get an "Build failed" error with error output when I try to build my project in Eclipse: [javac] ......\src\example\servlet\ScrapingServlet.java:10: package org.apache.http.client does not exist [javac] import org.apache.http.client.HttpClient; But the Eclipse editor does not give any error. I added the jars to the project with P...

make eclipse javadoc my project

Is there a way to make eclipse go through my project and add javadoc to all the method headers? Possible authors to the classes? ...

How to export Java OpenGL (JOGL) from Eclipse?

Hi guys, I recently built a JOGL Application using Eclipse IDE.. It works perfectly fine when i run it on Eclipse.. However I want to make a .jar file for this application so that I can put it on my website.. Unfortunately when I tried to export it, It says: JAR export finished with warnings. See details for additional information. - ...

Incremental Compilation in Eclipse. ASTNode-s and SVN versioning

Hi there, I am building up some statistics after analyzing the source code in eclipse. But the overall process is too slow because i rebuild my model every time from scratch after each compilation. I am looking for a way to get only the changed parts of the code (as ASTNodes) and to rebuild just that part of my model. I suppose that ev...

Approach for fixing NoClassDefFoundError?

I'm seeing this question is getting asked a lot in many different contexts. Perhaps we can set some strategies for locating and fixing it? I'm noobish myself so all I can contribute are horror stories and questions, sorry... It seems this is thrown when a class is visible at compile time but not at run time... how can this happen? In...

Websphere CE issue in Eclipse EE

I have downloaded the Websphere 2.1 App Server and verified that it works fine. I now wanted to use eclipse EE to manage it by adding the server to the server tab. Everything seems to work fine when going through the setup but when I go to start the server I get the error message: ERROR [GBeanInstanceState] Error while starting; GBean ...

Global variables in Eclipse RCP

Hi, how do i solve this: I have usercredential informtion in my main RCP plugin. All other plugins should have that information as well. Preference Store is not possible, because also the presference store needs a nodename which needs to be globally available. Are there any possibilities to realize global variables? Thanks! ...

how to use a MySql database within Eclipse

I am very new to programming, so please bear with me, and apologies in advance if at first I dont make sense...! I am doing an undergrad programming project, and need to make some databases within a Java program. I am using eclipse (galilo) to write my program. I have downloaded a connector/J, but havent the foggiest how i should use ...

Ant build scripts totally hangs, with no messages in console

I have build.xml for my project, but even this small piece of code <target name="init"> <tstamp/> <!-- Create the build directory structure used by compile --> <mkdir dir="${build}"/> </target> It doesn't run Console is empty but process is active. I still can terminate it over STOP button In same time I cannot debug...

Is there a way to share the Eclipse task list within svn repository?

Is there a way to share the Eclipse task list within svn repository? ...