GithubHelp home page GithubHelp logo

Comments (6)

mcgredonps avatar mcgredonps commented on May 26, 2024

Nicely spotted. Fixed in the actual XML repo I missed last night, at DISDescription here in the open-dis github project.

In the Java implementation it's somewhat dangerous to re-generate the source code, so I fixed that directly without a regeneration. There are various patches that can be made to the generated code when what the protocol does differs from the generation basics. That can be done as a Unix patch operation, but that's kinda unreliable.

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

In the Java implementation it's somewhat dangerous to re-generate the source code,

Don, I'm glad you said that!

There's obviously a lot of effort saved by the code generator. However I too have been thinking about how painful it'd be if we were to regenerate the Java code at this point, given all the hand made improvements we've made 😨 . The junit tests would be an alarm bell, they would either fail to compile or fail to pass. However it would still be a pretty large task to reapply the cumulative changes to get to a point where the tests pass again.

It sounds like you already agree, but maybe the best strategy is to use the code generator once for the initial library creation, and then from that point on just hand edit the source code like we are now?

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

Fixed by @mcgredonps here

open-dis/dis-description@6bf1928

from open-dis-java.

mcgredonps avatar mcgredonps commented on May 26, 2024

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

git submodules are a bit funny. The DISDescription submodule in open-dis-java won't automatically point at the latest commit because it's actually locked to an earlier commit (by design). It would need to be updated manually. This is both a blessing and a curse! I personally limit my use of submodules these days because of the headaches they've caused me!

from open-dis-java.

mcgredonps avatar mcgredonps commented on May 26, 2024

from open-dis-java.

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.