FR [ 1866483 ] Jasper on Financial Reports

Fix a dependency problem when compiling server
This commit is contained in:
Carlos Ruiz 2008-01-08 16:30:13 +00:00
parent 1d2275928b
commit f34f865f85
2 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,8 @@ import org.compiere.wf.MWorkflow;
*/ */
public final class ProcessUtil { public final class ProcessUtil {
private static final String JASPER_STARTER_CLASS = "org.compiere.report.ReportStarter";
/** Logger */ /** Logger */
private static CLogger log = CLogger.getCLogger(ProcessUtil.class); private static CLogger log = CLogger.getCLogger(ProcessUtil.class);
@ -71,7 +73,7 @@ public final class ProcessUtil {
if (className == null) { if (className == null) {
MProcess proc = new MProcess(ctx, pi.getAD_Process_ID(), trx.getTrxName()); MProcess proc = new MProcess(ctx, pi.getAD_Process_ID(), trx.getTrxName());
if (proc.getJasperReport() != null) if (proc.getJasperReport() != null)
className = org.compiere.apps.ProcessCtl.JASPER_STARTER_CLASS; className = JASPER_STARTER_CLASS;
} }
//Get Class //Get Class
Class processClass = null; Class processClass = null;

View File

@ -48,7 +48,7 @@ import org.compiere.wf.*;
*/ */
public class ProcessCtl implements Runnable public class ProcessCtl implements Runnable
{ {
public static final String JASPER_STARTER_CLASS = "org.compiere.report.ReportStarter"; private static final String JASPER_STARTER_CLASS = "org.compiere.report.ReportStarter";
/** /**
* Process Control * Process Control