Board index FlightGear Support Tools OpenRadar

POLL: Is the former/latest version still needed

OpenRadar is a standalone radar screen which connects to the FlightGear multiplayer servers. It is currently being developed.

Which version of Open Radar do you use?

Poll ended at Wed Feb 08, 2017 10:41 am

TRADITIONAL "LATEST" stable Version
1
33%
NEW "NEXT" Version with reworked flight strip bay
2
67%
 
Total votes : 3

POLL: Is the former/latest version still needed

Postby wagnerw » Sun Jan 29, 2017 10:41 am

Dear users,
Currently we have two versions of OpenRadar:

Latest: The version with the traditional, kind of static, flight strips.
Next: The version with the reworked flight strip bay.

We want to know, how widely the next version is used and if we still need to support / maintain / publish the former "Latest" version.

Thank you!
Wolfram
wagnerw
 
Posts: 280
Joined: Tue Nov 06, 2012 8:35 pm
Callsign: D-W794

Re: POLL: Is the former/latest version still needed

Postby wagnerw » Mon Feb 06, 2017 9:06 am

Mh... the user base is down to 2... But it looks like we can drop the older version... Let us see, the poll is still open...
wagnerw
 
Posts: 280
Joined: Tue Nov 06, 2012 8:35 pm
Callsign: D-W794

Re: POLL: Is the former/latest version still needed

Postby sanhozay » Mon Feb 06, 2017 6:57 pm

You are not a big company with lots of developers and you do this voluntarily. In my opinion it's perfectly reasonable for you to only maintain one version.

If someone is desperate for the "old" version, they can always get a copy from someone else or pull it out of git and compile it.

(Have you ever considered a Gradle build script? If you use the wrapper, it's easy for people to compile because they only need a JDK and JAVA_HOME set -- Gradle will download itself and build the project).
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 11:57 am
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: POLL: Is the former/latest version still needed

Postby wagnerw » Tue Feb 14, 2017 7:22 am

Hi thanks for this advice. I have tried gradle and was able to change the file structure and create a usable OR directory running one line.

I think about using it, but there are also arguments against it and I still ponder if I really want a new dependency/tool in this project.
Building is as simple as exporting to a runable JAR in the moment. Ok it requires eclipse, but most Java programmers will use it anyway.

I am still thinking about it...
Wolfram
wagnerw
 
Posts: 280
Joined: Tue Nov 06, 2012 8:35 pm
Callsign: D-W794

Re: POLL: Is the former/latest version still needed

Postby sanhozay » Mon Feb 27, 2017 9:35 am

I understand. Out of curiosity, I tried it myself and it worked well. I just ran "gradle init" in the project directory to create the wrappers, then edited the build.gradle.

Code: Select all
apply plugin: 'application'
apply plugin: 'java'

sourceSets {
    main {
        java {
            srcDirs = ['src']
        }
    }
}

version = '1.0'
mainClassName = 'de.knewcleus.openradar.OpenRadar'

repositories {
    mavenCentral()
}

dependencies {
    compile 'log4j:log4j:1.2.17'
    compile 'org.jdom:jdom2:2.0.6'
}

jar {
    manifest {
        attributes 'Main-Class': mainClassName
    }
    from configurations.compile.collect {
        it.isDirectory() ? it : zipTree(it)
    }
}

I didn't have to do anything else to the project (apart from add the .gradle directory to .gitignore). So now "gradle build" creates the fat jar in build/libs and "gradle run" runs OpenRadar.
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 11:57 am
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04


Return to OpenRadar

Who is online

Users browsing this forum: No registered users and 1 guest

cron