Difference between revisions of "Count to 10"
From CCIL
(Created page with "__TOC__ == Goal == This tutorial uses the ''counters'' component, to create a simple pipeline that executes exactly 10 times. == Setup == TBA === Project === TBA ==== Distri...") |
(→Setup) |
||
Line 5: | Line 5: | ||
== Setup == | == Setup == | ||
+ | This project contains only a distribution. Once compiled, it will produce a zip which contains all you need to run the application. | ||
+ | <pre> | ||
+ | ccil-tutorials-count10 | ||
+ | |- distribution | ||
+ | \- pom.xml | ||
+ | </pre> | ||
+ | == Project == | ||
TBA | TBA | ||
− | === | + | === Setup === |
TBA | TBA | ||
==== Distribution ==== | ==== Distribution ==== | ||
TBA | TBA | ||
+ | ===== pom.xml ==== | ||
+ | <pre> | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <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>ccil-tutorials-count10</artifactId> | ||
+ | <name>ccil-tutorials-count10</name> | ||
+ | <url>http://ccil.sourceforge.net/documentation/index.php?title=Count_to_10</url> | ||
+ | <packaging>pom</packaging> | ||
+ | <properties> | ||
+ | <sharpfind.version>1.0.3</sharpfind.version> | ||
+ | </properties> | ||
+ | <parent> | ||
+ | <groupId>net.ccil</groupId> | ||
+ | <artifactId>ccil-tutorials</artifactId> | ||
+ | <version>1.3.6</version> | ||
+ | </parent> | ||
+ | <dependencies> | ||
+ | <!-- App --> | ||
+ | <dependency> | ||
+ | <artifactId>ccil-app</artifactId> | ||
+ | <groupId>net.ccil</groupId> | ||
+ | <version>${ccil.version}</version> | ||
+ | </dependency> | ||
+ | <dependency> | ||
+ | <artifactId>ccil-common-generic</artifactId> | ||
+ | <groupId>net.ccil</groupId> | ||
+ | <version>${ccil.version}</version> | ||
+ | <scope>runtime</scope> | ||
+ | </dependency> | ||
+ | <dependency> | ||
+ | <groupId>mysql</groupId> | ||
+ | <artifactId>mysql-connector-java</artifactId> | ||
+ | <version>5.1.17</version> | ||
+ | </dependency> | ||
+ | </dependencies> | ||
+ | <build> | ||
+ | <finalName>${project.name}</finalName> | ||
+ | <plugins> | ||
+ | <plugin> | ||
+ | <artifactId>maven-assembly-plugin</artifactId> | ||
+ | <configuration> | ||
+ | <descriptors> | ||
+ | <descriptor>bin.xml</descriptor> | ||
+ | </descriptors> | ||
+ | </configuration> | ||
+ | <executions> | ||
+ | <execution> | ||
+ | <id>make-assembly</id> | ||
+ | <phase>package</phase> | ||
+ | <goals> | ||
+ | <goal>attached</goal> | ||
+ | </goals> | ||
+ | </execution> | ||
+ | </executions> | ||
+ | </plugin> | ||
+ | </plugins> | ||
+ | </build> | ||
+ | |||
+ | <organization> | ||
+ | <name>Data Craft and Magic ltd.</name> | ||
+ | <url>http://datacraftmagic.com/</url> | ||
+ | </organization> | ||
+ | </project> | ||
+ | </pre> | ||
==== Startup script ==== | ==== Startup script ==== | ||
TBA | TBA | ||
==== Configuration ==== | ==== Configuration ==== | ||
TBA | TBA | ||
+ | |||
== The application context == | == The application context == | ||
TBA | TBA |
Revision as of 09:02, 18 May 2017
Contents
Goal
This tutorial uses the counters component, to create a simple pipeline that executes exactly 10 times.
Setup
This project contains only a distribution. Once compiled, it will produce a zip which contains all you need to run the application.
ccil-tutorials-count10 |- distribution \- pom.xml
Project
TBA
Setup
TBA
Distribution
TBA
= pom.xml
<?xml version="1.0" encoding="UTF-8"?> <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>ccil-tutorials-count10</artifactId> <name>ccil-tutorials-count10</name> <url>http://ccil.sourceforge.net/documentation/index.php?title=Count_to_10</url> <packaging>pom</packaging> <properties> <sharpfind.version>1.0.3</sharpfind.version> </properties> <parent> <groupId>net.ccil</groupId> <artifactId>ccil-tutorials</artifactId> <version>1.3.6</version> </parent> <dependencies> <!-- App --> <dependency> <artifactId>ccil-app</artifactId> <groupId>net.ccil</groupId> <version>${ccil.version}</version> </dependency> <dependency> <artifactId>ccil-common-generic</artifactId> <groupId>net.ccil</groupId> <version>${ccil.version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.17</version> </dependency> </dependencies> <build> <finalName>${project.name}</finalName> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>bin.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>attached</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <organization> <name>Data Craft and Magic ltd.</name> <url>http://datacraftmagic.com/</url> </organization> </project>
Startup script
TBA
Configuration
TBA
The application context
TBA
Further steps
TBA
Links
TBA