Bug 153514 [Regression]Can't Drill-Through to reportdesign which is in the current path
Description: Can't Drill-Through to reportdesign which is in the current path Step to reproduce: 1. new a report named "target.rptdesign" and add label 2. new another report named "Drillthrough.rptdesign" and also add a label in it 3. Choose the lable in second report and edit its Hyperlink: Drill through target.rptdesign 4. preview it by any form Excepted result: Target.rptdesign can be drill-throughed Actual result: Display "The design file /D:/Eclipses/eclipse200608110630/plugins/org.eclipse.birt.report.viewer_2.1.0.v20060811-0630/birt/documents/4F9E34353BCD20DC7687037D6B8B7A25/Acceptance/Target.rptdesign can not be found. " But if Drill-Through with absolute path is ok.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportDocumentReader.java
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.eclipse.birt.core.archive.IDocArchiveReader;
import org.eclipse.birt.core.archive.RAInputStream;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.core.util.IOUtil;
import org.eclipse.birt.report.engine.api.EngineConfig;
import org.eclipse.birt.report.engine.api.EngineException;
import org.eclipse.birt.report.engine.api.IReportDocument;
import org.eclipse.birt.report.engine.api.IReportDocumentLock;
import org.eclipse.birt.report.engine.api.IReportDocumentLockManager;
import org.eclipse.birt.report.engine.api.IReportEngine;
import org.eclipse.birt.report.engine.api.IReportRunnable;
import org.eclipse.birt.report.engine.api.InstanceID;
import org.eclipse.birt.report.engine.api.TOCNode;
import org.eclipse.birt.report.engine.internal.document.IPageHintReader;
import org.eclipse.birt.report.engine.internal.document.v1.PageHintReaderV1;
import org.eclipse.birt.report.engine.internal.document.v2.PageHintReaderV2;
import org.eclipse.birt.report.engine.internal.util.EngineIOUtil;
import org.eclipse.birt.report.engine.presentation.IPageHint;
import org.eclipse.birt.report.engine.toc.TOCBuilder;
import org.eclipse.birt.report.model.api.IResourceLocator;
public class ReportDocumentReader