Menu

#183 Multi-Jar Libs

v5.0
closed
None
5
2017-04-27
2017-04-27
No

When compiling a project with multiple libs (or a multi-jar lib, such as LWJGL,) it isn't exactly convenient to type out every jar/folder name. For LWJGL, there are more than 100 of these, which can be exhaustive to type.
Would it be possible to implement a feature where a user could put something such as 'lib/.jar' or 'lib//*.jar' in order to automatically include all jars within on -libraryjars?

If this feature is already available, please include an example as I wasn't able to find it in the documentation. (though I may not have looked well enough. I did, however, try using what I placed as an example, for it to fail.)

Discussion

  • Wayne Wilson

    Wayne Wilson - 2017-04-27

    nevermind, i realised it automatically does it by using the parent folder right after I posted this... Couldn't figure out how to delete the ticket.

    Additional Suggestion:
    When the main-class gets renamed, this should be updated in the manifest document as well (if it exists)

     

    Last edit: Wayne Wilson 2017-04-27
    • Eric Lafortune

      Eric Lafortune - 2017-04-27

      You can indeed work from any hierarchy of directories, zip files, ear files, war files, and jar files as input and output.

      For updating the manifest, you can use

      -adaptresourcefilecontents META-INF/MANIFEST.MF
      
       
  • Eric Lafortune

    Eric Lafortune - 2017-04-27
    • status: open --> closed
    • assigned_to: Eric Lafortune
     

Log in to post a comment.