Posts Tagged ‘java’
fix CSSToFOPNew.java in css2xslfo
December 20th, 2006 •
tags: css, java, xslfo
if (configFile != null)
{
/*
fop.getUserAgent().setUserConfig
(
new DefaultConfigurationBuilder().buildFromFile(configFile)
);
fop.getUserAgent().initUserConfig();
*/
fop.getUserAgent().getFactory().setUserConfig(configFile);
}
java -classpath in combination with java -jar
December 19th, 2006 •
tags: java
Since I always forget about that damn detail, it’s time to write it down! Whenever you need to give -classpath parameters at start time, be sure not to use the -jar option at the same time! Go for the main class in the jar instead!