Skip to content

Commit cc000d9

Browse files
committed
Cleaned up and exchanged Ant for Gradle
* removed built files like `*.class` and `*.jar` that can be recreated by running Gradle * removed the files created by NetBeans * removed configuration-files for Ant * moved source files to `src/main/java` and `src/test/java` * excluded the examples from the build * updated README * added LICENSE (as the blogpost doesn't mention a license, I took the one from SwingLabs, as MultiSplit is part of SwingLabs)
1 parent a300cff commit cc000d9

28 files changed

+598
-993
lines changed

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
/build
2+
# Gradle
3+
/.gradle
4+
# Eclipse
5+
/.classpath
6+
/.project
7+
/.settings
8+
# IntelliJ IDEA
9+
*.iml
10+
*.ipr
11+
*.iws

LICENSE

+502
Large diffs are not rendered by default.

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## MultiSplit
2+
3+
This is a copy of MultiSplitPane and MultiSplitLayout as found [in a Java.net blog post by Hans Muller](https://today.java.net/pub/a/today/2006/03/23/multi-split-pane.html) (you can also download the original source code [from there](https://today.java.net/pub/a/today/2006/03/23/multi-split-pane.html#resources)).
4+
You'll also find MultiSplitPane, MultiSplitLayout in the SwingLabs project, see https://java.net/projects/swingx.
5+
6+
## Gradle build
7+
The build system of the master branch has been switched over from Ant to [Gradle](https://gradle.org), so you need Gradle installed (tested with Gradle 2.2.1, but should also work with much lower versions).
8+
9+
As this is a Java project, you of course also need to have the Java Development Kit (JDK) installed. By default this project builds for Java 1.7, but if you want you can change that in `build.gradle`.
10+
11+
### Command line
12+
In the command line you can simply use the following to build into the `build/` folder (`build/lib`):
13+
```shell
14+
gradle build
15+
```
16+
17+
### Eclipse
18+
If you want to open the project in Eclipse, just type the following in the command line, which generates some Eclipse project files:
19+
```shell
20+
gradle eclipse
21+
```
22+
Now you can open the project as an Eclipse project.
23+
24+
### IntelliJ IDEA
25+
For opening the project in IntelliJ IDEA, you can use the following command from the command line:
26+
```shell
27+
gradle idea
28+
```
29+
Now you can open the project as an IDEA project.

README.txt

-24
This file was deleted.

build-before-profiler.xml

-69
This file was deleted.

build.gradle

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apply plugin: 'java'
2+
apply plugin: 'eclipse'
3+
apply plugin: 'idea'
4+
5+
repositories {
6+
mavenCentral()
7+
}
8+
dependencies {
9+
compile 'junit:junit:4.11'
10+
}
11+
sourceCompatibility= '1.7'
12+
targetCompatibility= '1.7'
13+
sourceSets {
14+
main {
15+
java {
16+
exclude 'examples/*.java'
17+
}
18+
}
19+
}

build.xml

-70
This file was deleted.

dist/MultiSplit.jar

-63.5 KB
Binary file not shown.

dist/README.TXT

-31
This file was deleted.

dist/lib/javaws.jar

-748 KB
Binary file not shown.

dist/lib/swing-layout-1.0.jar

-137 KB
Binary file not shown.

manifest.mf

-3
This file was deleted.

0 commit comments

Comments
 (0)