What steps will reproduce the problem? 1. Download Eclipse Platform 4.3 (Kepler) 2. Install the Smarty Support for PDT
What is the expected output? What do you see instead? The installation fails because a misssing requirement. See bellow the error message: Cannot complete the install because one or more required items could not be found. Software being installed: Smarty Feature 0.91.0 (org.eclipse.php.smarty_feature.feature.group 0.91.0) Missing requirement: Ui Plug-in 0.91.0 (org.eclipse.php.smarty.ui 0.91.0) requires 'bundle org.eclipse.php 0.0.0' but it could not be found Cannot satisfy dependency: From: Smarty Feature 0.91.0 (org.eclipse.php.smarty_feature.feature.group 0.91.0) To: org.eclipse.php.smarty.ui [0.91.0]
Tested in Windows 7 64 bits, Linux and MacOS
Comment #1
Posted on Jul 23, 2013 by Quick DogI found this: http://stackoverflow.com/questions/17210411/install-smartypdt-0-0-9-1-in-eclipse-kepler
But to install juno pdt instead of kepler is not the solution.. Somebody?
Comment #2
Posted on Aug 5, 2013 by Grumpy RabbitSince PDT 3.1.2 org.eclipse.php plugin was removed. What you need to do is to remove it from smartypdt dependencies. Unpack plugin's zip file, unpack content.jar (it's really a zip too), delete lines containing "org.eclipse.php" from content.xml (leave "org.eclipse.php.core" and so on untouched) then pack it back to the content.jar and content.jar into plugin's zip. Should work.
Comment #3
Posted on Aug 5, 2013 by Grumpy LionExactly which lines should be deleted then. Because you said "containing org.eclipse.php
but not org.eclipse.php.core
. I deleted only lines containing org.eclipse.php
exactly and nothing else and it didn't work. I faced the same error as before. Please be kind enough as to be more specific about the files that should be deleted.
Comment #4
Posted on Aug 5, 2013 by Grumpy Rabbitsmartypdt-0_9_1.zip/content.jar/content.xml, lines 36 and 134 Install modified plugin with Help -> Install new software... -> Add... -> Archive
Comment #5
Posted on Aug 5, 2013 by Grumpy LionThanks a bunch! Doing as you said, unpacking, deleting both lines 36 and 134 and repacking, I could install the smartyPDT plugin without any fuss. The next task is how to get to actually work with PDT. After installing and restarting as usual. I cant seem to find it anywhere in the preference modal window. This is what I did
- *.tpl to file association and the content type
- Configured PHP executables to point to locally installed PHP and its php.ini
- Added PHP support to the project in Eclipse
But I cannot find the smarty support to add to the project.
Did I do (or not do) something wrong? Do I need to clean out all *.tpl file association prior to installing the plugin? Please let me if there is anything that can be done. Please let me know.
Again thanks for your help so far!
But I cannot find smarty anywhere
Comment #6
Posted on Aug 5, 2013 by Grumpy RabbitComment deleted
Comment #7
Posted on Aug 5, 2013 by Grumpy RabbitHmmm... Seems like it doesn't work anyway. It installs, adds content-type to Text\PHP tree, asks for the interpreter and nothing else happens. :) However I can see basic html/js syntax highlighting/code completion in .tpl files.
Comment #8
Posted on Aug 7, 2013 by Swift Rabbitupdate it to pdt 3.2 asap please
Comment #9
Posted on Aug 21, 2013 by Massive Elephantplease fix
Comment #10
Posted on Aug 26, 2013 by Happy MonkeyI need it too, please fix it.
Comment #11
Posted on Sep 17, 2013 by Quick OxNot fixed still :"(
Comment #12
Posted on Oct 30, 2013 by Massive PandaIf you guys aren't going to fix this could you at least port the code over to github so that someone else can?
Comment #13
Posted on Nov 17, 2013 by Massive Camelbump
Comment #14
Posted on Nov 18, 2013 by Grumpy Bearbump
Comment #15
Posted on Feb 11, 2014 by Helpful Hippobump
Comment #16
Posted on Feb 15, 2014 by Quick ElephantRe: #12 Source code is already available on https://code.google.com/p/smartypdt/source/checkout (As far as I'm concerned, I have no time for trying to fix this right now, unfortunately, so I'll stick to Juno)
Comment #17
Posted on Nov 2, 2014 by Quick ElephantPDT Extension Group provides now its own SmartyPDT compilation, see http://p2-dev.pdt-extensions.org/
(thanks http://stackoverflow.com/a/25806252/2048537 for the information)
Comment #18
Posted on Nov 2, 2014 by Quick ElephantAnd it works in Eclipse Luna.
Status: New
Labels:
Type-Defect
Priority-Medium