Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Question about procedure to fix a PTP problem

Dave,

You need to put the new plugin in the "dropins" folder rather than the "plugins" folder. At launch time, Eclipse then tries to "install" the plugin for you in the same way that the update manager installs new plugins. Having said that, I've found it very hard to get a new plugin to work because if any of the dependency checks fail the installation won't happen. The problem is that Eclipse provides no way of finding out (that I've been able to discover) why the plugin failed to install.

Greg

On Oct 15, 2008, at 8:23 AM, Dave Wootton wrote:

I'm having trouble getting this to work. I made a change to a class in
org.eclipse.ptp.rm.ibm.pe.ui then exported the project into my plugins
directory and restarted Eclipse. After Eclipse restarts, it still loads the old jar file. I verified this by looking at the plugin details list
and seeing the jar file with the old timestamp in the list. If I start
Eclipse with the -clean flag that doesn't make any difference. I looked in the .log file in my workspace and I see that the -clean flag is passed in, but I don't see any messages related to this jar file. If I rename the
old jar files so the only one available is the one I just exprted, it
still doesn't get loaded. When I do that, I get errors when I open the run
configuration dialog since it can't load the required classes.

This is on a Windows XP system if that makes any difference.

Is there something else I need to do to get this to work?
Dave



Greg Watson <g.watson@xxxxxxxxxxxx>
Sent by: ptp-dev-bounces@xxxxxxxxxxx
09/22/2008 01:54 PM
Please respond to
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>


To
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
cc

Subject
Re: [ptp-dev] Question about procedure to fix a PTP problem






Dave,

Yes, export as "deployable plug-ins and fragments", choose the plugin
you want, and under "options" check the "Package plugins as individual
JAR archieves"  option (except if this is one of the C plugins like
the proxy or utils). All other options should be unchecked. Then copy
the jar file into you eclipse plugins directory and restart eclipse.
It should pick up the new plugin automatically (you might need to do a
-clean on linux).

Greg

On Sep 22, 2008, at 1:18 PM, Dave Wootton wrote:

I have run into a problem with one of my plugins in PTP 2.0 that I
need to
update one of the plugins packaged in the PTP 2.0 download. How do I
go
about doing this? Do I just select the project containing the class
I need
to update and use the export wizard (File->Export) to export the
project
as a jar file and then copy that jar file into the plugins
directory, or
do I need to do something else? If I use the export wizard, is there
anything I need to export other than class files? Are there other
settings
in the wizard that I need to worry about?

Thanks
Dave
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top