Skip to content
Snippets Groups Projects
Commit 8cbcea42 authored by Tim Kluge's avatar Tim Kluge
Browse files

Add feature, updatesite

parent 2234493a
No related branches found
No related tags found
No related merge requests found
Pipeline #7988 failed
Showing
with 217 additions and 2 deletions
...@@ -17,6 +17,7 @@ pages: ...@@ -17,6 +17,7 @@ pages:
stage: deploy stage: deploy
script: script:
- mkdocs build --strict --verbose - mkdocs build --strict --verbose
- cp -r org.framed.updatesite/* public/site
artifacts: artifacts:
paths: paths:
- public - public
......
site_name: FRAmED site_name: FRAmED
site_url: https://pages.gitlab.io/mkdocs
site_dir: public
theme: readthedocs theme: readthedocs
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.framed.feature</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>
bin.includes = feature.xml
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.framed.feature"
label="Feature"
version="1.0.0">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<plugin
id="org.framed.iorm.model"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.framed.iorm.featuremodel"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.rosi.crom.metamodel.editor"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.framed.iorm.transformation.test"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.framed.iorm.editpolicymodel"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.rosi.crom.toformal.cli"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.framed.iorm.model.edit"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.framed.iorm.editpolicymodel.tests"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.rosi.crom.toformal"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.rosi.crom.metamodel.tests"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.framed.iorm.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.rosi.crom.metamodel"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.rosi.crom.metamodel.edit"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.framed.iorm.transformation"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
</feature>
...@@ -505,6 +505,10 @@ version(s), and exceptions or additional permissions here}.&quot; ...@@ -505,6 +505,10 @@ version(s), and exceptions or additional permissions here}.&quot;
<plugin id="org.framed.iorm.ui" autoStart="true" startLevel="3" /> <plugin id="org.framed.iorm.ui" autoStart="true" startLevel="3" />
</configurations> </configurations>
<repositories>
<repository location="http://https://rosi.pages.st.inf.tu-dresden.de/framed/site" enabled="true" />
</repositories>
<preferencesInfo> <preferencesInfo>
<targetfile overwrite="false"/> <targetfile overwrite="false"/>
</preferencesInfo> </preferencesInfo>
......
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.framed.updatesite</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.UpdateSiteBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.UpdateSiteNature</nature>
</natures>
</projectDescription>
File added
File added
File added
<html>
<head>
<title>org.framed.updatesite</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>@import url("web/site.css");</style>
<script type="text/javascript">
var returnval = 0;
var stylesheet, xmlFile, cache, doc;
function init(){
// NSCP 7.1+ / Mozilla 1.4.1+ / Safari
// Use the standard DOM Level 2 technique, if it is supported
if (document.implementation && document.implementation.createDocument) {
xmlFile = document.implementation.createDocument("", "", null);
stylesheet = document.implementation.createDocument("", "", null);
if (xmlFile.load){
xmlFile.load("site.xml");
stylesheet.load("web/site.xsl");
} else {
alert("Document could not be loaded by browser.");
}
xmlFile.addEventListener("load", transform, false);
stylesheet.addEventListener("load", transform, false);
}
//IE 6.0+ solution
else if (window.ActiveXObject) {
xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
xmlFile.async = false;
xmlFile.load("site.xml");
stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
stylesheet.async = false;
stylesheet.load("web/site.xsl");
cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
cache.stylesheet = stylesheet;
transformData();
}
}
// separate transformation function for IE 6.0+
function transformData(){
var processor = cache.createProcessor();
processor.input = xmlFile;
processor.transform();
data.innerHTML = processor.output;
}
// separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
function transform(){
returnval+=1;
if (returnval==2){
var processor = new XSLTProcessor();
processor.importStylesheet(stylesheet);
doc = processor.transformToDocument(xmlFile);
document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
}
}
</script>
</head>
<body onload="init();">
<!--[insert static HTML here]-->
<div id="data"><!-- this is where the transformed data goes --></div>
</body>
</html>
File added
File added
File added
File added
File added
File added
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment