Commit 1ad3819b authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Merge branch '3620' of https://git.fortiss.org/af3/fortiss-std-env into 3620

parents 83133feb 394b7a4c
[submodule "target-definition"]
path = target-definition
url = https://git.fortiss.org/af3/target-definition.git
#!/bin/bash -e
if [ -f META-INF/MANIFEST.MF ]; then
ScriptLocation=`dirname "$0"`
PluginName=`grep -F "Bundle-SymbolicName: " META-INF/MANIFEST.MF | awk '{ print $2 }'`
PluginName=${PluginName%;*}
PluginVersion=`grep -F "Bundle-Version: " META-INF/MANIFEST.MF | awk '{ print $2 }'`
PluginVersion=${PluginVersion%.qualifier*}
echo 'Found Plugin Name: "'$PluginName'"'
echo 'Found Plugin Version: "'$PluginVersion'"'
echo "Fetching Template from $ScriptLocation"
sed -e "s/%PluginName%/$PluginName/g" \
-e "s/%PluginVersion%/$PluginVersion/g" \
$ScriptLocation/template-pom.xml > ./pom.xml
echo 'Generated pom.xml.'
else
echo 'Directory contains no META-INF/MANIFEST.MF'
exit 1;
fi
\ No newline at end of file
<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>
<groupId>org.fortiss.std.pom</groupId>
<artifactId>std-parent-pom-master</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>fortiss Master POM</name>
<properties>
<tycho-version>0.23.0</tycho-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<!-- enable tycho build extension -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<argLine>-Xms256m -Xmx512m</argLine>
<includes>
<include>**/AllTests.java</include>
</includes>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>0.23.0</version>
</plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>
tycho-packaging-plugin
</artifactId>
<versionRange>
[0.23.0,)
</versionRange>
<goals>
<goal>build-qualifier</goal>
<goal>validate-id</goal>
<goal>validate-version</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>
tycho-compiler-plugin
</artifactId>
<versionRange>
[0.23.0,)
</versionRange>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="Maven Build Target Platform" sequenceNumber="8">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/technology/swtbot/releases/latest/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/technology/nebula/snapshot"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/eclipse/updates/3.7"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/releases/indigo/"/>
</location>
<location path="${eclipse_home}" type="Profile"/>
</locations>
<environment>
<arch>x86_64</arch>
<nl>de_DE</nl>
</environment>
</target>
<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>
<groupId>org.fortiss.std.pom</groupId>
<artifactId>std-parent-pom</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<name>fortiss Standard Parent POM (Indigo based)</name>
<repositories>
<!-- configure p2 repository to resolve against -->
<repository>
<id>kepler-release</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
<repository>
<!-- Juno site is needed to provide Junit4 -->
<id>juno-release</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/juno</url>
</repository>
<repository>
<id>kepler-SR2</id>
<layout>p2</layout>
<url>http://download.eclipse.org/eclipse/updates/4.3</url>
</repository>
<repository>
<id>nebula</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/nebula/snapshot</url>
</repository>
<repository>
<id>swtbot</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/swtbot/releases/latest/</url>
</repository>
<repository>
<id>orbit</id>
<layout>p2</layout>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20140114142710/repository/</url>
</repository>
</repositories>
<parent>
<groupId>org.fortiss.std.pom</groupId>
<artifactId>std-parent-pom-master</artifactId>
<version>1.0</version>
<relativePath>master-pom.xml</relativePath>
</parent>
</project>
\ No newline at end of file
#!/bin/bash
for gm in `find . -wholename '*/model/*.genmodel'`; do
echo Processing $gm ...
sed -i -e 's/body=".*"\/>/\/>/g' $gm
sed -i -e 's/body=".*">/>/g' $gm
echo Safety grep ...
cat $gm | grep body
echo End of Safety
done
#!/bin/bash -e
ScriptLocation=`dirname "$0"`
for plugin in `find . -name 'META-INF' -printf '%h '`; do
echo 'Entering '$plugin' ...'
cd $plugin
../$ScriptLocation/create-pom-xml.sh
echo 'Exiting '$plugin' ...'
cd ..
echo
done
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) 2018 fortiss GmbH -->
<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>
<groupId>org.fortiss.af3</groupId>
<artifactId>%PluginName%</artifactId>
<packaging>eclipse-plugin</packaging>
<parent>
<groupId>org.fortiss.std.pom</groupId>
<artifactId>std-parent-pom</artifactId>
<version>1.0</version>
<relativePath>../../parent-pom.xml</relativePath>
</parent>
<version>%PluginVersion%-SNAPSHOT</version>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="Target-2018-12" sequenceNumber="8">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.nebula.feature.feature.group" version="2.1.0.201812241324"/>
<repository location="https://download.eclipse.org/nebula/releases/2.1.0/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.swtbot.eclipse.source.feature.group" version="2.7.0.201806111355"/>
<unit id="org.eclipse.swtbot.forms.source.feature.group" version="2.7.0.201806111355"/>
<unit id="org.eclipse.swtbot.source.feature.group" version="2.7.0.201806111355"/>
<repository location="http://download.eclipse.org/technology/swtbot/releases/2.7.0/"/>
</location>
<!--location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.apache.lucene" version="3.5.0.v20120725-1805"/>
<unit id="org.apache.lucene.analysis.source" version="3.5.0.v20120725-1805"/>
<unit id="org.apache.lucene.analysis" version="3.5.0.v20120725-1805"/>
<unit id="org.apache.lucene.core.source" version="3.5.0.v20120725-1805"/>
<unit id="org.apache.lucene.core" version="3.5.0.v20120725-1805"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20181128170323/repository"/>
</location-->
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.sdk.feature.group" version="2.16.0.v20181206-1055"/>
<unit id="org.eclipse.emf.transaction.sdk.feature.group" version="1.12.0.201805140824"/>
<unit id="org.eclipse.emf.validation.sdk.feature.group" version="1.12.0.201805030717"/>
<unit id="org.eclipse.gef.sdk.feature.group" version="3.11.0.201606061308"/>
<unit id="org.eclipse.gmf.feature.group" version="1.12.0.201806010809"/>
<unit id="org.eclipse.xtext.sdk.feature.group" version="2.16.0.v20181203-1555"/>
<repository location="https://download.eclipse.org/releases/2018-12"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.16.0.v20181130-2106"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.fx.runtime.feature.feature.group" version="3.5.0.201901230700"/>
<repository location="http://download.eclipse.org/efxclipse/runtime-nightly/site"/>
<unit id="org.eclipse.fx.target.rcp.feature.feature.group" version="3.5.0.201901230700"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="openjfx.standard.feature.feature.group" version="11.0.0.201901231300"/>
<repository location="http://downloads.efxclipse.bestsolution.at/p2-repos/openjfx-11/repository/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="javax.activation" version="1.1.0.v201211130549"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20180606145124/repository"/>
<unit id="javax.xml.bind" version="2.2.0.v201105210648"/>
<unit id="javax.servlet" version="3.1.0.v201410161800"/>
<unit id="javax.servlet.jsp" version="2.2.0.v201112011158"/>
</location>
</locations>
</target>
\ No newline at end of file
This folder contains eclipse configurations.
Note that changes to these files should be approved by the quality assurance team.
Changing the first file requires all users to update their local copy manually.
Changing the Eclipse preference files takes effect after users update their
checked out copy.
File Description
---- -----------
dropins/<rel>/*.jar Development support tools, which were bundled with ConQAT development tools, but are no
longer maintained by the ConQAT development team.
INSTALL: Copy the *.jar files into your Eclipse installation's "dropins" folder. Use the
correct Eclipse release <rel> (Indigo or Juno).
Restart Eclipse and issue a full rebuild using the Clean operation.
fortiss-*-codestyle These files (fortiss-java-codestyle, fortiss-c-codestyle, ...) contain the eclipse
code-formatter rules used by AF3. For consistency EVERY developer shall use these
rules. However, a manual import is not necessary, since the rules are also contained
in org.eclipse.jdt.* (see above).
Although not necessary, a manual import is performed the following way (example for java):
'Window' -> 'Preferences' -> 'Java' -> 'Code Style' -> 'Formatter' -> 'Import'
Then please make sure, that the new rule-set 'fortiss' is selected as the active profile.
This diff is collapsed.
Subproject commit 90c2bd027070ad4d1b616674cb34bb348d86e57f
Markdown is supported
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