Skip to content

Commit

Permalink
refactored, logging in file
Browse files Browse the repository at this point in the history
  • Loading branch information
nkons committed Oct 24, 2013
1 parent 1ba1906 commit 9bcaa04
Show file tree
Hide file tree
Showing 31 changed files with 2,694 additions and 2,677 deletions.
10 changes: 6 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<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>gr.ekt</groupId>
<groupId>gr.seab</groupId>
<artifactId>r2rml</artifactId>
<version>0.3</version>
<packaging>jar</packaging>
<name>R2RML Parser</name>
<properties>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<spring.framework.version>3.2.1.RELEASE</spring.framework.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
Expand All @@ -26,12 +27,13 @@
<!-- Build an executable JAR -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix></classpathPrefix>
<mainClass>gr.ekt.r2rml.beans.Main</mainClass>
<mainClass>gr.seab.r2rml.beans.Main</mainClass>
</manifest>
</archive>
</configuration>
Expand Down Expand Up @@ -140,8 +142,8 @@
<name>Nikolaos Konstantinou</name>
<email>nkons at cn.ntua.gr</email>
<url>http://www.cn.ntua.gr/~nkons/</url>
<organization>National Technical University of Athens</organization>
<organizationUrl>http://www.ntua.gr</organizationUrl>
<organization>Hellenic Academic Libraries Link/National Technical University of Athens (HEAL-Link/NTUA)</organization>
<organizationUrl>http://www.seab.gr</organizationUrl>
<roles>
<role>committer</role>
</roles>
Expand Down
2 changes: 1 addition & 1 deletion r2rml-parser.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
echo This is R2RML Parser 0.3-alpha
java -cp "./*;./lib/*;" gr.ekt.r2rml.beans.Main %1
java -cp "./*;./lib/*;" gr.seab.r2rml.beans.Main %1
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
/**
* Licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported
* License (the "License"). You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
*
* http://creativecommons.org/licenses/by-nc/3.0/
*
* Unless required by applicable law or agreed to in writing, software distributed
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied.
*/
package gr.ekt.r2rml.beans;

import java.sql.Connection;
import java.sql.ResultSet;

import com.hp.hpl.jena.sdb.Store;
import com.hp.hpl.jena.sdb.sql.SDBConnection;

public interface Database {

public Connection openConnection();

public SDBConnection openJenaConnection();

public ResultSet query(String query);

public Store jenaStore();
}
/**
* Licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported
* License (the "License"). You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
*
* http://creativecommons.org/licenses/by-nc/3.0/
*
* Unless required by applicable law or agreed to in writing, software distributed
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied.
*/
package gr.seab.r2rml.beans;

import java.sql.Connection;
import java.sql.ResultSet;

import com.hp.hpl.jena.sdb.Store;
import com.hp.hpl.jena.sdb.sql.SDBConnection;

public interface Database {

public Connection openConnection();

public SDBConnection openJenaConnection();

public ResultSet query(String query);

public Store jenaStore();
}
Loading

0 comments on commit 9bcaa04

Please sign in to comment.