"-includeresource" in JAR Manifest inside Gradle build file

pixelfreak

In build.gradle for the dotCMS OSGi custom Spring example, there is a line in the JAR manifest:

instruction '-includeresource', 'spring=spring, libs'

Is this a typo? Is '-includeresource' supposed to be 'Include-Resource'? I can't seem to find any documentation anywhere on this.

Sorry if this is obvious. I am new to Gradle and Java.

Sean Bright

-includeresource is an bnd instruction. Per the documentation, it is used to:

Include resources from the file system

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Build and run a jar inside of a Gradle task

From Dev

Add Classpath in Manifest file of jar in gradle in java 8

From Dev

Build classpath from JAR inside a WAR file

From Dev

Build classpath from JAR inside a WAR file

From Dev

Read manifest from JAR with gradle

From Dev

Read manifest from JAR with gradle

From Dev

Java class inside the gradle build file fails

From Dev

Build JAR with custom manifest in maven

From Java

How to add local .jar file dependency to build.gradle file?

From Dev

Running an ANT build.xml file inside a Jar file

From Dev

Running an ANT build.xml file inside a Jar file

From Dev

In an Android Gradle build, how to exclude dependencies from an included jar file?

From Dev

Gradle build file with conf folder with properties not in jar but on classpath

From Dev

Gradle build: Exclude resources files from Spring Boot Jar file

From Dev

How to maintain project and dependency jar versions for Gradle build in property file?

From Dev

Confusion on Uses of Jar Manifest File

From Java

Gradle duplicate entry error: META-INF/MANIFEST.MF (Or how to delete a file from jar)

From Dev

Gradle could not find manifest file

From Dev

How to access a buildConfigField elsewhere inside a gradle build file

From Dev

Gradle deploying a Jar file

From Dev

How to build jar on windows with gradle

From Dev

no main manifest attribute (But I have the manifest file in the jar)

From Dev

manifest first OSGi build with gradle - migrating from ant to Gradle

From Dev

Exporting Jar file with Manifest attribute in Android Studio?

From Java

Replacing the MANIFEST.MF file in a JAR programmatically

From Dev

Using Java to read a .jar manifest file

From Dev

Jar command not adding requested manifest file to archive

From Dev

JAR Manifest file - Difference between Specification and Implementation

From Dev

JAR file manifest does not contain permission attribute

Related Related

  1. 1

    Build and run a jar inside of a Gradle task

  2. 2

    Add Classpath in Manifest file of jar in gradle in java 8

  3. 3

    Build classpath from JAR inside a WAR file

  4. 4

    Build classpath from JAR inside a WAR file

  5. 5

    Read manifest from JAR with gradle

  6. 6

    Read manifest from JAR with gradle

  7. 7

    Java class inside the gradle build file fails

  8. 8

    Build JAR with custom manifest in maven

  9. 9

    How to add local .jar file dependency to build.gradle file?

  10. 10

    Running an ANT build.xml file inside a Jar file

  11. 11

    Running an ANT build.xml file inside a Jar file

  12. 12

    In an Android Gradle build, how to exclude dependencies from an included jar file?

  13. 13

    Gradle build file with conf folder with properties not in jar but on classpath

  14. 14

    Gradle build: Exclude resources files from Spring Boot Jar file

  15. 15

    How to maintain project and dependency jar versions for Gradle build in property file?

  16. 16

    Confusion on Uses of Jar Manifest File

  17. 17

    Gradle duplicate entry error: META-INF/MANIFEST.MF (Or how to delete a file from jar)

  18. 18

    Gradle could not find manifest file

  19. 19

    How to access a buildConfigField elsewhere inside a gradle build file

  20. 20

    Gradle deploying a Jar file

  21. 21

    How to build jar on windows with gradle

  22. 22

    no main manifest attribute (But I have the manifest file in the jar)

  23. 23

    manifest first OSGi build with gradle - migrating from ant to Gradle

  24. 24

    Exporting Jar file with Manifest attribute in Android Studio?

  25. 25

    Replacing the MANIFEST.MF file in a JAR programmatically

  26. 26

    Using Java to read a .jar manifest file

  27. 27

    Jar command not adding requested manifest file to archive

  28. 28

    JAR Manifest file - Difference between Specification and Implementation

  29. 29

    JAR file manifest does not contain permission attribute

HotTag

Archive