I am running CentOS 5.5 x86_64 with JDK 1.6, Eclipse Galileo, and the 0.9.7 ADT is installed; however, after installation, the Android project type is not available. I have checked in the installed packages list and it is installed. Anybody encounter this problem before? Could it be due to my use of the 64-bit java VM that is installed o...
The following code compiles perfectly with Eclipse, but fails to compile with javac:
public class HowBizarre {
public static <P extends Number, T extends P> void doIt(P value) {
}
public static void main(String[] args) {
doIt(null);
}
}
I simplified the code, so T is not used at all now. Still, I d...
Friends,
Just a quick introduction, I'm currently learning Java, using a combination of the Head First Java book and Eclipse. Everything was going well until tonight!
When I started up Eclipse tonight, I saw an error message which I didn't pay attention to (I know! I know!) and acknowledged after which the project explorer was empty w...
I have checked out a java servlet project from subversion that has a strange organization.
All the java is in one directory and the resources ( JSPs, properties files, etc are in another ).
I want to use Ant to build the project, but then copy files to the appropriate Tomcat directory on my machine.
For example I would like to copy th...
I'm just getting started developing for Android and I'm running into a weird problem.
First off, I'm running Eclipse for Java devs v3.5.2 with the Android 2.1 SDK installed.
Basically, whenever I do just about anything the "gen" (R.java, etc.) folder will just disappear from the project. I'm seen some people online say that it was stil...
I've got a Content Assist problem in eclipse 3.5, which is eclipse-java-galileo-win32.zip.
When I press Alt+/(I've changed Ctrl+Space to this) in Java Editor, no assistant tips are shown up.
I've solved this problem and I'd like to share my experience.
Eclipse-->Preferences-->General-->Keys;
Search 'Content Assist';
You'll find that ...
Eclipse STS is reporting I have problem with my spring project.
It's a fresh project generated from the Spring Web MVC Project Template (File->New->Spring Template Project->Spring Web MVC ).
When I create the project it has no problems - it's only once I modify the pom (by adding the hibernate dependencies) that STS then picks up the...
In Eclipse (Galileo) is it possible to filter the list of TODO and FIXME tasks by a specific specific file, or several files? Instead of having the whole list for the entire project.
...
Is there a possiblity to get or generate a version ID on every GWT compile is performed, from ant Build File or using 'Compile' button in Google Eclipse Plugin?
...
What is the correct parameters to get Beyond Compare 3 working with Eclipse/Subclipse conflict resolution?
In Preferences > Team > SVN > Diff/Merge there's the option to specify an external program to resolve conflicts.
The default parameters are:
"${yours}" "${theirs}" "${base}" "${merged}"
And it suggests TortoiseMerge settings of...
I have a number of interdependent projects in an Eclipse workspace. Eclipse manages dependencies between them within the IDE but I'm starting work on a master build script that will sit in the folder about all the projects (the workspace folder).
I haven't decided on if I will use Maven, Gradle or Ant/Ivy tet, but my question is, is the...
I am trying to create and use jar file in an Android project under Eclipse. I have tried various methods without any success. Here are the steps:
Create jar file from the source files jar -cf lib.jar *.java
Copy jar file to libs folder
Right click, Build Path->Add to Build path
Now, compiler gives unresolved symbols if I try to use a c...
Lets say you create a class "Foo" and a test "FooTest" ( standard JUnit test )
I want a keyboard shortcut to help quickly switch between the test and the class.
If that is not possible, something like TextMate's "Run focussed test" (Command-Shift-R) might be of great help.
...
According to the Eclipse documentation TreeViewer.setAutoExpandLevel(3) means that top-level elements are expanded, and their children, but not grandchildren.
I used that in my code, but after setting the input the tree is not auto-expanded, neither on OS X nor on Linux. Expanding the tree manually (via mouse) works flawlessly. Am I mis...
The keyboard combination "Alt Gr + q" = @(german keyboard) is not working in eclipse but everywhere else. I'm using windows XP. It is not a language problem, I have already deinstalled the english keyboard and all other charactes work perfectly fine.
It's also kind of impossible to google this, because the character is escaped by the sea...
Hi,
Is it possible to generate word documents (*.doc) in java web application using Eclipse BIRT (Report Engine)? I want .rptdesign to be an input file in generating process. I could not find any example or tutorial.
What would you recommend as an alternative solution. As far as I know Jasper Reports allow only RTF format generation.
...
Hi,
I'm having problems in adding a picture into JFrame, something is missing probebly or written wrong.
here are the classes:
main class:
public class Tester
{
public static void main(String args[])
{
BorderLayoutFrame borderLayoutFrame = new BorderLayoutFrame();
borderLayoutFrame.setDefau...
I am using PHP in eclipse. It works ok, I can connect to my remote site, there is colour coding of code elements and some code hints.
I realise this may be too long to answer all questions, if you have a good answer for one part, answering just that is ok.
Firstly General Coding
I have found that it is easy to
loose track of include...
Is there a way to specify where the .classpath file is located in an Eclipse project? By default it is at the top level of the project. Being able to change that location would be helpful.
...
The question is in the title.
...