eclipse

Possible to have several classes in just one file in Eclipse?

Is it possible to have several classes in a single java file in Eclipse? Or must I really have each one in a different file? Is it just something imposed by Eclipse, or does the Java compiler have something against having everything in the same file? ...

makefiles and using eclipse for Linux programs and C++

Hi there, can anyone point me in the direction of a good tutorial on how makefiles work and also how to start a basic program from scratch using eclipse? I am using eclipse version 3.4.1 for fedora and C++. Thanks in advance. ...

Maven cannot exec a jar project because the mess with transitive dependency

I have 5 maven projects: simple-model, simple-weather, simple-persist, simple-webapp and simple-console. (They are from the Maven Definitive Guide book). The simple-console depends on simple-weather and simple-persist. simple-persist and simple-weather both depend on simple-model: simple-console ---> simple-weather ----> simple-model ...

How do I use the features of 2.01, yet still support 1.5 with one apk?

I would like my activity to use some features of 2.01, but i need it to be able to run on 1.5 devices. I understand that the 1.5 devices will not be able to run the 2.01 features and thats fine. But i still want them to be able to use the rest of the activity. I am using Eclipse as my IDE, how do i setup my project correctly? what am i ...

Is there a way to fold eclipse sub-blocks like an "if" statement?

Currently Eclipse only fold the java doc and at function level, but when reading long methods, there could be quite a lot of if/else etc, is there a way to fold them? ...

Share / Export eclipse working sets

I have created a couple of java working sets for a project in my workspace and want to share them with other people (using different workspaces). Is there a way to export them? ...

How to emulate "-lib foo.jar" from _within_ build.xml

By specifying "-lib foo.jar" to ant I get the behaviour that the classes in foo.jar is added to the ant classloader and are available for various tasks taking a class name argument. I'd like to be able to specify the same behaviour but only from inside build.xml (so we can do this on a vanilla ant). For taskdefs we have functioning cod...

Have svn console in focus when performing an svn operation in eclipse

Is there a way to have the console focus on the SVN output when doing an SVN operation (such as update or commit)? It's annoying to have to manually switch to that console. ...

Abstract variables in Java?

I am coming from c# where this was easy, and possible. I have this code: public abstract class clsAbstractTable { public abstract String TAG; public abstract void init(); } but Eclipse tells me I use illegal modifier. I have this class: public class clsContactGroups extends clsAbstractTable { } I want the variable an...

Eclipse galieo does not show classes directory inside build what can be the reason ?

due to this problem servllet does not execute on it. please help ...

Eclipse Plug-In Installation Issues

Hi all I'm beginning to work with Eclipse for some Java development. I'm quite new to Eclipse, as I am a Visual Studio developer normally. I tried to install the CheckStyle Eclipse Plug-In and Subversive, using the Eclipse "Install new Software" feature. No errors, everything seems to have worked well. Clicking on "What software is alr...

Eclipse can't find project source after tomcat restart.

I posted this on the eclipse forum in November and didn't get an answer. It seems that someone must have experienced this problem before, so I thought I'd post it here as well. General Description: Every time I restart my local tomcat web server, the next time I hit a breakpoint, eclipse can't find the project source. Background: I hav...

Eclipse JUnit4: exclude tests using a name pattern

Is it possible to specify in the JUnit Run configuration in Eclipse a name pattern (say **/integration/*Test) that should be excluded from the test run when running all tests of a project? Looking at options in the Run/Debug Configuration I presume this question could be reduced to: is it possible exclude certain tests based on junit ru...

How do I fix JavaHL (JNI) Not available after I have changed the logon password on my Mac?

I have installed Eclipse 3.5.2 and the plugin Subversion JavaHL Native Library Adapter 1.6.9.2 and this worked without any problems. However, this morning I was forced to change the password to logon to my Mac and since then I get the message that "Subversion native library not available" when I try to save any changes. Can anyone help? ...

FAMES or AMES for Flash development? Open source alternatives to Flash CS4?

Hi, A brief preface: I'm in a game design class where our project for the next 4-6 weeks will be to create a Flash game. The group is 5 people, one of whom is a digital artist in another department. Our digital artist will be supplying images/music where appropriate, but won't be using Flash CS4 (probably Photoshop or another image ed...

Facelets tab lib not recognised by Eclipse/Tomcat 6

Hello I included this in my index.jsp JSF file: <%@ taglib prefix="ui" uri="http://java.sun.com/jsf/facelets"%&gt; and Eclipse underlines the URL, hovering gives this: Cannot find the tag library descriptor for "http://java.sun.com/jsf/facelets" Deploying and trying to start Tomcat 6 using the Tomcat plugin causes this: |STDOUT| ...

speed up Eclipse on OSX

Trying to work with Eclipse for Android (ADT plugin) development at my iMac (2.4Ghz, 4Gb RAM) and it's very slow (Eclipse Galileo SR2 x64). I know about eclipse.ini tricks and make some changes like: -XX:MaxPermSize=256m -Xms256m -Xmx1024m -XX:+UseCompressedOops -XX:+AggressiveOpts -XX:+UseConcMarkSweepGC And use Java...

eclipse xdebug session never completes

I am trying to get xdebug working with eclipse (3.5) / php (on xampp windows 7). I have verified xdebug is enabled in php - I have the fancy output and my phpinfo shows all the xdebug stuff. I have remote debug on, and typed in the lan ip address on my eclipse machine. When I tell eclipse to debug, it launches the browser and passes t...

Eclipse Editor: How to change file format from Dos to Unix

I am using eclipse editor to work on my remote files it appears that eclipse editor is set to dos file format, I do not know how to find fileformat set in eclipse editor, but I want it to be set on unix file format. How can I set file format options to unix file format in eclipse ? Similar Question to set file format in VIM Thanks. ...

How can I get Eclipse to store .class files in a folder outside the Project folder where I store the .java source files?

Per this question (see comments near the bottom), I was wondering if anyone knows any way to get Eclipse to store .class files in a folder of my choosing outside the project folder where the .java source files are stored. I have not seen an option to do this in the new project creation wizard, but my knowledge of Eclipse is quite limited...