Code Monkey home page Code Monkey logo

Comments (8)

chris1010010 avatar chris1010010 commented on June 15, 2024 2

I'll have a look as soon as I can, sorry for that

from prima-core-libs.

chris1010010 avatar chris1010010 commented on June 15, 2024 1

Will do at some point, thanks

from prima-core-libs.

mikegerber avatar mikegerber commented on June 15, 2024 1

This build.gradle file seems to do the job at least partly:

plugins {
    id 'java-library'
}
apply plugin: 'eclipse'

sourceSets {
    main {
        java {
          srcDir 'java/PrimaBasic/src'
          srcDir 'java/PrimaDla/src'
          srcDir 'java/PrimaIo/src'
          srcDir 'java/PrimaMaths/src'
        }
    }
}


repositories {
    mavenCentral()
}

dependencies {
    implementation 'com.googlecode.json-simple:json-simple:1.1.1'
}

This builds the project, when using the fix in #11, but does not build 4 JARs as in the releases, but only one - which almost* lets prima-page-converter build.

(* There is another issue I'll investigate later)

from prima-core-libs.

maxnth avatar maxnth commented on June 15, 2024

Not sure if this is helpful but I use IntelliJ IDEA to build prima-core-libs and adding the json-simple-1.1.1 jar as Library works for me (using Java 1.8 as target).

from prima-core-libs.

bertsky avatar bertsky commented on June 15, 2024

Not sure if this is helpful but I use IntelliJ IDEA to build prima-core-libs

I don't want to get into yet another IDE I don't know well. If @chris1010010 says Eclipse is recommended, Eclipse it is (for me).

and adding the json-simple-1.1.1 jar as Library works for me (using Java 1.8 as target).

No luck with that (or JAR I built from within Eclipse or linking the classes from the json-simple project directly). I have even started fiddling with the destination and package names in json-simple's build.xml but the failing dependency in PrimaDla never goes away. (Plus I have no idea where to look for build artifacts – it's all hidden away in Eclipse.)

from prima-core-libs.

chris1010010 avatar chris1010010 commented on June 15, 2024

image
That's how I have it set up, if that helps. No time to update documentation or releases right now

from prima-core-libs.

bertsky avatar bertsky commented on June 15, 2024

That's how I have it set up, if that helps. No time to update documentation or releases right now

It did – thanks!

So I had to change the Projects settings (which is where your published .project configured the json-simple-tag_release_1_1_1 dependency, instead of under Libraries).

prima-core-libs build completely now. On to the prima-gwt-lib problems...

from prima-core-libs.

mikegerber avatar mikegerber commented on June 15, 2024

I stumbled over this today, too.

I am not 100% sure about this, due to build problems, but I also think the latest release is outdated and does not contain org.primaresearch.dla.page.io.xml.XmlPageWriter_Alto yet, which is required for building PRImA-Research-Lab/prima-page-converter.

from prima-core-libs.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.