Difference between revisions of "S2A Configuration"

From WeizmannWiki
Jump to: navigation, search
(S2A Properties)
(S2A Properties)
Line 1: Line 1:
 
Basically the examples provided are configured with relative paths and should work well in your environment, but this is a good opportunity to introduce some parts of the configuration you can control.
 
Basically the examples provided are configured with relative paths and should work well in your environment, but this is a good opportunity to introduce some parts of the configuration you can control.
==S2A Properties==
+
==S2A Builder Properties==
  
 
Right click the GWTMemoryGame project->Properties->S2A Builder:
 
Right click the GWTMemoryGame project->Properties->S2A Builder:
Line 6: Line 6:
 
[[Image:S2a.properties.jpeg]]
 
[[Image:S2a.properties.jpeg]]
  
As shown in the screenshot above, there are 3 tabs in which you can configure properties related to S2A:
+
As shown in the screenshot above, there are 3 tabs in which you can configure properties related to S2A Builder:
  
 
      A. S2A Compilation
 
      A. S2A Compilation

Revision as of 10:01, 28 December 2010

Basically the examples provided are configured with relative paths and should work well in your environment, but this is a good opportunity to introduce some parts of the configuration you can control.

S2A Builder Properties

Right click the GWTMemoryGame project->Properties->S2A Builder:

S2a.properties.jpeg

As shown in the screenshot above, there are 3 tabs in which you can configure properties related to S2A Builder:

      A. S2A Compilation

     i.	Here you can add and remove models which you want to compile with S2A.

For those models you add, you may choose which LSCs should be compiled by S2A. In other words, for which Interactions S2A will generate aspects.

    ii.	Target Folder: here you specify the directory in which the generated aspects will be located.
   iii.	Clear Automatically – if on, cleans the aspects directory before generating new aspects.
    iv.	Polymorphism – enable or disable polymorphism.

B. Imports

     i.	Here you may specify packages that will be imported in the generated aspects.
    ii.	Output package name – the package of the generated aspects.

   C. General – currently used only for specifying the log4j configuration location.

S2A preferences

From the Windows menu, select Preferences->PlayGo->S2A Builder

Playgo.s2a.properties.advanced.jpg


Here you can choose the strategy you want to activate. Currently the only strategy implemented is the Naive strategy and this is the one being used.