Dashboard > Wonder > ... > Tutorials > Creating a ERXFrameworkPrincipal subclass
  Wonder Log In View a printable version of the current page.  
  Creating a ERXFrameworkPrincipal subclass
Added by Ramsey Gurley, last edited by Ramsey Gurley on Sep 25, 2008  (view change)
Labels: 
(None)

Creating a ERXFrameworkPrincipal subclass Ramsey Gurley

After you create a framework you might need to create an ERXFrameworkPrincipal class to go with it. Although the code is straightforward, I've discovered that just including the class in a framework isn't quite enough. To let the build system know my principal class existed, I had to select build.properties in eclipse, select the build.properties tab at the bottom of the tab and add the following properties:

principalClass = com.mycoolframework.ExampleFrameworkPrincipal
project.principal.class = com.mycoolframework.ExampleFrameworkPrincipal
project.type = framework

Site running on a free Atlassian Confluence Open Source Project License granted to ObjectStyle. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators