Skip to content

sample code in tutorials should match the SDK's "JME3 Tests" project template #96

@stephengold

Description

@stephengold

See jMonkeyEngine/jmonkeyengine#1124, filed by @nav9. They missed part about "All example code is included in the jMonkeyEngine SDK" and tried copy-pasting code from the beginner tutorials. That ought to work, but it didn't. They mentioned 2 sorts of problems:

  1. small errors in the code
  2. non-breaking space characters

I assume the SDK build process somehow copies the Java code in the "JME3 Tests" project template from the jme3-examples sub-project of the Engine, so that's an important piece of this issue. Whenever changes are made the tutorial code, it's vital to replicate those changes in jme3-examples. This will ensure that the code actually compiles.

Similarly, it's important that changes to certain jme3-examples classes (the ones used in the wiki) get reflected in the wiki. Perhaps we should add prominent reminders to the Java code.

A related topic at the Forum:
https://hub.jmonkeyengine.org/t/hellocollision-will-need-update-for-3-2/39730/7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions