From: JP M. <jpm...@gm...> - 2011-02-03 20:08:35
|
Er, I don't know. I'd be inclined to release pretty soon, as in a matter of weeks, as I believe in the "release often" mantra. But Scott probably needs some time to finish things off, and I'm sure there still some big bugs lurking that I should hammer out... On Wed, Feb 2, 2011 at 10:43 PM, Michael Diamond <di...@gm...> wrote: > Very cool guys! Is it likely this will be in the Eclipse Updates soon, or > would you suggest I build from source? > > Michael > > Michael Diamond > di...@gm... > www.DigitalGemstones.com > > > On Wed, Feb 2, 2011 at 1:26 PM, JP Moresmau <jpm...@gm...> wrote: > >> Done in github. There is now "Haskell application" launch configuration >> type for generated exe, and "Haskell interactive session" for GHCi/Hugs. >> >> JP >> >> >> On Tue, Feb 1, 2011 at 5:28 PM, JP Moresmau <jpm...@gm...> wrote: >> >>> You're right. By implementing an extended interface of the Eclipse launch >>> framework I get the right behavior: it reuses the configuration it knows >>> about when you click on Run. >>> Also, I have reinstated the run as haskell application option. If you >>> choose run as on the PROJECT, and that project has executables built, you >>> can run directly the generated executables inside Eclipse. >>> Code has been committed to Github if you're interested. >>> >>> Now another limitation is that once you have the launch configuration >>> created, the UI to edit them is the same whatever type they are (GHCi, Hugs, >>> executable) which means 1. some options are useless, like reload modules on >>> an executable, 2. you cannot tell what a configuration is going to launch >>> ... I'll address that asap. >>> >>> JP >>> >>> >>> On Tue, Feb 1, 2011 at 11:56 AM, Michael Diamond <di...@gm...>wrote: >>> >>>> I wonder if there isn't something mis-configured about the EclipseFP run >>>> configurations then? I've always had it be "Launch the selected resource or >>>> active editor" when coding in Java and only ever had to deal with that >>>> dialog box once per file. Every time after that it immediately runs the >>>> file without prompting for anything. It seems like Eclipse/EclipseFP ought >>>> to know that the active editor file already has a run configuration and >>>> doesn't need to be prompted again. >>>> >>>> Thanks for the help Scott, running "cabal update" after your response >>>> let the Scion server build successfully. Very irritating behavior on >>>> Cabal's part. >>>> >>>> Michael >>>> >>>> Michael Diamond >>>> di...@gm... >>>> www.DigitalGemstones.com >>>> >>>> >>>> On Mon, Jan 31, 2011 at 12:50 PM, JP Moresmau <jpm...@gm...>wrote: >>>> >>>>> I have actually managed to reproduce. If, in your Eclipse preferences, >>>>> under Run/Debug -> Launching, you select as Launch Operation "Launch the >>>>> selected resource or active editor", you will be presented with the dialog >>>>> that asks you to choose between GHCi and Hugs when you hit the run button >>>>> and a haskell file is selected. In fact it is an Eclipse dialog. So the >>>>> quick workaround is to choose "Always launch the previously launched >>>>> application". >>>>> I will see what can be done to check when Hugs is not properly >>>>> configured and hide the option in that case so it's not available. >>>>> >>>>> Also, I have followed some other code that would seem to launch a >>>>> Haskell executable, which seem to be what you refer to. It used to be that >>>>> you could define executables on the Haskell project, regardless what the >>>>> Cabal file said. We could envision a similar functionality based on Cabal >>>>> support (choose which executable defined in the Cabal file to run) but I'll >>>>> need to change dependencies around (the check is done in the core plugin >>>>> that doesn't know about the ui plugin which is the one that knows about the >>>>> scion instances running). >>>>> >>>>> JP >>>>> >>>>> >>>>> On Mon, Jan 31, 2011 at 12:16 PM, JP Moresmau <jpm...@gm...>wrote: >>>>> >>>>>> Is there any other launch files in the same folder that could apply to >>>>>> the same file? >>>>>> >>>>>> >>>>>> On Mon, Jan 31, 2011 at 1:21 AM, Michael Diamond <di...@gm...>wrote: >>>>>> >>>>>>> Trying again, clicking Rebuild does work without restarting, though >>>>>>> it doesn't respond to the button press at all, and only prompts once the >>>>>>> preferences are closed. When I did it the first time, however, I am fairly >>>>>>> certain it didn't seem to do anything until I quit Eclipse. >>>>>>> >>>>>>> I don't know anything about Eclipse plugins, and presently I don't >>>>>>> have the time, but I have a project which would include an Eclipse plugin if >>>>>>> it's ahead of schedule, so if I get there, I'd be happy to help out a bit. >>>>>>> I'll let you know. >>>>>>> >>>>>>> Attached is a .launch file for a Haskell launch. There doesn't seem >>>>>>> to be any reference to hugs in here. I should clarify, since I see now this >>>>>>> is relevant, that clicking the "Run As..." button (green circle white >>>>>>> triangle) brings up the popup, but explicitly selecting the run >>>>>>> configuration does not. The behavior I expected would be like when running >>>>>>> a Java file it defaults to the most recent run configuration for that file. >>>>>>> >>>>>>> Michael >>>>>>> >>>>>>> Michael Diamond >>>>>>> di...@gm... >>>>>>> www.DigitalGemstones.com >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sun, Jan 30, 2011 at 11:14 AM, JP Moresmau <jpm...@gm...>wrote: >>>>>>> >>>>>>>> Michael, I'll retract what I said: the dialog box giving you the >>>>>>>> choice between GHCi and Hugs is ours. It opens when there are several run >>>>>>>> configurations for a given file. So look into the >>>>>>>> .metadata/.plugins/org.eclipse.debug.core/.launches folder in your >>>>>>>> workspace, and check if for the file you were trying to launch, you do have >>>>>>>> two configurations (.launch files). You can send me the XML for these if you >>>>>>>> want, along with the times, to see if they were created at the same time... >>>>>>>> Maybe there is some old file that is a remnant of some previous operations? >>>>>>>> >>>>>>>> JP >>>>>>>> >>>>>>>> On Sun, Jan 30, 2011 at 8:10 PM, <sco...@gm...> wrote: >>>>>>>> >>>>>>>>> You shouldn't have had to restart Eclipse, but no harm in that. You >>>>>>>>> should have gotten a dialog box telling you that the internal scion-serever >>>>>>>>> was being built. But good to hear that things are working for you. >>>>>>>>> >>>>>>>>> Docs are a bit outdated, no doubt. >>>>>>>>> >>>>>>>>> If you have some spare cycles, we could use the help with improving >>>>>>>>> the run menu's functionality. I'm working on completion support at the >>>>>>>>> moment, and JP is looking into a few stability issues. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -scooter >>>>>>>>> Sent from my Verizon Wireless BlackBerry >>>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: Michael Diamond <di...@gm...> >>>>>>>>> Date: Sun, 30 Jan 2011 02:36:20 >>>>>>>>> To: Development discussion<ecl...@li... >>>>>>>>> > >>>>>>>>> Reply-To: Development discussion < >>>>>>>>> ecl...@li...> >>>>>>>>> Subject: Re: [eclipsefp-develop] Installing and Configuring >>>>>>>>> EclipseFP on >>>>>>>>> Eclipse Helios >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD >>>>>>>>> value)! >>>>>>>>> Finally, a world-class log management solution at an even better >>>>>>>>> price-free! >>>>>>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>>>>>>>> February 28th, so secure your free ArcSight Logger TODAY! >>>>>>>>> http://p.sf.net/sfu/arcsight-sfd2d >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD >>>>>>>>> value)! >>>>>>>>> Finally, a world-class log management solution at an even better >>>>>>>>> price-free! >>>>>>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>>>>>>>> February 28th, so secure your free ArcSight Logger TODAY! >>>>>>>>> http://p.sf.net/sfu/arcsight-sfd2d >>>>>>>>> _______________________________________________ >>>>>>>>> eclipsefp-develop mailing list >>>>>>>>> >>>>>>>>> ecl...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> JP Moresmau >>>>>>>> http://jpmoresmau.blogspot.com/ >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>>>>>>> Finally, a world-class log management solution at an even better >>>>>>>> price-free! >>>>>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>>>>>>> February 28th, so secure your free ArcSight Logger TODAY! >>>>>>>> http://p.sf.net/sfu/arcsight-sfd2d >>>>>>>> _______________________________________________ >>>>>>>> eclipsefp-develop mailing list >>>>>>>> ecl...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>>>>>> Finally, a world-class log management solution at an even better >>>>>>> price-free! >>>>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>>>>>> February 28th, so secure your free ArcSight Logger TODAY! >>>>>>> http://p.sf.net/sfu/arcsight-sfd2d >>>>>>> _______________________________________________ >>>>>>> eclipsefp-develop mailing list >>>>>>> ecl...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> JP Moresmau >>>>>> http://jpmoresmau.blogspot.com/ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> JP Moresmau >>>>> http://jpmoresmau.blogspot.com/ >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>>>> Finally, a world-class log management solution at an even better >>>>> price-free! >>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>>>> February 28th, so secure your free ArcSight Logger TODAY! >>>>> http://p.sf.net/sfu/arcsight-sfd2d >>>>> _______________________________________________ >>>>> eclipsefp-develop mailing list >>>>> ecl...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >>>>> >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>>> Finally, a world-class log management solution at an even better >>>> price-free! >>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>>> February 28th, so secure your free ArcSight Logger TODAY! >>>> http://p.sf.net/sfu/arcsight-sfd2d >>>> _______________________________________________ >>>> eclipsefp-develop mailing list >>>> ecl...@li... >>>> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >>>> >>>> >>> >>> >>> -- >>> JP Moresmau >>> http://jpmoresmau.blogspot.com/ >>> >> >> >> >> -- >> JP Moresmau >> http://jpmoresmau.blogspot.com/ >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> eclipsefp-develop mailing list >> ecl...@li... >> https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop >> >> > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > > -- JP Moresmau http://jpmoresmau.blogspot.com/ |