eclipse

Eclipse plugin. Browser in Editor.

How to add Browser object into editor? ...

Can I tell Mylyn's context to be inclusive by default?

When I create a new task in Mylyn and activate it, all the resources in the package explorer become excluded by default from the new context and I have to manually select one by one all the resources I want to be included. Is there any way to tell Mylyn to be inclusive by default and exclude by hand what I don't want? Thanks in advance. ...

Bundle-Classpath jars not put into dev.properties on PDE launch

I have an eclipse plugin project that requires a lot of external jar file dependencies. The plugin places these on the Bundle-Classpath and includes them in the plugin when built through build.properties. If you export the plugin and run it through eclipse, everything works fine. When running through the launch configuration (ie: debuggi...

Writing an Eclipse-aware Ant task

Hello, I would like to write a simple Ant task that would interact with an Eclipse workspace to get some information from it. I would like to be able to use the various Eclipse API's (for example, IWorkspace). My question is what would be the simplest way to go about doing this. I have excellent knowledge of the Eclipse platform as a ...

Unit tests: finding class dependencies

Are there any automated tools to find class dependencies when writing unit tests. An example to show what I mean: We want to write unit tests for class ToBeTested. So I will write some tests to verify the expected behaviour of the class. Now I still dont know if there are class depencies as in ToBeTested probably uses lots of other cla...

XAMPP/Eclipse Debugging PHP - Not Hitting Break Point

I'm trying to set up a simple PHP debugging environment on a Windows box at work and have been following various suggestions and tutorials online for using XAMPP, Eclipse, and XDebug. php_info() tells me that XDebug is set up and ready to go, and the only thing I had to change in the Apache setup in XAMPP was the port (it's now set to 8...

Eclipse Java Editor does not show minus sign(-)

Hi, My eclipse version is: 3.4.1 Whenever I type minus sign(-) in the java editor, I am not seeing hyphen(-) and in place of this I am seeing another symbol. It shows as (' to the bottom). If I copy and paste in a notepad, it shows as (-). Please let me know if anyone has seen this. Thanks, Mango ...

Eclipse Java utility project and multiple web apps

If I create a utility project and multiple dynamic web projects within Eclipse and set it up so that dynamic web projects depend on the utility project, I'm guessing that I will have to redeploy all the dynamic web projects to the server if at some point I make enhancements to the utility project. If I understand correctly, setting depe...

Tomcat server Issue

Hi, I've been asked to create a dashboard in Xcelsius(excel based dashboard tool).It gets data in the form of xml which gets embedded in to excel for dashboard consumption. The issue is when I run the dashboard(shockwave file embedded in html page) in eclipse it works great but when I build the WAR file and deploy it in Tom cat server t...

Eclipse helios install new plugin problem

I'm trying to install new plugin but when I choose the update site I got this error !ENTRY org.eclipse.equinox.p2.core 4 0 2010-10-07 08:57:56.153 !MESSAGE Provisioning exception !STACK 1 org.eclipse.equinox.p2.core.ProvisionException: Bad HTTP Request: http://download.eclipse.org/eclipse/updates/3.6/compositeContent.xml ...

How many code lines do my project have

Hi' how could i count the number of lines on my project with all the packages and projects in eclipse editor? ...

Resulting Jar From Ant Builder Can't be Seen in Eclipse Workspace

I have a java project in Eclipse that is built through ANT. Normally, I see the resulting Jar appear in the workspace in Eclipse. Suddenly, for this project only, the jar just doesn't show up within Eclipse. I know the jar is being created because when I look at the workspace within Windows Explorer, I see the Jar. How can I get E...

Defining global source lookup settings for all JUnit tests in Eclipse

Hi. Is it possible to define global source lookup settings for all JUnit tests in Eclipse? Currently I have to set it for every test in the Debug configuration settings. If there would be a global way to do this it would be much more comfortable for me. ...

update in Eclipse with CVS recursively!

I'm trying to run an update on my project in Eclipse with CVS. When choosing: Team -> Update it executes the following command: cvs update -l -d -P "/xxx/www" "/xxx/www" I want the update to be recursively, so the -l option should be removed. The problem is, I don't know how. I'm using extssh and it's not possible to set any optio...

how to create War file for a RESTful web service developed in eclipse IDE

Hello All, I ve created a sample REST web service which writes some data in a xml file. Now I have hard coded the path where the xml file is to be written. I want to know how to declare that local path of the file in web.xml file as servlet parameter and how to get the path from there and use it in codebe . Also I need to create the WAR...

Changes in dependent modules cannot be seen in other module in Maven Eclipse

I am working on a multi module project with m2eclipse. I set the maven to take care of resolving workspace dependencies. But when I make change on, say, service module, change is not visible on other modules immediately. If I make new method in Service layer, it is not visible in WebApp layer. Sometimes even Run/maven install and refresh...

importing ant build.xml in eclipse

I have an android project that uses ant to build, is it possible to import this ant project in eclipse IDE? update : There is an option to create project using ant build.xml in eclipse File->New->Project->Java->Java project from existing ant Buildfile. and if the build.xml file is selected it show error "Specified buildfile does not con...

Can't start Eclipse 3.5.2?

Hi, I'm running Windows Vista x64, and I have JDK 1.6.0_21 (x64 version, I believe) installed. I recently downloaded Eclipse 3.5.2 because I want to do some Android development (apparently you can't use 3.6 yet due to bugs...), but I keep running into the same error message whenever I try to start Eclipse: http://img42.imageshack.us/img...

Programmatically add code templates?

I'm writing a custom XML editor for our project and want to add support for templates. I.e when the user writes "<ab:mytag" and presses ctrl + space they get the option of inserting a chunk of text with a default/dummy parameters. But this should be available only in the XML editor. How would I go about this? Clarification: The templat...

Weblogic remote debugging using eclipse

Hi Guys, My Weblogic is installed in a Red hat OS machine. In the startWebLogic.sh i have added this line JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n %JAVA_OPTIONS%" When I try to connect from my Eclipse I get a "Failed to connect to remote VM. Connection refused. Connection refused: ...