question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some exporting jar suggestions

See original GitHub issue

First off all, thanks for all the effort so far. I like to where this is going!

I would like a way to include / exclude specific files or folders from the src. For example I have a folder sfjl and sfjl_examples, and I don’t want the sfjl_examples folders included in the jar file.

Screen Shot 2020-08-13 at 07 04 38

Second, it would be nice to store export settings in settings.json. For example, I would love something like this:

{
    "java.jar.exports": [
        {
            "name": "sfjl",
            "exludes": [
                "/sfjl/SFJL_Profiler*",
                "/sfjl_examples"
            ],
            "manifest": "${workspaceFolder}/manifests/sfjl_manifest.mf"
        },
        {
            "name": "sfjl_profiler",
            "exludes": [
                "*"
            ],
            "includes": [
                "/sfjl/SFJL_Profiler"
            ],
            "manifest": "${workspaceFolder}/manifests/sfjl_profiler_manifest.mf"
        }

    ]
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jdneocommented, Aug 21, 2020

@CsCherrYY will recently look into this since he’s the contributor of this feature.

0reactions
jdneocommented, Dec 1, 2021

Close this thread since the most part of the request should have been resolved.

There is one remaining: allow user to customized the manifest or allow user to select one, which will be tracked by #526.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java: export to an .jar file in eclipse - Stack Overflow
In my project I have added some pictures and PDF:s. When I'm exporting to jar file, it seems that only the main has...
Read more >
Exporting a JAR file to a project folder outside the workspace ...
Browse for export destination, select the project folder and enter a filename ( example.jar ). Click Finish Actual result: A workspace relative ...
Read more >
Exporting Jar Files - Happy Coding
Extracting the libraries copies the files from inside the library .jar files into the generated .jar file. · Packaging the libraries copies the...
Read more >
Problem in exporting JAR - SAP Community
Hi, I have created a Java Project. And it is running well as a Java Application. But i am facing problem in exporting...
Read more >
Handy Export Jar - IntelliJ IDEs Plugin - JetBrains Marketplace
Plugin of Intellij IDEA for quickly export java project's class, resource, source file to jar, like Eclipse's action of export to jar.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found