掲示板

How to let the delpoy war does not contain the src code in lferay 6.2 ?

thumbnail
7年前 に 琪 范 によって更新されました。

How to let the delpoy war does not contain the src code in lferay 6.2 ?

New Member 投稿: 12 参加年月日: 16/03/17 最新の投稿
In liferay 6.2.5,after unzip portlet war,I find the source code in /WEB-INF/src/ folder.How to let the delpoy war does not contain the src folder ?
➜  WEB-INF ls
classes                           portlet.xml
lib                               src
liferay-display.xml               tld
liferay-plugin-package.properties web.xml
thumbnail
7年前 に 琪 范 によって更新されました。

RE: How to let the delpoy war does not contain the src code in lferay 6.2

New Member 投稿: 12 参加年月日: 16/03/17 最新の投稿
uncomment the line in /liferay-plugins-sdk-6.2/build.properties
    #
    # Set the excludes attributes to specify files that will be excluded from a
    # plugin WAR.
    #
    #plugins.war.excludes=**/WEB-INF/service/**,**/WEB-INF/src/**
thumbnail
7年前 に Olaf Kock によって更新されました。

RE: How to let the delpoy war does not contain the src code in lferay 6.2 (回答)

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
...or rather: Include this line, uncommented, in your build.username.properties: build.properties should be unchanged, all the changes go to build.username.properties or build.hostname.properties (substitute italic parts with actual names)
thumbnail
7年前 に qi fan によって更新されました。

RE: How to let the delpoy war does not contain the src code in lferay 6.2

New Member 投稿: 12 参加年月日: 16/03/17 最新の投稿
Yes, you explain more specification.thank you.