Changes for page Development-Frameworks

Last modified by Pascal Robert on 2010/09/13 00:35

From version 3.1
edited by Quinton Dolan
on 2007/07/12 20:17
Change comment: There is no comment for this version
To version 2.1
edited by smmccraw
on 2007/07/08 09:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.qdolan
1 +XWiki.smmccraw
Content
... ... @@ -14,13 +14,13 @@
14 14  
15 15  Add a text file called CustomInfo.plist to your framework's resources. Add this text to the file:
16 16  
17 -{{code}}
17 +{{panel}}
18 18  
19 -{
20 - NSPrincipalClass = MyFrameworkInitializer;
21 -}
19 + {
20 + NSPrincipalClass = MyFrameworkInitializer;
21 + }
22 22  
23 -{{/code}}
23 +{{/panel}}
24 24  
25 25  Create a java file, MyFrameworkInitializer.java and initialize any classes in your framework in a static block in this class. Of course you can call the class whatever you want, just make sure you put the full class name, package and all in the .plist file.
26 26