eclipse

How debugging is much easier in eclipse for java programs?

Hi, Whenever I write a program in eclipse each line gets complied as go to next line.It shows compilation is done while writing he program only. Does it mean javac.exe file is run whenever you write a line of program? It debugging is much easier in Eclipse. ...

Magic behind R.java file

Hi! Recently I have been having quite some problems with R.java file. Now I have decided to do a backup and delete the file to see what happens. Nothing happened, so I created an empty R.java file and hopped for the best. Now Eclipse seems to figure out that the file was tempered with and even issues a warning: R.java was modified man...

Updating .settings/org.eclipse.wst.common.component file in a maven project

I working with a maven project in eclipse and am having trouble with getting the deployment to work without some manual editing of xml files. When I build the project through maven I get a org.eclipse.wst.common.component xml file in my .settings folder. The file looks like the following: <?xml version="1.0" encoding="UTF-8"?> <project...

using eclipse for other languages than java?

I came to know that eclipse can be used for other languages as well. But will it give the same comfort level as using java? Is there anybody who has used eclipse for other languages? ...

Stop Eclipse/Subversive from setting svn:mime-type to text/plain on initial commit

How do I stop Subversive from setting svn:mime-type to text/plain on initial commit? My Java code is being checked into my repository with the svn:mime-type property set as text/plain, and as a result my web-based SVN viewer (trac) isn't syntax highlighting. edit: I should add I'm running Eclipse 3.5 and the most recent version of Su...

Shortcut key to select word in Eclipse

Is there any keyboard shortcut to select a word? Or may be it can be assigned some how? ...

How do I get Eclipse to get all of my resources on Tomcat's classpath?

I am having a devil of a time getting Eclipse to run my webapp on tomcat with the classpath correct. I have some spring configuration that references property files at classpath:/whatever.properties - these properties files live in my web project at src\main\resources, and I can see that they get deployed to the WEB-INF\classes folder, ...

Running ant in eclipse (sql2java) - no output to the console

Hi, I am configuring sql2java the first time myself. I extracted the zip-archive and imported all files into an eclipse java project. I don't know if this is correct, because when I run the ant build file through the eclipse ant function ("Run as ant build...") there is no output on the console. I don't know where the problem is locat...

What compiler warnings should I switch off?

I am refactoring java 1.3 legacy code, around 700 classes. Due to the lack of generics in this code I see currently thousands of warnings, which of them should I simply disable? I don't wan't to discuss of every single warning, just a rule of thumb in terms of groups displayed in eclipses the errors/warnings dialog. ...

How can I force Eclipse to produce always the same DEBUG_SESSION_ID GET parameter when debugging PDT project with Zend Debugger?

I'm using GWT as a front-end and PHP as a back-end in my application. I have those as two separate projects in Eclipse. My idea was to debug the application as a whole and I succeeded that. The problem is that I have to rewrite my ajax calls with Zend Debuger's parameters (DEBUG_SESSION_ID, START_DEBUG, DEBUG_PORT ...) every time I start...

Eclipse reference automatically built code

I have a project which includes some xsd schema definitions. These are compiled into a jar at the start of the build (using ant and xmlbeans) and when compiling the Java src, that jar is placed on the classpath. I have other code which references the classes in that jar, and when viewed in Eclipse, any references it will display as error...

How to sync to a source tree on github?

I am playing with my eclipse cvs functionality (on my windows box), is there a way to check out a project hosted on github? Anyone shows me a pointer? Thanks, ...

How to create a patch in IntelliJ IDEA?

I've been using IntelliJ IDEA 9.0 Community Edition for some time after years living in Eclipse. One thing seems to be hard to find in it. I'd like to create a patch on some subfolder in my project. In Eclipse it is done using right click, Team, Create Patch. Does anybody know how to do that in IDEA? ...

Eclipse VM Argument and external JAR file error

I just added "-Djava.library.path=" to the "VM Arguments" under Run Configuration in Eclipse and everything works fine until I tried to add an external JAR file. I get the following error: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.U...

Which permissions does Eclipse need to run fine? (Vista / Domain)

Hi, I installed Eclipse and I have some trouble which refer to denied user permissions , as far as I can see. I am working on Vista inside an Windows domain. My user account is very restricted. My boss needs to input his admin pass everytime I need to install any application and even to establish new network connections through the fir...

Hot Code Replace Failed (eclipse)

"Hot Code Replace Failed - add method not implemented". I get this error message every time I change something in my test class (and save it). Can't figure out what it means. Can somebody help? ...

Eclipse JPA project - defining connection to Oracle RAC

Recently I wanted to play a bit with Eclipse and JPA. Thus I wanted to create a JPA project. I got stuck when specifying the database connection, as editing the "Connection URL" (shown on the image) is not possible and I want to enter a (good, working) connection string to an Oracle RAC server which looks more or less like that: jdbc:...

Problem adding <listener> to web.xml in eclipse

Hi , I use Eclipse with Websphere server . I need to add a session listener . I added the class SessionListener.java in the package net.test . When I add the < listener > tag to the web.xml file , I get the folowing error : Distribution of configuration failed. See log for details. Error unmarshaling return; nested exception is: ...

How do I run a method before republishing to JBoss?

I'm developing a J2EE web application and I would like to be able to run a method (or function, class, whatever - something) during the "republish" process. It would be nice if I could control when during the republish my function gets called (before, during, after, etc.) but a good first step would be getting something to be called auto...

Java/eclipse/hibernate

Hi I'm a .net dev, usually do this using nhibernate and can work with that fine. I'm doing a project which needs to be written in Java and have the following issue: All I have so far is a blank java project setup in eclipse. I have C:\work\lib\java\cp\hibernate3.jar in the Referenced Libraries node in the package explorer. in my code ...