Skip to content

Commit

Permalink
Merge pull request #47 from PalladioSimulator/feature_launch
Browse files Browse the repository at this point in the history
Feature launch
  • Loading branch information
rsfzi authored Nov 25, 2024
2 parents a099d7a + 260f28a commit 4bac5c3
Show file tree
Hide file tree
Showing 35 changed files with 4,167 additions and 219 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
Palladio-Analyzer-SimExp:
uses: PalladioSimulator/Palladio-Build-ActionsPipeline/.github/workflows/[email protected]
with:
runner-label: ubuntu-latest
use-display-output: true
no-caching: true
deploy-updatesite: 'releng/org.palladiosimulator.simexp.updatesite/target/repository'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="target"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.so
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.palladiosimulator.simexp.pcm.prism.wrapper.linux.gtk.x86_64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Prism wrapper - linux
Bundle-SymbolicName: org.palladiosimulator.simexp.pcm.prism.wrapper.linux.gtk.x86_64
Bundle-Version: 1.0.0.qualifier
Fragment-Host: org.palladiosimulator.simexp.pcm.prism.wrapper
Bundle-RequiredExecutionEnvironment: JavaSE-17
Eclipse-PlatformFilter: (& (osgi.os=linux)(osgi.ws=gtk)(osgi.arch=x86_64))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bin.includes = META-INF/,\
.,\
*.so
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.palladiosimulator.simexp</groupId>
<artifactId>bundles</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>org.palladiosimulator.simexp.pcm.prism.wrapper.linux.gtk.x86_64</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>Prism wrapper - linux</name>

<packaging>eclipse-plugin</packaging>

<properties>
<prism.architecture>linux64-x86</prism.architecture>
<prism.file>prism-${prism.version}-${prism.architecture}</prism.file>
<prism.url>https://www.prismmodelchecker.org/dl/${prism.file}.tar.gz</prism.url>
</properties>

<build>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.10.0</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>${prism.url}</url>
<outputDirectory>${project.build.directory}</outputDirectory>
<unpack>true</unpack>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-linux-shared_libraries</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/${prism.file}/lib</directory>
<includes>
<include>*.so</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.dll
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.palladiosimulator.simexp.pcm.prism.wrapper.win32.win32.x86_64</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Prism wrapper - windows
Bundle-SymbolicName: org.palladiosimulator.simexp.pcm.prism.wrapper.win32.win32.x86_64
Bundle-Version: 1.0.0.qualifier
Fragment-Host: org.palladiosimulator.simexp.pcm.prism.wrapper
Bundle-RequiredExecutionEnvironment: JavaSE-17
Eclipse-PlatformFilter: (& (osgi.os=win32)(osgi.ws=win32)(osgi.arch=x86_64))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bin.includes = META-INF/,\
.,\
*.dll
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.palladiosimulator.simexp</groupId>
<artifactId>bundles</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>org.palladiosimulator.simexp.pcm.prism.wrapper.win32.win32.x86_64</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>Prism wrapper - windows</name>

<packaging>eclipse-plugin</packaging>

<profiles>
<profile>
<id>disable-build-if-no-prism</id>
<activation>
<property>
<name>!env.PRISM</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<strictBinIncludes>false</strictBinIncludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>copy-libs-prism</id>
<activation>
<property>
<name>env.PRISM</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-windows-shared_libraries</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}</outputDirectory>
<resources>
<resource>
<directory>${env.PRISM}/lib</directory>
<includes>
<include>*.dll</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,4 @@ bin.includes = META-INF/,\
plugin.xml,\
lib/,\
.,\
lib/colt.jar,\
lib/epsgraphics.jar,\
lib/jas.jar,\
lib/jcommon.jar,\
lib/jfreechart.jar,\
lib/jhoafparser.jar,\
lib/junit-platform-console-standalone.jar,\
lib/log4j-api.jar,\
lib/log4j-core.jar,\
lib/lpsolve55j.jar,\
lib/nailgun-server.jar,\
lib/prism.jar
lib/*.jar
Loading

0 comments on commit 4bac5c3

Please sign in to comment.