On Tue, Apr 20, 2010 at 10:09 AM, Escay <[email protected]> wrote: > > Hi, > > is it possible to 'brand' the org.netbeans.core.startup.Main ? > > I have a nbm branding module setup and I can brand the splash screen, > however when I add my own org.netbeans.core.startup.Main like: > > > \branding\src\main\nbm-branding\core\core.jar\org\netbeans\core\startup\Main.java > > \branding\src\main\nbm-branding\core\core.jar\org\netbeans\core\startup\splash.gif > > the class is not loaded when I start the application. > > Is it possible to create my own Main class this way? >
no, it's not. branding just handles resources, doesn't do any compiling. classes are AFAIK not even picked up from the branded resources.. > > The most useful information I can find is: > http://wiki.netbeans.org/DevFaqPlatformAppAuthStrategies > > This suggests I have to create a regular jar containing > my.own.package.Main.class and use > -J-Dnetbeans.mainclass=my.own.package.Main > and add the jar somehow in the /core folder. > > sounds like a plan.. milos > Suggestions are welcome! > Thank you, Martijn > -- > View this message in context: > http://old.nabble.com/nbm-maven-plugin-branding-of-org.netbeans.core.startup.Main-tp28287812p28287812.html > Sent from the mojo - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
