- This topic has 20 replies, 4 voices, and was last updated 16 years, 4 months ago by
Riyad Kalla.
-
AuthorPosts
-
victorstarMemberWe’ve been using JProfiler 5 in MyEclipse 6.* and everything worked just flawlessly.
Now after upgrade to MyEclipse 7.0 I just can’t make it work there.I’ve spent few hours trying to figure out how to install it now since the way of installing the plugins has changed. Finally I found a “dropins” way and installed it there.
When I’m checking installed plugins I can now see jprofiler there. But it doesn’t appear anywhere else – not on menues, configurations etc.Any idea on how to approach this?
Would appreciate any help.Thanks,
VictorFebruary 12, 2009 at 10:44 am #294746
victorstarMemberCorrection: I do see “JProfiler” in preferences, but there is no “Profile” option in either menu or “Commands”
February 13, 2009 at 3:39 am #294779
support-joyMemberHey Victor,
Sorry that you came across this issue. I have reported this to the dev team. They are investigating this issue.
February 16, 2009 at 1:00 pm #294873
Riyad KallaMemberVictor,
1. Make sure the version of JProfiler you are using is compatible with Eclipse 3.4 (which MyEclipse 7.0 is based on — ME 6.0 was based on Eclipse 3.3).
2. Open Window > Show View > Other… > General > Errors, and scan it to see if there are any init errors regarding the JProfiler plugins that might explain why they are failing to load.
February 17, 2009 at 3:01 pm #294940
victorstarMember1.I’m using the latest version of JProfiler, so little I can do about it…
2. This is a good tip. I do get the following warnings:An error occurred while generating manifest for D:\Program Files\MyEclipse 7.0\dropins\plugins.; artifact folder at D:\Program Files\MyEclipse 7.0\dropins\plugins has files: com.jprofiler.integrations.eclipse(dir): Stack Trace: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in D:\Program Files\MyEclipse 7.0\dropins\plugins. ..........
and
An error occurred while generating manifest for D:\Program Files\MyEclipse 7.0\dropins\features.; artifact folder at D:\Program Files\MyEclipse 7.0\dropins\features has files: com.jprofiler.eclipse.integrations.feature(dir) Stack Trace: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in D:\Program Files\MyEclipse 7.0\dropins\features. ............
I’ve checked and JProfiler does have both “plugins.xml” and META-INF\manifest.mf files under “plugins” as well as “feature.xml” under “features” directory.
The directory structure is like this:
dropins |__ plugins | |__ com.jprofiler.integrations.eclipse | |__ META-INF | | |__ MANIFEST.MF | |__ plugin.xml | |__ .... | .... | |__ features |__ com.jprofiler.eclipse.integrations.feature |__ feature.xml
Which seems to match what I read in the tutorial
So why would eclipse look for plugin.xml etc. in the plugins/features directories themselves rather than plugin’s subdirectories?February 18, 2009 at 9:28 pm #295013
Riyad KallaMemberVictor,
Very odd, do you have a link to the version of JProfiler you are using so I can try and duplicate this?
February 19, 2009 at 8:13 am #295047
victorstarMemberIt’s the latest 5.2.1 one that could be downloaded from here:
http://www.ej-technologies.com/download/jprofiler/files.phpI could send you the config files as well should you need them.
Email me at:
eclipse {at} victorstar {dot} comFebruary 19, 2009 at 10:44 am #295058
victorstarMemberAccording to JProfiler’s support team I should see “Profiler” item if I go to “Customize Perspective -> Commands”. They are saying it should be there even without JProfiler.
But when I’m checking both with or without JProfiler I don’t see “Profile” option there.February 19, 2009 at 2:50 pm #295075
victorstarMemberI’ve also tried clean MyEclipse 7.0 install and confirmed that there is no “Profile” option in “Commands” there.
I’ve installed JProfiler on this fresh MyEclipse 7.0 installation. There are no errors this time in the log but the end result in the same:
JProfiler is there in the Preferences, in the loaded plugins, but there is no “Profile” options to actually run it.February 20, 2009 at 11:27 am #295115
victorstarMemberSo – how do you enable “Profile” option in MyEclipse 7.0????
February 20, 2009 at 1:41 pm #295136
Riyad KallaMemberVictor,
Sorry for the delay, this fell in my plate and I’ve been trying to get time to evaluate it. Here’s what I did:
1. Downloaded 5.2.1 from the link provided (thanks) — in ZIP form
2. Created a D:\Java\Applications\Pulse\MyEclipse 7.0\dropins\plugins\com.jprofiler.integrations.eclipse directory for myself
3. Unzipped /integrations/eclipse34-jprofiler.zip into that new directory and fired up MyEclipse
4. Checked my error log on startup, no errors.(so far this is all per the instructions in the README.html in /integrations)
5. I checked my plugin details, and see nothing from jprofiler in there.
6. I noticed in the /integrations directory a feature JAR, so I manually created a /features dir under my /dropins dir and dropped that JAR in there: more specifically “com.jprofiler.eclipse.integrations.feature.jar”
7. Restarted MyEclipse and now I see the feature listed in the plugin details8. I went to Window > Prefs > JProfiler and setup the binary and I was off to the races.
So I think the bit they missed in their doc is the feature installation.
Attachments:
You must be logged in to view attached files.February 20, 2009 at 4:22 pm #295145
victorstarMemberRiyad,
Thanks for your help on this. Unfortunately there is more to it than just seing JProfiler in the “Preferences”.
I’ve mentioned that I do have it there. BUT. There is no way to run it – that’s the problem!
Usually when you right-click on the class you see “Profile” next to “Run” and “Debug” menues. At least this is how it was in MyEclipse 6.*
But THERE IS NO “Profile” option in MyEclipse 7.0 – this is the problem.
And also unlike 6.* there is NO “Profile” option in “Customize Perspective” -> “Commands”.So yes, I do have JProfiler in MyEclipse. I just can’t run it 🙂
I’m very grateful for your attempts to help. I’m positive you can help me to nail it!
February 23, 2009 at 9:26 am #295188
Riyad KallaMemberDamn, I see what you mean Victor. I would have to push this back on the JProfiler team at this point. Digging through our startup logs I’m seeing no errors on plugin startup, and given that I didn’t get *anything* until I added the feature — something that wasn’t covered in their docs — I’m wondering if some other bundle they require is missing as well?
February 23, 2009 at 4:43 pm #295202
victorstarMemberIt looks like “Profile” option was there in default MyEclipse 6.* installation but it’s not there in 7.*.
Not sure which bundle is responsible for adding this.
Quoting JProfiler’s support:
“Unfortunately, if the Profile command is not available in the list, I don’t know what to do. We don’t activate this, it is part of the JDT. You would have to ask the MyEclipse team how this can be activated.
…
The profile command should be always available (at list in the base eclipse 3.4 distribution).”So here I am. JProfiler guys are pushing it on you and you are pushing this on JProfiler. And I can’t profile applications in MyEclipse 🙂
Now rather than me going back and forth between you guys, is there any chance you could get in touch with each other? This would probably greatly speed things up. And your customers will win. 🙂 I don’t mind being in the loop of course cause I’m the most interested person in all this :-/If you email me at “eclipse {at} victorstar {dot} com” I’ll try to get you connected with JProfiler’s team (if I can get their emails)
And thank you for helping me out on this!
Victor
February 25, 2009 at 11:15 am #295272
Riyad KallaMember“Unfortunately, if the Profile command is not available in the list, I don’t know what to do. We don’t activate this, it is part of the JDT. You would have to ask the MyEclipse team how this can be activated.
Profile is not part of the base JDT — grab an Eclipse SDK bundle, there is no Profile anywhere in there… unless they are adding (or expect) some base TPTP bundles to be there?
So here I am. JProfiler guys are pushing it on you and you are pushing this on JProfiler. And I can’t profile applications in MyEclipse 🙂
Now rather than me going back and forth between you guys, is there any chance you could get in touch with each other? This would probably greatly speed things up. And your customers will win. 🙂 I don’t mind being in the loop of course cause I’m the most interested person in all this :-/Absolutely — I’ll email you and we’ll get a dialog going with them. Thanks for getting this started.
-
AuthorPosts