Hi again, when trying Mariano's idea I get the following error:
*forkSqueak requires XDisplayControlPlugin* * * *Select Proceed to continue, or close this window to cancel the operation.* Do I need to recompile the VM to add support for this plugin? If so, are there any guidelines around on how to do it? Thanks! Bernat. 2011/4/4 AxiNat <[email protected]> > Lukas, if that happened anytime soon it would make my life much easier hehe > > Is there a way I could help to give it a boost? > > Mariano, the reason I cannot load the package is that it may contain > (either intentionally or not) harmful code. An .st file can contain > arbitrary code that is going to be executed at load time, so it'd be really > easy to hack the image: "Object compile: 'new'!", for instance ;) > > The solution you propose looks interesting, but I'm not sure I've > completely understood it. Do you mean to run a new image, send it the > project file to be filed in, have it run the critics on the loaded package, > and get the output back to the original image? If so, that's a solution I've > been thinking of, but it would spend too many resources. Even though I could > always use a very light image, if only 5 users were to be working on the app > at the same time I'm afraid the system would begin to suffer :( > > On a second thought, is there some smaller, simpler implementation of the > SmallLint package? I wouldn't need to run all the tests, just a couple of > them: Bugs, Intention Revealing, Miscelaneous and Unnecessary Code, and > actually not even all the tests in these categories. > > Thanks a lot, I'm all ears :) > > Bernat. > > 2011/4/4 Mariano Martinez Peck <[email protected]> > >> Is not enough loading the classes but not showing them in the browser ? or >> maybe not putting them in Smalltalk ? >> >> can you do kind of a fork (using OSProcess) of the proccess running image >> which receives a .st file and in the new forked image you pass the .st in >> startup, do a file in and then run code-critics? >> >> I am curious why you cannot load them hehehehhe >> >> >> On Mon, Apr 4, 2011 at 11:41 AM, AxiNat >> <[email protected]>wrote: >> >>> Hi list, >>> >>> I have a pretty special need, which is to be able to run code critics on >>> projects that have not yet been loaded into the image. For example, I need >>> to browse an st file -or a squeaksource project- and before loading it I >>> want to run critics on it, would this be possible somehow? >>> >>> If it looks like something noone would need to do, I understand. It's >>> just that the project I'm working on is pretty particular... I've been >>> exploring other possibilities but I'm afraid this is one of the few left for >>> me to think of :( >>> >>> Thanks a lot in advance! >>> >>> Bernat Romagosa. >>> >> >> >> >> -- >> Mariano >> http://marianopeck.wordpress.com >> >> >
