Skip to main content

Posts

Showing posts with the label eclipse-plugin

Can I debug PHP files under Eclipse PDT without using Apache?

I have just installed Eclipse PDT 3.0.2 (I don't know what Eclipse base this is, Galileo or Helios), and have been enjoying the step up from NetBeans. In getting more serious about my PHP development (I have recently expanded from only ASP.NET), I decided to move from editing my PHP files directly under my Xampp Apache doc root (htdocs), and have created a workspace under my usual source location, c:\development.

No repository found error in Installing ADT in eclipse Indigo

This error comes when I try to install ADT: An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,16.0.1.v201112150204-238534 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,16.0.1.v201112150204-238534 No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,16.0.1.v201112150204-238534 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,16.0.1.v201112150204-238534 No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,16.0.1.v201112150204-238534 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,16.0.1.v201112150204-238534 No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,16.0.1.v201112150204-

Convert file located in OSGi Bundle to IFile

I have an installed bundle (org.osgi.framework.Bundle) in my running eclipse. There is a file in this bundle. I have the path to the file and i can represent this file by an URL (java.net.URL) by using URL url = bundle.getEntry("/folder/file") . Is there a way to get a handle of this file of type IFile (org.eclipse.core.resources.IFile)? I need a reference of the file located in the installed osgi bundle of type IFile. But I don't want to copy the file temporary on my local disk (like workspace). Thanks in advance!