-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d280b71
Showing
34 changed files
with
1,279 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Wed Feb 17 09:31:22 GST 2021 | ||
profile.name=gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
**/*.iml | ||
**/.ivy | ||
**/.classpath | ||
**/.project | ||
**/.sass-cache | ||
**/.settings | ||
**/bin | ||
**/build | ||
**/build_gradle | ||
**/node_modules | ||
**/test-coverage | ||
**/tmp | ||
**/.web_bundle_build | ||
**.DS_Store | ||
.gradle | ||
.idea | ||
/bundles | ||
/gradle-*.properties | ||
/plugins-sdk/**/classes | ||
/plugins-sdk/**/ivy.xml.MD5 | ||
/plugins-sdk/**/liferay-hook.xml.processed | ||
/plugins-sdk/build.*.properties | ||
/plugins-sdk/dependencies/**/*.jar | ||
/plugins-sdk/dist | ||
/plugins-sdk/lib | ||
test-results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Any instructions here will be appended to the end of the Dockerfile created by `createDockerfile`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
# Getting Started with Liferay Workspace | ||
|
||
Complete documentation for Liferay Workspace can be found | ||
[here](https://learn.liferay.com/dxp/7.x/en/developing-applications/tooling/liferay-workspace.html). | ||
|
||
``` | ||
my-project | ||
├── configs | ||
│ ├── common | ||
│ ├── dev | ||
│ ├── docker | ||
│ ├── local | ||
│ ├── prod | ||
│ └── uat | ||
├── modules | ||
│ ├── apis | ||
│ ├── services | ||
│ ├── java widgets | ||
│ ├── js widgets | ||
│ ├── java ee widgets (spring mvc, jsf, etc) | ||
│ └── java themes | ||
└── themes | ||
└── js themes | ||
``` | ||
|
||
``` | ||
my-project $ blade gw initBundle | ||
my-project $ blade gw deploy | ||
my-project $ blade server run | ||
``` | ||
``` | ||
my-project $ blade gw createDockerContainer | ||
my-project $ blade gw startDockerContainer | ||
``` | ||
|
||
|
||
``` | ||
my-project $ blade gw distBundleTar | ||
``` | ||
|
||
``` | ||
my-project $ blade gw distBundleZip | ||
``` | ||
|
||
``` | ||
my-project $ blade gw buildDockerImage | ||
``` | ||
|
||
|
||
``` | ||
my-project $ blade create -t service-builder my-service | ||
``` | ||
|
||
``` | ||
my-project $ blade create -t js-theme my-theme | ||
``` | ||
|
||
``` | ||
my-project $ blade create -t mvc-portlet "my-java-widget" | ||
``` | ||
|
||
``` | ||
my-project $ blade create -t js-widget "my-js-widget" | ||
``` | ||
|
||
|
||
Set the following in `gradle.properties` to change the default settings. | ||
|
||
Set the `liferay.workspace.product` to set the `app.server.tomcat.version`, | ||
`liferay.workspace.bundle.url`, `liferay.workspace.docker.image.liferay`, and | ||
`liferay.workspace.target.platform.version` that matches your Liferay Product | ||
Version. To override each of these settings, set them individually. | ||
|
||
Set this property to override the default setting provided by | ||
`liferay.workspace.product`. Set the `app.server.tomcat.version` to match what | ||
is contained inside the Liferay bundle. Both the TestIntegrationPlugin and | ||
LiferayExtPlugin rely on this version to match the bundled Tomcat version. If | ||
your configured bundle url points to a bundle with a different Tomcat version, | ||
set the property below to match that Tomcat version. If you did not set | ||
`liferay.workspace.product`, the default value is `9.0.36`. | ||
|
||
Set this property to override the default setting provided by | ||
`liferay.workspace.product`. Set the URL pointing to the bundle Zip to | ||
download. If you did not set `liferay.workspace.product`, the default value is | ||
`https://releases-cdn.liferay.com/portal/7.3.5-ga6/liferay-ce-portal-tomcat-7.3.5-ga6-20200924034643403.tar.gz`. | ||
|
||
Set this property to override the default setting provided by | ||
`liferay.workspace.product`. Set the Liferay Portal Docker image to create | ||
your container from. If you did not set `liferay.workspace.product`, the | ||
default value is `liferay/portal:7.3.5-ga6`. | ||
|
||
Set this property to override the default setting provided by | ||
`liferay.workspace.product`. Set the Liferay Portal or DXP version to | ||
develop and test against. By setting this property, it enables the target | ||
platform features such as dependency management and OSGi resolve tasks. Use the | ||
version that matches the Liferay Portal or DXP bundle version in this workspace. | ||
|
||
For a list of all available target platform versions, see | ||
https://bit.ly/2IkAwwW for Liferay Portal and https://bit.ly/2GIyfZF for | ||
Liferay DXP. If you did not set `liferay.workspace.product`, the default value | ||
is `7.3.5`. | ||
|
||
Set the directory where the downloaded bundle Zip files are stored. The default | ||
value is the `.liferay/bundles` folder inside the user home directory. The | ||
default value is `~/.liferay/bundles`. | ||
|
||
Set this to true to configure Liferay CDN as the default repository in the root | ||
project. The default value is `true`. | ||
|
||
Set the environment with the settings appropriate for current development. The | ||
`configs` folder is used to hold different environments in the same workspace. | ||
You can organize environment settings and generate an environment installation | ||
with those settings. There are five environments: common, dev, docker, local, | ||
prod, and uat. The default value is `local`. | ||
|
||
Set the folder that contains all Ext OSGi modules and Ext plugins. The default | ||
value is `ext`. | ||
|
||
Set the folder that contains the Liferay bundle downloaded from the | ||
`liferay.workspace.bundle.url` property. The default value is `bundles`. | ||
|
||
Set this to true to configure Liferay CDN as the default repository for | ||
module/OSGi projects. The default value is `true`. | ||
|
||
Set the folder that contains all module projects. Set to `*` to search all | ||
subdirectories. The default value is `modules`. | ||
|
||
Set this to true to compile the JSP files in OSGi modules and have them added | ||
to the distributable Zip/Tar. The default value is `false`. | ||
|
||
Set this property to `yarn` to build Node.js-style projects using Yarn. The | ||
default value is `npm`. | ||
|
||
Set the folder that contains the Plugins SDK environment. The default value is | ||
`plugins-sdk`. | ||
|
||
Set the folder that contains Node.js-style theme projects. The default value is | ||
`themes`. | ||
|
||
Set this to true to build the theme projects using the Liferay Portal Tools | ||
Theme Builder. The default value is `false`. | ||
|
||
Set the subscription key for Microsoft Translation integration. This is service | ||
is used to provide automatic translations for `buildLang`. | ||
|
||
Set this to true if you have enabled the Target Platform plugin (i.e. you have | ||
set the above property) and you want to apply the TargetPlatformIDE plugin to | ||
the root workspace project. This will cause all of the BOM artifacts jars and | ||
their Java sources to be indexed by your IDE. Setting this property to true can | ||
slow down your IDE's project synchronization. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include-and-override=portal-developer.properties | ||
|
||
# | ||
# MySQL | ||
# | ||
#jdbc.default.driverClassName=com.mysql.cj.jdbc.Driver | ||
#jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false | ||
#jdbc.default.username=root | ||
#jdbc.default.password= |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include-and-override=portal-developer.properties | ||
|
||
# | ||
# MySQL | ||
# | ||
#jdbc.default.driverClassName=com.mysql.cj.jdbc.Driver | ||
#jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false | ||
#jdbc.default.username=root | ||
#jdbc.default.password= |
2 changes: 2 additions & 0 deletions
2
...s/com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
operationMode="REMOTE" | ||
transportAddresses=["127.0.0.1:9300"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# MySQL | ||
# | ||
#jdbc.default.driverClassName=com.mysql.cj.jdbc.Driver | ||
#jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false | ||
#jdbc.default.username=root | ||
#jdbc.default.password= |
3 changes: 3 additions & 0 deletions
3
...s/com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
logExceptionsOnly=B"false" | ||
operationMode="REMOTE" | ||
transportAddresses=["127.0.0.1:9300"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# MySQL | ||
# | ||
#jdbc.default.driverClassName=com.mysql.cj.jdbc.Driver | ||
#jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false | ||
#jdbc.default.username=root | ||
#jdbc.default.password= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
liferay.workspace.modules.dir=modules | ||
liferay.workspace.product=dxp-7.3-ga1 | ||
microsoft.translator.subscription.key= |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.