GithubHelp home page GithubHelp logo

chengjingfeng / portfolio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from portfolio-performance/portfolio

0.0 1.0 0.0 34.11 MB

A simple tool to calculate the overall performance of an investment portfolio.

Home Page: http://www.portfolio-performance.info

License: Eclipse Public License 1.0

Java 99.56% HTML 0.26% CSS 0.08% JavaScript 0.01% Shell 0.04% NSIS 0.05%

portfolio's Introduction

About

A simple tool to calculate the overall performance of an investment portfolio.

See https://www.portfolio-performance.info for more details.

Build Status Latest Release Release Date License

LOC Bugs Vulnerabilities Code Coverage

Prerequisites

Developing with Eclipse

Eclipse Setup

To develop, use the latest Eclipse IDE release plus Plug-in Development Environment (PDE). PDE homepage is https://www.eclipse.org/pde/ and it can be installed via Help/Install new Software. The link for the update site is mentioned in the PDE docs.

Optionally, install via the Eclipse Marketplace

  • infinitest
  • ResourceBundle Editor
  • SonarLint
  • Eclipse Checkstyle Plug-in

Setup

Clone the git repository by cmd or by download also.

Import projects by

  • selecting "Import Projects..." on the Git repository in the Git perspective
  • choosing "File" > "Import..." > "Existing Projects into Workspace" from the menu

After importing the Portfolio Performance projects in Eclipse, they will not compile due to missing dependencies: the target platform is missing.

Set Target Platform

  • Open the portfolio-target-definition project
  • Open the portfolio-target-definition.target file with the Target Editor (this may take a while as it requires Internet access). If you just get an XML file, use right click and chose Open With Target Editor
  • In the resulting editor, click on the "Set as Active Target Platform" link at the top right (this may also take a while)

Run Program

Run the application and the tests with the launch configurations stored in ./portfolio-app/eclipse folder (right-click "Run As").

โš ๏ธ The launch configuration needs an update when bundles are added and removed or the OS platform changes. If the program does not start, try selecting "Add required plug-ins" in the launch configuration dialog.

Building with Maven

Maven is not required (anymore) to develop Portfolio Performance as you can develop using the Eclipse IDE with the setup above. The Maven build is used for the Github Actions build.

The Maven build works fine when JAVA_HOME points to an (Open-)JDK 11 installation.

Configure

Mac OS X / Linux

export MAVEN_OPTS="-Xmx1g"

Windows

set MAVEN_OPTS="-Xmx1g"

Build

Run Maven 3.x.x:

mvn -f portfolio-app/pom.xml clean verify

Note, under Windows the maven-enforcer plugin (used in ./portfolio-app/pom.xml) has an issue with ${project.basedir}, so you need skip it like

mvn -f portfolio-app\pom.xml -Denforcer.skip=true clean verify

License

Eclipse Public License https://www.eclipse.org/legal/epl-v10.html

portfolio's People

Contributors

akoch avatar al2klimov avatar alani1 avatar alxflam avatar buchen avatar chirlu avatar christen90 avatar cmaoling avatar etzelc avatar fbartnitzek avatar galgemaennle avatar gynngr avatar hjbflyer avatar inv-trad avatar keszocze avatar masterzuso avatar mauin avatar morpheus1w3 avatar mwhesse avatar nbusseneau avatar nirus2000 avatar onkeldok avatar pnda87 avatar romanlangrehr avatar sebasbaumh avatar simpsus avatar stephanmunich avatar tfabritius avatar verybadsoldier avatar zft2 avatar

Watchers

 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.