Hello Guest

Window focus when files have been created

  • 18 Replies
  • 7667 Views
*

Offline spasi

  • *****
  • 2163
    • WebHotelier
Re: Window focus when files have been created
« Reply #15 on: July 24, 2016, 13:22:01 »
See issue #100. Note that we're currently working on:

a) Maven artifacts.
b) A tool on the website that generates Maven/Gradle scripts and IDE projects.
c) A tool on the website that lets you customize the downloaded .zip.

Re: Window focus when files have been created
« Reply #16 on: August 16, 2016, 01:11:40 »
I just tried the latest nightly build (3.0.1 #10) without any issues. What kind of problems are you having?

The way you add LWJGL to Eclipse (for example) has changed with what appears to be your modular approach in the nightly builds.  Previously I only had to add lwjgl.jar as an external JAR and point the IDE to the /natives/ folder and to src.zip for everything to work smoothly.  With your newer approach I am unsure how to add what I need to Eclipse and how to point the options to the correct locations and/or files in order for everything to work as it did before.

*

Offline spasi

  • *****
  • 2163
    • WebHotelier
Re: Window focus when files have been created
« Reply #17 on: August 16, 2016, 09:17:35 »
The new structure is similar:

- Each module has at least 3 JARs: the classes (no suffix), the sources (-sources) and the javadoc (-javadoc).
- Some modules also include native library JARs (with a -natives-<arch> suffix).
- You only need the class and native library JARs in your classpath. The others may be "attached" to your IDE project for quick source/javadoc lookups.

LWJGL automatically extracts native libraries from the classpath, so you normally don't need to set -Djava.library.path. If you prefer the old way, you may extract the native library JARs to a folder and use that instead.

You always need the "core" module (i.e. lwjgl.jar and lwjgl-natives-<arch>.jar) in your project. Then you add any bindings that you want to use and ignore the rest. All binding modules depend on the core module, but there are no other dependencies.

*

Offline Obsyd

  • **
  • 71
Re: Window focus when files have been created
« Reply #18 on: August 27, 2016, 09:58:49 »
This new modular system is really great. Makes things cleaner and smaller. Thanks Spasi!