All prefs for xampp administrated in external tools plugin.
authoraxelcl <axelcl>
Sat, 11 Jun 2005 17:24:07 +0000 (17:24 +0000)
committeraxelcl <axelcl>
Sat, 11 Jun 2005 17:24:07 +0000 (17:24 +0000)
net.sourceforge.phpeclipse.externaltools/plugin.properties
net.sourceforge.phpeclipse.externaltools/plugin.xml
net.sourceforge.phpeclipse.externaltools/prefs/default_linux.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.externaltools/prefs/default_macosx.properties [new file with mode: 0644]
net.sourceforge.phpeclipse.externaltools/prefs/default_win32.properties [new file with mode: 0644]

index 1acd37f..8a927ca 100644 (file)
@@ -29,4 +29,4 @@ PreferencePage.externalToolsPreferences = PHP Launchers
 PreferencePage.antConsolePreferences = Console
 PreferencePage.antRuntimePreferences = Runtime
 
-Program.externalTools = PHP Program
\ No newline at end of file
+Program.externalTools= PHP Program
\ No newline at end of file
index b570732..dc0f107 100644 (file)
 
    <requires>
       <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.ui.console"/>
       <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.ui.editors"/>
       <import plugin="org.eclipse.core.resources"/>
       <import plugin="org.eclipse.core.runtime"/>
       <import plugin="org.eclipse.debug.core"/>
       <import plugin="org.eclipse.debug.ui"/>
       <import plugin="org.eclipse.ui.externaltools"/>
-      <import plugin="net.sourceforge.phpeclipse"/>
       <import plugin="net.sourceforge.phpeclipse.ui"/>
    </requires>
 
                        expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
                </variable>
        </extension>
-       
+       <extension
+         point="org.eclipse.ui.preferencePages">
+      <page
+            name="PHP External Tools"
+            category="net.sourceforge.phpeclipse.ui.preferencePage"
+            class="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage"
+            id="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage">
+      </page>
+    </extension>
+    
+    <extension
+         point="org.eclipse.ui.perspectiveExtensions">
+      <perspectiveExtension
+            targetID="net.sourceforge.phpeclipse.PHPPerspective">
+         <actionSet id="net.sourceforge.phpeclipse.PHPActionSet"/>
+      </perspectiveExtension>
+         <perspectiveExtension
+           targetID="net.sourceforge.phpeclipse.PHPPerspective">
+                 <actionSet id="net.sf.eclipsetidy.ActionSet"/>
+         </perspectiveExtension> 
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.actionSets">
+      <actionSet
+            label="PHP/Apache"
+            visible="false"
+            id="net.sourceforge.phpeclipse.PHPActionSet">
+         <menu
+               label="PHP/Apache"
+               id="net.sourceforge.phpeclipse.PHPMenu">
+            <separator
+                  name="phpeclipse">
+            </separator>
+         </menu>
+         <action
+               label="Restart Apache"
+               icon="icons/obj16/apache_restart.gif"
+               tooltip="Restart Apache"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
+         </action>
+         <action
+               label="Stop Apache"
+               icon="icons/obj16/apache_stop.gif"
+               tooltip="Stop Apache"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
+         </action>
+         <action
+               label="Start Apache"
+               icon="icons/obj16/apache.gif"
+               tooltip="Start Apache"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
+         </action>
+         <action
+               label="Start MySQL"
+               icon="icons/obj16/sql.gif"
+               tooltip="Start MySQL"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
+         </action>
+         <action
+               label="Stop XAMPP"
+               icon="icons/obj16/xampp_stop.gif"
+               tooltip="Stop XAMPP"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
+         </action>
+         <action
+               label="Start XAMPP"
+               icon="icons/obj16/xampp_start.gif"
+               tooltip="Start XAMPP"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
+         </action>
+      </actionSet>  
+    </extension>
+    
+    <extension
+         point="org.eclipse.ui.popupMenus">
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php3"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php4"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php5"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.module"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.inc"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+    </extension>
 </plugin>
diff --git a/net.sourceforge.phpeclipse.externaltools/prefs/default_linux.properties b/net.sourceforge.phpeclipse.externaltools/prefs/default_linux.properties
new file mode 100644 (file)
index 0000000..47e56e1
--- /dev/null
@@ -0,0 +1,14 @@
+_php_run_pref=/opt/lamp/php/php
+_external_parser=/opt/lamp/php/php -l -f {0}
+_mysql_run_pref=/opt/lampp/lampp startmysql
+_apache_run_pref=/opt/lampp/lampp
+_xampp_start_pref=/opt/lampp/lampp start
+_xampp_stop_pref=/opt/lampp/lampp stop
+__mysql_start=startmysql
+__apache_start=startapache -c \"DocumentRoot \"{0}\"\"
+__apache_stop=stop
+__apache_restart=restart
+_mysql_start_background=true
+_apache_start_background=true
+_apache_stop_background=true
+_apache_restart_background=true
\ No newline at end of file
diff --git a/net.sourceforge.phpeclipse.externaltools/prefs/default_macosx.properties b/net.sourceforge.phpeclipse.externaltools/prefs/default_macosx.properties
new file mode 100644 (file)
index 0000000..47e56e1
--- /dev/null
@@ -0,0 +1,14 @@
+_php_run_pref=/opt/lamp/php/php
+_external_parser=/opt/lamp/php/php -l -f {0}
+_mysql_run_pref=/opt/lampp/lampp startmysql
+_apache_run_pref=/opt/lampp/lampp
+_xampp_start_pref=/opt/lampp/lampp start
+_xampp_stop_pref=/opt/lampp/lampp stop
+__mysql_start=startmysql
+__apache_start=startapache -c \"DocumentRoot \"{0}\"\"
+__apache_stop=stop
+__apache_restart=restart
+_mysql_start_background=true
+_apache_start_background=true
+_apache_stop_background=true
+_apache_restart_background=true
\ No newline at end of file
diff --git a/net.sourceforge.phpeclipse.externaltools/prefs/default_win32.properties b/net.sourceforge.phpeclipse.externaltools/prefs/default_win32.properties
new file mode 100644 (file)
index 0000000..251b611
--- /dev/null
@@ -0,0 +1,14 @@
+_php_run_pref=c:\\xampp\\php\\php.exe
+_external_parser=c:\\xampp\\php\\php.exe -l -f {0}
+_mysql_run_pref=c:\\xampp\\mysql\\bin\\mysqld-nt.exe
+_apache_run_pref=c:\\xampp\\apache\\bin\\apache.exe
+_xampp_start_pref=c:\\xampp\\xampp_start.exe
+_xampp_stop_pref=c:\\xampp\\xampp_stop.exe
+__mysql_start=--standalone 
+__apache_start=-c \"DocumentRoot \"{0}\"\"
+__apache_stop=-k shutdown
+__apache_restart=-k restart
+_mysql_start_background=true
+_apache_start_background=true
+_apache_stop_background=true
+_apache_restart_background=true
\ No newline at end of file