Giter Site home page Giter Site logo

Comments (3)

marcphilipp avatar marcphilipp commented on August 15, 2024

I've discarded the fat-jar idea for now. I tried using the shadow Gradle plugin to relocate jopt-simple. However, jopt-simple uses ResourceBundles that are loaded from *.properties files where keys are prefixed with class names. Those would need to be transformed to reflect the relocation as well.

Instead I've used Gradle's application plugin to publish a ZIP and TAR archives that contain shell/batch scripts and all of the dependencies.

The content looks like this:
bildschirmfoto 2015-12-04 um 13 21 55


In addition, I think we should add a command-line option to ConsoleRunner that would allow to specify additional classpath entries and use a custom URLClassLoader.

from junit5.

sbrannen avatar sbrannen commented on August 15, 2024

I think the ZIP/TAR option is a viable alternative to a fat jar for the short term.

Regarding the additional classpath entries and a custom URLClassLoader, I would recommend you open separate issues to address those. If you do that, I think we could also go ahead and close this issue, since you've already made the switch to JOpt Simple.

from junit5.

marcphilipp avatar marcphilipp commented on August 15, 2024

Work on a custom URLClassLoader continues in #50. In addition, I've started to write tests (to be continued in #49).

from junit5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.