Skip to content

Commit

Permalink
Following now Apache convention of having LICENSE and NOTICE.
Browse files Browse the repository at this point in the history
Attributions moved into NOTICE.
pom.xml includes NOTICE and LICENSE from root dir.
No extra copies in resources dir needed. MANIFEST
now refers NOTICE for attributions.
  • Loading branch information
Oliver-Loeffler committed Aug 31, 2019
1 parent 63abd29 commit 5123d1f
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 222 deletions.
20 changes: 0 additions & 20 deletions ATTRIBUTIONS.md

This file was deleted.

File renamed without changes.
201 changes: 0 additions & 201 deletions LICENSE.txt

This file was deleted.

36 changes: 36 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Copyright (C) 2017 - 2019 Oliver Loeffler, Raumzeitfalle.net

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

1. Open Source Attributions

The icon shapes (SVG) used herein are provided by FontAwesome Free 5.01.
FontAwesome Free 5.01 is licensed under Font Awesome Free License.

In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
packaged as SVG and JS file types.

In most cases, the SVG files are not used directly but the included SVG paths
and shapes are embedded into either FXML code or JAVA code.

1.1 Font Awesome Free License
https://fontawesome.com/license/free

1.2 CC BY 4.0 license
https://creativecommons.org/licenses/by/4.0/

2. Modifications

The SVG icons provided by FontAwesome Free have been modified using
InkScape https://inkscape.org/. Modifications include (but are not limited to)
aspect ratio and size of the SVG files.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

[![Build Status](https://travis-ci.org/Oliver-Loeffler/FXFileChooser.svg?branch=master)](https://travis-ci.org/Oliver-Loeffler/FXFileChooser) [![codecov](https://codecov.io/gh/Oliver-Loeffler/FXFileChooser/branch/master/graph/badge.svg)](https://codecov.io/gh/Oliver-Loeffler/FXFileChooser) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=net.raumzeitfalle.fx%3Afilechooser&metric=alert_status)](https://sonarcloud.io/dashboard?id=net.raumzeitfalle.fx%3Afilechooser)


Custom JavaFX file chooser which allows quick manual filtering, which allows to add Path predicates as filter and which is testable using TestFX.

As the standard JavaFX file chooser uses system dialogs, so it is hard to test and it is not easy to modifiy (e. g. new Skin). In some cases the system controls even show poor performance opening folders with many files (depends on operating system and JRE version).

On Microsoft Windows platforms running with Java 8, I've encountered cases where it was impossible to use the Java Swing JFileChooser, simply due to the high number of files in a directory. Using the JavaFX FileChooser was also not an option as I required a simplistic way to filter the files by name.

## Licensing and attributions

See `LICENSE` and `NOTICE` for details. The project is licensed using the Apache License, Version 2.0
and attributes to FontAwesome Free 5.01 (Font Awesome Free License and CC BY 4.0 license).

## How it works

Expand Down
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@
</distributionManagement>

<build>
<resources>
<resource>
<directory>./</directory>
<includes>
<include>NOTICE</include>
<include>LICENSE</include>
</includes>
</resource>
</resources>

<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -103,6 +113,7 @@
<manifestEntries>
<url>${project.url}</url>
<Bundle-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Bundle-License>
<Bundle-Attributions>see NOTICE for attributions</Bundle-Attributions>
</manifestEntries>
</archive>
<excludes>
Expand Down

0 comments on commit 5123d1f

Please sign in to comment.