|
[ phpeclipse-Bugs-1064172 ] Document Root and Local Host preferences not w: msg#00069ide.eclipse.phpeclipse.devel
Bugs item #1064172, was opened at 2004-11-10 22:17 Message generated for change (Comment added) made by hopbot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1064172&group_id=57621 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Preference Settings Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Document Root and Local Host preferences not working Initial Comment: After installing eclipse, phpeclipse plugin and wampp2 to Windows XP it seems that php eclipse dont see my Document Root and Local Host preferences even when they are set both for workspace and project. The problem appears when trying to start apache or php browser. eclipse versio: 3.0.1 phpeclipse installation: PHPEclipse1.1.1-2004-10-24.zip I put eclipse under C:\phpdev\eclipse .. Could this affect? I did the installation according to the following page: http://phpeclipse.de/tiki-index.php? page=PHPeclipse+installation+for+Eclipse+3.x best regards, Tommi Laukkanen tommi.laukkanen@xxxxxxxxx ---------------------------------------------------------------------- Comment By: Michelangelo Capraro (hopbot) Date: 2006-04-28 16:27 Message: Logged In: YES user_id=634483 i notice it says its fixed, but in version 1.1.8 on windows xp this still is not working. it would be great if the per-project document root worked. ---------------------------------------------------------------------- Comment By: Axel C. Kramer (axelcl) Date: 2005-10-17 21:50 Message: Logged In: YES user_id=1143825 Sorry I've only written a comment for bug #1263858 The fixes should already be available in CVS. http://cvs.sourceforge.net/viewcvs.py/phpeclipse/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/actions/PHPStartApacheAction.java?rev=1.3&view=auto I also changed the net.sourceforge.phpeclipse.externaltools\prefs\default_win32.properties file ---------------------------------------------------------------------- Comment By: Wayne Beaton (wayne_beaton) Date: 2005-10-17 21:18 Message: Logged In: YES user_id=1363589 It appears that you're keeping the preferences for both LocalHost and DocumentRoot in a different store. I modified the PHPStartApacheAction action handler's run method as follows to make it work (quick and dirty): <pre> public void run(IAction action) { final IPreferenceStore store = ExternalToolsPlugin.getDefault().getPreferenceStore(); IPreferenceStore webUiStore = WebUI.getDefault().getPreferenceStore(); String documentRoot = webUiStore.getString(WebUI.PHP_DOCUMENTROOT_PREF); // replace backslash with slash in the DocumentRoot under Windows documentRoot = documentRoot.replace('\\', '/'); String[] arguments = { documentRoot }; MessageFormat form = new MessageFormat(store.getString(ExternalToolsPlugin.APACHE_START_PREF)); execute("apache_start", store.getString(ExternalToolsPlugin.APACHE_RUN_PREF), form.format(arguments), store .getBoolean(ExternalToolsPlugin.APACHE_START_BACKGROUND)); } </pre> Note that the default value for the "Start Apache", i.e. -c "DocumentRoot "{0}"" doesn't work. You need to remove at least one set of quotes. ---------------------------------------------------------------------- Comment By: sataix (sataix) Date: 2004-11-17 22:59 Message: Logged In: YES user_id=1161239 Same Problem. The documentroot variable seems not to be passed to the startup line of apache. Additional Problems if Apache2 is not installed as a service under windows xp. Then the apache can't be stopped. If i install apache as a service, then it doesn't work (no pages of my project can be displayed). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1064172&group_id=57621 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ phpeclipse-Bugs-1478352 ] NPE during debugging with Eclipse 3.2 and DBG: 00069, SourceForge.net |
|---|---|
| Next by Date: | [ phpeclipse-Feature Requests-1479237 ] Don't show unreachable variables in Content Assist: 00069, SourceForge.net |
| Previous by Thread: | [ phpeclipse-Bugs-1478352 ] NPE during debugging with Eclipse 3.2 and DBGi: 00069, SourceForge.net |
| Next by Thread: | [ phpeclipse-Feature Requests-1479237 ] Don't show unreachable variables in Content Assist: 00069, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |