[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cdt-dev] help getting started with CDT development
- From: Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx>
- Date: Wed, 23 May 2012 20:56:59 -0700
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-system-of-record; bh=7FYVijuQQ4VYOo+unQQ+CY8TQX/RR+MylLiqSUo0jyg=; b=bOOvDLajD4fp8cprQuCyueUY4QBldk2JVCFrymSW9qkMd2rgg+KByfN8OSQ0Y/A4zC 9IIo7x8SZQQ7eH2E923pIBqKWE+21LK10G9uUZ+9XHxfnv8kL7C0HyFeWADnhrpNDIie Adq80uZ8ANxdx7KmyWPrb92o0MQHkAtvg6G7Dqtfy7/MY6X2d5IN/g5bYcWUWmNhCWPL Q1PbRcJvX79RKsPzNbeihM+2tFkvQgSc9xPLp4ZdQmJevekSfxxeL5lSf7otq0ebXUa/ +/EVM2YnIhNZY6tEPGHeyhcs2r27u7TsiT7mS9bbZDvR/1+gBX+YmOHykNuxdjt5yidB HPEQ==
On Wed, May 23, 2012 at 8:47 PM, Nathan Ridge <zeratul976@xxxxxxxxxxx>
I am getting started with CDT development for the first time,
so please bear with me.
I am having trouble exporting a plugin with changes that I've
made to an eclipse installation.
Here's what I did, mostly just following the instructions at
Â- Installed Eclipse SDK, EGit, and PDE
Â- Went into Git perspective, cloned the master branch of the CDT repo
Â- Made a small change to code in org.eclipse.cdt.ui
Â- Went into PDF perspective, right-clicked on org.eclipse.cdt.ui project, did Run As -> Eclipse Application
Â Â- This works fine, and my change has taken effect
Â- Did File -> Export -> Plug-in Development -> Deployable plug-ins or fragments
It's easier to useÂFile -> Export -> Plug-in Development ->ÂDeployableÂfeatures. In the Export dialog I recommend selecting Archive file.
Â Â- Selected org.eclipse.cdt.ui
Â Â- Chose an existing eclipse installation as the target directory
Â Â- I can see a new file org.eclipse.cdt.ui_188.8.131.52205232302.jar appeared
Â Â Âin the plugins subdirectory of the target eclipse installation. Its timestamp
Â Â Âis newer than the previous org.eclipse.cdt.ui jar file.
Â Â- But when I run the target eclipse installation, my changes do not take effect,
Â Â Âsuggesting the old plugin is loaded instead of the new one.
Â Â Â - If I remove the old plugin, eclipse starts but the windows are full of errors
Â Â Â Â like "Could not create the view: org.eclipse.cdt.ui.typeHierarchy", suggesting
Â Â Â Â that it tried to load the new plugin but failed.
I extracted the old and new plugin jars, and compared their contents, and found that the
following files, present in the old jar, are missing from the new:
Does anyone know what I'm doing wrong, or how I can debug this further?
cdt-dev mailing list