Comments (6)
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.
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.
Fixed by @mcgredonps here
open-dis/dis-description@6bf1928
from open-dis-java.
from open-dis-java.
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.
from open-dis-java.
Related Issues (20)
- Dis7 Signal PDU Missing Radio Identifier HOT 8
- Signal PDU data length is in bytes but should be in bits (DIS 7) HOT 2
- DIS Network Traffic on Macs HOT 4
- SISO-REF-010 Updates HOT 4
- Parsing the Articulated Parameters parameter value field HOT 1
- Unmarshal doesn't save/reset buffer position causing issues when with useCopies HOT 2
- Update Maven Central? HOT 2
- DIS time converter HOT 4
- Absence of edu.nps.moves.disenum in Release 5.0 HOT 1
- DIS 7 PDUs advertise zero length HOT 4
- Unmarshaling enters infinite loop if the length field is zero. HOT 2
- A question about CoordinateConversions HOT 8
- Transmitter PDU Variable Parameter Support HOT 2
- ElectronicEmissionsPdu dis7 Support HOT 4
- Difference with standard protocol for orientation HOT 3
- Deprecate DIS_DR_* and DIS_DeadReckoning classes HOT 1
- BehaviorProducerUDP throws buffer underflow exception when variable datum is greater than MTU HOT 4
- DeadReckoner:perform_DR() for (some) articulated parts not working HOT 1
- Deprecate some disutil classes
- Wrong IFFDataRecord implementation in Java and missing on C++ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-dis-java.