eclipse

Eclipse - C++ Code Style & standards customization and automation

I am using Eclipse IDE for C/C++ Developer- Build id: 20090920-1017 We know that eclipse for C++ has built-in 'coding aids' for C/C++ developers: 1) Code completion - Automatically complete/fill method names or fields names of a class or structure. Automatically populate class structures, for loops et al 2)Templates You can create and...

Eclipse executing java application in a loop

Hi guys. Does enyone know if it is possible to launch a java application in Eclipse but in a loop. I need to execute a application all the night. If I try tu run it in win console, it is complicated, I have ti specify a bunch a parameters. Thanks alot. Regards, Corneliu. ...

How do I stop an Eclipse Editor from closing in an RCP

I am working on an Eclipse based RCP. We have a need to prevent one of the opened editors from being closed by the user. The desired behavior is: the user clicks the X in the editor window or "CTRL+W" a dialog pops up saying: "If you close this editor, your activity will stop. Do you want to?" if they click yes, it closes, if no, it ...

When running my app with ANT, no XPath implementation can be found.

I wrote an app that uses XPath to query some XML config files. When I run it in eclipse, it works just fine. I also wrote an ant target that runs the application. However, The app gives me a runtime exception when running it from ant. The exception says: XPathFactory#newInstance failed to create an XPathFactory for the default object m...

Code Composer 4 (Eclipse based)- makefiles

How do I prevent Code Composer 4 (which is based on Eclipse) from generating its own makefile and use the one I provide instead? Background: I am starting a FreeRTOS project on a MSP430F5436 using Code Composer 4 and have a demo app with a supplied make file) Thanks! ...

eclipse ganymede erroneous red underlining

i'm finding suddenly that eclipse, in a java project, is underlining references to uses of other class uses ive created in the same package. for another reason i reinstalled it today and the red underlinings went away. about an hour later, they popped up again. all classes have the package membership declaration. anyone seen this bef...

IDEs and DVCSs that support remote working directories?

Our web development shop is divided into two groups, at the moment: LAMP developers and Windows developers. The LAMP folk are currently using Bazaar for version control, and doing development on a remote development server. Both the shared repositories and the individual checkouts are on said server, so checkouts usually look something...

Is it possible to make Visual Studio C++ 2008 check for errors as you type like Eclipse?

To be more precise, when I used eclipse for java, every time I typed it would check for errors. For example, if I typed a line and forgot a semi-colon, eclipse underlined the area in red and gave me an error, same with misspellings, variable names that have not been defined, etc, etc, etc. I'm now using Visual Studio 2008 (as the teache...

Visual Studio Pro 2008: Equivalent of Eclipse's member list?

In Eclipse, when you are viewing a class (such as Java), there is a window available to list all the fields and functions of that class. Is there an equivalent for Visual Studio 2008 Pro, for C# (XNA)? (I'm looking for an easy way to locate and jump between functions. Is there a better way to do this in VS?) ...

Paste a multi-line Java String in Eclipse

Unfortunately, Java has no syntax for multi-line string literals. No problem if the IDE makes it easy to work with constructs like String x = "CREATE TABLE TEST ( \n" + "A INTEGER NOT NULL PRIMARY KEY, \n" ... What is the fastest way to paste a multi-line String from the clipboard into Java source using Ecl...

Eclipse compilation issue

I have a large codebase added into the Eclipse project and have added one External Tool providing the path where the class for that java file is to be kept and the Classpath. The build folder is somewhere else. Now when I need to compile only one file, Eclipse starts building whole of the codebase(>100 MB of Java files), it takes my sys...

embed version details in android APK

My code is stored in SVN version control. I use Eclipse to build my Android application. In my application, I have an about-box. I want to show the correct source control revision/tag/whatever in this. Is there a way of automating this so that my version string in the about-box is always right, or is this something I have to hand-edi...

Simple database web application with Eclipse and Glassfish

Hello I just started to learning Eclipse with Glassfish server. I was looking around how can I make simple database web application, but can't figure out yet. I downloaded the Glassfish bundle for Eclipse. I need to create simple database ( perhaps one table ), and connect the database with simple web application. How to do that in Ec...

problem with eclipse , enviromental variable

Hi I just rebooted my computer without changing anything suddenly I can't open my eclipse I get his error message And I see all my enviromental variables have been erased. Java , javac, mvn obviously doesn't work .. what do I do now , how do I fix this ? For those unfortunate souls who can't get to tinypic.com from work :-) +------...

Why is Eclipse Europa constantly crashing?

I'm currently battling with Eclipse Europa to get it to play ball with an SVN repository and a Tomcat project. Everytime it bails out, I get the following: JVM terminated. Exit code=1 /usr/java/latest/bin/java -Dosgi.requiredJavaVersion=1.5 -Xms128m -Xmx512m -XX:MaxPermSize=128m -jar /users/0600083h/Level 3/TeamProject/eclipse/plugins /...

view native code from Eclipse

I have a java application which makes use of native method calls.Is there a way to view this code in eclipse? I can get the source code for this native library, but do not know how to link in the IDE. It will also be helpful if someone tells me how to debug this native method. ...

Using a bean class from a servlet in a Java EE application

Hello all, I just started to study Java EE and made some examples (Just Hello World and some a bit more complicated). Now I'm doing a small application myself for learning purposes. I made an EAR, an EJB and an WAR just like in this example but, instead of working with interfaces, I'm working with real classes. In summary, EJB and WAR ...

Howto protect an ANT task / target from accidental execution?

Hi, I have written an ANT script which deployes an application to my local development JEE enviroment. I need the same function to deploy it to the productive enviroment. I often only want to deploy to the development server and rarely to the productive one. I'm using Eclipse IDE. Depending on the way ANT is used, it could happen, tha...

Eclipse: Create Hello World app in C

This seems super basic, but I'm having trouble finding documentation online to explain it. I have the Eclipse IDE for C/C++ 3.5.1. How can I create a simple Hello World program in C? (I have also downloaded cygwin.) Many tutorials online make reference to "Managed" and "Simple" types of projects, but I can't find that anywhere. Was that...

Passing an ArrayList to a Web Service using Web Services Explorer in Eclipse

Hi, In Eclipse,im using Web Services Explorer to test a web service, by invoking a WSDL operation . One of the input parameters for the Web Service is an ArrayList. How to enter an ArrayList, in the form in Web Services Explorer ? Please help. Thank You. ...