I got on speed by copying the "template" directory including all of it's structure (inkl. build.xml etc).
After that I renamed all occurences of nukes-template to the choosen name of my theme (cybercon).
I amended the jboss-service.xml to reflect my needs:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE server> <server> <mbean code="org.jboss.nukes.theme.ThemeTemplate" name="nukes.themes:name=cybercon" xmbean-dd="" xmbean-code="org.jboss.nukes.component.NukesMBean"> <depends>nukes.modules:name=core</depends> <depends>nukes.modules:name=html</depends> <constructor> <arg type="boolean" value="true"/> </constructor> <xmbean> <attribute name="Id">jar:/theme.html</attribute> <attribute name="Root">org/jboss/nukes/addons/themes/cybercon</attribute> </xmbean> </mbean> </server>
After that, have a look into the ThemeTemplate Class mentioned in the jboss-service.xml (You'll find it under the nukes/src.. directory). There a template-file is loaded containing several templates (embraced by the comment style markers the nukes tpl uses).
Just amend these file to your needs. (Copy the theme.html found under nukes/src/bin/nukes-lib-jar/org/jboss/nukes/core/themes/imagic/theme.html for example and amend) into the style directory goes the css under the images go images you'd like to hard wire into your theme. I would recreate the same directory structure you find here in your renamed template dir.
There may be some step's I left out because I just write this down from memory, so don't hesitate to ask, I'll try to recall then.
Cheers and good look,