New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JmeTests should specify native bullet, not jBullet #119
Comments
I don't think the issue is that they don't work with jbullet anymore, they should definitely work with it. The issue is the missing jbullet.jar which is not on maven (its our adapted version). |
But the JmeTests project uses Ant, not Maven, and there's a jbullet library installed with the SDK. So I don't think that's the issue. Here's the output: ant -f "S:\Git\jME 3.1\JmeTests" -Dnb.internal.action.name=run run |
Yes it is the issue. It cannot find a class from com.bulletphysics, which is in jbullet.jar. Try adding the jars from here: https://github.com/jMonkeyEngine/jmonkeyengine/tree/3.0/engine/lib/jbullet It doesn't matter if the project uses ANT, maven or gradle, if the jar isn't there it doesn't work. Maven in this context doesn't mean "maven the build system", it means "maven the centralized java library repository", which is where the SDK build pulls its engine jar files from afaik. |
Compiling 258 source files to S:\Git\jME 3.1\JmeTests\build\classes |
When I downloaded the four JARs using the "download" button for each one (instead of "Save link as..." in my browser) I got valid JARs of the correct size, but the build still failed, this time not finding package com.jme3.bullet. Adding the "jme3-bullet" library cleared that up. In fact, with "jme3-bullet" library included, JmeTests seems to build and run just fine, even without the downloaded JARs. So I think the problem is that JmeTests project is missing the "jme3-bullet" library. |
Correction: it builds fine, and the test chooser comes up, but when I try to run a test from the chooser I get: Mar 18, 2017 11:08:08 AM jme3test.TestChooser$2 run |
I took jme3-bullet out. With the 4 JARs + jme3-jbullet, I'm able to run tests. |
In fact, I don't need all 4 JARs. Just adding jbullet.jar seems to be sufficient. |
Creating a JmeTests project is, I imagine, one of the first things a new user is likely to do after installing the SDK. Having it fail out of the box (for two unrelated reasons!) gives a bad impression. I believe the removal of jbullet.jar from the jme3-jbullet library was intentional and is unlikely to be reversed anytime soon. So, given that this breaks JmeTests, is it unreasonable to expect the SDK to either (a) use native bullet for JmeTests or (b) supply a jbullet.jar for building JmeTests? |
The jbullet.jar is probably missing because of what I said, so its not really intentional. I don't know why you question the reasonability of your issue though. Nobody closed it, nobody spoke against it. Do you personally have any problems with it? |
According to jayfella, jbullet.jar does not belong to jmonkey, so we aren't allowed to re-distribute it. pspeed said that isn't 100% correct, but that it would be "bad form" to re-distribute it. I assume one of these is the reason it's omitted from the 3.1 jme-jbullet library. I don't question the reasonableness of my own expectations. I'm trying to motivate a fix, for the sake of new users and the success of the project. So far, I haven't get the sense that anyone on the team cares much about this issue. |
Well since I left the SDK is basically maintained by one contributor and kind of officially separated from the engine so having an issue not worked on for 3 days or some weeks should be met with understanding. |
Exactly, I was busy this weekend thus I did not reply. The issue is: jbullet is our fork of the original jbullet but without a published source. Paul's opinion is that you may not distribute jar's without source code. If jbullet is released under any GPL variant it's definitely required actually. Nevertheless since the engine already has that jbullet.jar in the repository, I added it to the sdk. It is only not available as a proper dependency (but I think Yes we encourage to move to native bullet and wonder if it hasn't been done yet. if it isn't done, it certainly is for new projects ( |
I published "our" version here: https://github.com/normen/jbullet As for native bullet - I never really finished it completely. Some contributors added almost all missing stuff I guess but I never had the chance to look over those. Some of the contributed stuff is implemented a bit... creatively :) It seems to work fine mostly afaics though. |
Sorry to hear the project is so shorthanded. If I got a false impression of the "team," it was probably from normen's comments, not mefisto94's silence. |
Personally, I think since we are openly encouraging folks to move to native
bullet it would be nice if the tests also used native bullet.
…On Mon, Mar 20, 2017 at 4:44 PM, Stephen Gold ***@***.***> wrote:
Sorry to hear the project is so shorthanded. If I got a false impression
of the "team," it was probably from normen's comments, not mefisto94's
silence.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGrfnjNT1FCXZhYxFbdo1lOK5-_36ZeWks5rnuVFgaJpZM4Mf63v>
.
|
Well the regular tests now have a working native bullet and for android I think it used to be native bullet way before due to performance. That is no excuse to have a broken jBullet setup though. @stephengold No problem. I think jme as a whole suffers a bit from the members being busy and the team being rather small. On the other hand better late then never^^ |
@stephengold Sorry if my comments gave any kind of "impression". I was solely trying to convey facts that might help you understand the issue. |
* master: (49 commits) Added stubs for the new Profiler. Possibly the SDK won't be profileable ever. Initial step towards Engine Version 3.2 Small Documentation Addition: Corelibs vs Optlibs Revert "Move XBuf to optional libs" Fixes #81 - Manual Workaround for XBuf Dependencies, so that the xbuf_loader and others get properly added to the jme3_xbuf library. Fixes #119 - The Library jme3-jbullet now has all the proper dependencies, so that jbullet should work again. Keep in mind though that jBullet is deprecated and will be removed in the future Add proper `assets` folder for the tests because the build fails otherwise. Used `.keep` files, so git tracks the empty folders. Move XBuf to optional libs Update Android Test Template: Use 3.1 Libraries instead of 3.0 jbullet lib lacks jbullet.jar: use native bullet in JmeTests template Improves #75 - Set darker default diff colors for DarkMonkey Font & Color Profile Readme: Clarification about `stable` tag Android: Update NBAndroid Plugin Repo (Note: It says 8.1 but according to their wiki, it should be compatible anyway, there is no 8.2 Repo). Actually we previously used the NB 7.3 Plugin Repo... Android fix Fix #114 Readme: Some more fixes Readme: fix small formatting issue Fixes #113 - Add a proper ReadMe with a good documentation about how to build the engine Blender: Update sub folder to adopt to blender foundation's packaging changes for Mac OS X Travis: Fix Errors due to wrong quoting. ... Conflicts: build.gradle build_engine.sh
In the 3.1.0-stable-FINAL version of the SDK, new JmeTests projects are created with the jbullet library in the library properties. However, the physics tests don't work with jbullet any more. To run physics tests, it's necessary to add the bullet and bullet-native libraries and remove the jbullet library.
In lieu of fixing jbullet, perhaps the SDK should specify native bullet for these projects.
Recent discussion at the Forum:
https://hub.jmonkeyengine.org/t/none-of-the-physics-demos-will-run/38197
https://hub.jmonkeyengine.org/t/jmonkeyengine-3-1-0-how-do-i-download-the-massive-sdk/38183/12
The text was updated successfully, but these errors were encountered: