Commit 6211230f authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Extract the af3 product to a separate repository.



Issue-Ref: 3620
Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parents
Pipeline #13556 failed with stages
in 1 minute and 8 seconds
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="AutoFOCUS 3 - &quot;Phoenix&quot; 2.14" uid="org.fortiss.af3.phoenix.product" id="org.fortiss.af3.rcp.application.product" application="org.fortiss.af3.rcp.application.af3app" version="2.14.0.qualifier" useFeatures="true" includeLaunchers="true">
<aboutInfo>
<image path="icons/about.png"/>
<text>
AutoFOCUS 3 - &quot;Phoenix&quot;
Version: 2.14.0
Copyright 2011-2018 fortiss GmbH
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied. See the License for the specific language
governing permissions and limitations under the License.
</text>
</aboutInfo>
<configIni use="default">
</configIni>
<launcherArgs>
<programArgs>-Dosgi.framework.extensions=reference:file:org.eclipse.fx.osgi
</programArgs>
<vmArgsLin>-Xmx1024m -Xss32m
</vmArgsLin>
<vmArgsMac>-Xmx1024m -Xss32m -XstartOnFirstThread
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20140116-2212
-showsplash
</vmArgsMac>
<vmArgsWin>-Xmx512m -Xss16m
-Dorg.osgi.framework.os.name=win32
</vmArgsWin>
</launcherArgs>
<windowImages i16="icons/dock_icons/icon16.png" i32="icons/dock_icons/icon32.png" i48="icons/dock_icons/icon48.png" i64="icons/dock_icons/icon64.png" i128="icons/dock_icons/icon128.png"/>
<splash
location="org.fortiss.af3.rcp.application"
startupProgressRect="0,290,450,10"
startupMessageRect="0,275,450,15"
startupForegroundColor="35517B" />
<launcher name="autofocus3-phoenix">
<linux icon="icons/dock_icons/icon128.xpm"/>
<macosx icon="icons/dock_icons/icon128.icns"/>
<win useIco="true">
<ico path="icons/dock_icons/icon.ico"/>
<bmp/>
</win>
</launcher>
<vm>
<windows include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</windows>
</vm>
<license>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<text>
Copyright 2011-2018 fortiss GmbH
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</text>
</license>
<plugins>
</plugins>
<features>
<feature id="org.fortiss.af3.phoenix.feature" version="2.14.0.qualifier"/>
<feature id="org.eclipse.rcp"/>
<feature id="openjfx.standard.feature" version="11.0.0.201901231300"/>
<feature id="openjfx.swt.feature" version="11.0.0.201901231300"/>
<feature id="org.eclipse.fx.runtime.feature" version="3.5.0.201902110700"/>
</features>
<configurations>
<plugin id="org.apache.felix.scr" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
</configurations>
<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>
<cssInfo>
</cssInfo>
</product>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>AF3 Phoenix 2.14 Product</name>
<version>2.14.0-SNAPSHOT</version>
<artifactId>org.fortiss.af3.phoenix.product</artifactId>
<groupId>org.fortiss.af3.phoenix.products</groupId>
<packaging>eclipse-repository</packaging>
<parent>
<artifactId>org.fortiss.af3.root</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<!-- install the product using the p2 director -->
<id>default-materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<!-- create zip file with the installed product -->
<id>archive-products</id>
<phase>verify</phase>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
<configuration>
<products>
<product>
<id>org.fortiss.af3.phoenix.product</id>
<rootFolder>AutoFOCUS3</rootFolder>
<rootFolders>
<linux>AutoFOCUS3</linux>
<macosx>AutoFOCUS3</macosx>
<windows>AutoFOCUS3</windows>
</rootFolders>
</product>
</products>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>patch-product</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="Final product patching">
<!-- Linux build -->
<echo message="Creating linux launcher script..."/>
<move file="${project.build.directory}/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/AutoFOCUS3/autofocus3-phoenix" tofile="${project.build.directory}/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/autofocus3/autofocus3-phoenix.bin"/>
<move file="${project.build.directory}/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/AutoFOCUS3/autofocus3-phoenix.ini" tofile="${project.build.directory}/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/autofocus3/autofocus3-phoenix.bin.ini"/>
<echo file="${project.build.directory}/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/AutoFOCUS3/autofocus3-phoenix" append="false">
#!/bin/sh
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:plugins/com.microsoft.z3_2.14.0.${buildQualifier}/lib/x64 ./autofocus3-phoenix.bin $$*
</echo>
<chmod perm="a+x" file="${project.build.directory}/products/org.fortiss.af3.phoenix.product/linux/gtk/x86_64/autofocus3/autofocus3-phoenix"/>
<!-- MacOS build -->
<echo message="Fixing MacOS build..."/>
<copy todir="${project.build.directory}/products/org.fortiss.af3.phoenix.product/macosx/cocoa/x86_64/AutoFOCUS3.app/Contents/MacOS/">
<fileset dir="${project.build.directory}/products/org.fortiss.af3.phoenix.product/macosx/cocoa/x86_64/AutoFOCUS3.app/Contents/Eclipse/plugins/com.microsoft.z3_2.14.0.${buildQualifier}/lib/x64/">
<include name="*.dylib"/>
</fileset>
</copy>
<copy file="${project.build.directory}/products/org.fortiss.af3.phoenix.product/macosx/cocoa/x86_64/AutoFOCUS3.app/Contents/Eclipse/autofocus3-phoenix.ini"
todir="${project.build.directory}/products/org.fortiss.af3.phoenix.product/macosx/cocoa/x86_64/AutoFOCUS3.app/Contents/MacOS/"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>org.fortiss.af3.phoenix.products</artifactId>
<groupId>org.fortiss.af3.product</groupId>
<packaging>pom</packaging>
<parent>
<groupId>org.fortiss.af3</groupId>
<artifactId>org.fortiss.af3.root</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modules>
<module>org.fortiss.af3.phoenix.product</module>
</modules>
</project>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment