From harwoodr at linux.ca Fri Feb 17 11:32:42 2006 From: harwoodr at linux.ca (Ron Harwood) Date: Fri Feb 17 11:33:16 2006 Subject: [MozCreator] Mozcreator issues on Linux Message-ID: <1140193963.6432.14.camel@laptop.blacknova.net> Greetings all, I'm running Mandriva 2006.0 Linux with j2re-1.5.0 I can make the app run with: java -Djava.library.path=. -jar mozcreator.jar But it doesn't seem to work exactly... If I click on View -> Toolbox (or sever other menu items)... nothing happens. As I try to play around - the console reports: [Fatal Error] :-1:-1: Premature end of file. ...over and over... Any advice would be appreciated! From harwoodr at linux.ca Fri Feb 17 11:34:29 2006 From: harwoodr at linux.ca (Ron Harwood) Date: Fri Feb 17 11:35:02 2006 Subject: [MozCreator] Re: Mozcreator issues on Linux In-Reply-To: <1140193963.6432.14.camel@laptop.blacknova.net> References: <1140193963.6432.14.camel@laptop.blacknova.net> Message-ID: <1140194069.6432.17.camel@laptop.blacknova.net> More to this - I had a friend who does Java work look at it and he fed back: one, their run command doc is wrong. Do: java -Djava.library.path=. -jar mozcreator.jar Two, it's written for Win32 only, because that command will throw the exception: java.lang.IllegalArgumentException: JavaScript file does not exist: /tmp/foo/ui\content\mainScreen.js Note the embedded "\" characters. Yes, there is a way to ask java what the platform's default separator is. No, they haven't done that. On Fri, 2006-02-17 at 11:32 -0500, Ron Harwood wrote: > Greetings all, > > I'm running Mandriva 2006.0 Linux with j2re-1.5.0 > > I can make the app run with: > > java -Djava.library.path=. -jar mozcreator.jar > > But it doesn't seem to work exactly... > > If I click on View -> Toolbox (or sever other menu items)... nothing > happens. > > As I try to play around - the console reports: > > [Fatal Error] :-1:-1: Premature end of file. > > ...over and over... > > Any advice would be appreciated! From rjkeller at kellertechnologies.com Fri Feb 17 11:40:12 2006 From: rjkeller at kellertechnologies.com (R.J. Keller) Date: Fri Feb 17 11:40:53 2006 Subject: [MozCreator] Re: Mozcreator issues on Linux In-Reply-To: <1140194069.6432.17.camel@laptop.blacknova.net> References: <1140193963.6432.14.camel@laptop.blacknova.net> <1140194069.6432.17.camel@laptop.blacknova.net> Message-ID: <43F5FC6C.2080902@kellertechnologies.com> Ron Harwood wrote: >More to this - I had a friend who does Java work look at it and he fed >back: > >one, their run command doc is wrong. Do: > >java -Djava.library.path=. -jar mozcreator.jar > >Two, it's written for Win32 only, because that command will throw the >exception: >java.lang.IllegalArgumentException: JavaScript file does not >exist: /tmp/foo/ui\content\mainScreen.js > >Note the embedded "\" characters. Yes, there is a way to ask java what >the platform's default separator is. No, they haven't done that. > > The release build of MozCreator doesn't work on Linux currently. You'll need to compile a nightly build to run on linux. If you look in the mailing list archive, you'll see other posts about this. There's also a bugzilla bug. The issue is that the XUL parser doesn't flip the slashes on linux, although I noticed if the slashes are flipped in the XUL code, then it works on Linux as well as windows. --R.J. From harwood at mcmaster.ca Fri Feb 17 11:28:54 2006 From: harwood at mcmaster.ca (Ron Harwood) Date: Fri Feb 17 11:42:56 2006 Subject: [MozCreator] Mozcreator issues on Linux Message-ID: <1140193734.6432.7.camel@laptop.blacknova.net> Greetings all, I'm running Mandriva 2006.0 Linux with j2re-1.5.0 I can make the app run with: java -Djava.library.path=. -jar mozcreator.jar But it doesn't seem to work exactly... If I click on View -> Toolbox (or sever other menu items)... nothing happens. As I try to play around - the console reports: [Fatal Error] :-1:-1: Premature end of file. ...over and over... Any advice would be appreciated! From harwoodr at linux.ca Fri Feb 17 13:23:16 2006 From: harwoodr at linux.ca (Ron Harwood) Date: Fri Feb 17 13:24:13 2006 Subject: [MozCreator] Re: Mozcreator issues on Linux In-Reply-To: <43F5FC41.8050502@kellertechnologies.com> References: <1140193963.6432.14.camel@laptop.blacknova.net> <1140194069.6432.17.camel@laptop.blacknova.net> <43F5FC41.8050502@kellertechnologies.com> Message-ID: <1140200596.6432.43.camel@laptop.blacknova.net> On Fri, 2006-02-17 at 11:39 -0500, R.J. Keller wrote: > The release build of MozCreator doesn't work on Linux currently. You'll > need to compile a nightly build to run on linux. If you look in the > mailing list archive, you'll see other posts about this. There's also a > bugzilla bug. I'll go get that... > > The issue is that the XUL parser doesn't flip the slashes on linux, > although I noticed if the slashes are flipped in the XUL code, then it > works on Linux as well as windows. Ah... /me understands. From harwoodr at linux.ca Fri Feb 17 16:49:21 2006 From: harwoodr at linux.ca (Ron Harwood) Date: Fri Feb 17 16:49:58 2006 Subject: [MozCreator] Re: Mozcreator issues on Linux In-Reply-To: <1140200596.6432.43.camel@laptop.blacknova.net> References: <1140193963.6432.14.camel@laptop.blacknova.net> <1140194069.6432.17.camel@laptop.blacknova.net> <43F5FC41.8050502@kellertechnologies.com> <1140200596.6432.43.camel@laptop.blacknova.net> Message-ID: <1140212961.13237.2.camel@laptop.blacknova.net> On Fri, 2006-02-17 at 13:23 -0500, Ron Harwood wrote: > On Fri, 2006-02-17 at 11:39 -0500, R.J. Keller wrote: > > The release build of MozCreator doesn't work on Linux currently. You'll > > need to compile a nightly build to run on linux. If you look in the > > mailing list archive, you'll see other posts about this. There's also a > > bugzilla bug. > > I'll go get that... Alright... so, got that... tried an "ant fullbuild" and got: compile: [echo] -- Compiling MozCreator [javac] Compiling 73 source files to /home/harwood/cvs/mozcreator/mozcreator/MozCreator/dist [javac] error: unsupported encoding: PREPROC ... [javac] error: unsupported encoding: PREPROC [javac] error: unsupported encoding: PREPROC [javac] error: unsupported encoding: PREPROC [javac] 73 errors BUILD FAILED /home/harwood/cvs/mozcreator/mozcreator/MozCreator/build.xml:54: The following error occurred while executing this line: /home/harwood/cvs/mozcreator/mozcreator/MozCreator/build.xml:150: Compile failed; see the compiler error output for details. So... what am I doing wrong? From rjkeller at kellertechnologies.com Fri Feb 17 16:53:17 2006 From: rjkeller at kellertechnologies.com (R.J. Keller) Date: Fri Feb 17 16:53:59 2006 Subject: [MozCreator] Re: Mozcreator issues on Linux In-Reply-To: <1140212961.13237.2.camel@laptop.blacknova.net> References: <1140193963.6432.14.camel@laptop.blacknova.net> <1140194069.6432.17.camel@laptop.blacknova.net> <43F5FC41.8050502@kellertechnologies.com> <1140200596.6432.43.camel@laptop.blacknova.net> <1140212961.13237.2.camel@laptop.blacknova.net> Message-ID: <43F645CD.1090204@kellertechnologies.com> Ron Harwood wrote: >On Fri, 2006-02-17 at 13:23 -0500, Ron Harwood wrote: > > >>On Fri, 2006-02-17 at 11:39 -0500, R.J. Keller wrote: >> >> >>>The release build of MozCreator doesn't work on Linux currently. You'll >>>need to compile a nightly build to run on linux. If you look in the >>>mailing list archive, you'll see other posts about this. There's also a >>>bugzilla bug. >>> >>> >>I'll go get that... >> >> > >Alright... so, got that... tried an "ant fullbuild" and got: > >compile: > [echo] -- Compiling MozCreator > [javac] Compiling 73 source files >to /home/harwood/cvs/mozcreator/mozcreator/MozCreator/dist > [javac] error: unsupported encoding: PREPROC > >... > > [javac] error: unsupported encoding: PREPROC > [javac] error: unsupported encoding: PREPROC > [javac] error: unsupported encoding: PREPROC > [javac] 73 errors > >BUILD FAILED >/home/harwood/cvs/mozcreator/mozcreator/MozCreator/build.xml:54: The >following error occurred while executing this line: >/home/harwood/cvs/mozcreator/mozcreator/MozCreator/build.xml:150: >Compile failed; see the compiler error output for details. > > >So... what am I doing wrong? > >_______________________________________________ >MozCreator mailing list >MozCreator@mozdev.org >http://mozdev.org/mailman/listinfo/mozcreator > > MozCreator requries the simple preprocessor (http://www.vortoj.com/sjpp/readme.html) to be installed in your JDK to compile. I know, I think the docs are out of date. I might update them when the next release comes around. --R.J. From harwoodr at linux.ca Fri Feb 17 17:01:05 2006 From: harwoodr at linux.ca (Ron Harwood) Date: Fri Feb 17 17:01:40 2006 Subject: [MozCreator] Re: Mozcreator issues on Linux In-Reply-To: <43F645CD.1090204@kellertechnologies.com> References: <1140193963.6432.14.camel@laptop.blacknova.net> <1140194069.6432.17.camel@laptop.blacknova.net> <43F5FC41.8050502@kellertechnologies.com> <1140200596.6432.43.camel@laptop.blacknova.net> <1140212961.13237.2.camel@laptop.blacknova.net> <43F645CD.1090204@kellertechnologies.com> Message-ID: <1140213665.13237.7.camel@laptop.blacknova.net> On Fri, 2006-02-17 at 16:53 -0500, R.J. Keller wrote: > MozCreator requries the simple preprocessor > (http://www.vortoj.com/sjpp/readme.html) to be installed in your JDK to > compile. Cool enough. > > I know, I think the docs are out of date. I might update them when the > next release comes around. Not a problem, dude. You're more responsive than docs are. ;) I'll send this back to the list so that there is at least a digital trace of that. :D At the end of the day - I'll be more than pleased if I can have a working XUL editor! From harwoodr at linux.ca Fri Feb 17 17:18:38 2006 From: harwoodr at linux.ca (Ron Harwood) Date: Fri Feb 17 17:19:25 2006 Subject: [MozCreator] Re: Mozcreator issues on Linux In-Reply-To: <1140213665.13237.7.camel@laptop.blacknova.net> References: <1140193963.6432.14.camel@laptop.blacknova.net> <1140194069.6432.17.camel@laptop.blacknova.net> <43F5FC41.8050502@kellertechnologies.com> <1140200596.6432.43.camel@laptop.blacknova.net> <1140212961.13237.2.camel@laptop.blacknova.net> <43F645CD.1090204@kellertechnologies.com> <1140213665.13237.7.camel@laptop.blacknova.net> Message-ID: <1140214718.13237.11.camel@laptop.blacknova.net> On Fri, 2006-02-17 at 17:01 -0500, Ron Harwood wrote: > On Fri, 2006-02-17 at 16:53 -0500, R.J. Keller wrote: > > MozCreator requries the simple preprocessor > > (http://www.vortoj.com/sjpp/readme.html) to be installed in your JDK to > > compile. > > Cool enough. Alright - go that working (I am not a java person - have I mentioned that?) and so it goes off and happily builds... So I do "ant run" and get: BUILD FAILED Target `run' does not exist in this project. Alright... well... I see that it built a mozcreator-0.3-gtk-linux-x86_64.zip file - which is interesting since I'm on a 32 bit distro on a 32 bit system. ;) So, I unpack that and run it... and get: Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3138 in java.library.path Which isn't surprising since I'm on a linux system... :D Sorry to be such a pain in the ass.