-
Notifications
You must be signed in to change notification settings - Fork 17
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
Building Jar from source results in 'no main manifest attribute' #25
Comments
@yarlichev I know we upgraded the client to use a different generator for this release. Is there a way to restore the manifest in the generated artifact? |
Is there any update on this issue? |
@Rob-Conan What are you trying to achieve by running it with java -jar? ssc-restapi-client is a library, it needs to be accessed only programmatically from an application. Just put the jar on the classpath and use the ApiClient from your code. |
We have some scripts that directly invokes the API by calling the jar file.
This works on older versions of the jar file and I want to upgrade our
scripting to utilize the latest jar but I am unable to do so.
…On Thu 9 Nov 2023, 06:59 Anna Karyakina, ***@***.***> wrote:
@Rob-Conan <https://github.com/Rob-Conan> What are you trying to achieve
by running it with java -jar? ssc-restapi-client is a library, it needs to
be accessed only programmatically from an application. Just put the jar on
the classpath and use the ApiClient from your code.
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLCF5P67WHVTZMENLWRHCLYDPB7DAVCNFSM6AAAAAAQSC6WSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBSGM4DMMZUGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Pulling the latest version of both the source code and the jar file in the releases (https://github.com/fortify/ssc-restapi-client/releases/tag/v22.1) results in an error when attemting to run the application in a stand alone Jar format.
Previous versions of the JAR file allowed for the following command to be run without issue
java -jar ssc-restapi-client.jar
.Running the above command with the latest JAR version results in the error:
no main manifest attribute, in ssc-restapi-client.jar
This issue occurs on regardless of platform or java version used.
The text was updated successfully, but these errors were encountered: