Code Monkey home page Code Monkey logo

Comments (5)

jesse-gallagher avatar jesse-gallagher commented on September 20, 2024

Hmm, looking at this, I suspect that the trouble is that it'd need the compileBasicElementLotusScript property in the Maven plugin configuration set to true - I had to make it false by default because the usual case in practice is to dramatically increase build times and to often hit syntax errors in ancient code that don't actually prevent the app from working.

I get an syntax-error problem when running it locally, but it's possible that it's due to a Mac-specific thing: the 12.x macOS client is kind of FUBAR in some ways when it comes to compilation, so that may be the cause.

If you have a chance, could you try compiling with that flag set in the pom.xml?

from org.openntf.nsfodp.

mpradny avatar mpradny commented on September 20, 2024

I'll try it. I actually started to implement the separation of imports on Friday, but for unknown reasons, I'm not able to build NSFODP anymore - Bundle org.openntf.nsfodp.compiler - Missing Constraint: Import-Package: lotus.domino; version="0.0.0" I wasn't in the mood for fighting with Tycho .. I think it worked before I updated my repo from 3.4.x to the latest, but it's been a while since I tried it.

I pushed my updates to mpradny@daa2704

I'll check the compileBasicElementLotusScript and maybe fix my build later today and let you know.

from org.openntf.nsfodp.

mpradny avatar mpradny commented on September 20, 2024

I tried the flag and with 3.8.1 it's giving me compilation error

[ERROR] Note ID 314: TestAgent - org.openntf.nsfodp.commons.odp.notesapi.NDominoException: com.darwino.domino.napi.DominoException: LotusScript Error - Syntax Error.

I managed to fix my build - there were 2 issues. For whatever reason, I'm not able to build it with the US you gave me. It gives me the error I've posted above. Second part of my problem was my too naive approach to update the version to 3.8.2-SNAPSHOT. After fixing these, I was able to build the NSF and the agent calling ls2j works. I haven't tried to compile anything more complex so far.

I just merged your latest changes to get to 3.8.2-SNAPSHOT - it's all in https://github.com/mpradny/org.openntf.nsfodp/tree/java_sl_split

from org.openntf.nsfodp.

jesse-gallagher avatar jesse-gallagher commented on September 20, 2024

Ahhhhh, that makes sense. If that holds together on your end, could you open up a PR for it when you have a chance? I'll test it with my projects - it seems like it should work just fine.

from org.openntf.nsfodp.

jesse-gallagher avatar jesse-gallagher commented on September 20, 2024

That PR is looking good here. I've merged it in - I also had bumped the version to 3.9.0-SNAPSHOT in dev, so it's included in that stream.

from org.openntf.nsfodp.

Related Issues (20)

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.