Giter Site home page Giter Site logo

differ's Introduction

Compilation Information:

You must have Maven and the JDK installed.

Install javadjvu-lib-0.8.9-RELEASE.jar manually:

mvn install:install-file -DgroupId=com.lizardtech -DartifactId=javadjvu-lib -Dversion=0.8.9-RELEASE -Dpackaging=jar -Dfile=javadjvu-lib-0.8.9-RELEASE.jar

Before you can run 'mvn package', change to the differ-libs-from-source directory and run 'mvn install'

The other commands below should be run from the root directory (./differ)
To package the Differ application into a .war (which is by default placed in ./bin) and compile all plugins:
 
	mvn package
	
	This produces a plugin directory and resources directory in the bin folder. Those should be placed into ~/.differ (%USERPROFILE%/.differ on Windows). A WAR is also
	produced, which should be used in the appropriate configuration for your webserver.
	
To compile the Differ application without packaging:

	mvn compile
	
To update the widgetsets without running a full compile:

	mvn vaadin:update-widgetset
	
To compile as needed and run on a local Jetty server first run mvn:package and then:
	
	mvn jetty:run-war
	
	Passing a terminator control character to the console you initiated the server from shuts down the server. [Ctrl-C or Ctrl-Z on most platforms]

To remove all build files:
	
	mvn clean

differ's People

Contributors

xrosecky avatar

Stargazers

 avatar

Watchers

 avatar  avatar

differ's Issues

/opt/differ/differ-webapp/src/main/java/cz/nkp/differ/compare/io/CompareComponent.java:[58,25] cannot find symbol

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project differ-app: Compilation failure: Compilation failure:
[ERROR] /opt/differ/differ-webapp/src/main/java/cz/nkp/differ/compare/io/CompareComponent.java:[58,25] cannot find symbol
[ERROR] symbol : method processImages(java.io.File,java.io.File,cz.nkp.differ.listener.ProgressListener)
[ERROR] location: class cz.nkp.differ.compare.io.ImageProcessor
[ERROR] /opt/differ/differ-webapp/src/main/java/cz/nkp/differ/compare/io/CompareComponent.java:[83,50] cannot find symbol
[ERROR] symbol : method processImage(java.io.File,cz.nkp.differ.listener.ProgressListener)
[ERROR] location: class cz.nkp.differ.compare.io.ImageProcessor
[ERROR] -> [Help 1]

Failed to collect dependencies for [cz.nkp:differ-common:jar:0.

stavel@ntbstavel:/opt/differ/differ-webapp$ mvn install
...
Downloading: http://repo.maven.apache.org/maven2/net/java/dev/jai-imageio/jai-imageio-core-standalone/1.2-pre-dr-b04-2010-04-30/jai-imageio-core-standalone-1.2-pre-dr-b04-2010-04-30.pom
[WARNING] The POM for net.java.dev.jai-imageio:jai-imageio-core-standalone:jar:1.2-pre-dr-b04-2010-04-30 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.046s
[INFO] Finished at: Wed Dec 05 21:33:35 CET 2012
[INFO] Final Memory: 5M/87M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project differ-app: Could not resolve dependencies for project cz.nkp:differ-app:war:0.0.1-SNAPSHOT: Failed to collect dependencies for [cz.nkp:differ-common:jar:0.0.1-SNAPSHOT (compile), org.apache.derby:derbynet:jar:10.8.2.2 (compile), org.apache.derby:derbyclient:jar:10.8.2.2 (compile), commons-io:commons-io:jar:2.3 (compile), commons-codec:commons-codec:jar:1.6 (compile), com.lizardtech:javadjvu-lib:jar:0.8.9-RELEASE (compile), javax.media.jai:com.springsource.javax.media.jai.core:jar:1.1.3 (compile), javax.media.jai:com.springsource.javax.media.jai.codec:jar:1.1.3 (compile), net.java.dev.jai-imageio:jai-imageio-core-standalone:jar:1.2-pre-dr-b04-2010-04-30 (compile), com.vaadin:vaadin:jar:6.8.1 (compile), com.google.gwt:gwt-user:jar:2.4.0 (provided), javax.validation:validation-api:jar:1.0.0.GA (provided), javax.validation:validation-api:jar:sources:1.0.0.GA (provided), bouncycastle:bcprov-jdk15:jar:140 (compile), org.vaadin.addons:easyuploads:jar:0.5.1 (compile), org.vaadin.addons:toolkit-productivity-tools:jar:1.2.0 (compile), org.vaadin.addons:imagescaler:jar:1.0 (compile), org.springframework:spring-jdbc:jar:3.1.2.RELEASE (compile), mysql:mysql-connector-java:jar:5.1.9 (compile), log4j:log4j:jar:1.2.16 (compile), junit:junit:jar:4.4 (test), org.vaadin.addon:jfreechartwrapper:jar:2.5.0 (compile)]: Failed to read artifact descriptor for cz.nkp:differ-common:jar:0.0.1-SNAPSHOT: Could not find artifact cz.nkp:differ:pom:0.0.1-SNAPSHOT in vaadin-snapshots (http://oss.sonatype.org/content/repositories/vaadin-snapshots/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

[ERROR] Failed to execute goal on project differ-app: Could not resolve dependencies for project cz.nkp:differ-app:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.lizardtech:javadjvu-lib:jar:0.8.9-RELEASE, net.java.dev.jai-imageio:j

stavel@ntbstavel:/opt/differ/differ-webapp$ mvn install
ends with error:

[ERROR] Failed to execute goal on project differ-app: Could not resolve dependencies for project cz.nkp:differ-app:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.lizardtech:javadjvu-lib:jar:0.8.9-RELEASE, net.java.dev.jai-imageio:jai-imageio-core-standalone:jar:1.2-pre-dr-b04-2010-04-30: Could not find artifact com.lizardtech:javadjvu-lib:jar:0.8.9-RELEASE in vaadin-addons (http://maven.vaadin.com/vaadin-addons) -> [Help 1]

Could you help me how to solve dependencies?

Regards,
Jan Stavel

where to get jhove directory

Hello,
I would like to get jhove directory a file main/resources/config.xml refers to.

/home/xrosecky/differ/jhove/jhove.sh

I hope this issue will be solved itself after the solutions of a previous issue.

Regards,
Jan Stavel

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.