Deploy modified plugin [message #696050] |
Wed, 13 July 2011 03:31  |
Eclipse User |
|
|
|
Hi all,
I did some changes to org.eclipse.wst.xml.ui plug-in (I have downloaded sources from Eclipse CVS repository).
Now I would like to deploy it. I created a JAR file using Export Wizard.
Resulting JAR is: org.eclipse.wst.xml.ui_1.2.000.QUALIFIER.
My plug-in is not loaded, only the default one is loaded.
Probably because is the default one linked to a feature.xml?
Why?
[Updated on: Wed, 13 July 2011 03:57] by Moderator
|
|
|
|
Re: Deploy modified plugin [message #697101 is a reply to message #696273] |
Fri, 15 July 2011 10:22   |
Eclipse User |
|
|
|
On 7/13/2011 11:45 AM, MarcoGT wrote:
> Ok, I succeeded modifying a configuration files in configuration folder.
>
> Marco
For reference, it's typically the plug-in version listed in the
feature.xml of the appropriate feature that identifies the version of
plug-in to run. For org.eclipse.wst.xml.ui, you would find it in the
feature.xml under the
"eclipse\features\org.eclipse.wst.xml_ui.feature_<version>" folder.
When Eclipse "resolves" what plug-ins should run, it writes the results
to the configuration file you likely modified. If a "resolution" is
triggered in the future, possibly by adding or updating some feature,
you might lose your changes. In theory, it is better to update the
feature.xml to specify your version, or save a copy of the original
plug-in and build your plug-in to have the same version as the one it's
replacing.
Cheers,
Larry
|
|
|
|
|
|
|
|
Re: Deploy modified plugin [message #699416 is a reply to message #698727] |
Thu, 21 July 2011 09:59  |
Eclipse User |
|
|
|
On 7/20/2011 1:29 AM, MarcoGT wrote:
> Ok, I got it.
> I don't know if you are expert in this field...but...can you have a look
> at this?
>
> http://www.eclipse.org/forums/index.php/t/220536/
>
> Thanks
> Marco
I can't say what the problem might be. However, the last four lines of
the build.properties files suggests that you have added the "lib" folder
as a Java source folder, which is a bit odd for a folder with that name.
It is also odd that it appears to be trying to create multiple jar
libraries in the plug-in from the same "bin" output folder. I don't
know if this is enough to confuse Eclipse into building the plugin
incorrectly. I would expect there to be some warnings in this
build.properties file.
Cheers,
Larry
|
|
|
Powered by
FUDForum. Page generated in 0.04631 seconds