Home » Newcomers » Newcomers » Editing XML and Python in Eclipse (neon) C/C++(Need help with XMLEspresso after, seeming, successful install.)
Editing XML and Python in Eclipse (neon) C/C++ [message #1737432] |
Fri, 08 July 2016 08:09 |
John Mountcastle Messages: 14 Registered: July 2016 |
Junior Member |
|
|
Many years ago, I was a C programmer. In those days, I used Emacs with a custom start up file as a pretty effective IDE. Now I find I must edit XML and Python and so, I thought, " A good modern IDE would be nice." I selected Eclipse, PyDev, and XMLEspresso. After installing all thee, in that order on a Windows 10 PC. I began, unsuccessfully, to try and start the XMLEspresso Editor. I am so far unable to find any trace of any XML editor, in Eclipse and any direction will be appreciated., I have never used Eclipse before.
Regards, John H. Mountcastle
|
|
| | | | | | | | | | | |
Re: Editing XML and Python in Eclipse (neon) C/C++ [message #1737680 is a reply to message #1737671] |
Mon, 11 July 2016 23:51 |
|
The FAQ entry I pointed to would make Eclipse treat *.csl files as if they were *.xml files.
I tried installing XMLEspresso myself, but I think there was a silent failure after the download that prevents it from actually being installed (it's in my Installation History's "Current Installation" but missing from both the Features and Plug-Ins list in the About dialog's Installation Details):
(from the workspace's .metadata/.log file)
java.lang.RuntimeException: Unable to aquire PluginConverter service during generation for: /Users/nitin/tmp/marketplace/Eclipse.app/Contents/Eclipse/plugins/com.nubean.xmlespresso_8.0.0.201206142237
at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.convertPluginManifest(Utils.java:154)
at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.basicLoadManifest(Utils.java:82)
at org.eclipse.equinox.internal.frameworkadmin.utils.Utils.getOSGiManifest(Utils.java:217)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.installBundle(EquinoxBundlesState.java:556)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeState(EquinoxBundlesState.java:366)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.composeNewState(EquinoxBundlesState.java:299)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxBundlesState.<init>(EquinoxBundlesState.java:269)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.getBundlesState(EquinoxManipulatorImpl.java:157)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.save(EquinoxManipulatorImpl.java:379)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.save(LazyManipulator.java:97)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.saveManipulator(EclipseTouchpoint.java:61)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTouchpoint.commit(EclipseTouchpoint.java:137)
at org.eclipse.equinox.internal.p2.engine.EngineSession.commit(EngineSession.java:123)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:93)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:175)
at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I can't speak for how well WTP's own XML Editor is by comparison, but I'm reasonably sure it will install properly, at least on the versions the entry claims are compatible.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
| |
Re: Editing XML and Python in Eclipse (neon) C/C++ [message #1737995 is a reply to message #1737982] |
Thu, 14 July 2016 19:27 |
|
John, from what little I know and from trying it with different Eclipse releases, the exception I had installing it on Neon is because it's actually not compatible with Luna and later. It installs fine on Kepler, and I guess it works as designed there.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
| |
Re: Editing XML and Python in Eclipse (neon) C/C++ [message #1738094 is a reply to message #1738090] |
Fri, 15 July 2016 17:22 |
|
On 07/15/2016 10:56 AM, John Mountcastle wrote:
> Not the answer I wanted but i suppose you've saved me a lot of
> frustration, thanks. Are there truly a lot of improvements between
> Eclipse and Luna? How would I un-install Neon and then install Luna?
I'm assuming you're using Windows. (I use Linux.)
Eclipse (any version) isn't installed in a formal sense, it's just
(mostly) a subdirectory in your filesystem. The Eclipse "installer" just
does what we used to (and I still do) accomplish by hand.
So, as I don't use the Eclipse "installer", I don't know if it has an
"uninstall" mode, but you can remove the subdirectory on your system
that contains eclipse.exe and eclipse.ini, then install Luna instead.
There are also some directories in your user root, probably
C:\Users\John you might zap too in order to be thorough.
The installer came out concurrently with Mars, I think. Perhaps it
doesn't work for Luna, but you need only download the Luna zip, choose
where you want it, then unzip in your filesystem.
Incidentally, I'd only back up to Mars unless there was a good reason to
go back to Luna.
I hope this helps. If you have trouble, come back. Or someone more
up-to-date on installer issues may post a better answer.
Cheers
|
|
| | |
Re: Editing XML and Python in Eclipse (neon) C/C++ [message #1738113 is a reply to message #1738109] |
Fri, 15 July 2016 19:09 |
|
On 07/15/2016 12:11 PM, John Mountcastle wrote:
> I've re-read a previous post and found that it sai XMLEspresso would not
> run on Luna but that it would run on Kepler. I've installed Kepler but
> now the drop in install of XMLEspresso won't work. I'm getting near my
> wits end. Cheers, John
Kepler was a great Eclipse release.
You're dropping the XMLExpresso into the plug-ins folder of Kepler,
right? I can't remember if the subdirectory name had changed from
plugins to dropins by then. (In the old days, before Eclipse
Marketplace, we used to drop stuff by hand into the plugins
subdirectory.) Try restarting Eclipse after dropping the XMLEspresso
artifacts into either.
Good luck, my friend.
|
|
|
Re: Editing XML and Python in Eclipse (neon) C/C++ [message #1738115 is a reply to message #1738098] |
Fri, 15 July 2016 19:15 |
|
On 07/15/2016 11:39 AM, John Mountcastle wrote:
> Very helpful Russell, thanks. I've installed Luna, I still can't figure
> out how to launch it. I installed it, it shows up in installation
> details but not in Open with or open with other. What kind of stupid
> user trip am I performing here? Do I just not know how to launch a
> plugin in Eclipse. By the way, I picked Luna because a previous
> respondent told me XMLEspresso would run under it and wouldn't under
> Neon. Cheers, John
So, I don't know what the new installer does exactly since I've never
used it, but back in the days when I still used Windows occasionally, I
always made a shortcut to C:\Users\russ\dev\eclipse\eclipse.exe and put
it on my taskbar. I did this by hand, of course.
I think the new Eclipse installer is a great idea, but I'd never use it
personally as I don't myself see a need for it. I think it was to
attempt to solve a lot of newcomer issues. This said, I'm not certain
that the number of "newcomer can't get Eclipse to launch" issues has
really dwindled by much (but then, it's always hard to point at the lack
of seeing a thing to prove that it exists or doesn't exist).
|
|
| | | |
Re: Editing XML and Python in Eclipse (neon) C/C++ [message #1738142 is a reply to message #1738115] |
Sat, 16 July 2016 06:03 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Russell,
Comments below.
On 15.07.2016 21:15, Russell Bateman wrote:
> On 07/15/2016 11:39 AM, John Mountcastle wrote:
>> Very helpful Russell, thanks. I've installed Luna, I still can't figure
>> out how to launch it. I installed it, it shows up in installation
>> details but not in Open with or open with other. What kind of stupid
>> user trip am I performing here? Do I just not know how to launch a
>> plugin in Eclipse. By the way, I picked Luna because a previous
>> respondent told me XMLEspresso would run under it and wouldn't under
>> Neon. Cheers, John
>
> So, I don't know what the new installer does exactly since I've never
> used it, but back in the days when I still used Windows occasionally,
> I always made a shortcut to C:\Users\russ\dev\eclipse\eclipse.exe and
> put it on my taskbar. I did this by hand, of course.
Of course you can run it and then pin it to the taskbar. The installer
will also create menu and desktop shortcuts, optionally.
>
> I think the new Eclipse installer is a great idea, but I'd never use
> it personally as I don't myself see a need for it.
If you only install one IDE and generally know what you're doing,
there's no strong need.
> I think it was to attempt to solve a lot of newcomer issues.
Definitely. I have a zip file, but I can't unzip it. Windows says I
need a password. Once I unzip it, it won't run. Error code 13. I give
up, or I go to the forum and overlook the sticky post. I eventually
have to hunt for a Java runtime, or try to install one, from where? And
so on.
> This said, I'm not certain that the number of "newcomer can't get
> Eclipse to launch" issues has really dwindled by much (but then, it's
> always hard to point at the lack of seeing a thing to prove that it
> exists or doesn't exist).
Now they post issues about the installer. :-P
The value of the installer (the native one on Windows) is you download
it and it definitely runs. It looks for Java in the proper places,
such as the system registry. It finds them all. It knows what the
installer application needed in order to run (and likewise during
installation, it knows what the product being installed needs). If the
right Java isn't present it knows, and it directs the user to a web page
that explains what they need to do and from where they can get Java.
If the right Java is available, but isn't the default one on the path,
it edits the eclipse.ini to specify the right one.
That's all mostly newcomer stuff the expert doesn't need of course. But
if you install several IDEs, or install IDEs that work with specific
projects, the bundle pooling mechanism lets you install dozens of IDEs
and fill up their workspace target platforms, all without filling up
your disk drive with dozens of duplicate files (200-300MB per
installation + that much more again per workspace TP). A good expert
can automate everything it takes to bring up a tailored ID (e.g.,
install additional favorite tools) with all their Git projects cloned
and error free, grouped into working sets...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Goto Forum:
Current Time: Thu Apr 25 12:08:10 GMT 2024
Powered by FUDForum. Page generated in 0.09363 seconds
|