We downloaded and installed the pre-built binary version of the Jboss Nukes content management system from Sourceforge after trying unsuccessfully to build pages from the Java source code.
We installed the pre-built binary version of the Jboss Nukes content management system from Sourceforge after trying unsuccessfully to build pages from the Java source code. We want to make changes to the default page layout. The instructions all assume you can rebuild the sources. Is there another way to update the theme definition to change default settings?
The default-page layout theme definitions are located in the nukes-lib.jar file inside the server/default/deploy/nukes.ear folder of a running Nukes installation.
Nukes themes can be defined by plain HTML and Cascading Style Sheets (CSS), or in combination with additional Java code. Changes can be made to the HTML and CSS components without a Java source build by unpacking the jar file, changing the files and re-creating the jar file.
Copy nukes-lib.jar to a clean directory and unpack it with the command
jar xvf nukes-lib.jar
After unpacking the files you’ll find the theme definitions in the directory org/jboss/nukes/core/themes. To change the settings of the default theme, edit the files imagic/theme.html and imagic/style/style.css.
Use the command “jar cvf nukes-lib.jar *” to repackage the jar file and copy the new nukes-lib.jar over the original in the nukes.ear folder.




