implement feature-based product definition
This commit is contained in:
parent
e4de765da9
commit
b1148922d8
|
@ -1,15 +1,18 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<?pde version="3.5"?>
|
<?pde version="3.5"?>
|
||||||
|
|
||||||
<product name="SCViewer" uid="scviewer" id="com.minres.scviewer.e4.application.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="2.6.0.qualifier" useFeatures="false" includeLaunchers="true">
|
<product name="SCViewer" uid="scviewer" id="com.minres.scviewer.e4.application.product" application="org.eclipse.e4.ui.workbench.swt.E4Application" version="2.6.0.qualifier" useFeatures="true" includeLaunchers="true">
|
||||||
|
|
||||||
<configIni use="default">
|
<configIni use="default">
|
||||||
</configIni>
|
</configIni>
|
||||||
|
|
||||||
<launcherArgs>
|
<launcherArgs>
|
||||||
<programArgs>-clearPersistedState</programArgs>
|
<programArgs>-clearPersistedState
|
||||||
<vmArgs>-Xmx2G -Dosgi.instance.area=@user.home/.scviewer -Dosgi.instance.area.default=@user.home/.scviewer</vmArgs>
|
</programArgs>
|
||||||
<vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
|
<vmArgs>-Xmx2G -Dosgi.instance.area=@user.home/.scviewer -Dosgi.instance.area.default=@user.home/.scviewer
|
||||||
|
</vmArgs>
|
||||||
|
<vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
|
||||||
|
</vmArgsMac>
|
||||||
</launcherArgs>
|
</launcherArgs>
|
||||||
|
|
||||||
<windowImages/>
|
<windowImages/>
|
||||||
|
@ -41,105 +44,43 @@
|
||||||
</license>
|
</license>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin id="com.google.guava"/>
|
|
||||||
<plugin id="com.ibm.icu"/>
|
|
||||||
<plugin id="com.minres.scviewer.database"/>
|
|
||||||
<plugin id="com.minres.scviewer.database.sqlite"/>
|
|
||||||
<plugin id="com.minres.scviewer.database.text"/>
|
|
||||||
<plugin id="com.minres.scviewer.database.ui"/>
|
|
||||||
<plugin id="com.minres.scviewer.database.ui.swt"/>
|
|
||||||
<plugin id="com.minres.scviewer.database.vcd"/>
|
|
||||||
<plugin id="com.minres.scviewer.e4.application"/>
|
|
||||||
<plugin id="com.opcoach.e4.preferences"/>
|
|
||||||
<plugin id="com.opcoach.e4.preferences.mainmenu"/>
|
|
||||||
<plugin id="javax.annotation"/>
|
|
||||||
<plugin id="javax.inject"/>
|
|
||||||
<plugin id="org.apache.batik.constants"/>
|
|
||||||
<plugin id="org.apache.batik.css"/>
|
|
||||||
<plugin id="org.apache.batik.i18n"/>
|
|
||||||
<plugin id="org.apache.batik.util"/>
|
|
||||||
<plugin id="org.apache.commons.io"/>
|
|
||||||
<plugin id="org.apache.commons.jxpath"/>
|
|
||||||
<plugin id="org.apache.commons.logging"/>
|
|
||||||
<plugin id="org.apache.felix.scr"/>
|
|
||||||
<plugin id="org.apache.xmlgraphics"/>
|
|
||||||
<plugin id="org.codehaus.groovy"/>
|
|
||||||
<plugin id="org.eclipse.core.commands"/>
|
|
||||||
<plugin id="org.eclipse.core.contenttype"/>
|
|
||||||
<plugin id="org.eclipse.core.databinding"/>
|
|
||||||
<plugin id="org.eclipse.core.databinding.beans"/>
|
|
||||||
<plugin id="org.eclipse.core.databinding.observable"/>
|
|
||||||
<plugin id="org.eclipse.core.databinding.property"/>
|
|
||||||
<plugin id="org.eclipse.core.expressions"/>
|
|
||||||
<plugin id="org.eclipse.core.filesystem"/>
|
|
||||||
<plugin id="org.eclipse.core.filesystem.linux.x86_64" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.core.filesystem.win32.x86_64" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.core.jobs"/>
|
|
||||||
<plugin id="org.eclipse.core.resources"/>
|
|
||||||
<plugin id="org.eclipse.core.resources.win32.x86_64" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.core.runtime"/>
|
|
||||||
<plugin id="org.eclipse.e4.core.commands"/>
|
|
||||||
<plugin id="org.eclipse.e4.core.contexts"/>
|
|
||||||
<plugin id="org.eclipse.e4.core.di"/>
|
|
||||||
<plugin id="org.eclipse.e4.core.di.annotations"/>
|
|
||||||
<plugin id="org.eclipse.e4.core.di.extensions"/>
|
|
||||||
<plugin id="org.eclipse.e4.core.di.extensions.supplier"/>
|
|
||||||
<plugin id="org.eclipse.e4.core.services"/>
|
|
||||||
<plugin id="org.eclipse.e4.emf.xpath"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.bindings"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.css.core"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.css.swt"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.css.swt.theme"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.di"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.dialogs"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.model.workbench"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.services"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.swt.gtk" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.widgets"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.workbench"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.workbench.addons.swt"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.workbench.renderers.swt"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.workbench.swt"/>
|
|
||||||
<plugin id="org.eclipse.e4.ui.workbench3"/>
|
|
||||||
<plugin id="org.eclipse.emf.common"/>
|
|
||||||
<plugin id="org.eclipse.emf.ecore"/>
|
|
||||||
<plugin id="org.eclipse.emf.ecore.change"/>
|
|
||||||
<plugin id="org.eclipse.emf.ecore.xmi"/>
|
|
||||||
<plugin id="org.eclipse.equinox.app"/>
|
|
||||||
<plugin id="org.eclipse.equinox.common"/>
|
|
||||||
<plugin id="org.eclipse.equinox.concurrent"/>
|
|
||||||
<plugin id="org.eclipse.equinox.event"/>
|
|
||||||
<plugin id="org.eclipse.equinox.preferences"/>
|
|
||||||
<plugin id="org.eclipse.equinox.region" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.equinox.registry"/>
|
|
||||||
<plugin id="org.eclipse.equinox.transforms.hook" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.equinox.weaving.hook" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.help"/>
|
|
||||||
<plugin id="org.eclipse.jface"/>
|
|
||||||
<plugin id="org.eclipse.jface.databinding"/>
|
|
||||||
<plugin id="org.eclipse.osgi"/>
|
|
||||||
<plugin id="org.eclipse.osgi.compatibility.state" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.osgi.services"/>
|
|
||||||
<plugin id="org.eclipse.osgi.util"/>
|
|
||||||
<plugin id="org.eclipse.pde.ds.lib"/>
|
|
||||||
<plugin id="org.eclipse.swt"/>
|
|
||||||
<plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/>
|
|
||||||
<plugin id="org.eclipse.ui.workbench"/>
|
|
||||||
<plugin id="org.w3c.css.sac"/>
|
|
||||||
<plugin id="org.w3c.dom.events"/>
|
|
||||||
<plugin id="org.w3c.dom.smil"/>
|
|
||||||
<plugin id="org.w3c.dom.svg"/>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
||||||
<configurations>
|
<features>
|
||||||
<plugin id="org.apache.felix.scr" autoStart="true" startLevel="1" />
|
<feature id="com.minres.scviewer.e4.feature" installMode="root"/>
|
||||||
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
|
<feature id="com.minres.scviewer.ui.feature" installMode="root"/>
|
||||||
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
|
<feature id="com.minres.scviewer.database.feature" installMode="root"/>
|
||||||
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
|
<feature id="org.eclipse.help" installMode="root"/>
|
||||||
<plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
|
<feature id="org.eclipse.sdk" installMode="root"/>
|
||||||
</configurations>
|
<feature id="org.eclipse.equinox.p2.core.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.ecf.core.ssl.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.ecf.filetransfer.ssl.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.serverside.sdk" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.server.jetty" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.rcp" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.p2.rcp.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.ecf.filetransfer.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.server.p2" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.emf.ecore.source" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.p2.core.feature.source" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.emf.common" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.compendium.sdk" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.server.core" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.executable" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.emf.ecore" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.p2.user.ui" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.p2.extras.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.ecf.core.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.ecf.filetransfer.httpclient45.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.sdk" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.platform" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.core.sdk" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.e4.rcp" installMode="root"/>
|
||||||
|
<feature id="com.opcoach.e4.preferences.feature" installMode="root"/>
|
||||||
|
<feature id="org.eclipse.equinox.core.feature" installMode="root"/>
|
||||||
|
<feature id="org.codehaus.groovy25.feature" installMode="root"/>
|
||||||
|
</features>
|
||||||
|
|
||||||
|
|
||||||
<preferencesInfo>
|
<preferencesInfo>
|
||||||
<targetfile overwrite="false"/>
|
<targetfile overwrite="false"/>
|
||||||
|
|
|
@ -85,4 +85,11 @@ http://www.eclipse.org/legal/epl-v10.html
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="com.google.guava"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="0.0.0"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
</feature>
|
</feature>
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
A viewer for SystemC Verification Library transactions and VCD
|
A viewer for SystemC Verification Library transactions and VCD
|
||||||
signals. It supports a SQLite based recording as well as the built-in
|
signals. It supports a SQLite based recording as well as the
|
||||||
text base recording.
|
built-in text base recording.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
|
|
|
@ -17,4 +17,18 @@
|
||||||
[Enter License Description here.]
|
[Enter License Description here.]
|
||||||
</license>
|
</license>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="com.minres.scviewer.database.ui"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="0.0.0"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
|
<plugin
|
||||||
|
id="com.minres.scviewer.database.ui.swt"
|
||||||
|
download-size="0"
|
||||||
|
install-size="0"
|
||||||
|
version="0.0.0"
|
||||||
|
unpack="false"/>
|
||||||
|
|
||||||
</feature>
|
</feature>
|
||||||
|
|
|
@ -70,7 +70,7 @@ public class TextDbLoader implements IWaveformDbLoader{
|
||||||
try {
|
try {
|
||||||
def gzipped = isGzipped(file)
|
def gzipped = isGzipped(file)
|
||||||
if(isTxfile(gzipped?new GZIPInputStream(new FileInputStream(file)):new FileInputStream(file))){
|
if(isTxfile(gzipped?new GZIPInputStream(new FileInputStream(file)):new FileInputStream(file))){
|
||||||
def mapDbFile = File.createTempFile("."+file.name, "tmp", file.parentFile)
|
def mapDbFile = File.createTempFile("."+file.name, null /*"tmp"*/, null /*file.parentFile*/)
|
||||||
mapDbFile.delete()
|
mapDbFile.delete()
|
||||||
mapDbFile.deleteOnExit()
|
mapDbFile.deleteOnExit()
|
||||||
this.mapDb = DBMaker
|
this.mapDb = DBMaker
|
||||||
|
|
Loading…
Reference in New Issue