Ich habe einen OSGI Server, entwickelt unter Eclipse, der auf Windows, Macosx und Linux läuft. Tycho und Maven machen die Zielkonfiguration für diese Plattformen perfekt.Wie füge ich eine Datei in eine spezifische Zieldatei ein
Jetzt muss ich eine startup.sh oder startup.bat in der endgültigen. Zip-Datei gemäß der endgültigen os + ws und Bogen Platte einfügen. Gibt es so etwas wie ein „configuration.environments.environment.os“ und so weiter Maven Variablen ich meine Skripte Ordner neben dem Produktzielordner wie folgt verwenden könnte kopieren:
delivery_folder/
->x86_64/
->scripts/
Hier ist ein Auszug aus dem Produkt Pom-Datei:
Ich möchte Tycho Target-Environnement-Mechanismus verwenden.
Ich habe Setup Tycho mit:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
Vielen Dank für Ihre Hilfe