eclipse

What is the first line number in Eclipse?

I don't want to have to download and install eclipse on this machine, but for you who do have it, what is the first line on the Eclipse IDE? On the left after you enable line numbers in the left hand column, the first number is? ...

svn: Item <folder> is out of date

[answer auto-selected by bounty system against my will] I'm using subclipse, and always when delete a folder in Eclipse, and try to commit it, the following errors raise: svn: Item <folder> is out of date svn: DELETE of <folder>: 409 Conflict (http://myintranet) Deleting and commiting via command line works fine, but what's wrong wit...

Yet another Ant + JUnit classpath problem

Hi, I'm developing an Eclipse SWT application using Eclipse. There are also some JUnit 4 tests, which test some DAO's. But when I try to run the tests via an ant build, all of the tests fail, because the test classes aren't found. Google brought up about a million of people who all have the same problem, but none of their solutions see...

How can I setup ANT with Subversion and ColdFusion Builder (eclipse) to check out a local build to work on?

I am not sure if there's an answer for this already -- couldn't find one for this (hopefully common) setup: I recently converted one of my ColdFusion projects to deploy via ANT. I have a local ant script that instructs a remote server to check out the code, and run the application's specific build file, remotely on the server. I hav...

Need to refactor field names in eclipse which should change getters/setters as well

I need to do lot of refactoring (actually need to change field names) in eclipse. It is changing all occurrences, references of fields. But one thing is it is not changing getter/setter names which have been generated based on previous name. Do we have any plugin to do this or any configuration change needed to be done? ...

Why is my keyboard messed up in Eclipse?

Hi there: I am trying to type in a pair of angle brackets in Eclipse, like "<>". However it shows up as a single quotation and a dot, like "'.". I tried a couple of times and found out that the angle bracket is actually located at back-slash's position. Why is this happening? How can I change it back? Thanks in advance. Xi ...

Parse HTML Offline

Are there any HTML parsers that parse HTML docs offline, i.e. stored on your computer? If so, can anyone name some good ones please? UPDATE: Hah, NVM, found the answer, would anyone be able to provide an example of this in html Jericho? UPDATE2: I thought I had found the answer but I am wrong, mistook InputStream for FileInputStream :(...

How to change Eclipse enviornment

I am using eclipse pdt and all my files in the folder have php support. I want to use javascript support on JS files. How could I do that in Eclipse pdt helio? Thanks ...

In Eclipse, way to change the background color of side panes (Package Explorer, Task List, Outline, etc)

I know how to change the syntax highlighting color rules for the Text Editor pane. Any way to do the same for other panes? ...

How to execute maven tasks in eclipse (Sonatype plugin)

Hi all I know it must be something simple, but I just can't figure it out.. I'm using the Sonatype maven plugin on eclipse. When I want to build a war file for a webapp project, the only way I know to do it is to use the command line and type mvn package. I've looked all through the right click menu and I can't find any way to do it fr...

Calculation with dates and different locales in Crystal Reports for Eclipse?

Hello, I'm using Crystal Reports for Eclipse 2.0.4 and I have a problem. I use a formula in an report to subtract one day from a string which is a date: ToText(CDate({Agreement.EndDate})-1, "dd.MM.yyyy"); This works for the German locale. With an English locale, the calculation is absolutely wrong because the day and month is intercha...

Module dependencies in IntelliJ while importing an Eclipse-project

I'm working in a project where the main IDE is Eclipse. The Eclipse workspace is made up of several projects that depend on each other in a chain like so: lib-project with all external dep endencies jar-files and stuff ProjectA depends on lib-project ProjectB depends on project A ProjectC depends on project B etc I think (someone cor...

Eclipse CDT Settings

Hey Guy, I'm trying to compile one single cpp file with Eclipse CDT and MinGW. On command line, c++ Test.cpp does the job. If I try to compile the file with Eclipse, I get errors telling me that I don't have included string.h in my lib files. How do I setup Eclipse just to perform "g++ Test.cpp" without considering my lib files as ind...

java and jsp_sessiion expired_redirect

Hi i am working with java and jsp for mail project i want to redirect the page with xml r by some way when the session is expired or i want to deactivate the window when session is expired... please help me.. thanks in advance... ...

architecture mismatch between the Driver and Application?

I am using JDBC to connect to my microsoft access database. I get the following exception when I try to connect to the database: java.sql.SQLException: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application I am using 64bit windows7, and I am using eclipse which is al...

How can I handle package names better while building a suite of android applications

I'm building a suite of applications, meaning that I have a single set of code that gets customized via a single change of an API key. This means that all of the applications have the same activities, same behaviors, but different icons, package names, and application names depending on the client I am building for. Unfortunately, I hav...

How can I change a JS, JSP, or XML file without having to restart my Tomcat server in Eclipse?

Whenever I start my Tomcat 5.5.29 server in Eclipse, it's status becomes "Synchronized." If I save a change to a file of any type, it publishes that file and then says "Restart." I used to be able to get it to synchronize again so that I could view the change without having to restart. Any ideas? I have checked to make sure Build Aut...

Stack overflow while working with CFBuilder plugin

In the past 30 minutes of working in CFBuilder (I have it as an Eclipse Plug in), I got this error 4 times: A stack overflow has occurred. You are recommended to exit the workbench. Subsequent errors may happen and may terminate the workbench without warning. See the .log file for more details. Do you want to exit workbench?. toge...

creating jar file for java application

Hi all i have created a java application which uses data from its config folder and , it also uses third party jar files those are located in lib folder, could anyone tell me how to create jar file for this project with the content stored in config file and lib folder. i tried creating jar using eclipse export functionality. when i ru...

Preprocessor directive #ifndef for C/C++ code

In eclipse, whenever I create a new C++ class, or C header file, I get the following type of structure. Say I create header file example.h, I get this: /*Comments*/ #ifndef EXAMPLE_H_ #define EXAMPLE_H_ /* Place to put all of my definitions etc. */ #endif I think ifndef is saying that if EXAMPLE_H_ isn't defined, define it, which may...