From: Bayley, A. <Ali...@ld...> - 2004-12-14 08:58:19
|
> From: jason bailey [mailto:jb...@ao...] > > 2) I created a multiple level file structure under teh default src > folder so that I could create a hierarchal structure, I right > clicked on > the last folder and selected new -> Haskell Module. It bought up the > "New Haskell Module" dialog. It had the source folder filled out > correctly but the folder field was filled out incorrectly (and > automatically) with a localized directory separator rather then a '.' > changed everything to periods and then it told me I had an "invalid > qualifier" no matter what I did. I also have this problem (Hmmm... just installed 0.6.0, seems to be happy now). What's your platform? I'm using WinXP. I usually work around this by adding a new file instead of a new module. I also have a problem with the installation. I followed the instructions at: http://eclipsefp.sourceforge.net/downloads.html I add a "New Remote Site..." but when I check the box it waits for a long time "Connecting to http://eclipsefp.sf.net/updates ...", and then fails with this error message: Unable to access "http://eclipsefp.sf.net/updates". Unable to access site: "http://eclipsefp.sf.net/updates" [Connection timed out: connect] Unable to access site: "http://eclipsefp.sf.net/updates/site.xml" [Connection timed out: connect] Maybe there's some issue with my company firewall? Anyway, the workaround is to the download the .zip and use the "New Archived Site..." option instead. Alistair. ----------------------------------------- ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ***************************************************************** |
From: Bayley, A. <Ali...@ld...> - 2004-12-14 10:10:18
|
> From: Leif Frenzel [mailto:lfr...@in...] > > Alistair, > > Yes, that could well be the firewall or a proxy (you can set > a proxy server > in the preferences, which might help: Window > Preferences > Install / > Update). Ahh, that's what it is. I must copy my proxy information over from my Internet settings. Perhaps you'd like to add this to the installation instructions. I know it's a problem with installing eclipse, not specific to the eclipsefp project, but it would have helped me: "Note: if you access the internet though a proxy server (this is the case in many organisations) then you must tell Eclipse about the proxy: Window > Preferences > Install/Update." Another problem I have: in Eclipse you can add a new Folder which is a "link to folder in the file system" i.e. one that's not in your workspace. However, the plug-in can't compile files under a linked folder; perhaps it's not resolving the path properly? The error: Chasing modules from: h-src/Main.hs ghc.exe: can't find file `h-src/Main.hs' Of course, I should really have a look at the source and see if I can't fix it myself. That's the beauty of open source, isn't it? Thanks, Alistair. ----------------------------------------- ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ***************************************************************** |
From: Leif F. <lfr...@in...> - 2004-12-14 10:54:06
|
> Ahh, that's what it is. I must copy my proxy information over from my > Internet settings. Perhaps you'd like to add this to the installation > instructions. I know it's a problem with installing eclipse, not specific to > the eclipsefp project, but it would have helped me: > > "Note: if you access the internet though a proxy server (this is the case in > many organisations) then you must tell Eclipse about the proxy: Window > > Preferences > Install/Update." Yupp, did it. Thanks :-) Ciao, Leif |
From: Leif F. <lfr...@in...> - 2004-12-15 15:17:06
|
... sorry, overlooked that part when reading. > Another problem I have: in Eclipse you can add a new Folder which is a "link > to folder in the file system" i.e. one that's not in your workspace. > However, the plug-in can't compile files under a linked folder; perhaps it's > not resolving the path properly? The error: > Chasing modules from: h-src/Main.hs > ghc.exe: can't find file `h-src/Main.hs' So far, I have not considered linked resources at all. It may be a problem to include an entire folder, because it would have to be the source folder of the project. (Afaik, you cannot have linked folders in the project dir structure deeper inside; you have to have them in the project root.) Another topic would be what happens with single linked source files somewhere in the source folder. If you only need them for inclusion, you could of course add them to the include dirs (select project > Properties > Import libraries). > Of course, I should really have a look at the source and see if I can't fix > it myself. That's the beauty of open source, isn't it? Jupp :-) You are of course very welcome to do that. I don't know what is involved with linked resources, maybe it's just a minor fix, maybe it's complicated to treat them as if they were physically in the workspace. Anything you find out, please let us know. Thanks && ciao, Leif > > > Thanks, > Alistair. |
From: Bayley, A. <Ali...@ld...> - 2004-12-14 10:22:48
|
> From: Leif Frenzel [mailto:hi...@le...] > > The sources for the Haskell plugins are included in the > software only. They > are contained in the *.source plugins, if you want to browse > them directly. > You can import plugins into your workspace as source projects > (Import > > External projects). That way, you can work with them like > with other Eclipse > projects. I've imported them, but the sources are still zipped. Is there some trick to get Eclipse to unzip them? I used Import > External plug-in and fragments. Alistair. ----------------------------------------- ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ***************************************************************** |
From: Leif F. <lfr...@in...> - 2004-12-14 10:46:03
|
> I've imported them, but the sources are still zipped. Is there some trick to > get Eclipse to unzip them? I used Import > External plug-in and fragments. On the first page of the wizard there is in the lower part a group for importing as 'binary' or 'source' projects. If you choose 'binary', the sources are not extracted, but they are mapped to the classes, so that you can browse the .jar and get the sources displayed when you open the class files in them. If you choose 'Projects with source folders', the sources will be extracted into .java files. There should be a regualr source folder then. Ciao, Leif > > Alistair. |
From: Bayley, A. <Ali...@ld...> - 2004-12-14 11:08:30
|
> From: Leif Frenzel [mailto:lfr...@in...] > > On the first page of the wizard there is in the lower part a group for > importing as 'binary' or 'source' projects. If you choose > 'binary', the > sources are not extracted, but they are mapped to the > classes, so that you > can browse the .jar and get the sources displayed when you > open the class > files in them. > > If you choose 'Projects with source folders', the sources > will be extracted > into .java files. There should be a regualr source folder then. OK, I already did this. The "Import As" option has three choices: o Binary projects o Binary projects with linked content x Projects with source folders I chose the last, and selected plug-in de.leiffrenzel.fp.haskell.source(0.6.0). It imports, and there's a src folder (and META-INF, and plugin.xml, etc). If I look in src/de.leiffrenzel.fp.haskell.ghccompiler_0.6.0 there is just ghccompiler.zip, and the other src folders similarly contain just .zips. Should I rename this to ghccompiler.jar? (Sorry, I'm a bit of an Eclipse noob. I'm using Version: 3.0.0, Build id: 200406251208) Alistair. ----------------------------------------- ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ***************************************************************** |
From: Leif F. <hi...@le...> - 2004-12-14 11:42:37
|
> OK, I already did this. The "Import As" option has three choices: > o Binary projects > o Binary projects with linked content > x Projects with source folders > > I chose the last, and selected plug-in > de.leiffrenzel.fp.haskell.source(0.6.0). It imports, and there's a src > folder (and META-INF, and plugin.xml, etc). If I look in > src/de.leiffrenzel.fp.haskell.ghccompiler_0.6.0 there is just > ghccompiler.zip, and the other src folders similarly contain just .zips. > Should I rename this to ghccompiler.jar? Oh, I see. You need not import the source plugin (it holds only the sources), but you will need the other plugins, they contain the functionality. By convention, everything that is named *.core is what references no UI classes, and the .ui plugins hold the views, editors, pref. pages etc. The common.* plugins contain language-independent stuff that is used by both the Haskell and OCaml subprojects. You will need to import them to compile the Haskell plugins. The rest is Haskell-specific. Probably the best idea is to select all Haskell and common plugins and then have a look round within them. Ciao, Leif > > Alistair. > > ----------------------------------------- > ***************************************************************** > Confidentiality Note: The information contained in this message, and any > attachments, may contain confidential and/or privileged material. It is > intended solely for the person(s) or entity to which it is addressed. Any > review, retransmission, dissemination, or taking of any action in > reliance upon this information by persons or entities other than the > intended recipient(s) is prohibited. If you received this in error, please > contact the sender and delete the material from any computer. > ***************************************************************** > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop > |
From: Bayley, A. <Ali...@ld...> - 2004-12-20 14:09:53
|
> From: Leif Frenzel [mailto:lfr...@in...] > > Jupp :-) You are of course very welcome to do that. I don't > know what is > involved with linked resources, maybe it's just a minor fix, > maybe it's > complicated to treat them as if they were physically in the workspace. > Anything you find out, please let us know. And, on that note, can you point me to resources that'll help me get started maintaining plug-ins? Preferably the sort of thing I won't have to part with money for. Was there anything you found particularly useful (or not)? Alistair. ----------------------------------------- ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ***************************************************************** |
From: Leif F. <lfr...@in...> - 2004-12-20 16:06:10
|
> And, on that note, can you point me to resources that'll help me get started > maintaining plug-ins? Preferably the sort of thing I won't have to part with > money for. Was there anything you found particularly useful (or not)? As a good entry point, there is an article about the Plugin Development Environment here: http://eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html In general, the articles at http://eclipse.org/articles are helpful; they are usually task-oriented (how to implement a view, a wizard ...). The Platform Plugin Developer Guide in the Eclipse Help is also useful, but sometimes more difficult to understand if you have not yet a basic understanding. Then there is on the not-so-preferable ;-) side of things the book by Erich Gamma and Kent Beck, Contributing to Eclipse, which is IMHO very good. The general Eclipse FAQ is pretty comprehensive; that exists as a book, but there is also an online version: http://www.eclipsefaq.org/chris/faq/ Hope that helps, Ciao, Leif > > Alistair. |
From: Leif F. <lfr...@in...> - 2004-12-14 09:29:54
|
Alistair, > I also have a problem with the installation. I followed the instructions at: > http://eclipsefp.sourceforge.net/downloads.html > I add a "New Remote Site..." but when I check the box it waits for a long > time "Connecting to http://eclipsefp.sf.net/updates ...", and then fails > with this error message: > > Unable to access "http://eclipsefp.sf.net/updates". > Unable to access site: "http://eclipsefp.sf.net/updates" [Connection timed > out: connect] > Unable to access site: "http://eclipsefp.sf.net/updates/site.xml" > [Connection timed out: connect] > > Maybe there's some issue with my company firewall? Anyway, the workaround is > to the download the .zip and use the "New Archived Site..." option instead. Yes, that could well be the firewall or a proxy (you can set a proxy server in the preferences, which might help: Window > Preferences > Install / Update). Or it may be the server itself. Do you have the same problem with http://leiffrenzel.de/eclipse/site.xml as update site? Ciao, Leif > > > Alistair. > > ----------------------------------------- > ***************************************************************** > Confidentiality Note: The information contained in this message, and any > attachments, may contain confidential and/or privileged material. It is > intended solely for the person(s) or entity to which it is addressed. Any > review, retransmission, dissemination, or taking of any action in > reliance upon this information by persons or entities other than the > intended recipient(s) is prohibited. If you received this in error, please > contact the sender and delete the material from any computer. > ***************************************************************** > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > eclipsefp-develop mailing list > ecl...@li... > https://lists.sourceforge.net/lists/listinfo/eclipsefp-develop |