Commit 8ba967c2 authored by Lionel Seinturier's avatar Lionel Seinturier

Move from tabs to 4-spaces

parent 249c0a9e
<assembly> <assembly>
<id>bin</id> <id>bin</id>
<formats> <formats>
<format>zip</format> <format>zip</format>
</formats> </formats>
<!-- ================================================= --> <!-- ================================================= -->
<!-- Files to be included in the distribution --> <!-- Files to be included in the distribution -->
<!-- ================================================= --> <!-- ================================================= -->
<fileSets> <fileSets>
<!-- ================================================= --> <!-- ================================================= -->
<!-- LICENSE.txt and RELEASE_NOTES.txt --> <!-- LICENSE.txt and RELEASE_NOTES.txt -->
<!-- ================================================= --> <!-- ================================================= -->
<fileSet> <fileSet>
<directory>..</directory> <directory>..</directory>
<outputDirectory></outputDirectory> <outputDirectory></outputDirectory>
<includes> <includes>
<include>LICENSE.txt</include> <include>LICENSE.txt</include>
<include>RELEASE_NOTES.txt</include> <include>RELEASE_NOTES.txt</include>
</includes> </includes>
</fileSet> </fileSet>
<!-- ================================================= --> <!-- ================================================= -->
<!-- Hello World example --> <!-- Hello World example -->
<!-- ================================================= --> <!-- ================================================= -->
<fileSet> <fileSet>
<directory>../examples/sca-adl/helloworld</directory> <directory>../examples/sca-adl/helloworld</directory>
<outputDirectory>examples/helloworld</outputDirectory> <outputDirectory>examples/helloworld</outputDirectory>
<includes> <includes>
<include>**/*.java</include> <include>**/*.java</include>
<include>**/*.composite</include> <include>**/*.composite</include>
</includes> </includes>
<excludes> <excludes>
<exclude>**/advanced/**</exclude> <exclude>**/advanced/**</exclude>
<exclude>**/target/**</exclude> <exclude>**/target/**</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
<!-- ================================================= --> <!-- ================================================= -->
<!-- Binary distribution build.xml and README.txt --> <!-- Binary distribution build.xml and README.txt -->
<!-- ================================================= --> <!-- ================================================= -->
<fileSet> <fileSet>
<directory>src/main/resources/assemble/bin</directory> <directory>src/main/resources/assemble/bin</directory>
<outputDirectory></outputDirectory> <outputDirectory></outputDirectory>
<includes> <includes>
<include>**/*</include> <include>**/*</include>
</includes> </includes>
</fileSet> </fileSet>
</fileSets> </fileSets>
<dependencySets> <dependencySets>
<dependencySet> <dependencySet>
<outputDirectory>lib</outputDirectory> <outputDirectory>lib</outputDirectory>
<scope>runtime</scope> <scope>runtime</scope>
</dependencySet> </dependencySet>
</dependencySets> </dependencySets>
</assembly> </assembly>
\ 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/maven-v4_0_0.xsd"> <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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.ow2.frascati.tinfi</groupId> <groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-parent</artifactId> <artifactId>frascati-tinfi-parent</artifactId>
<version>1.6-SNAPSHOT</version> <version>1.6-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<artifactId>frascati-tinfi-all</artifactId> <artifactId>frascati-tinfi-all</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Tinfi With All Dependencies</name> <name>Tinfi With All Dependencies</name>
<dependencies> <dependencies>
<!-- ================================================== --> <!-- ================================================== -->
<!-- Tinfi runtime artifact --> <!-- Tinfi runtime artifact -->
<!-- ================================================== --> <!-- ================================================== -->
<dependency> <dependency>
<groupId>org.ow2.frascati.tinfi</groupId> <groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-runtime</artifactId> <artifactId>frascati-tinfi-runtime</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- ================================================== --> <!-- ================================================== -->
<!-- Optimization levels --> <!-- Optimization levels -->
<!-- ================================================== --> <!-- ================================================== -->
<dependency> <dependency>
<groupId>org.ow2.frascati.tinfi</groupId> <groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-oo</artifactId> <artifactId>frascati-tinfi-oo</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ow2.frascati.tinfi</groupId> <groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-ultra-merge</artifactId> <artifactId>frascati-tinfi-ultra-merge</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- ================================================== --> <!-- ================================================== -->
<!-- Juliac plugins: SCA ADL Parser, JDT, Spoon --> <!-- Juliac plugins: SCA ADL Parser, JDT, Spoon -->
<!-- ================================================== --> <!-- ================================================== -->
<dependency> <dependency>
<groupId>org.ow2.frascati.tinfi</groupId> <groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-scaadl</artifactId> <artifactId>frascati-tinfi-scaadl</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ow2.fractal.juliac</groupId> <groupId>org.ow2.fractal.juliac</groupId>
<artifactId>juliac-jdt</artifactId> <artifactId>juliac-jdt</artifactId>
<version>${juliac.version}</version> <version>${juliac.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ow2.fractal.juliac</groupId> <groupId>org.ow2.fractal.juliac</groupId>
<artifactId>juliac-spoon</artifactId> <artifactId>juliac-spoon</artifactId>
<version>${juliac.version}</version> <version>${juliac.version}</version>
</dependency> </dependency>
<!-- ================================================== --> <!-- ================================================== -->
<!-- Julia and Tinfi source artifacts for mixin layers --> <!-- Julia and Tinfi source artifacts for mixin layers -->
<!-- ================================================== --> <!-- ================================================== -->
<dependency> <dependency>
<groupId>org.objectweb.fractal.julia</groupId> <groupId>org.objectweb.fractal.julia</groupId>
<artifactId>julia-mixins</artifactId> <artifactId>julia-mixins</artifactId>
<version>${julia.version}</version> <version>${julia.version}</version>
<classifier>sources</classifier> <classifier>sources</classifier>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ow2.frascati.tinfi</groupId> <groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-mixins</artifactId> <artifactId>frascati-tinfi-mixins</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<classifier>sources</classifier> <classifier>sources</classifier>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<!-- ================================================== --> <!-- ================================================== -->
<!-- Maven assembly plugin --> <!-- Maven assembly plugin -->
<!-- ================================================== --> <!-- ================================================== -->
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<configuration> <configuration>
<descriptors> <descriptors>
<descriptor>assembly.xml</descriptor> <descriptor>assembly.xml</descriptor>
</descriptors> </descriptors>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- <!--
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--> -->
<project name="Tinfi HelloWorld example" default="execute"> <project name="Tinfi HelloWorld example" default="execute">
<property name="lib" location="../../lib" /> <property name="lib" location="../../lib" />
<property name="build" location="target" /> <property name="build" location="target" />
<property name="classes" location="${build}/classes" /> <property name="classes" location="${build}/classes" />
<path id="classpath.compile"> <path id="classpath.compile">
<fileset dir="${lib}"> <fileset dir="${lib}">
<include name="**/*.jar" /> <include name="**/*.jar" />
</fileset> </fileset>
<pathelement location="src/main/resources" /> <pathelement location="src/main/resources" />
<pathelement location="${classes}" /> <pathelement location="${classes}" />
</path> </path>
<path id="classpath.execute"> <path id="classpath.execute">
<pathelement location="${lib}/osoa-java-api-1.0.jar" /> <pathelement location="${lib}/osoa-java-api-1.0.jar" />
<pathelement location="${lib}/fractal-api-2.0.2.jar" /> <pathelement location="${lib}/fractal-api-2.0.2.jar" />
<pathelement location="${lib}/julia-runtime-2.5.2.jar" /> <pathelement location="${lib}/julia-runtime-2.5.2.jar" />
<pathelement location="${lib}/aopalliance-1.0.jar" /> <pathelement location="${lib}/aopalliance-1.0.jar" />
<fileset dir="${lib}" includes="juliac-runtime-*.jar" /> <fileset dir="${lib}" includes="juliac-runtime-*.jar" />
<fileset dir="${lib}" includes="frascati-tinfi-runtime-*.jar" /> <fileset dir="${lib}" includes="frascati-tinfi-runtime-*.jar" />
<fileset dir="${lib}" includes="frascati-tinfi-metadata-*.jar" /> <fileset dir="${lib}" includes="frascati-tinfi-metadata-*.jar" />
<pathelement location="${classes}" /> <pathelement location="${classes}" />
</path> </path>
<!-- ==================================================== --> <!-- ==================================================== -->
<!-- Compile the project --> <!-- Compile the project -->
<!-- ==================================================== --> <!-- ==================================================== -->
<target name="compile"> <target name="compile">
<!-- mkdir needed else the directory in not included in classpath --> <!-- mkdir needed else the directory in not included in classpath -->
<mkdir dir="${classes}" /> <mkdir dir="${classes}" />
<java fork="yes" classname="org.objectweb.fractal.juliac.Juliac"> <java fork="yes" classname="org.objectweb.fractal.juliac.Juliac">
<classpath refid="classpath.compile" /> <classpath refid="classpath.compile" />
<arg value="--compileInput" /> <arg value="--compileInput" />
...@@ -58,27 +58,27 @@ ...@@ -58,27 +58,27 @@
<arg value="${lib}/julia-mixins-2.5.2-sources.jar;${lib}/frascati-tinfi-mixins-1.4.4-sources.jar" /> <arg value="${lib}/julia-mixins-2.5.2-sources.jar;${lib}/frascati-tinfi-mixins-1.4.4-sources.jar" />
<arg value="HelloWorld" /> <arg value="HelloWorld" />
</java> </java>
</target> </target>
<!-- ==================================================== --> <!-- ==================================================== -->
<!-- Execute the project --> <!-- Execute the project -->
<!-- ==================================================== --> <!-- ==================================================== -->
<target name="execute" depends="compile"> <target name="execute" depends="compile">
<java <java
fork="yes" fork="yes"
classname="org.ow2.frascati.tinfi.Launcher" classname="org.ow2.frascati.tinfi.Launcher"
classpathref="classpath.execute"> classpathref="classpath.execute">
<arg value="HelloWorld" /> <arg value="HelloWorld" />
<arg value="r" /> <arg value="r" />
</java> </java>
</target> </target>
<!-- ==================================================== --> <!-- ==================================================== -->
<!-- Clean the project --> <!-- Clean the project -->
<!-- ==================================================== --> <!-- ==================================================== -->
<target name="clean"> <target name="clean">
<delete dir="${build}" /> <delete dir="${build}" />
</target> </target>
</project> </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"> <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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.ow2.frascati.tinfi.examples</groupId> <groupId>org.ow2.frascati.tinfi.examples</groupId>
<artifactId>frascati-tinfi-foobar-cases</artifactId> <artifactId>frascati-tinfi-foobar-cases</artifactId>
<version>1.6-SNAPSHOT</version> <version>1.6-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<artifactId>frascati-tinfi-classproperty</artifactId> <artifactId>frascati-tinfi-classproperty</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Tinfi Example Property of Type Class</name> <name>Tinfi Example Property of Type Class</name>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
</dependency> </dependency>