From: Hauschild, K. (EXT) <kla...@si...> - 2011-03-03 09:13:29
|
Hi, I think there is a problem at the automatic installation of the built-in scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the proxy server configured but the cabal commands failed with timeouts. After exporting the environment variable "HTTP_PROXY" and restarting eclipse und force rebuild of the scion-server the cabal commands will succeed. Is it possible to pass the eclipse configured proxy to cabal? Klaus |
From: Hauschild, K. (EXT) <kla...@si...> - 2011-03-07 10:07:15
|
Hi, I think it would be a nice feature if EclipseFP automatically installs a missing package on adding it to a project. Klaus |
From: JP M. <jpm...@gm...> - 2011-03-03 09:41:00
|
It would probably be possible, but you need to have Cabal configured with your proxy outside of EclipseFP, don't you? For example, we don't run "cabal update" for you, we just recommend to do it before installing scion. If your cabal is configured to use your proxy, will the scion install work properly? JP On Thu, Mar 3, 2011 at 10:13 AM, Hauschild, Klaus (EXT) <kla...@si...> wrote: > Hi, > > I think there is a problem at the automatic installation of the built-in > scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the > proxy server configured but the cabal commands failed with timeouts. > After exporting the environment variable "HTTP_PROXY" and restarting eclipse > und force rebuild of the scion-server the cabal commands will succeed. > > Is it possible to pass the eclipse configured proxy to cabal? > > Klaus > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > > -- JP Moresmau http://jpmoresmau.blogspot.com/ |
From: Scott M. <sco...@gm...> - 2011-03-06 01:14:28
|
Sorry for the late reply into this discussion. It's an impedance mismatch between a Unix and Win32 environment, I'm guessing. KDE and Gnome handle setting the environment for you (mostly), whereas the Win32 API deals with proxies differently and you really need to use the API. That doesn't help for a Unix-based program like cabal-install. I'm sure that JP just hacked in support for HTTP_PROXY, although http_proxy seems to be more common. Might want to beg the Cabal maintainers to consider supporting the Win32 API to avoid these issues in the future. Sent from my iPad On Mar 3, 2011, at 1:40 AM, JP Moresmau <jpm...@gm...> wrote: > It would probably be possible, but you need to have Cabal configured > with your proxy outside of EclipseFP, don't you? For example, we don't > run "cabal update" for you, we just recommend to do it before > installing scion. If your cabal is configured to use your proxy, will > the scion install work properly? > > JP > > On Thu, Mar 3, 2011 at 10:13 AM, Hauschild, Klaus (EXT) > <kla...@si...> wrote: >> Hi, >> >> I think there is a problem at the automatic installation of the built-in >> scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the >> proxy server configured but the cabal commands failed with timeouts. >> After exporting the environment variable "HTTP_PROXY" and restarting eclipse >> und force rebuild of the scion-server the cabal commands will succeed. >> >> Is it possible to pass the eclipse configured proxy to cabal? >> >> Klaus >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> eclipsefp-develop mailing list >> ecl...@li... >> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >> >> > > > > -- > JP Moresmau > http://jpmoresmau.blogspot.com/ > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop |
From: JP M. <jpm...@gm...> - 2011-03-06 17:58:12
|
Huh? Cabal-install deals fine with proxies defined in Windows. I have a machine that uses a proxy and don't have any issue. Klaus' issue is that if you have NOT defined your proxy at your OS level, but at the Eclipse level, we ignore it. Hence, the changes I made reads the Eclipse information and if it is set passes it to Cabal using the documented Cabal parameters. JP On Sun, Mar 6, 2011 at 2:14 AM, Scott Michel <sco...@gm...> wrote: > Sorry for the late reply into this discussion. It's an impedance mismatch between a Unix and Win32 environment, I'm guessing. KDE and Gnome handle setting the environment for you (mostly), whereas the Win32 API deals with proxies differently and you really need to use the API. That doesn't help for a Unix-based program like cabal-install. > > I'm sure that JP just hacked in support for HTTP_PROXY, although http_proxy seems to be more common. Might want to beg the Cabal maintainers to consider supporting the Win32 API to avoid these issues in the future. > > Sent from my iPad > > On Mar 3, 2011, at 1:40 AM, JP Moresmau <jpm...@gm...> wrote: > >> It would probably be possible, but you need to have Cabal configured >> with your proxy outside of EclipseFP, don't you? For example, we don't >> run "cabal update" for you, we just recommend to do it before >> installing scion. If your cabal is configured to use your proxy, will >> the scion install work properly? >> >> JP >> >> On Thu, Mar 3, 2011 at 10:13 AM, Hauschild, Klaus (EXT) >> <kla...@si...> wrote: >>> Hi, >>> >>> I think there is a problem at the automatic installation of the built-in >>> scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the >>> proxy server configured but the cabal commands failed with timeouts. >>> After exporting the environment variable "HTTP_PROXY" and restarting eclipse >>> und force rebuild of the scion-server the cabal commands will succeed. >>> >>> Is it possible to pass the eclipse configured proxy to cabal? >>> >>> Klaus >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Software Download: Index, Search & Analyze Logs and other IT data in >>> Real-Time with Splunk. Collect, index and harness all the fast moving IT >>> data >>> generated by your applications, servers and devices whether physical, >>> virtual >>> or in the cloud. Deliver compliance at lower cost and gain new business >>> insights. http://p.sf.net/sfu/splunk-dev2dev >>> _______________________________________________ >>> eclipsefp-develop mailing list >>> ecl...@li... >>> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >>> >>> >> >> >> >> -- >> JP Moresmau >> http://jpmoresmau.blogspot.com/ >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> eclipsefp-develop mailing list >> ecl...@li... >> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > -- JP Moresmau http://jpmoresmau.blogspot.com/ |
From: <sco...@gm...> - 2011-03-06 18:42:44
|
Hmmm... I'm not entirely sure that I'm totally off base. I'll test on Monday when I'm behind the corporate firewall. -scooter- Sent from my Verizon Wireless BlackBerry -----Original Message----- From: JP Moresmau <jpm...@gm...> Date: Sun, 6 Mar 2011 18:58:05 To: Development discussion<ecl...@li...> Cc: Scott Michel<sco...@gm...> Subject: Re: [eclipsefp-develop] (no subject) Huh? Cabal-install deals fine with proxies defined in Windows. I have a machine that uses a proxy and don't have any issue. Klaus' issue is that if you have NOT defined your proxy at your OS level, but at the Eclipse level, we ignore it. Hence, the changes I made reads the Eclipse information and if it is set passes it to Cabal using the documented Cabal parameters. JP On Sun, Mar 6, 2011 at 2:14 AM, Scott Michel <sco...@gm...> wrote: > Sorry for the late reply into this discussion. It's an impedance mismatch between a Unix and Win32 environment, I'm guessing. KDE and Gnome handle setting the environment for you (mostly), whereas the Win32 API deals with proxies differently and you really need to use the API. That doesn't help for a Unix-based program like cabal-install. > > I'm sure that JP just hacked in support for HTTP_PROXY, although http_proxy seems to be more common. Might want to beg the Cabal maintainers to consider supporting the Win32 API to avoid these issues in the future. > > Sent from my iPad > > On Mar 3, 2011, at 1:40 AM, JP Moresmau <jpm...@gm...> wrote: > >> It would probably be possible, but you need to have Cabal configured >> with your proxy outside of EclipseFP, don't you? For example, we don't >> run "cabal update" for you, we just recommend to do it before >> installing scion. If your cabal is configured to use your proxy, will >> the scion install work properly? >> >> JP >> >> On Thu, Mar 3, 2011 at 10:13 AM, Hauschild, Klaus (EXT) >> <kla...@si...> wrote: >>> Hi, >>> >>> I think there is a problem at the automatic installation of the built-in >>> scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the >>> proxy server configured but the cabal commands failed with timeouts. >>> After exporting the environment variable "HTTP_PROXY" and restarting eclipse >>> und force rebuild of the scion-server the cabal commands will succeed. >>> >>> Is it possible to pass the eclipse configured proxy to cabal? >>> >>> Klaus >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Software Download: Index, Search & Analyze Logs and other IT data in >>> Real-Time with Splunk. Collect, index and harness all the fast moving IT >>> data >>> generated by your applications, servers and devices whether physical, >>> virtual >>> or in the cloud. Deliver compliance at lower cost and gain new business >>> insights. http://p.sf.net/sfu/splunk-dev2dev >>>_______________________________________________ >>> eclipsefp-develop mailing list >>> ecl...@li... >>> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >>> >>> >> >> >> >> -- >> JP Moresmau >> http://jpmoresmau.blogspot.com/ >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >>_______________________________________________ >> eclipsefp-develop mailing list >> ecl...@li... >> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d >_______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > -- JP Moresmau http://jpmoresmau.blogspot.com/ |
From: Hauschild, K. (EXT) <kla...@si...> - 2011-03-03 09:50:33
|
Hi JP, Sorry for the missing subject ;-) this was my solution: configure the proxy for cabal outside of eclipse. And it works now. I think this feature makes eclipse-fp wokring for more people out-of-the-box, especially for haskell beginners like me. Thanks -----Ursprüngliche Nachricht----- Von: JP Moresmau [mailto:jpm...@gm...] Gesendet: Donnerstag, 3. März 2011 10:41 An: Development discussion Cc: Hauschild, Klaus (EXT) Betreff: Re: [eclipsefp-develop] (no subject) It would probably be possible, but you need to have Cabal configured with your proxy outside of EclipseFP, don't you? For example, we don't run "cabal update" for you, we just recommend to do it before installing scion. If your cabal is configured to use your proxy, will the scion install work properly? JP On Thu, Mar 3, 2011 at 10:13 AM, Hauschild, Klaus (EXT) <kla...@si...> wrote: > Hi, > > I think there is a problem at the automatic installation of the built-in > scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the > proxy server configured but the cabal commands failed with timeouts. > After exporting the environment variable "HTTP_PROXY" and restarting eclipse > und force rebuild of the scion-server the cabal commands will succeed. > > Is it possible to pass the eclipse configured proxy to cabal? > > Klaus > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > > -- JP Moresmau http://jpmoresmau.blogspot.com/ |
From: JP M. <jpm...@gm...> - 2011-03-04 12:56:12
|
Ok, done. It will appear in 2.0.3. If you have a proxy defined in Eclipse that would be used by Eclipse to access http://hackage.haskell.org, then cabal install scion will use it, through the HTTP_PROXY environment variable. JP On Thu, Mar 3, 2011 at 10:50 AM, Hauschild, Klaus (EXT) <kla...@si...> wrote: > Hi JP, > > Sorry for the missing subject ;-) > > this was my solution: configure the proxy for cabal outside of eclipse. And it works now. > I think this feature makes eclipse-fp wokring for more people out-of-the-box, especially for haskell beginners like me. > > Thanks > > > -----Ursprüngliche Nachricht----- > Von: JP Moresmau [mailto:jpm...@gm...] > Gesendet: Donnerstag, 3. März 2011 10:41 > An: Development discussion > Cc: Hauschild, Klaus (EXT) > Betreff: Re: [eclipsefp-develop] (no subject) > > It would probably be possible, but you need to have Cabal configured > with your proxy outside of EclipseFP, don't you? For example, we don't > run "cabal update" for you, we just recommend to do it before > installing scion. If your cabal is configured to use your proxy, will > the scion install work properly? > > JP > > On Thu, Mar 3, 2011 at 10:13 AM, Hauschild, Klaus (EXT) > <kla...@si...> wrote: >> Hi, >> >> I think there is a problem at the automatic installation of the built-in >> scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the >> proxy server configured but the cabal commands failed with timeouts. >> After exporting the environment variable "HTTP_PROXY" and restarting eclipse >> und force rebuild of the scion-server the cabal commands will succeed. >> >> Is it possible to pass the eclipse configured proxy to cabal? >> >> Klaus >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> eclipsefp-develop mailing list >> ecl...@li... >> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >> >> > > > > -- > JP Moresmau > http://jpmoresmau.blogspot.com/ > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > -- JP Moresmau http://jpmoresmau.blogspot.com/ |
From: Scott M. <sco...@gm...> - 2011-03-06 01:17:40
|
Bug/misfeature I can think of and need to test: Win32 eclipse doesn't store or prompt for pass if needed. Might cause interesting bug reports for people behind authenticating proxies, where the proxy password changes daily (hint: this confirms that there's a real user at the keyboard.) BTW it's a misfeature of Java, not windows. Sent from my iPad On Mar 3, 2011, at 1:13 AM, "Hauschild, Klaus (EXT)" <kla...@si...> wrote: > Hi, > > I think there is a problem at the automatic installation of the built-in scion-server in eclipse-fp behind a proxy. In my eclipse preferences was the proxy server configured but the cabal commands failed with timeouts. > After exporting the environment variable "HTTP_PROXY" and restarting eclipse und force rebuild of the scion-server the cabal commands will succeed. > > Is it possible to pass the eclipse configured proxy to cabal? > > Klaus > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop |