Skip to content

Commit

Permalink
LPS-119867 Add deploy-portal-license-enterprise-app
Browse files Browse the repository at this point in the history
  • Loading branch information
petershin authored and brianchandotcom committed Aug 29, 2020
1 parent 988d391 commit 0b70d4a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@
build.patcher.hotfix.qualifier=
build.patcher.replace.release.info.tokens=false
build.performance.logger.enabled=false
build.portal.license.enterprise.app.version=1.0.0
build.profile=portal
build.repository.local.dir=${project.dir}/.m2
build.repository.private.password=
Expand Down
24 changes: 24 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,30 @@ message.
</if>
</target>

<target name="deploy-portal-license-enterprise-app">
<property name="artifact.name" value="com.liferay.portal.license.enterprise.app" />

<gradle-execute outputproperty="jar.file" setupbinariescache="false" task="printDependencyPath">
<arg value="--build-file=${project.dir}/modules/util.gradle" />
<arg value="--quiet" />
<arg value="-Dorg.gradle.internal.launcher.welcomeMessageEnabled=false" />
<arg value="-PdependencyNotation=com.liferay:${artifact.name}:${build.portal.license.enterprise.app.version}" />
</gradle-execute>

<copy
file="${jar.file}"
preservelastmodified="true"
todir="${liferay.home}/osgi/static"
/>

<basename file="${jar.file}" property="file.name" />

<move
file="${liferay.home}/osgi/static/${file.name}"
tofile="${liferay.home}/osgi/static/${artifact.name}.jar"
/>
</target>

<target name="dist">
<ant antfile="build-dist.xml" inheritAll="false" target="dist" />
</target>
Expand Down

0 comments on commit 0b70d4a

Please sign in to comment.