AnsweredAssumed Answered

etc.zip file not included in 7.0.3.0 overlay war

Question asked by gareth.ferrier on Dec 2, 2014
Latest reply on Apr 21, 2015 by gareth.ferrier

Previously we were building a plugin and an overlay based on 6.0.4.2 of Jive, and everything worked fine.  Upgrading to latest 7.0.3 there is an issue with the build where the etc.zip file is being build and included in the target directory, but not copied into the 'war' directory, and therefore not included in the final war file.  To illustrate I have got a listing for my target directory post a clean package build below ...

 

 

drwxr-xr-x    3 garethf  staff        102  4 Nov 11:13 antrun

drwxr-xr-x    6 garethf  staff        204  4 Nov 11:12 classes

-rw-r--r--    1 garethf  staff       3510  4 Nov 11:13 etc.zip

drwxr-xr-x    4 garethf  staff        136  4 Nov 11:13 generated-sources

drwxr-xr-x  212 garethf  staff       7208  4 Nov 11:13 jive-core-temp-7.0.3.0_d86e7a0

drwxr-xr-x    7 garethf  staff        238  4 Nov 11:13 jive-core-temp-7.0.3.0_d86e7a0-yui

drwxr-xr-x    3 garethf  staff        102  4 Nov 11:13 maven-archiver

drwxr-xr-x    2 garethf  staff         68  4 Nov 11:15 surefire

drwxr-xr-x    6 garethf  staff        204  4 Nov 11:13 surefire-reports

drwxr-xr-x    4 garethf  staff        136  4 Nov 11:13 test-classes

drwxr-xr-x    3 garethf  staff        102  4 Nov 11:13 tmp

drwxr-xr-x   34 garethf  staff       1156  4 Nov 11:13 web-overlay-2.1.1-SNAPSHOT

-rw-r--r--    1 garethf  staff  222384516  4 Nov 11:14 web-overlay-2.1.1-SNAPSHOT.war


As you can see, the etc.zip file is created, but not included in the war file, as demonstrated with the command below ...

 

jar tvf web-overlay-2.1.1-SNAPSHOT.war | grep etc


and the result ...

 

WEB-INF/classes/fetcher.properties

WEB-INF/lib/rome-fetcher-1.0.jar

admin/images/cache_stretch.gif


Has the approach changed, or is the build for 7.0.3 broken?

Outcomes