ismywb / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

Error while installing in Eclipse Platform 4.3 #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by leggiero...@gmail.com on 9 Jul 2013 at 6:43

GoogleCodeExporter commented 9 years ago
I 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?

Original comment by beneschj...@gmail.com on 23 Jul 2013 at 9:43

GoogleCodeExporter commented 9 years ago
Since 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.

Original comment by stanisla...@gmail.com on 5 Aug 2013 at 10:54

GoogleCodeExporter commented 9 years ago
Exactly 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.

Original comment by maxw...@teradox.net on 5 Aug 2013 at 12:06

GoogleCodeExporter commented 9 years ago
smartypdt-0_9_1.zip/content.jar/content.xml, lines 36 and 134
Install modified plugin with Help -> Install new software... -> Add... -> 
Archive

Original comment by stanisla...@gmail.com on 5 Aug 2013 at 1:49

GoogleCodeExporter commented 9 years ago
Thanks 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 

1. *.tpl to file association and the content type
2. Configured PHP executables to point to locally installed PHP and its php.ini
2. 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

Original comment by maxw...@teradox.net on 5 Aug 2013 at 4:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hmmm... 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.

Original comment by stanisla...@gmail.com on 5 Aug 2013 at 8:22

GoogleCodeExporter commented 9 years ago
update it to pdt 3.2 asap please

Original comment by avatarzh...@gmail.com on 7 Aug 2013 at 11:57

GoogleCodeExporter commented 9 years ago
please fix 

Original comment by ilta...@gmail.com on 21 Aug 2013 at 8:08

GoogleCodeExporter commented 9 years ago
I need it too, please fix it. 

Original comment by Marco.Be...@gmail.com on 26 Aug 2013 at 7:03

GoogleCodeExporter commented 9 years ago
Not fixed still :"( 

Original comment by shvl...@gmail.com on 17 Sep 2013 at 2:40

GoogleCodeExporter commented 9 years ago
If you guys aren't going to fix this could you at least port the code over to 
github so that someone else can?

Original comment by eamonn.k...@so-4pt.net on 30 Oct 2013 at 2:28

GoogleCodeExporter commented 9 years ago
bump

Original comment by baphomet...@gmail.com on 17 Nov 2013 at 12:09

GoogleCodeExporter commented 9 years ago
bump

Original comment by d.ventu...@squadrainformatica.net on 18 Nov 2013 at 1:44

GoogleCodeExporter commented 9 years ago
bump

Original comment by guen...@weheartwebsites.de on 11 Feb 2014 at 9:57

GoogleCodeExporter commented 9 years ago
Re: #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)

Original comment by renault....@gmail.com on 15 Feb 2014 at 2:37

GoogleCodeExporter commented 9 years ago
PDT 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)

Original comment by renault....@gmail.com on 2 Nov 2014 at 5:04

GoogleCodeExporter commented 9 years ago
And it works in Eclipse Luna.

Original comment by renault....@gmail.com on 2 Nov 2014 at 5:05