Should be possible. But not yet as I am still working on the xampp :)
Maybe you could have a look at the server in pdt-extensions.

It is made of the following components:
1) The runtime. Think of the binaries (the php.exe of the php's built in
server)
2) The modules. The elements telling wst what can be added to the server.
Typically a mapping of the php project. However the server plugin contains
ways to manipulate the htdocs folder and to declareaddtional modules. See
https://github.com/pdt-eg/Core-Plugin/tree/master/org.pdtextensions.server/src/org/pdtextensions/server/web
for
details.
3) the server implementation. This is not only for starting/stopping. But
it must also provide a way for configuration. php's built in webserver my
only be sutiable for exactly one application and on port. That makes it
very easy compared to apache httpd :)


For mac/xampp (or mamp) we need both, an installer and a server
implementation.
Do you have a mac to test with?




On Fri, Sep 28, 2012 at 7:45 PM, Jacek Pospychała <jace...@zend.com> wrote:

>  hi Martin,
> sorry for not getting back to you earlier. I'd like to try it on Mac but I
> was a bit busy lately.. I see that on Mac, MAMP is more popular than XAMPP.
> Also I wonder if it'd be to possible to also expose PHP 5.4 built-in server
> somehow... :)
>
>  Jacek
>
>  ------------------------------
> *From:* pdt-dev-boun...@eclipse.org [pdt-dev-boun...@eclipse.org] on
> behalf of Martin Eisengardt [martin.eisenga...@gmail.com]
> *Sent:* 26 September 2012 11:26
> *To:* PDT Developers
> *Subject:* Re: [pdt-dev] PD: Re: PDT + XAMPP&MAMP = love?
>
>   Hi.
>
>
> There is some help I need with upcomming xampp-support. :-)
>
> Based on deprecated wst's InstallableRuntime I created two installers (no
> full replacement yet, see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=322418), one installer is
> for windows and one for linux. Actually I have zero experience on other
> operating systems. If anyone can help with it (at least with macosx) please
> help and provide a patch.
>
> The linux and windows installer ins simple: Download and extract the xampp
> package.
> It can be found in
> https://github.com/pdt-eg/Core-Plugin/blob/master/org.pdtextensions.server/src/org/pdtextensions/server/internal/lhttpd/Win32Installable.java
>  or
>
> https://github.com/pdt-eg/Core-Plugin/blob/master/org.pdtextensions.server/src/org/pdtextensions/server/internal/lhttpd/LinuxInstallable.java
>  and
> in the base class
> https://github.com/pdt-eg/Core-Plugin/blob/master/org.pdtextensions.server/src/org/pdtextensions/server/internal/lhttpd/InstallableRuntime2.java
>  (taken
> from wst)
>
> Notice: You need the 3.1.1-rc or the current head to use the
> pdt-extensions project.
>
>
>
> Thx.
> Martin
>
>
>
> On Fri, Sep 7, 2012 at 1:43 AM, 赵忠伟 <zhaozhong...@eclipseworld.org> wrote:
>
>> Yeah,I remember Roy proposed this(similar thing) in gsoc before.
>>
>>  On Fri, Sep 7, 2012 at 12:52 AM, Martin Eisengardt <
>> martin.eisenga...@gmail.com> wrote:
>>
>>>  Hi Jacek.
>>>
>>> Please see the patch at
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=388972
>>>
>>> The facets is a basic requirement to enable the server management via
>>> "web standard tools".
>>>
>>> Greetings
>>> Martin
>>>
>>>  On Sun, Sep 2, 2012 at 2:33 PM, Martin Eisengardt <
>>> martin.eisenga...@gmail.com> wrote:
>>>
>>>> However this could be done.
>>>>
>>>> Let us say "Run as --> web project" / "Debug as --> web project" and if
>>>> there is no web server it will be automatically installed before launch :-)
>>>>
>>>>
>>>> However I played with maven-nar-plugin. The results are visible at:
>>>> http://nexus.php-maven.org/index.html#nexus-search;gav~net.php~php~~~~kw,versionexpand
>>>> In the mid future this may result in a nice integration of php and
>>>> php-extension (the native ones) in eclipse.
>>>> And it may be used in pdt as an option to download and install php.exe
>>>> locally.
>>>>
>>>> maven-nar-plugin ensures to find the right compilation for the local
>>>> os/arch.
>>>>
>>>>
>>>> The second way should be to download from web. (apache.org, php.org or
>>>> xampp).
>>>>
>>>>
>>>>
>>>> On Sun, Sep 2, 2012 at 2:15 PM, jacek.pospych...@gmail.com <
>>>> jacek.pospych...@gmail.com> wrote:
>>>>
>>>>>
>>>>> Hi
>>>>> thank you guys for sharing ideas and links. Ive been thinking awile
>>>>> about wst view idea. I like it although it doesnt solve the issue that i
>>>>> was most curious about: pdt's automatic awareness of standard apache
>>>>> installs...
>>>>>
>>>>> Im on vacation now but when back will have to look at your links.
>>>>> Thanks
>>>>>
>>>>> -----Wiadomość oryg.-----
>>>>> Od: Robert Gründler
>>>>> Wysłan.:  02-09-2012, 08:50
>>>>> Do: pdt-extensions-platf...@googlegroups.com
>>>>> Temat: Re: PDT + XAMPP&MAMP = love?
>>>>>
>>>>>
>>>>> Sorry for my late reply, have been quite busy these days.
>>>>>
>>>>> I like the idea of deeper apache integration, although i think it
>>>>> might be
>>>>> tricky to get this properly working on multiple platforms.
>>>>>
>>>>> Martin seems to have some background on how this could be implemented
>>>>> using
>>>>> WST, that sound like a good approach.
>>>>>
>>>>> A quick search brought up this plugin - (last commit from 2010 it
>>>>> seems):
>>>>> http://code.google.com/a/eclipselabs.org/p/eclipse-plugin-apache
>>>>>
>>>>> As for the realtime log viewer: I've thought about this for the Symfony
>>>>> plugin as well and created a patch for the LogViewer plugin, which
>>>>> allows extenders to alter loglines, so one could link to source files
>>>>> directly from log files from inside eclipse (stacktraces etc):
>>>>>
>>>>>
>>>>> http://code.google.com/a/eclipselabs.org/p/logviewer/issues/detail?id=63
>>>>>
>>>>> Unfortunately the author seems to be busy, as there has been no
>>>>> activity
>>>>> for some time.
>>>>>
>>>>>
>>>>> regards
>>>>>
>>>>> -robert
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "PDT Extensions Platform" group.
>>>>> To post to this group, send email to
>>>>> pdt-extensions-platf...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> pdt-extensions-platform+unsubscr...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msg/pdt-extensions-platform/-/4F2RyuQBWQcJ
>>>>> .
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "PDT Extensions Platform" group.
>>>>> To post to this group, send email to
>>>>> pdt-extensions-platf...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> pdt-extensions-platform+unsubscr...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>  _______________________________________________
>>> pdt-dev mailing list
>>> pdt-dev@eclipse.org
>>> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>>>
>>>
>>
>>
>>  --
>>
>> Thanks!
>>
>> Best Regards!
>>
>> Zhao
>>
>> _______________________________________________
>> pdt-dev mailing list
>> pdt-dev@eclipse.org
>> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>>
>>
>
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>
>
_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to