Closed steros closed 11 years ago
you can try my solution from #2
Yes I saw that. Sorry what is the solution? You link a file in that ticket which is the version I have and the problem there seems to refer to an older version. Seems I misunderstand something.
You have to build this plugin https://github.com/PHPsrc/org.phpsrc.eclipse.pti.core with my path, for example from my fork https://github.com/zulus/org.phpsrc.eclipse.pti.core/tree/pdt-3.1.2 (branch pdt-3.1.2)
Thanks!
To complete for others:
That fix does not work for eclipse juno 64bit version.
https://github.com/PHPsrc/org.phpsrc.eclipse.pti.core/pull/1#issuecomment-15315031 This comment fixes the bug. I edited the code, may someone review this?
FYI: You have to edit the file https://github.com/PHPsrc/org.phpsrc.eclipse.pti.core/edit/master/src/org/phpsrc/eclipse/pti/core/launching/PHPToolExecutableLauncher.java with the code from the comment and export the plugin via eclipse as described above.
@steros, I'm not much of an expert on building plugins, and I cannot seem to get this plugin to compile in a way that others can install it. Following your steps above, I can install it into my local eclipse, but when I export it to an archive or a directory, other people can't 'Install New Software' and point to the resulting .jar file to install the PTI core. Do you have any way to get the update into an installable form?
I'm not an expert too. But I guess you have to bundle the parts you need with the core. I guess you can do that with a feature project as described here: http://www.vogella.com/articles/EclipseFeatureProject/article.html
fyi: we have a solid launching infrastructure over there at PEX-Core.
The above mentioned solutions seems rather tedious for most users. Maybe we can try to consolidate the launching situation?
@skiera I guess you don't have much time, maybe i can help with this issue here? What's your plans for the PHPSrc plugins?
Hi Robert,
yes, unfortunately I have not much time for PTI and I will look for some one how is interested I taking over the further development. I hope to find some time next week to fix most of the actual problems and if you like, you can help me :-) I you like, we could skype and talk about it :-)
Best regards, Sven
-----Original message----- From: Robert Gründler notifications@github.com Sent: Wednesday 15th May 2013 14:20 To: PHPsrc/PHP-Tool-Integration PHP-Tool-Integration@noreply.github.com Cc: Sven Kiera sven@kiera.de Subject: Re: [PHP-Tool-Integration] can not use PHPUnit with eclipse juno 4.2.2 and PTI 1.6.0.R20111119000000 under Ubuntu 13.04 (#3)
fyi: we have a solid launching infrastructure over there at PEX-Core.
The above mentioned solutions seems rather tedious for most users. Maybe we can try to consolidate the launching situation?
@skiera I guess you don't have much time, maybe i can help with this issue here? What's your plans for the PHPSrc plugins?
— Reply to this email directly or view it on GitHub.
When I try to create a test case from a file a popup opens where to create that test, all is filled out as expected. But when I click finish it only creates the folder ("test" in my case) and no file, also the popup does not close.
When I manually create a test file and run the test I get this error: An internal error occurred during: "PHPUnit". org.eclipse.php.internal.debug.core.launching.PHPLaunchUtilities.getCommandLine(Lorg/eclipse/debug/core/ILaunchConfiguration;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
PHPUnit is 3.7.19