migrating to standard dependency resolution mechanism

8 views
Skip to first unread message

Jiri Peinlich

unread,
Nov 11, 2018, 11:22:12 AM11/11/18
to jDip Developers
I have migrated most of the dependencies from /lib to a standard compile time dependencies. There are some issues I did not resolve.

  1. HIGLayout.jar
    • This library seem is not mantained anymore. I did not found it on maven central or jcenter. The original web is owned by a different company. I think trying to migrate to a different type of layout would be best.
    • On github there is a repository that took one out of the three classes from the jar and made it usable for Android. The code does not seem to be backwards compatible or released to mavencentral or jcenter. It might be a inside into what the purpouse of HIGLayout is. https://github.com/jaapgeurts/higlayout
  2. jnlp.jar
    • This jar is used to provide java webstart support. I tried to use the java webstart installer from the legacy web but there is a signature problem when I tried to use it. Given that from jdk11 jws is not part of the jdk anymore and given that the latest build is not installable with jdk8 anyways maybe we should consider droping support for jws.
  3. JSX2.0.9.6.jar
    • This library is used for serializing the Word class when saving/loading the game. The library is not supported anymore, the original web http://jsx.org is down. Maybe we should think about breaking compatibility with old save files and replace this library with something else.
Let me know what you think

Uwe Plonus

unread,
Nov 11, 2018, 11:59:34 AM11/11/18
to jdip-de...@googlegroups.com

On 11.11.18 17:22, Jiri Peinlich wrote:
> I have migrated most of the dependencies from /lib to a standard
> compile time dependencies. There are some issues I did not resolve.
>
> 1. HIGLayout.jar
> * This library seem is not mantained anymore. I did not found it
> on maven central or jcenter. The original web is owned by a
> different company. I think trying to migrate to a different
> type of layout would be best.
> * On github there is a repository that took one out of the three
> classes from the jar and made it usable for Android. The code
> does not seem to be backwards compatible or released to
> mavencentral or jcenter. It might be a inside into what the
> purpouse of HIGLayout is. https://github.com/jaapgeurts/higlayout
>
What is this used for? If it is only for layout purposes we can perhaps
replace it. Also doing layout without an extra library would be preferable.
>
> 1. jnlp.jar
> * This jar is used to provide java webstart support. I tried to
> use the java webstart installer from the legacy web but there
> is a signature problem when I tried to use it. Given that from
> jdk11 jws is not part of the jdk anymore and given that the
> latest build is not installable with jdk8 anyways maybe we
> should consider droping support for jws.
>
As webstart is already dropped for Java we should also drop the support
for this.
>
> 1. JSX2.0.9.6.jar
> * This library is used for serializing the Word class when
> saving/loading the game. The library is not supported anymore,
> the original web http://jsx.org is down. Maybe we should think
> about breaking compatibility with old save files and replace
> this library with something else.
>
What I've seen for loading games the support library is not needed and
could be easily replaceable by Java 8 default classes. I will look at
this during the next week.
> Let me know what you think
> --
> You received this message because you are subscribed to the Google
> Groups "jDip Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jdip-develope...@googlegroups.com
> <mailto:jdip-develope...@googlegroups.com>.
> To post to this group, send email to jdip-de...@googlegroups.com
> <mailto:jdip-de...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jdip-developers/6092f58b-ea39-4398-96c5-9b552de974b3%40googlegroups.com
> <https://groups.google.com/d/msgid/jdip-developers/6092f58b-ea39-4398-96c5-9b552de974b3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Uwe Plonus

unread,
Nov 11, 2018, 2:00:15 PM11/11/18
to jDip Developers


Am Sonntag, 11. November 2018 17:22:12 UTC+1 schrieb Jiri Peinlich:
I have migrated most of the dependencies from /lib to a standard compile time dependencies. There are some issues I did not resolve.
  1. JSX2.0.9.6.jar
    • This library is used for serializing the Word class when saving/loading the game. The library is not supported anymore, the original web http://jsx.org is down. Maybe we should think about breaking compatibility with old save files and replace this library with something else.
Let me know what you think
We have a problem with this class by renaming the packages from dip to info.jdip.

I think that we have to rewrite the persistence code non-the-less. So we should refactor the class World and implement our own persistence mechanism (which also will save a huge amount of space) and offer only the possibility to import old files.

Uwe Plonus

unread,
Nov 11, 2018, 2:20:57 PM11/11/18
to jDip Developers
I will now analyse what we can do with persisting and loading the games.

When I understand the mechanism correctly then even a saving with JDK 9+ will not be possible.
Reply all
Reply to author
Forward
0 new messages