Re: Re: change of default behavoir for workbench
- To: mathgroup at smc.vnet.net
- Subject: [mg69119] Re: [mg69072] Re: [mg68973] change of default behavoir for workbench
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Wed, 30 Aug 2006 06:34:22 -0400 (EDT)
- References: <200608260603.CAA02593@smc.vnet.net> <200608290726.DAA29060@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks for getting back to me on this. If, by "nothing strange" the developer means that Mathematica executed all the .m files in the project - versus only producing an error and doing nothing, then I am still pointing out that execuing all the .m files is a bad default behavior. Mathematica code is capable of doing all sorts of things involving the file system. I respectfully submit that when code that manipulates the file system can run inadvertently because of a syntax error in .MathematicaResources (and because the code is somewhere inside the project), I think that is a bad design. It'd be similar to BASH executing all the programs in /usr/bin because the user typed the wrong command name. On 8/29/06, Bruce Miller <brucem at wolfram.com> wrote: > On Sat, Aug 26, 2006 at 02:03:55AM -0400, Chris Chiasson wrote: > > Hi, > > > > If an error is encountered in .MathematicaResources, Wolfram Workbench > > executes all *.m files in the project. I think this is horrible > > behavior. I didn't loose any data because of it (that's what version > > control is for), but I think this is a bad default setting. Also, > > could someone please explain the accepted syntax of > > .MathematicaResources in detail? > > > > -- > > http://chris.chiasson.name/ > > > Mr. Chiasson, > > A developer suggests, > ====================================== > The .MathematicaResources file can (and should) be edited > from the project properties pane. Right click on the project > folder, then choose properties, then you can edit the values > in the Mathematica section of the pane. > > I tried to reproduce the user's report by making an error in > that file, and nothing strange happened. > > Something that may have tripped him here is that notebooks in a > project are set up to load all sources in the project when you > launch them in run or debug mode. This can be turned off by > right clicking the notebook then unchecking the box for loading > all files on startup. > > The accepted syntax for .MathematicaResources is to use the > properties pane as I explained above. > ====================================== > > Bruce Miller > Technical Support > Wolfram Research, Inc. > support at wolfram.com > http://support.wolfram.com/ > > > > -- http://chris.chiasson.name/
- References:
- change of default behavoir for workbench
- From: "Chris Chiasson" <chris@chiasson.name>
- Re: change of default behavoir for workbench
- From: Bruce Miller <brucem@wolfram.com>
- change of default behavoir for workbench