Re: Re: change of default behavoir for workbench
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
Prev by Date:
Re: Re: General--Exponential simplifications by default
Next by Date:
Re: RE: Re: General--Difficulties in Understanding Mathematica Syntax
Previous by thread:
Re: change of default behavoir for workbench
Next by thread:
General--Transformation of coordinates(from carteseian to polar)