kit-data-manager / wap-server

Apache License 2.0
4 stars 3 forks source link

Some resources are not generated on installation with gradle built jar #12

Open GGoetzelmann opened 6 months ago

GGoetzelmann commented 6 months ago

Some static folders and files are created in the server installation process, including javadocs and profiles. Using the gradle build version (development branch), these files are missing on installation.

It looks to me that they are not packaged properly with the jar file and therefor cannot be unpacked on installation.

In the maven build this section seems to be responsible:

        <resources>     
            <resource>
                <directory>.</directory>
                <includes>
                    <include>doc/**/*.*</include>
                    <include>webcontent/**/*.*</include>
                    <include>schemas/**/*.*</include>
                    <include>profiles/**/FRAME_*.*</include>
                </includes>
            </resource>
        </resources>

I am not sure how to match this behaviour / structure in the gradle build.