diff --git a/.idea/libraries/Gradle__ch_qos_logback_logback_classic_1_1_3.xml b/.idea/libraries/Gradle__ch_qos_logback_logback_classic_1_1_3.xml
new file mode 100644
index 0000000..5a3140d
--- /dev/null
+++ b/.idea/libraries/Gradle__ch_qos_logback_logback_classic_1_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__ch_qos_logback_logback_core_1_1_3.xml b/.idea/libraries/Gradle__ch_qos_logback_logback_core_1_1_3.xml
new file mode 100644
index 0000000..61ccf55
--- /dev/null
+++ b/.idea/libraries/Gradle__ch_qos_logback_logback_core_1_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__commons_fileupload_commons_fileupload_1_3_1.xml b/.idea/libraries/Gradle__commons_fileupload_commons_fileupload_1_3_1.xml
new file mode 100644
index 0000000..33bed58
--- /dev/null
+++ b/.idea/libraries/Gradle__commons_fileupload_commons_fileupload_1_3_1.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__eu_webtoolkit_jwt_3_3_4.xml b/.idea/libraries/Gradle__eu_webtoolkit_jwt_3_3_4.xml
new file mode 100644
index 0000000..92b0aaf
--- /dev/null
+++ b/.idea/libraries/Gradle__eu_webtoolkit_jwt_3_3_4.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_javaee_api_6_0.xml b/.idea/libraries/Gradle__javax_javaee_api_6_0.xml
new file mode 100644
index 0000000..361e30d
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_javaee_api_6_0.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_apache_commons_commons_lang3_3_4.xml b/.idea/libraries/Gradle__org_apache_commons_commons_lang3_3_4.xml
new file mode 100644
index 0000000..f99c825
--- /dev/null
+++ b/.idea/libraries/Gradle__org_apache_commons_commons_lang3_3_4.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_7.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_7.xml
new file mode 100644
index 0000000..3898c3d
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_7.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 04e0142..9dc28bd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ apply plugin: 'war'
sourceCompatibility = 1.8
-version = '1.0'
+//version = '1.0'
logging.captureStandardOutput LogLevel.INFO
diff --git a/src/test/java/ParseTest.java b/src/test/java/ParseTest.java
deleted file mode 100644
index d1543c1..0000000
--- a/src/test/java/ParseTest.java
+++ /dev/null
@@ -1,93 +0,0 @@
-import com.thoughtworks.xstream.XStream;
-import org.apache.commons.io.FileUtils;
-import org.apache.commons.io.filefilter.DirectoryFileFilter;
-import org.apache.commons.io.filefilter.RegexFileFilter;
-import org.jpacrepo.model.PkgData;
-import org.jpacrepo.pacbase.Parser;
-import org.jpacrepo.service.PacmanService;
-import org.junit.Test;
-
-import javax.naming.*;
-import java.io.File;
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import java.util.Properties;
-
-/**
- * Created by walter on 22/03/15.
- */
-public class ParseTest
-{
- // @Test
- public void test() throws Exception
- {
-
- Collection ls = FileUtils.listFiles(new File("/var/cache/pacman/pkg"), new RegexFileFilter(".*\\.pkg\\.tar\\.xz"), DirectoryFileFilter.DIRECTORY);
- int i = 0;
- List lista = new ArrayList<>();
- for (File file : ls)
- {
- PkgData data = new Parser().parseFile(file);
- lista.add(data);
- //System.out.println(new XStream().toXML(data));
-// if(i++>10) break;
- }
- System.out.print(lista);
- }
-
- @Test
- public void invokeStatelessBean() throws Exception
- {
- // Let's lookup the remote stateless calculator
-
- Properties prop = new Properties();
- InputStream in = getClass().getClassLoader().getResourceAsStream("jboss-ejb-client.properties");
- prop.load(in);
- prop.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
-
- prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory");
- prop.put(Context.PROVIDER_URL, "http-remoting://localhost:8080");
-// prop.put(Context.PROVIDER_URL, "http-remoting://odroid-u3:8080");
-// prop.put(Context.PROVIDER_URL, "remote://odroid-u3:4447");
- prop.put(Context.SECURITY_PRINCIPAL, "jpacrepo");
- prop.put(Context.SECURITY_CREDENTIALS, "password01.");
- prop.put("jboss.naming.client.ejb.context", true);
- Context context = new InitialContext(prop);
- Context ctx = new InitialContext(prop);
- traverseJndiNode("/", context);
-// final PacmanService stateService = (PacmanService) ctx.lookup("/jpacrepo-1.0/remote/PacmanServiceEJB!service.PacmanService");
- final PacmanService stateService = (PacmanService) ctx.lookup("/jpacrepo-1.0/PacmanServiceEJB!org.jpacrepo.service.PacmanService");
- stateService.deletePackage("linux-3.19.3-3-x86_64.pkg.tar.xz");
- }
-
- private static void traverseJndiNode(String nodeName, Context context)
- {
- try
- {
- NamingEnumeration list = context.list(nodeName);
- while (list.hasMore())
- {
- String childName = nodeName + "" + list.next().getName();
- System.out.println(childName);
- traverseJndiNode(childName, context);
- }
- } catch (NamingException ex)
- {
-// We reached a leaf
- }
- }
-
- @Test
- public void parseTest() throws Exception
- {
- String[] files = new String[]{"/var/cache/pacman/pkg/mesa-10.4.5-1-x86_64.pkg.tar.xz", "/var/cache/pacman/pkg/mesa-10.5.3-1-x86_64.pkg.tar.xz"};
-
- for (String file : files)
- {
- PkgData data = new Parser().parseFile(new File(file));
- System.out.println(new XStream().toXML(data));
- }
- }
-}