...
- Create a folder on your computer in which you will start working on your helloWorld element (
C:\GX\helloWorld
, for example). - Open a command prompt.
- Navigate to the folder in which the element should be created (
C:\GX\helloWorld)
. Execute the command (replace the
<XperienCentral Version>
with the version number of XperienCentral that you’re building against (10.10.0, for example):mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=nl.gx.webmanager.archetypes -DarchetypeArtifactId=webmanager-element-archetype -DarchetypeVersion=<XperienCentral Version> -DgroupId=com.gxwebmanager.helloworld -DartifactId=helloworldelement -Dclassprefix=HelloWorld -s <xperiencentral-root>\settings.xml
A new subfolder called "helloworldelement
" is now present.
Building and Deploying the Plugin
...
- Open a command prompt window.
- Go to the folder
C:\GX\helloWorldWCBshelloWorld\helloworldelement
. - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldelement-1.0.0.jar
from the target folder to
.<xperiencentral-root>
\work\deploy - The element is now available in XperienCentral. To prevent everybody from being able to use it right away, the element has to be activated first (this can be done through the
Configuration > Channel configuration > Functionalities menu). After activation, the element is available in the menu.
...
- Open a command prompt.
- Navigate to the folder in which you already created your helloworldelement (
C:\GX\helloWorld
, for example). - Execute the command (replace <XperienCentral Version> with the version number of XperienCentral that you’re building against, (10.10.0, for example):
mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=nl.gx.webmanager.archetypes -DarchetypeArtifactId=webmanager-panel-archetype -DarchetypeVersion=<XperienCentral Version> -DgroupId=com.gxwebmanager.helloworld -DartifactId=helloworldpanel -Dclassprefix=HelloWorld -s
<xperiencentral-root>
\settings.xml
A new subfolder called "helloworldpanel
" is now present.
Building and Deploying the Panel
...
- Open a command prompt.
- Navigate to the folder where the helloworldpanel was created (
, for example).<xperiencentral-root>
\helloWorldWCBshelloWorld\helloworldpanel - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldpanel-1.0.0.jar
from the target folder to
.<xperiencentral-root>
\work\deploy
...
- Open a command prompt.
- Navigate to the folder in which you already created your helloworldelement and helloworldpanel (
C:\GX\helloWorldWCBshelloWorld
). - Execute the command (replace
<XperienCentral Version>
with the version number of XperienCentral that you’re building against (10.10.0, for example):mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=nl.gx.webmanager.archetypes -DarchetypeArtifactId=webmanager-mediaitem-archetype -DarchetypeVersion=<XperienCentral Version> -DgroupId=com.gxwebmanager.helloworld -DartifactId=helloworldmediaitem -Dclassprefix=HelloWorld -s
<xperiencentral-root>
\settings.xml
...
- Open a command prompt.
- Navigate to the folder
C:\GX\helloWorldWCBshelloWorld\helloworldmediaitem
. - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldmediaitem-1.0.0.jar
from the target folder to
.<xperiencentral-root>
\work\deploy - Press F5 to refresh XperienCentral - The mediaItem component is now available in XperienCentral.
...
- Open a command prompt.
- Navigate to the folder in which you already created your helloworldelement (
C:\GX\helloWorldWCBshelloWorld
). - Execute the command (replace
<XperienCentral Version>
with the version number of XperienCentral that you’re building against (10.6.0, for example):mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=nl.gx.webmanager.archetypes -DarchetypeArtifactId=webmanager-pagemetadata-archetype -DarchetypeVersion=<XperienCentral Version> -DgroupId=com.gxwebmanager.helloworld -DartifactId=helloworldpagemetadata -Dclassprefix=HelloWorld -s
<xperiencentral-root>
\settings.xml
...
- Open a command prompt.
- Navigate to the folder
C:\GX\helloWorldWCBshelloWorld\helloworldpagemetadata
. - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldpagemetadata-1.0.0.jar
from the "target" folder to
.<xperiencentral-root>
\work\deploy
...
- Open a Command prompt.
- Navigate to the folder in which you already created your helloworldelement (
C:\GX\helloWorldWCBshelloWorld
). - Execute the command (replace
<XperienCentral Version>
with the version number of XperienCentral that you’re building against (10.10.0, for example):mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=nl.gx.webmanager.archetypes -DarchetypeArtifactId=webmanager-presentation-archetype -DarchetypeVersion=<XperienCentral Version> -DgroupId=com.gxwebmanager.helloworld -DartifactId=helloworldpresentation -Dclassprefix=HelloWorld -s
<xperiencentral-root>
\settings.xml
...
- Open a command prompt.
- Navigate to the folder
C:\GX\helloWorldWCBshelloWorld\helloworldpresentation
. - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldpresentation-1.0.0.jar
from the ‘target’ folder to
.<xperiencentral-root>
\work\deploy
...
- Open a Command prompt.
- Navigate to the folder in which you already created your helloworldelement (
C:\GX\helloWorldWCBshelloWorld
). - Execute the command (replace
<XperienCentral Version>
with the version number of XperienCentral that you’re building against (10.6.0, for example):mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=nl.gx.webmanager.archetypes -DarchetypeArtifactId=webmanager-service-archetype -DarchetypeVersion=<XperienCentral Version> -DgroupId=com.gxwebmanager.helloworld -DartifactId=helloworldservice -Dclassprefix=HelloWorld -s
<xperiencentral-root>
\settings.xml
A new subfolder called "helloworldservice" is now present.
...
- Open a Command prompt.
- Navigate to the folder
C:\GX\helloWorldWCBshelloWorld\helloworldservice
. - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldservice-1.0.0.jar
from the ‘target’ folder to
folder.<xperiencentral-root>
\work\deploy
...
- Open a command prompt.
- Navigate to the folder in which you already created your helloworldelement (
C:\GX\helloWorldWCBshelloWorld
). - Execute the command (replace
<XperienCentral Version>
with the version number of XperienCentral that you’re building against (10.6.0, for example):mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=nl.gx.webmanager.archetypes -DarchetypeArtifactId=webmanager-servlet-archetype -DarchetypeVersion=<XperienCentral Version> -DgroupId=com.gxwebmanager.helloworld -DartifactId=helloworldservlet -Dclassprefix=HelloWorld -s
<xperiencentral-root>
\settings.xml
A new subfolder called "helloworldservlet" is now present.
...
- Open a command prompt.
- Navigate to the folder
C:\GX\helloWorldWCBshelloWorld\helloworldservlet
. - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldservlet-1.0.0.jar
from the ‘target’ folder to
.<xperiencentral-root>
\work\deploy
...
- Open a command prompt.
- Navigate to the folder
C:\GX\helloWorldWCBshelloWorld\helloworldsidebarwidget
. - Execute the command:
mvn -s
<xperiencentral-root>
\settings.xml clean package - Copy the file
helloworldpresentation-1.0.0.jar
from thetarget
folder to
.<xperiencentral-root>
\work\deploy
...