Exploring Default Workspace Elements
Liferay Workspace provides a configurable development environment that includes a default set of folders and Gradle scripts. These elements represent the Liferay-opinionated way of handling a full development life cycle for creating, building, deploying and testing code projects. Here you’ll learn about the key elements that typically make up a Liferay workspace.
Here you’ll learn about the key elements that typically make up a Liferay workspace.
Key Elements of a Liferay Workspace
Though individual workspaces can vary based on configurations, familiarizing yourself with the default components can help you navigate and leverage your workspace effectively.
- bundles: Stores the initialized Liferay DXP bundle, including a Tomcat server for running Liferay locally.
- configs: Contains configuration files for customizing Liferay's behavior in different environments (e.g., development, production), including configurations for deploying and running Liferay with Docker.
- gradle: Stores the workspace’s Gradle Wrapper, ensuring consistent build environments across different machines.
- modules: Stores custom modules and front-end portlets developed for your Liferay projects.
- themes: Stores custom themes created to modify the look and feel of your Liferay portal.
- wars: Stores traditional WAR-style web applications and theme projects (i.e., those generated by the theme project template)
- build.gradle: Contains the main build script for your workspace, defining tasks and configurations for building and deploying your projects.
- gradle.properties: Determines global settings for your workspace, such as project locations and default Liferay configurations.
- gradle-local.properties: Enables individual developers to override workspace settings without affecting others.
- gradlew: Executes the Gradle Wrapper, simplifying build management and ensuring consistent build environments.
- settings.gradle: Determines the overall structure of your workspace and its dependencies.
Conclusion
Understanding the structure and key elements of a Liferay workspace can significantly enhance your development efficiency and project organization. Next, you'll learn how to create your own Liferay workspace using Blade and Liferay Developer Studio.
Capabilities
Product
Education
Contact Us