Coder Social home page Coder Social logo

srocki / i7j-rups Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itext/i7j-rups

0.0 0.0 0.0 1.35 MB

RUPS is an acronym for Reading and Updating PDF Syntax. RUPS is a tool built on top of iText® that allows you to look inside a PDF document and browse the different PDF objects and content streams.

License: Other

Java 100.00%

i7j-rups's Introduction

RUPS

iText RUPS is a tool to view PDF structure in a Swing GUI.

Building and running

iText Rups is built into a Jar file which is then run by Java. To build iText Rups with Maven, run the following command:

mvn clean package

The resultant Jar file with dependencies will be located in the target directory.

To run RUPS, simply type

java -jar itext-rups-x.y.z-SNAPSHOT.jar
Creating an executable file on Windows

If you are a Windows user, there is a possibility to create a RUPS executable (exe file). It still requires Java Runtime Environment to run, but you will not need to type the command anymore each time.

To build an executable, run the following command:

mvn clean package -P exe

This should produce Rups.exe in your target folder which you can run as any other executable assuming you have Java installed on your system.

Creating an application bundle (.app) on macOS

Similar to Windows executable, there is a possibility to create a RUPS application bundle (.app application) for macOS. Again, it requires Java Runtime Environment to run. Mind that in order to build it one requires Java version prior to 10, additionally proper application bundle can only be built on macOS.

To create application bundle, run the following command:

mvn clean package -P mac

This will produce itext-rups.app in your target folder (in itext-rups-{project.version} subfolder). You can copy it to your 'Applications' folder and run it as any other application assuming you have Java installed on your system. Maven 'appbundle' should handle executable file permissions automatically, but you can always give the rights manually like this: chmod +x /Applications/itext-rups.app/Contents/MacOS/*.

Troubleshooting

-- Error running mvn clean package...

mvn clean package [ERROR] Error executing Maven. [ERROR] java.lang.IllegalStateException: Unable to load cache item [ERROR] Caused by: Unable to load cache item [ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper

This may be caused by using an unsupported version of java. Try downgrading or upgrading your java version as appropriate.

-- Error generating javadocs

[ERROR] MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. org.apache.maven.reporting.MavenReportException: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set.

Make sure to define your JAVA_HOME pointing to your jdk installation folder. Or make sure that javadoc is on your command path.

-- Warnings downlaoding package-lists

[WARNING] Error fetching link: http://dom4j.github.io/apidocs/package-list. Ignored it

Some package lists may be unavailable (404 error). This will not cause the build to fail so can be ignored.

i7j-rups's People

Contributors

itext-ci avatar idamkini avatar amedee avatar snipx avatar yulian-gaponenko avatar michaeldemey avatar marcoandries avatar matthiasvalvekens avatar pavel-alay avatar evgenyb1001 avatar ars18wrw avatar nikitakovaliov92 avatar lodrkumquat avatar ar3em avatar alexanderrasolko avatar guustysebie avatar kevinwillems1993 avatar srocki avatar

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.