[M3devel] new problem on NT386

Jay jayk123 at hotmail.com
Wed Jan 23 13:37:29 CET 2008


Oops good point Olaf.
Yes && works with cmd.
If the first command succeeds, the second is run.
Succeeds as in exit code is 0.
 
I assume "pkg" contained "enough content to make it work", but if indeed it is a directory, no go.
I wasn't really reading the content oops sorry.
 
But yet Randy said it worked with 5.2.6.
 
Randy, you reminded me of a good point though.
Upgrade.py plays a new game with config files, one which I like so far, but maybe isn't so great.
I don't remember if I updated upgrade.cmd to this new model.
In either case, to remove variables, to remove changes, look at your cm3.cfg.
Read it a bit. Is it a stub that looks for another config file to include?
If so, undo that on your machine. Find the other file, it is cvsroot\m3-sys\cminstall\src\config\nt386, and copy that over \cm3\bin\cm3.cfg, and try again.
 
In either case I'm sure this is not a big deal....
Can you make the code available to me somehow?
I do need to get some real work done during the week(s) but the weekend...
 
 - Jay



> Date: Wed, 23 Jan 2008 12:39:37 +0100> From: wagner at elegosoft.com> To: m3devel at elegosoft.com> Subject: Re: [M3devel] new problem on NT386> > Quoting Randy Coleburn <rcoleburn at scires.com>:> > > OK, scratch what I said in my prior message about the "cd" not > > working. I ran some more tests and I'm not sure anymore.> >> > Jay, what has changed in the way quake, cm3, and cm3.cfg interact > > since v5.2.6?> >> > What I am seeing is that when Reactor is built using the current > > cm3, the output that should be going to the web browser is instead > > going to the console log. This is strange. The same exact code > > compiled under 5.2.6 works correctly (output goes to browser).> >> > Also, there are some strange differences in the output and the > > results are different. Not only are the results different, they are > > wrong under the new system, while they are correct under 5.2.6. > > Indeed, the build operation on the new system does not even find the > > correct package.> >> > Reactor is written in Modula-3, but it does use some quake helper > > functions. Here are the quake sources that Reactor is using for the > > clean and build procedures:> >> > proc clean_package (pkg) is> > exec ("cd", pkg, "| cm3 -verbose -clean")> > end> > proc build_package (pkg, options) is> > exec ("cd", pkg, "| cm3 -verbose", options)> > end> > As you can see, I've turned on the -verbose cm3 option to make the > > differences clear.> > I don't understand these: | is the pipe symbol even for cmd.exe, isn't> it?> > Shouldn't these commands just read `cd pkg && cm3 -verbose ...'?> > && should work for /bin/sh as well as for cme.exe, IIRC.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> 
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080123/0bf88ad7/attachment-0002.html>


More information about the M3devel mailing list