GithubHelp home page GithubHelp logo

ebispot / bubastis Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 4.0 11.83 MB

Bubastis is an ontology diff tool

Home Page: http://www.ebi.ac.uk/efo/bubastis/

License: Apache License 2.0

Java 41.75% HTML 7.98% XSLT 3.05% JavaScript 46.15% Perl 1.06%

bubastis's People

Contributors

matentzn avatar olgavrou avatar simonjupp avatar tburdett avatar zoependlington avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bubastis's Issues

default build procedure does not work as expected

If I clone the repo as is, and type as instructed "mvn clean package" I get:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building bubastis 1.1.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bubastis ---
[INFO] Deleting /home/hmenager/bubastis/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bubastis ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/hmenager/bubastis/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ bubastis ---
[INFO] Compiling 10 source files to /home/hmenager/bubastis/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bubastis ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/hmenager/bubastis/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ bubastis ---
[INFO] Compiling 1 source file to /home/hmenager/bubastis/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ bubastis ---
[INFO] Surefire report directory: /home/hmenager/bubastis/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running uk.ac.ebi.efo.bubastis.DriverTest
test one url and one local file
Parsing failed.  Reason: Ontology 1 is neither a file nor a URL
test two local files
Parsing failed.  Reason: Ontology 1 is neither a file nor a URL
test two local files with differences
Parsing failed.  Reason: Ontology 1 is neither a file nor a URL
test one url and one local file
Parsing failed.  Reason: Ontology 1 is neither a file nor a URL
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec - in uk.ac.ebi.efo.bubastis.DriverTest

Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-war-plugin:2.2:war (default-war) @ bubastis ---
[INFO] Packaging webapp
[INFO] Assembling webapp [bubastis] in [/home/hmenager/bubastis/target/bubastis]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/hmenager/bubastis/src/main/webapp]
[INFO] Webapp assembled in [72 msecs]
[INFO] Building war: /home/hmenager/bubastis/target/bubastis.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] 
[INFO] --- maven-assembly-plugin:2.4:single (make-assembly) @ bubastis ---
[INFO] Building jar: /home/hmenager/bubastis/target/bubastis_1_2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.253 s
[INFO] Finished at: 2017-07-03T22:14:16+02:00
[INFO] Final Memory: 31M/271M
[INFO] ------------------------------------------------------------------------

Then trying to launch it:

$ java -jar target/bubastis_1_2.jar 
Error: Could not find or load main class uk.ac.ebi.efo.bubastis.Driver

If I however tweak pom.xml to change the packaging, like this:

diff --git a/pom.xml b/pom.xml
index 5adc2d0..b10f9b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
     <groupId>uk.ac.ebi.fgpt</groupId>
     <artifactId>bubastis</artifactId>
     <version>1.1.1</version>
-    <packaging>war</packaging>
+    <packaging>jar</packaging>^M
 
     <name>bubastis</name>
     <url>http://www.ebi.ac.uk/efo/bubastis</url>

and then launch the same command line, the Driver class is indeed found in the jarfile (bubastis_1_2.jar, not bubastis.jar which isn't functional). I'm pretty sure this isn't the right way to get a functional bubastis jarfile, as I haven't dealt with java for a long long time, but there is probably a way to fix this.

cc @joncison, fixing this would improve a lot the edam release process!

jar file

Is that jar file supposed to be there?

README.md

It would be good to have a small README showing how to use the code base.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.