eclipse

java.lang.NoClassDefFoundError: com/hp/hpl/jena/shared/BadURIException on running servlet

I get a "java.lang.NoClassDefFoundError: com/hp/hpl/jena/shared/BadURIException" when running a very simple servlet. The error points back to the initialisation of the "Tagger" class. The code is as follows import java.io.IOException; import java.io.PrintWriter; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServl...

NetBeans Code Templates ${date} ?

I have this code template in Eclipse @since ${date} when entered i get something like this : @since 4.8.2009 But when i add the same template (@since ${date}) to NetBeans it outputs @since date Can someone help ? No answer yet ? Is this not possible in Netbeans ??? ...

How to close a ViewPart in Eclipse?

Hello, I have a view in Eclipse (implemented by a class which extends org.eclipse.ui.part.ViewPart) which I need to close. I mean completely close, not just hide. I want a new ViewPart instance to be created when the user (or my code) asks to open the view again. The only method I found was IWorkbenchPage.hideView which hides the view,...

Detect Who Created a Thread (w. Eclipse)

How can I find out who created a Thread in Java? Imagine the following: You use ~30 third party JARs in a complex plugin environment. You start it up, run lots of code, do some calculations and finally call shutdown(). This life-cycle usually works fine, except that on every run some (non-daemonic) threads remain dangling. This would...

How can I add the external jar to the eclipse rcp application?

I tried to add the apache vfs jar file as the runtime dependency. Even though it throws the below error: java.lang.ClassNotFoundException: org.apache.commons.vfs.VFS at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.ja...

Does the textmate vertical selection feature exist in Flex Builder or Eclipse?

In textmate on OS X there is a handy feature when you select text. If you hold the option key down the cursor turns into cross-hairs and you can select a vertical column of text and paste it back as a vertical column with the lines rows preserved. Does Flex Builder or Eclipse have the same feature? Not sure what to call it. If so, wh...

BIRT - Adding total from multiple dataset

I have a report in BIRT and I want to add a summary at the end. The report is 3 tables that have there own dataset. I want to show a fourth table with the summary information an a grand total. I have trouble calculating the grand total. ex: DataSet #1 col1 | col 2 | Total x | x | x x | x | x xx ...

SVN Syncing with Eclipse IDE 3.5.0

I am currently using Eclipse 3.5.0 (Build id: 20090619-0625) with Subeclipse for SVN. I am looking for the feature that will update my local machine with the latest code that resides in the repository. I have seen the Team > Synchronise With Repository option, but i'm not sure if this will do what I want it to do. I don't want to commit...

Java Properties File in Eclipse

That's basically it...How do I create it?? I've been trying to find it and googling for it but found nothing yet...maybe I'm just overlooking it...but I already got sort of desperate... ...

How to indent jsp pages in eclipse

just started working with jsps and my pages look awful. Please suggest a way to have them indented. thanks ...

PHP IDE with extract function like Eclipse Java Refactor->Extract Method

Is there any (free or cheap) IDE, which can extract part from a function as another function? ...

Eclipse: Tree View And Table View

Hello Guys, I want to know if it's possible to use the same content and label providers for Tree and Table in Eclipse views or they must have separate content and label providers. I am trying to use the content and label providers i wrote for the tree for the table as well but i see nothing on the table view. Thanks. ...

Projects from Eclipse Package Explorer

hi! I develop an Eclipse plugin project, I started a few days ago and I have a question. My plugin works, my plugin toolbar has a button, named Extract the project. When I click on this button, the plugin writes the names of the open projects from the Package Explorer. How I can get the names of the projects from the package explorer? ...

auto completion for built in functions in eclipse php

hello im writing php code in eclipse PDT (PHP Development Tools), but for some reason it does'nt auto-complete php built-in functions, such as "isset". unline komodo - which also shows the arguments the function recieves. the only thing eclipse auto-completes is my variables. hwo can i make eclipse auto-complete functions ? thanks ...

How to programmatically generate an EMF model (.ecore, .genmodel) from XSD schema?

I have been trying to do this as the last stage in a standalone application to convert from the file format used by a modeling program to an EMF model. I am able to convert the original format to XSD, which I can manually convert to an EMF model using the Eclipse importer, but I do not know how to do this programmatically to automate the...

Creating A Table From Linked-objects Model

Hello Guys, I have the following model which makes an element a parent of the element that follows it. For example i get data from a server in an array of arrays like this: net Person age net Person height net Address streetname org Company name org Company location com Schoo...

Replace selected code from eclipse editor thru plugin comand

How do I replace the selected section of code (selected by mouse selection) in eclipse editor and replace it with the same code only in /* selected text / through a plugin? I have already designed a plugin to create a button in the toolbar. When I click it, I need it to change the text that is selected and put it into / */ ...

How can I launch an Eclipse command from Java?

How do I launch a find and replace command without the user clicking edit->find replace or ctrl+F? I need to do this with a plug-in written in Java. ...

Is it possible to configure Adobe's Flex Builder (or Flash Builder) to use the Eclipse embedded browser to run apps?

I want to run my Flex apps in the embedded browser control inside Eclipse, which is a Gecko control on the Mac (I think!). Is this possible? If so, how? ...

Managing a Large OSGi Application

Hello, I have a large, growing OSGi application with a number of bundles. I am curious to know the best way to manage this type of application. Currently, I am using Eclipse and Maven, but although this is great for building bundles (via maven-bundle-plugin), as of now it has not been easy to manage the entire application. What I would...