Giter VIP home page Giter VIP logo

olmreader's Introduction

CI Codacy Badge DepShield Badge

OLMReader

A Java library for reading MS Outlook for Mac OLM archives

Supported objects

  • Email
  • Contacts
  • Contact Groups
  • Appointments
  • Categories
  • Notes
  • Tasks

Schema

Schemas for OLM XML can be found here

Maven Coordinates

<groupId>com.khubla.olmreader</groupId>
<artifactId>olmreader</artifactId>
<version>1.9.0</version>
<packaging>jar</packaging>

Using OLMReader

To use OLMReader, provide a class which implements OLMMessageCallback, OLMRawMessageCallback and pass those implementations to OLMReader.readOLMFile.

Installation / Operation

To run this application you must first have the Java Platform (JDK) 12 and Apache Maven.

Ensure you set your JAVA_HOME as well as adding Maven to your PATH. Instructions

After that is done make sure to flag the .sh files as executable

chmod +x run_example.sh

and then execute using ./run_example.sh

Troubleshooting

If you have issues with the build, try running mvn clean install in the git root directory for this application.

olmreader's People

Contributors

dependabot[bot] avatar maiquelcraash avatar r-k-h avatar teverett avatar uros-r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

olmreader's Issues

DepShield encountered errors while building your project

The project could not be analyzed because of build errors. Please review the error messages here. Another build will be scheduled when a change to a manifest file* occurs. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.

* Supported manifest files are: pom.xml, package.json, package-lock.json, npm-shrinkwrap.json, Cargo.lock, Cargo.toml, main.rs, lib.rs, build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts, gradle.properties, gradle-wrapper.properties, go.mod, go.sum

Update Readme with install and operating instructions

Coming from little to no experience with Java, it was a bit of a roundabout to get this up and running. I'd like to update the readme to run through some install instructions. I can do the Mac side of things, like installing the SDK and Maven took a bit to sort out as well some build errors with the release.sh and run_example.sh which I was able to sort out by running mvn clean install and updating the run_example.sh to java -jar target/olmreader-1.6.0-SNAPSHOT.jar not 1.3.

I'll fork then put in a PR if it's something you think would be worth while.

Error with OPFContactAddPicture

Invalid content was found starting with element 'OPFContactAddPicture'

As well Invalid content was found starting with element 'OPFContactAddPictureType'

I'm trying to open an OLM with contacts. It looks like Outlook may have updated the schema.

Errors loading OML file

I'm hitting several issues loading an .oml file, it looks as if the schema might have been extended.

First, for some of the boolean elements, my exported document (from Outlook for Mac) has the value "0E0". This fails validation, as the parser doesn't recognize it. (From googling, it appears to be a way to represent a value with is both 0 and true). As a quick hack, I changed all the boolean elements to strings to continue testing.

Second, I hit a number of new elements:
OPFMessageGetInferenceClassification
OPFMessageGetMentionedMe
OPFMessageGetSendReadReceipt
OPFMessageCopyThreadIndex

When I made both these changes to the schema, it can now process my file. Let me know if you'd like additional information.

Thanks for providing the library!!!

Issue building on Amazon Machine Image (AMI)

I'm using cloud9 trying to build this project, getting this error. Hoping you can help here?

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.654 s
[INFO] Finished at: 2018-03-14T16:30:16Z
[INFO] Final Memory: 36M/418M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project olmreader: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - javadoc: error - invalid flag: -Xdoclint:none
[ERROR]
[ERROR] Command line was: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151.x86_64/jre/../bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/home/ec2-user/environment/OLMReader/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project olmreader: MavenReportException: Error while generating Javadoc:
Exit code: 1 - javadoc: error - invalid flag: -Xdoclint:none

Command line was: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.151.x86_64/jre/../bin/javadoc @options @packages

Refer to the generated Javadoc files in '/home/ec2-user/environment/OLMReader/target/apidocs' dir.

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.