scripting: Package and publish scripting features
There is one base scripting feature with no language support, and one
javascript feature adding all necessary dependencies to run javascript
EASE scripts.
Change-Id: Ie40ecb667f1a1ee7ebf7ae84015529dba6426c22
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/141545
Tested-by: CI Bot
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/.project b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/.project
new file mode 100644
index 0000000..d5e95bc
--- /dev/null
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.tracecompass.incubator.scripting.javascript</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/build.properties b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/build.properties
new file mode 100644
index 0000000..b49529e
--- /dev/null
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/build.properties
@@ -0,0 +1,11 @@
+###############################################################################
+# Copyright (c) 2019 Ecole Polytechnique de Montreal
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+###############################################################################
+
+bin.includes = feature.xml,\
+ feature.properties
\ No newline at end of file
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/feature.properties b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/feature.properties
new file mode 100644
index 0000000..e12361c
--- /dev/null
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/feature.properties
@@ -0,0 +1,17 @@
+###############################################################################
+# Copyright (c) 2019 Ecole Polytechnique de Montreal
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+###############################################################################
+
+featureName=Trace Compass Scripting Javascript (Incubation)
+
+description=This feature provides Javascript scripting capabilities to Trace Compass, using the EASE scripting framework.
+
+featureProvider=École Polytechnique de Montréal
+
+copyright=2019 École Polytechnique de Montréal
+
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/feature.xml b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/feature.xml
new file mode 100644
index 0000000..f921ccd
--- /dev/null
+++ b/analyses/org.eclipse.tracecompass.incubator.scripting.javascript/feature.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.eclipse.tracecompass.incubator.scripting.javascript"
+ label="%featureName"
+ version="0.0.1.qualifier"
+ provider-name="%featureProvider"
+ license-feature="org.eclipse.license"
+ license-feature-version="0.0.0">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <includes
+ id="org.eclipse.tracecompass.incubator.scripting"
+ version="0.0.0"/>
+
+ <requires>
+ <import feature="org.eclipse.ease.lang.javascript.feature"/>
+ </requires>
+
+</feature>
diff --git a/analyses/pom.xml b/analyses/pom.xml
index a504846..316ca76 100644
--- a/analyses/pom.xml
+++ b/analyses/pom.xml
@@ -44,6 +44,7 @@
<module>org.eclipse.tracecompass.incubator.filters.core.tests</module>
<module>org.eclipse.tracecompass.incubator.filters.ui</module>
<module>org.eclipse.tracecompass.incubator.scripting</module>
+ <module>org.eclipse.tracecompass.incubator.scripting.javascript</module>
<module>org.eclipse.tracecompass.incubator.scripting.core</module>
<module>org.eclipse.tracecompass.incubator.scripting.core.tests</module>
<module>org.eclipse.tracecompass.incubator.scripting.ui</module>
diff --git a/common/org.eclipse.tracecompass.incubator.releng-site/category.xml b/common/org.eclipse.tracecompass.incubator.releng-site/category.xml
index aec77bb..ebfc983 100644
--- a/common/org.eclipse.tracecompass.incubator.releng-site/category.xml
+++ b/common/org.eclipse.tracecompass.incubator.releng-site/category.xml
@@ -3,59 +3,65 @@
<description>
Nightly builds of Trace Compass project.
</description>
- <feature url="features/org.eclipse.tracecompass.incubator.traceevent_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.traceevent" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.traceevent_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.traceevent" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.virtual.machine.analysis_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.virtual.machine.analysis" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.virtual.machine.analysis_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.virtual.machine.analysis" version="0.0.0">
<category name="virtualization"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.callstack_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.callstack" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.callstack_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.callstack" version="0.0.0">
<category name="callstack"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.perf.profiling_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.perf.profiling" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.perf.profiling_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.perf.profiling" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.uftrace_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.uftrace" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.uftrace_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.uftrace" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.contextswitch_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.contextswitch" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.contextswitch_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.contextswitch" version="0.0.0">
<category name="analyses"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.lttng2.ust.extras_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.lttng2.ust.extras" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.lttng2.ust.extras_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.lttng2.ust.extras" version="0.0.0">
<category name="analyses"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.tracecompass_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.tracecompass" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.tracecompass_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.tracecompass" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.atrace_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.atrace" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.atrace_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.atrace" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.ftrace_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.ftrace" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.ftrace_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.ftrace" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.hudson.maven_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.hudson.maven" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.hudson.maven_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.hudson.maven" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.opentracing_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.opentracing" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.opentracing_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.opentracing" version="0.0.0">
<category name="trace-types"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.kernel_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.kernel" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.kernel_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.kernel" version="0.0.0">
<category name="analyses"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.eventfieldcount_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.eventfieldcount" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.eventfieldcount_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.eventfieldcount" version="0.0.0">
<category name="analyses"/>
</feature>
- <feature url="features/org.eclipse.tracecompass.incubator.filters_0.0.1.qualifier.jar" id="org.eclipse.tracecompass.incubator.filters" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.filters_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.filters" version="0.0.0">
<category name="utilities"/>
</feature>
- <bundle id="org.eclipse.tracecompass.incubator.analysis.core" version="0.0.1.qualifier">
+ <feature url="features/org.eclipse.tracecompass.incubator.scripting_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.scripting" version="0.0.0">
+ <category name="analyses"/>
+ </feature>
+ <feature url="features/org.eclipse.tracecompass.incubator.scripting.javascript_0.0.0.qualifier.jar" id="org.eclipse.tracecompass.incubator.scripting.javascript" version="0.0.0">
+ <category name="analyses"/>
+ </feature>
+ <bundle id="org.eclipse.tracecompass.incubator.analysis.core" version="0.0.0">
<category name="analyses"/>
</bundle>
- <bundle id="javax.ws.rs" />
- <bundle id="org.eclipse.lsp4j" />
- <bundle id="org.eclipse.lsp4j.jsonrpc" />
- <bundle id="org.eclipse.xtext.xbase.lib" />
- <bundle id="org.apache.commons.lang" />
+ <bundle id="javax.ws.rs"/>
+ <bundle id="org.eclipse.lsp4j"/>
+ <bundle id="org.eclipse.lsp4j.jsonrpc"/>
+ <bundle id="org.eclipse.xtext.xbase.lib"/>
+ <bundle id="org.apache.commons.lang"/>
<category-def name="trace-types" label="Trace Types"/>
<category-def name="virtualization" label="Virtualization"/>
<category-def name="analyses" label="Analyses"/>
diff --git a/common/org.eclipse.tracecompass.incubator.releng-site/pom.xml b/common/org.eclipse.tracecompass.incubator.releng-site/pom.xml
index 8d27d11..b1ad8d6 100644
--- a/common/org.eclipse.tracecompass.incubator.releng-site/pom.xml
+++ b/common/org.eclipse.tracecompass.incubator.releng-site/pom.xml
@@ -40,6 +40,11 @@
<configuration>
<removeDefaultCategory>true</removeDefaultCategory>
<skipWebContentGeneration>true</skipWebContentGeneration>
+ <associateSites>
+ <site>https://download.eclipse.org/webtools/downloads/drops/R3.13.0/I-latest/repository/</site>
+ <site>http://download.eclipse.org/tools/orbit/downloads/drops/R20190226160451/repository/</site>
+ <site>http://download.eclipse.org/ease/update/release</site>
+ </associateSites>
<skipBuildInfo>true</skipBuildInfo>
</configuration>
</plugin>