Skip to content

Please provide a way of compiling/using AJIS GPL with latest Community release  #5

@vsonnier

Description

@vsonnier

First, thanks for the Community 2018 release !
No here is my problem:

I would like to be able to use the AJIS suite in Windows x64 with the lastest Community release.
That would need a Win64 build of the AJIS preferably in the latest version. (and a Win64 JDK of course)
Howver, the latest AJIS GPL was provided in 2014, and in x86 form at the time.
In addition, seeing the more recent GNAT Pro comparison chart the AJIS suite appears to be not available for the Community edition.

At the same time, AdaCore is showing an interesting AdaCoreU tutorial on the subject: Ada 004 - Lesson 4 - Ada and Java while it is not usable on the current Community edition, at least on Windows.

So, assuming AJIS GPL 2014 is the latest available release I decided to try to compile it from source on my GNAT Community 2018 Win64.
As far as I understood the structure, we only need to build the following GPR projects:

  • gnatjni in src\jni
  • ajis in prototypes\ada2java\runtime\ada
  • ada2java in prototypes\ada2java\src

and of course the Java ajis.jar.

Now after aplying some fixes in the gpr and source to be able to compile, I'm still stuck at the jni compilation with the following error: user-defined descendants of package Interfaces are not allowed.

I understand the error, but there must be a way to override this check otherwise the project would be impossible to build.
I've not seen in Makefile and gpr any such options.

Could you give me some pointers on how to compile AJIS properly ? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions