Difference between revisions of "Hello World!"
From CCIL
Line 1: | Line 1: | ||
+ | == 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>dcmpc-services-dictionary-distribution</artifactId> | ||
+ | <name>dcmpc-services-dictionary-distribution</name> | ||
+ | <url>http://wiki.datacraftmagic.com/display/SFIND/%23Find+Home</url> | ||
+ | <packaging>pom</packaging> | ||
+ | <properties> | ||
+ | <sharpfind.version>1.0.3</sharpfind.version> | ||
+ | </properties> | ||
+ | <parent> | ||
+ | <groupId>com.datacraftmagic</groupId> | ||
+ | <artifactId>dcmpc-services-dictionary</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> | ||
+ | |||
== hello_world.ttl == | == hello_world.ttl == | ||
Revision as of 14:44, 13 May 2017
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>dcmpc-services-dictionary-distribution</artifactId> <name>dcmpc-services-dictionary-distribution</name> <url>http://wiki.datacraftmagic.com/display/SFIND/%23Find+Home</url> <packaging>pom</packaging> <properties> <sharpfind.version>1.0.3</sharpfind.version> </properties> <parent> <groupId>com.datacraftmagic</groupId> <artifactId>dcmpc-services-dictionary</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>
hello_world.ttl
# # CCIL console configuration # @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix config: <https://sourceforge.net/projects/cybercore/config#>. @prefix entity: <https://sourceforge.net/projects/cybercore/entities#>. @prefix service: <https://sourceforge.net/projects/cybercore/services#>. @prefix ccil: <https://sourceforge.net/projects/ccil/properties#>. @prefix ccil: <https://sourceforge.net/projects/ccil/properties#>. # generic ----------------------------------------------- service:echo rdf:type entity:service ; entity:implementation "net.ccil.stages.generic.EchoStage" ; entity:classpath "" ; entity:arguments "" .
context.properties
# Hello World! #------------------------------------- context.title = Hello World! context.description = Minimalistic CCIL app context.author = Atanas Ilchev context.comment = n/a context.thumbnail = media/logo.png # collection context.fill.pipeline = ECHO ECHO = echo ECHO.value = Hello World! # properties xfer = xfer