Mizoine: How I create Java application. Step 2. Setup.

Development setup

  1. Create new empty project in Bitbucket repository. Name: mizoine
  2. Create new Jira story “Mizoine – Issue tracking”
  3. IDE: Eclipse Oxygen
    1. Mylyn: Select task – Jira “Mizoine – Issue tracking”
    2. Project: Maven based
    3. Create new Maven project. Name: mizoine. Package: com.gratchev. Version: 0.0.1-SNAPSHOT
    4. Check Maven generated all appropriate folders, etc.
    5. Bind project with git repository from Bitbucket

Tools used so far

  • Eclipse
  • Bitbucket
  • Jira

Continue reading Mizoine: How I create Java application. Step 2. Setup.

Mizoine: How I create Java application. Step 1. Identity.

Idea

Create an issue tracking system inspired by Jira™.
Actually, same as Jira™, but with improvements:

  1. Completely based on file system:
    • Simple and transparent back-ups, cloning, and everything what file system is good for
    • Easy to setup, repair or monitor with existing tools
    • Version tracking using git™
  2. Use only open and well-community-supported frameworks for everything
  3. Add features, missing in Jira
    • Rename attachments
    • Meta for attachments (description, dates)
    • Move comments between issues
    • Edit comments meta (creation date, etc.)
    • Move attachments between issues
    • Search by file name and description
    • Improved previews and thumbnails for attachments (for example PDF thumbnails)
    • etc.
  4. ???
  5. PROFIT!

Step 1: Project identity

Name

Use existing open tools for name generation. Do not invent a name.
Species name generator → Mizoine

Use existing open tools for icon generation.
Identicon generator: generate your identicon avatar

Deploy java application JAR to Raspberry Pi using Maven and Eclipse

Software

Project (in Eclipse)

Create new Maven project or open a Java project and add Maven Nature to it.

When you add new dependencies to the project (in pom.xml), Eclipse automatically downloads all required libraries (in JAR files) into Maven repository and sets appropriate links to the files in the project build path.

Eclipse Maven dependenciesSo the application can be started directly from Eclipse in standard way: Use “Run as Java application” menu item for your main class.

We will not use “Export to runnable JAR file” function of the Eclipse to create a JAR for our application. We will create this file using Maven ‘install’ goal instead. Continue reading Deploy java application JAR to Raspberry Pi using Maven and Eclipse

Home scan station based on Raspberry Pi

Aim

Scan documents, photos and everything with one button press. Copy scanned images to common file server (network attached server, NAS).

  • Use simple USB scanner as network attached independent device.
  • No need to use PC for scan.
  • No need to install scanner drivers on all computers in home network.
  • Easy to use:
    • Turn on the system
    • Insert paper to scan
    • Press “Scan” button on scanner
    • Wait until scan is done
    • Find image file on file server later on

Hardware

I have used following gadgets to create a scan station

0. Home LAN: Router, swithches, LAN wires, etc.

1. Raspberry Pi RBCA000 mainboard (ARM 1176JZF-S, 512MB RAM, HDMI, 2x USB 2.0, 3,5 Watt)

Raspberry Pi RBCA000 Mainboard wired

1.2 Connection cables: HDMI-DVI, USB (diverse, see below), LAN Continue reading Home scan station based on Raspberry Pi