Hi all.
I have a shutdown hook in my application (created using Runtime.getRuntime().addShutdownHook). However if I launch the application from within Eclipse, when it is shut-down the shutdown hook doesn't execute.
I think this is because Eclipse sends the equivalent of a force-kill signal to the process, which doesn't cause the shut...
I'm working on a project that include both Java (on the client side) and Perl (on the server side), and I would really like to use Eclipse to edit my Perl scripts instead of going to another editor. I've tried to use the EPIC plugin. However, I have no way of setting up a run environment for these scripts on my local machine, so the plug...
Hello
I use the wonderful Eclipse PDT for PHP development.
I often encounter irritating bugs due to me misspelling variable names.
Is there a way to highlight variables that have not been initialized? As they will almost certainly be due to a spelling mistake.
Thanks for any help.
...
I want to print out some syntax-highlighted Ruby and Python code and Netbeans has a feature on the File menu for "Print To HTML". I'm wondering if there is a plugin or some add-on for Eclipse that enables a feature like this since it is my preferred IDE?
...
OK, this isn't necessarily programming related, but it might have a programmatic solution.
When importing a project into eclipse, it somehow started creating recursive versions of the directory.
Now, when I try to delete anything, I get the message " the file name you specify is too long."
I can't delete it from the command shell. I ...
Hi,
What are differences between Actions and Commands in the context of Eclipse RCP? I know that they both contribute to the menu entries, but which one is better? And why?
Of all the online resources I read, I could not get a firm understanding of the differences between both. I have not actually tried to use them, but just wanted ...
I don't understand buckminster at all. Lets say I have a project, and it needs log4j and junit4. How do I get started, what do I need to do, to specify the dependencies and have the dependencies added to my classpath in eclipse. Is there any tutorial which shows how its done?
...
hi,
is it possible to do something like this: Let's say I have a lot of projects in my package explorer. I want to make different views. For example a view for projects I don't use very often, my main things, common things. Basically i want to clean up my package explorer to get a better overview of all my things. At the moment everythi...
Hi, I have two questions and some context.
I am installing Subclipse 1.4.x into Eclipse Ganymede and I'm thinking that I should use the SVNKit Adapter. I'm using Ubuntu 8.04 which comes with Subversion 1.4.x and since the JavaHL Adapter requires Subversion 1.5.x using a pure Java solution like SVNKit seems like a good solution.
Which p...
I am getting javax.mail.internet.MimeMultipart errors when trying to add a server
Thanks
...
After doing a fresh checkout using Subversive, some of the directories retrieved because of svn:external properties are showing up as obstructed. However not all of them are. A command-line use of "svn status" properly shows all the directories as externals with no obstructions.
Why is this happening?
...
Hello,
My Eclipse RCP application requires a configuration file that contains some information to connect to a remote database. Where is the best location to store this configuration file?
Can I use the default configuration directory (where 'config.ini' is usually stored) for this purpose? If so, how can I get a File instance to thi...
I've been working with eclipse and SVN for many years in teams from a single developer up to 12 and I always was the one to setup our folder structure. I managed to get it working somehow, but I feel that my folder layout is far from optimal. It's hard to tell what my typical folder layout looked like, because it looked very different ea...
I would like to insert line comments in my code, programmatically. I am visiting a method declaration and i want to insert a line comment (or more) above it, using the AST of the method. Could anyone please give me a code example of how to do that? I have been searching for a long time and no success yet. Thanks in advance.
...
I'm currently trying to tune my Eclipse installation and bumped into the "-vm" option. Other posts on SO mentioned that it's good to always use the latest JVM available because they keep getting better in terms of performance, so I'm likely to do that. I was wondering though how you could find out what JVM Eclipse runs on if you are not ...
I've gotten pretty used to step-through debuggers over the years, both in builder, and using the pydev debugger in Eclipse.
Currently, I'm making something in Python and running it on Google App Engine, and I should add that I'm pretty new to developing any real web app; I've never really done much beyond editing HTML code.
So, I'm ru...
I should first say that I'm pretty familiar with configuring Eclipses memory settings. I'm currently using a variant of one of the posted configurations:
...
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx512m
-Xss2m
-Djava.net.preferIPv4Stack=true
-Dcom.sun.management.jmxremote
And according to JConsole and the internal heap monito...
I am debugging a problem in Django with Pydev.
I can set breakpoint in my django project code with out a problem.
However I can't set breakpoints in the Django library source code (in site-packages).
The PyDev debugger user interface in this case simply does nothing when I click to set the breakpoint and does not break at that locatio...
Is there a way in Eclipse to view all recent changes of a project? Like in SVN, you can just go "view log" on a right-click menu of a folder. In CVS/Eclipse, I can only view history on a certain file. I am not able to see what files were changed in the last commit. >.<''
Thank you!
...
I'm doing the build automation for a java app with ant. This is a client-server app which has many projects in eclipse. I would like to create a jar file for the client and one for the server, but since the class dependencies are all over the projects (in eclipse)... I had the idea to use a tool to automate the search for dependencies. I...