Minor ECJ-in-Eclipse tip:
Because ECJ has a large hierarchy of classes, it's also handy to use the
hierarchical package view instead of the flat view when you are using
Eclipse. This lets you view the packages like collapsible folders
instead of seeing all of the classes in that huge list of fully
qualified package names. To change the package layout in the "Package
Explorer" view, click on the menu button (the little inverted triangle
on the right hand side of the pane's toolbar), and select Package
Presentation > Hierarchical.
-- Chris Vo
Robert Baruch wrote:
> Hi Johanna,
>
> First, see this video :) It's part of a series of video tutorials I'm
> working on:
>
> http://www.youtube.com/watch?v=Ur7uP9Yi1Ms (ECJ HowTo Part 1)
>
> After you've done that, go to Run > Open Run Dialog...
>
> Click on Java Application on the left, and click the "new" icon. Give
> it a name, make sure the project is set correctly, and set the Main
> class to ec.Evolve.
>
> Under Arguments, set the Program arguments to
>
> -file (relative or absolute path to params file in the ECJ 16 source
> code).
>
> If you use a relative path, it must be relative to your project's
> directory. So in my case, my project directory is at /Users/ek/ECJ
> Tutorial Videos/ECJ 16, and the ECJ code is at /Users/ek/ECJ Tutorial
> Videos/Code. So your relative path would then be, for example,
>
> ../Code/ecj16/ec/app/tutorial1.params
>
> I hope that helps!
>
> --Rob
>
> On Dec 3, 2007, at 2:59 PM, Johanna Rosenbusch wrote:
>
>> Dear all,
>>
>> I am a new user of ECJ and am currently trying to get it running with
>> Eclipse. I already got the tutorial1 working, but only via DOS
>> commands.
>> How do I handle the params files in Eclipse? Does anybody still have the
>> Instructions for Eclipse by Mehdi Khoury? Unfortunately the file's not
>> online anymore...
>>
>> Whenever I have understood ECJ I'll be trying to do coevolution and
>> would
>> also be curious about the general experience with it.
>>
>> Thanks and best regards,
>>
>> Johanna
>>
>
|