Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>the latest 1.0-M4 snapshot of gradle contains the new ear plugin. You can either update your wrapper configuration or download the snapshot directly from </p> <p><a href="http://repo.gradle.org/gradle/distributions/gradle-snapshots/gradle-1.0-milestone-4-20110610162713+0200-bin.zip" rel="nofollow">http://repo.gradle.org/gradle/distributions/gradle-snapshots/gradle-1.0-milestone-4-20110610162713+0200-bin.zip</a></p> <p>The complete distribution of this snapshot downloadable at <a href="http://repo.gradle.org/gradle/distributions/gradle-snapshots/gradle-1.0-milestone-4-20110610162713+0200-all.zip" rel="nofollow">http://repo.gradle.org/gradle/distributions/gradle-snapshots/gradle-1.0-milestone-4-20110610162713+0200-all.zip</a> contains a samples folder with two example usages of the newly introduced ear plugin.</p> <p>Have a look at the example in samples/ear/earWithWar This example defines a ear with a war. </p> <p>To get a skinny war, you have to modify the build.gradle of the war project. To get a war without thirdparty libs, you have to add the following snippet to samples/ear/earWithWar/war/build.gradle:</p> <pre><code>war{ classpath = [] } </code></pre> <p>To get the thirdparty libs in the lib/ subfolder of your ear you have to add the lib used by the war plugin to the earlib configuration in the root project too. The example does this for the log4j library. </p> <p>Now running "gradle ear" on the example project creates a ear with a skinny war and the thirdparty libs stored in the lib/ subfolder of the ear.</p> <p>The complete snapshot contains further documentation in the docs/ subfolder about the ear plugin </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload