Opened 6 years ago

Closed 6 years ago

#1931 closed enhancement (fixed)

do not extract gml.tar.gz on every make

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 9.7
Component: build system Version: development
Keywords: Cc:
Complexity: Medium

Description

It seems like this gunzip/untar/delete/copy is done on every make in rasdaman. It should be done once only, unless the original gml.tar.gz has changed since the previous make.

<tasks>
    <gunzip src="@SRC_DIR@/src/main/resources/gml.tar.gz" />
    <untar src="@SRC_DIR@/src/main/resources/gml.tar" dest="@BUILD_DIR@/src/main/resources/" />
    <delete file="@SRC_DIR@/src/main/resources/gml.tar" />
    <copy file="@SRC_DIR@/src/main/resources/gml.tar.gz" tofile="@BUILD_DIR@/src/main/resources/" />
    <copy todir="@SECORE_TARGET_DIR@/def/WEB-INF/jsp/">
        <fileset dir="@SRC_DIR@/src/main/webapp/WEB-INF/jsp/" includes="**/*" />
    </copy>
    <copy todir="@SECORE_TARGET_DIR@/def/WEB-INF/classes/">
        <fileset dir="@SRC_DIR@/src/main/resources/" includes="**/*" />
    </copy>
</tasks>

Change History (1)

comment:1 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Type: defectenhancement
Note: See TracTickets for help on using tickets.