You might use a virtual server.
I have a virtual ubuntu server in a vbox with bridged network.
So it has it's own network address and can be reached from the whole
network, and the source code is on a shared windows directory mounted by
smbfs. I used vboxsf for mounting the share, but had some troubles with it.
This way you can perform symfony commands both on windows and on ubuntu,
doing exactely the same thing.
And you can edit the files locally from Netbeans, and even debug the
files step by step on the server from within Netbeans.
You have to patch two symfony files for this to work, i have attached
patches. The first removes a warning by php, that it cannot chmod on
remote filesystems. The other doesn't create symlinks, but copies the
directories, which is the normal behaviour for windows. Now symfony
tasks behave the same way in windows and ubuntu environment, afaik.

Georg

Am 20.12.2009 15:57, schrieb HiDDeN:
> Hey guys. How is your development infrastructure?
> 
> I like to develop against a Linux machine. I create my symfony project
> there and then with Eclipse PDT + Remote System Explorer I edit the
> files remotely.
> 
> Now I discovered Netbeans 6.8 with PHP + Symfony support natively,
> it's smaller and faster, but it hasn't support for remote editing. The
> only thing it has is downloading everything to local.
> 
> 
> Do you have any tips you would like to share?
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
> 
> 
> 

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Index: sfConfigCache.class.php
===================================================================
--- sfConfigCache.class.php     (revision 25402)
+++ sfConfigCache.class.php     (working copy)
@@ -362,7 +362,7 @@
       }
     }
 
-    chmod($cache, 0666);
+    @chmod($cache, 0666);
     umask($current_umask);
   }
 
Index: sfFilesystem.class.php
===================================================================
--- sfFilesystem.class.php      (revision 25402)
+++ sfFilesystem.class.php      (working copy)
@@ -198,12 +198,12 @@
    */
   public function symlink($originDir, $targetDir, $copyOnWindows = false)
   {
-    if (!function_exists('symlink') && $copyOnWindows)
-    {
+//    if (!function_exists('symlink') && $copyOnWindows)
+//    {
       $finder = sfFinder::type('any');
       $this->mirror($originDir, $targetDir, $finder);
       return;
-    }
+//    }
 
     $ok = false;
     if (is_link($targetDir))

Reply via email to