Skip to content

Commit

Permalink
Add build frontend to specials/iaf-webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
jacodg committed Jan 5, 2024
1 parent 00f7144 commit 3f717bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions specials/iaf-webapp/build-example.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# maven.skip.javadoc=true
# maven.skip.recompile.all=true
# maven.skip.source.jar=true
# maven.skip.build.frontend=true


# Limit the number of IAF modules to build. E.g. when you are working on the core module do the following (it would
Expand Down
13 changes: 13 additions & 0 deletions specials/iaf-webapp/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<property name="maven.skip.javadoc" value="${maven.skip.all}"/>
<property name="maven.skip.recompile.all" value="${maven.skip.all}"/>
<property name="maven.skip.source.jar" value="${maven.skip.all}"/>
<property name="maven.skip.build.frontend" value="${maven.skip.all}"/>
<property name="tomcat.skip.waitfor" value="false"/>
<property name="maven.verbose" value="false"/>
<!-- Run webapp with configurations and tests from another project as it doesn't have it's own -->
Expand All @@ -32,6 +33,18 @@
<arg value="-Dtomcat.skip.waitfor=${tomcat.skip.waitfor}"/>
</exec>

<echo message="iaf-webapp: Build frontend" unless:true="${maven.skip.build.frontend}"/>
<exec executable="../../${mvn.exe}" dir="../../../${ff.dir}/console/frontend" vmlauncher="false" failonerror="true" unless:true="${maven.skip.build.frontend}">
<arg value="${mvn.arg}" unless:blank="${mvn.arg}"/>
<arg value="clean" unless:true="${maven.skip.clean}"/>
<arg value="install"/>
<arg value="-DskipTests" if:true="${maven.skip.tests}"/>
<arg value="-Dmaven.source.skip=true" if:true="${maven.skip.source.jar}"/>
<arg value="-X" if:true="${maven.verbose}"/>
<arg value="--settings" if:set="maven.settings.xml"/>
<arg value="${maven.settings.xml}" if:set="maven.settings.xml"/>
</exec>

<echo message="iaf-webapp: Build iaf"/>
<exec executable="${mvn.exe}" dir="../../../${ff.dir}" vmlauncher="false" failonerror="true">
<arg value="${mvn.arg}" unless:blank="${mvn.arg}"/>
Expand Down

0 comments on commit 3f717bc

Please sign in to comment.