Java development for Pentaho
Editing JAR files
JAR (Java Archive) files are zip bundles, and so can be opened by any utility that understands zip. You can use the jar utility that comes with the Sun JDK to extract and replace files inside a jar. For example, if you want to edit the properties of the Pentaho User Console, you will need to edit the file MantleSettings.properties file inside tomcat/webapps/pentaho/WEB-INF/lib/mantle-<version>.jar. This path for this file inside the jar is org/pentaho/mantle/server/. First extract the file:$ jar xf mantle-<version>.jar org/pentaho/mantle/server/MantleSettings.properties
$ jar uf mantle-<version>.jar org/pentaho/mantle/server/MantleSettings.properties
Resources
on 11/12/2009 at 09:21