From sfentress at concord.org Tue Mar 6 14:56:36 2007 From: sfentress at concord.org (Sam Fentress) Date: Tue Mar 6 14:58:57 2007 Subject: [Etna] Building from source problems Message-ID: Dear Etna, I am trying to build Etna from source, as I want to see how useful it will be in our open-source educational project. I am having some difficulty following the directions provided with the source, however. Apologies in advance if I'm being overly dense. I downloaded the Etna 0.3.1 and Firefox 1.0.7 sources onto my Mac. I created the folder ~/sources/etna, and moved the /mozila/ directory from /firefox/ to it I renamed the unzipped directory etna-0.3.1.src/ to etna/, and moved it to ~/sources/etna/mozilla/ >From the command line, I navigated to ~/sources/etna/mozilla/, and entered the line patch -u -p0 -i etna/config/firefox.1.0.build.patch In return, I received: can't find file to patch at input line 8 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: allmakefiles.sh |=================================================================== |RCS file: /cvsroot/mozilla/allmakefiles.sh,v |retrieving revision 1.485.2.2.4.19 |diff -u -r1.485.2.2.4.19 allmakefiles.sh |--- allmakefiles.sh 10 Sep 2004 08:11:24 -0000 1.485.2.2.4.19 |+++ allmakefiles.sh 27 Jan 2006 15:50:17 -0000 -------------------------- File to patch: What was I supposed to do here? Had I made a mistake? Just for the heck of it, I hit enter, skipped that patch, did the same for every other message, and did the same for every other patch. I assume this did nothing at all. The next line cp -fr etna/config/editor/libeditor/xml editor/libeditor/ returned: cp: editor/libeditor: No such file or directory. I assume that this was because of not applying the patches correctly above? Any advice or pointers you could give would be extremely helpful. Thanks for your time, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.cnx.rice.edu/pipermail/etna/attachments/20070306/8e75ee45/attachment.htm From laurent.jouanneau at disruptive-innovations.com Wed Mar 7 06:21:19 2007 From: laurent.jouanneau at disruptive-innovations.com (Laurent Jouanneau) Date: Wed Mar 7 06:23:31 2007 Subject: [Etna] Building from source problems In-Reply-To: References: Message-ID: <45EEAE3F.2050403@disruptive-innovations.com> Sam Fentress wrote: > Dear Etna, Hello Sam, > > I am trying to build Etna from source, as I want to see how useful it > will be in our open-source educational project. I am having some > difficulty following the directions provided with the source, however. > Apologies in advance if I'm being overly dense. > > I downloaded the Etna 0.3.1 and Firefox 1.0.7 sources onto my Mac. > I created the folder ~/sources/etna, and moved the /mozila/ directory > from /firefox/ to it > I renamed the unzipped directory etna-0.3.1.src/ to etna/, and moved it > to ~/sources/etna/mozilla/ It seems ok for me. What is this firefox directory ? this is a directory you created to untar the firefox-1.0.7-source.tar.bz2 file, right ? > > From the command line, I navigated to ~/sources/etna/mozilla/, and > entered the line > patch -u -p0 -i etna/config/firefox.1.0.build.patch That's ok > > In return, I received: > > can't find file to patch at input line 8 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > |Index: allmakefiles.sh > |=================================================================== > |RCS file: /cvsroot/mozilla/allmakefiles.sh,v > |retrieving revision 1.485.2.2.4.19 > |diff -u -r1.485.2.2.4.19 allmakefiles.sh > |--- allmakefiles.sh 10 Sep 2004 08:11:24 -0000 1.485.2.2.4.19 > |+++ allmakefiles.sh 27 Jan 2006 15:50:17 -0000 > -------------------------- > File to patch: > > What was I supposed to do here? Had I made a mistake? > Just for the heck of it, I hit enter, skipped that patch, did the same > for every other message, and did the same for every other patch. I > assume this did nothing at all. The next line > > cp -fr etna/config/editor/libeditor/xml editor/libeditor/ > > returned: cp: editor/libeditor: No such file or directory. I assume that > this was because of not applying the patches correctly above? no it wasn't. I see several possibilities : 1) you haven't copy very well all source code. Try to navigate into your ~/sources/etna/mozilla/ to see if the mentionned file are here. 2) or you aren't really in this directory, in your terminal. 3) or perhaps this is a problem of tools version. My version of patch program (patch -v) is 2.5.8 (from gnu tools : by Larry wall and free software fondations). I have Mac OS X 10.4.8 and XCode 2.2. I forgot to mention in the README.txt and in the web site : you should read the mozilla build documentation and mainly about how to build Mozilla 1.7/Gecko 1.7. http://developer.mozilla.org/en/docs/Build_Documentation http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites I did exactly what you did on my mac, and all is ok for me. You can also use the build for Mac OSX you will find here http://rhaptos.org/downloads/editing/etna/0.3.1/ Not you have a script etna/config/applypatch.sh (that i didn't mention in the README.txt) which apply all patches and copy all files. Type in the command line : cd ~/sources/etna/mozilla . etna/config/applypatch.sh -- Laurent Jouanneau, Software Engineer @ Disruptive Innovations SARL We build today the tools you are going to use tomorrow http://www.disruptive-innovations.com From scott at concord.org Wed Mar 7 07:13:35 2007 From: scott at concord.org (Scott Cytacki) Date: Wed Mar 7 07:14:10 2007 Subject: [Etna] Re: etna and eclipse In-Reply-To: <45EE94A4.7050608@disruptive-innovations.com> References: <1173000763.11977.194.camel@localhost> <45EE94A4.7050608@disruptive-innovations.com> Message-ID: <1173273215.11977.270.camel@localhost> Thank you for your reply. That xbi way of embedding custom plugins looks perfect. We might try to embed parts of etna in java using javaxpcom. And in this case the custom plugins will be java based pluglets or something like that. Scott On Wed, 2007-03-07 at 11:32 +0100, Laurent Jouanneau wrote: > Scott Cytacki wrote: > > Hi Laurent, > > Hi Scott, > > First, sorry for this late response > > > > > I just discovered etna. It is an excellent project, I had been waiting > > for something like this for a while. I didn't find an active mailing > > list so I thought it best to email you directly. > > For the mailing list, see > http://mailman.cnx.rice.edu/cgi-bin/mailman/listinfo/etna > > > > > > Have you looked at Vex: http://vex.sourceforge.net/ > > Thanks for the link, i didn't know it :-) > > > > > Have you consider embedding etna in eclipse? If you did, it would gain > > a lot of features for relatively little work. > > > > Some features it could gain: > > - synchronizing: > > -- cvs - part of standard eclipse > > -- svn - well developed plugin > > -- webdav - newer plugin developed by ibm > > -- ftp - newer plugin developed by ibm > > -- sftp - newer plugin developed by jcraft > > - tabbed documents > > Sorry no, i haven't considered to use eclipse. I think that the > extension system of Mozilla is better and more simple :-) Tabbed > document and ftp support are planned. > > > > > At my company we are going to consider using it to author interactive > > content. So for this we'll need to be able to map xml elements to > > mozilla plugins for editing and display. Does etna support something > > like this? For example if my document had a element that > > could be rendered by a drawing tool plugin. > > All what you can display in Firefox for example, can be displayed in > Etna. In your case, you have to create a CSS styleshet which declare a > thing like that : > drawing { -moz-binding: url(mybinding.xml) } > > And the mybinding.xml file declare an XBL component (see this tutorial > to create an XBL > http://www.xulplanet.com/tutorials/xultu/introxbl.html), and this XBL > will declare an anonymous content which content an xhtml tag to > use the plugin (or any html/xul tag). > > In theory (and in firefox), such thing works, however i didn't really > test it into Etna. But if it doesn't work at this moment (and then it's > a bug), it will works ! :-) > > regards, > From neilmsheldon at townsedgetechnology.com Fri Mar 9 15:41:55 2007 From: neilmsheldon at townsedgetechnology.com (Neil M. Sheldon) Date: Sat Mar 10 14:26:45 2007 Subject: [Etna] Getting Validator to run Message-ID: <45F1D4A3.1050108@townsedgetechnology.com> Dear Etna List, I need some help getting the Relax NG Validator Tester extension to do anything useful for me. I open it up from the tools menu in Etna, then I choose a schema (File -> Use Internal Schema -> RelaxNG schema), and then I click Parse Schema, and nothing happens. This shows up in jsconsole(*) after choosing the RelaxNG schema, as above: > Error: document.getElementById("rngviewer").loadDocument is not a function > Source File: chrome://validator/content/validator.js > Line: 573 Then this shows up after clicking Parse Schema: > Error: gResultsCons.addSeparator is not a function > Source File: chrome://validator/content/validator.js > Line: 155 I'm running this on Windows XP, the only other extension I have installed is 'tinydoc'. Am I doing something wrong or do you need more information? (* I opened up the console by opening up Etna with the -jsconsole parameter. It would be nice if this were available from the tools menu, unless it conflicts with something that I'm unaware of. I was unable to get the validator to run before I tried this as well.) -- Neil M. Sheldon From laurent.jouanneau at disruptive-innovations.com Tue Mar 13 04:38:42 2007 From: laurent.jouanneau at disruptive-innovations.com (Laurent Jouanneau) Date: Tue Mar 13 04:39:55 2007 Subject: [Etna] Getting Validator to run In-Reply-To: <45F1D4A3.1050108@townsedgetechnology.com> References: <45F1D4A3.1050108@townsedgetechnology.com> Message-ID: <45F67122.9070009@disruptive-innovations.com> Hi Neil, I installed Etna 0.3.1 (picked up from the web site) on a fresh installation of Windows XP, with tinydoc and validator extensions. But I couldn't reproduce your bug :-( However, i notice your request about the javascript console : http://rhaptos.org/bugzilla/show_bug.cgi?id=157 (don't hesitate to suggest other improvements ;-) ) Which version of Etna did you install ? Is it a personnal build of Etna, or did you use binaries downloaded from the web site ? -- Laurent Jouanneau, Software Engineer @ Disruptive Innovations SARL We build today the tools you are going to use tomorrow http://www.disruptive-innovations.com Neil M. Sheldon wrote: > Dear Etna List, > > I need some help getting the Relax NG Validator Tester extension to do > anything useful for me. > > I open it up from the tools menu in Etna, then I choose a schema (File > -> Use Internal Schema -> RelaxNG schema), > and then I click Parse Schema, and nothing happens. > > This shows up in jsconsole(*) after choosing the RelaxNG schema, as above: > >> Error: document.getElementById("rngviewer").loadDocument is not a >> function >> Source File: chrome://validator/content/validator.js >> Line: 573 > > Then this shows up after clicking Parse Schema: > >> Error: gResultsCons.addSeparator is not a function >> Source File: chrome://validator/content/validator.js >> Line: 155 > > I'm running this on Windows XP, the only other extension I have > installed is 'tinydoc'. > > Am I doing something wrong or do you need more information? > > (* I opened up the console by opening up Etna with the -jsconsole > parameter. It would > be nice if this were available from the tools menu, unless it conflicts > with something that I'm > unaware of. I was unable to get the validator to run before I tried this > as well.) > > -- Neil M. Sheldon > > > > > _______________________________________________ > Etna mailing list > Etna@cnx.rice.edu > http://mailman.cnx.rice.edu/cgi-bin/mailman/listinfo/etna From neilmsheldon at townsedgetechnology.com Wed Mar 14 09:56:34 2007 From: neilmsheldon at townsedgetechnology.com (Neil M. Sheldon) Date: Wed Mar 14 09:58:31 2007 Subject: [Etna] Getting Validator to run In-Reply-To: <45F67122.9070009@disruptive-innovations.com> References: <45F1D4A3.1050108@townsedgetechnology.com> <45F67122.9070009@disruptive-innovations.com> Message-ID: <45F80D22.5070608@townsedgetechnology.com> I have Etna 0.3.1 (2006-04-26), the windows binary downloaded from the website. The validator extension is marked 1.0, same build date. I should have all of the latest Windows updates. It definitely isn't a 'fresh' installation :) Would Etna conflict with other Gecko applications? (I assume not, I have Firefox, Thunderbird, Sunbird and even SeaMonkey on my machine, some with different version levels, and they don't seem to have any problems). Since I sent the message, I've found another solution for validating my schema, so I don't need the extension right now. But let me know if I can help you figure this out, depending on how high a priority it is for you. I am indeed accumulating a few more suggestions, however, I'll let you know once I finish my list :). Very high on the list is a tabbed editor, or some other way to edit more than one file at once. I really like Etna, so far, and I hope it becomes very popular. Thanks, -- Neil Laurent Jouanneau wrote: > Hi Neil, > > I installed Etna 0.3.1 (picked up from the web site) on a fresh > installation of Windows XP, with tinydoc and validator extensions. But I > couldn't reproduce your bug :-( > > However, i notice your request about the javascript console : > http://rhaptos.org/bugzilla/show_bug.cgi?id=157 (don't hesitate to > suggest other improvements ;-) ) > > Which version of Etna did you install ? Is it a personnal build of Etna, > or did you use binaries downloaded from the web site ? > > From laurent.jouanneau at disruptive-innovations.com Thu Mar 15 03:50:36 2007 From: laurent.jouanneau at disruptive-innovations.com (Laurent Jouanneau) Date: Thu Mar 15 03:52:49 2007 Subject: [Etna] Getting Validator to run In-Reply-To: <45F80D22.5070608@townsedgetechnology.com> References: <45F1D4A3.1050108@townsedgetechnology.com> <45F67122.9070009@disruptive-innovations.com> <45F80D22.5070608@townsedgetechnology.com> Message-ID: <45F908DC.1070807@disruptive-innovations.com> Neil M. Sheldon wrote: > I have Etna 0.3.1 (2006-04-26), the windows binary downloaded from the > website. > The validator extension is marked 1.0, same build date. ok > > I should have all of the latest Windows updates. It definitely isn't > a 'fresh' installation :) However, it should work :-/ > > Would Etna conflict with other Gecko applications? (I assume not, > I have Firefox, Thunderbird, Sunbird and even SeaMonkey on my machine, > some with different version levels, and they don't seem to have any > problems). In theory, no. Sorry, i don't see what happen, why it doesn't work :-( > > Since I sent the message, I've found another solution for validating > my schema, so I don't need the extension right now. But let me know > if I can help you figure this out, depending on how high a priority > it is for you. > > I am indeed accumulating a few more suggestions, however, I'll let > you know once I finish my list :). Cool ! > Very high on the list is a tabbed > editor, or some other way to edit more than one file at once. Yes, a tabbed editor is planned. see http://rhaptos.org/bugzilla/show_bug.cgi?id=161 At this moment, I'm working on the version 0.4. Here lastest news : http://ljouanneau.com/blog/2007/03/13/649-etna-progress-20070313 > > I really like Etna, so far, and I hope it becomes very popular. Thank you very much :-) > > Thanks, > > -- Neil > > Laurent Jouanneau wrote: >> Hi Neil, >> >> I installed Etna 0.3.1 (picked up from the web site) on a fresh >> installation of Windows XP, with tinydoc and validator extensions. But >> I couldn't reproduce your bug :-( >> >> However, i notice your request about the javascript console : >> http://rhaptos.org/bugzilla/show_bug.cgi?id=157 (don't hesitate to >> suggest other improvements ;-) ) >> >> Which version of Etna did you install ? Is it a personnal build of >> Etna, or did you use binaries downloaded from the web site ? >> >> > > > -- Laurent Jouanneau, Software Engineer @ Disruptive Innovations SARL We build today the tools you are going to use tomorrow http://www.disruptive-innovations.com From neilmsheldon at townsedgetechnology.com Thu Mar 15 14:17:32 2007 From: neilmsheldon at townsedgetechnology.com (Neil M. Sheldon) Date: Thu Mar 15 14:18:17 2007 Subject: [Etna] Getting Validator to run In-Reply-To: <45F908DC.1070807@disruptive-innovations.com> References: <45F1D4A3.1050108@townsedgetechnology.com> <45F67122.9070009@disruptive-innovations.com> <45F80D22.5070608@townsedgetechnology.com> <45F908DC.1070807@disruptive-innovations.com> Message-ID: <45F99BCC.1010105@townsedgetechnology.com> Laurent Jouanneau wrote: > Neil M. Sheldon wrote: > > At this moment, I'm working on the version 0.4. Here lastest news : > > http://ljouanneau.com/blog/2007/03/13/649-etna-progress-20070313 > Tell you what, I'll wait until that version comes out, and then try the Validator extension on my machine again. >> >> Thanks, >> >> -- Neil >> >> Laurent Jouanneau wrote: >>> Hi Neil, >>> >>> I installed Etna 0.3.1 (picked up from the web site) on a fresh >>> installation of Windows XP, with tinydoc and validator extensions. >>> But I couldn't reproduce your bug :-( >>> >>> However, i notice your request about the javascript console : >>> http://rhaptos.org/bugzilla/show_bug.cgi?id=157 (don't hesitate to >>> suggest other improvements ;-) ) >>> >>> Which version of Etna did you install ? Is it a personnal build of >>> Etna, or did you use binaries downloaded from the web site ? >>> >>> >> >> >> > > -- Neil M. Sheldon Town's Edge Technology, LLC Phone: 920-948-2664 Email: neilmsheldon@townsedgetechnology.com