Skip to content

Remove ant projects - #724

Open
neph1 wants to merge 3 commits into
jMonkeyEngine:masterfrom
neph1:remove_ant_projects
Open

neph1 wants to merge 3 commits into
jMonkeyEngine:masterfrom
neph1:remove_ant_projects

Conversation

@neph1

@neph1 neph1 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Phase 1 (commit 1): remove Ant-based project creation — the "Basic Game (with Ant)" wizard (templates/basic/), the BasicGameTemplate/, JME3TestsTemplate/ and JME3TestsTemplateAndroid/ template sources, the whole jme3-tests-template module, the -zip-templates build target, the copyTestSources gradle task, and the now-unused jme3 library dependencies of jme3-templates. Gradle is now the only project creation path.
  • Phase 2 (commit 2): remove Ant/j2se project support — the com.jme3.gde.core.j2seproject package (project extension manager/properties, assets customizer, 3.0→3.1 upgrade wizard), the ant-freeform and java-j2seproject registrations in the core layer.xml, the three modules that only plugged into the j2se project type (jme3-desktop-executables, jme3-lwjgl-applet, jme3-obfuscate), the j2se customizer in jme3-android, and the org.netbeans.modules.java.j2seproject / project.ant module dependencies. AssetsLookupProvider is rewritten Gradle-only.
  • Net: ~12,000 lines removed, 5 modules deleted, 2 fewer NetBeans module dependencies.

⚠️ Breaking change: existing Ant-based (j2se) projects are no longer supported; users must migrate to Gradle.

Verification

  • Static consistency sweeps: no remaining references to the removed packages, modules, templates, build targets or layer registrations (grep across java/xml/properties/gradle).
  • All touched XML files validated as well-formed; suite module list and harness project.properties verified intact.
  • Full build not run in this environment (no JDK available in the sandbox) — please let CI verify the NetBeans harness build.

mistral-vibe and others added 3 commits October 28, 2026 07:24
Drops the 'Basic Game (with Ant)' wizard and the Ant-based jME3 Tests and
Tests Android templates so that Gradle is the only project creation path.
Removes the BasicGameTemplate, JME3TestsTemplate and
JME3TestsTemplateAndroid template sources, the jme3-tests-template module,
the -zip-templates build target and the now-unused jme3 library
dependencies of the jme3-templates module.

Co-authored-by: neph1 <neph1@users.noreply.github.com>
Removes the com.jme3.gde.core.j2seproject package (project extension
manager/properties, assets customizer, upgrade wizard) and the ant and
j2se project registrations from the core layer.xml. AssetsLookupProvider
now only handles Gradle projects. Drops the jme3-desktop-executables,
jme3-lwjgl-applet and jme3-obfuscate modules, which only plugged into
the j2se project type, and the j2se customizer of jme3-android. Removes
the org.netbeans.modules.java.j2seproject and project.ant module
dependencies from jme3-core and jme3-android and the suite/gradle
wiring of the removed modules.

Note: existing Ant-based projects are no longer supported; they can be
imported as Gradle projects.

Co-authored-by: neph1 <neph1@users.noreply.github.com>
The Ant/j2se project removal dropped the org.openide.util.Lookup import
while keeping the LookupProvider.createAdditionalLookup(Lookup) signature,
breaking the jme3-core compile and thus buildSdk.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@neph1
neph1 marked this pull request as ready for review October 28, 2026 20:46

@jaime-jmebot jaime-jmebot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this major cleanup! Moving exclusively to Gradle streamlines the build system and removes a lot of legacy complexity.

Summary of takeaways:

  • Clean removal of Ant templates & support: Legacy Ant wizards, templates, targets, and non-Gradle project extensions have been fully removed.
  • Suite & dependency updates: Module dependencies, layer registrations, and suite properties are nicely updated with no dangling references.
  • Simplified asset lookup: AssetsLookupProvider is refactored cleanly to focus solely on Gradle projects.

Looks ready to merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants