Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a folder on your computer in which you will start working on your helloWorld element (C:\GX\helloWorld, for example).
  2. Open a command prompt.
  3. Navigate to the folder in which the element should be created (C:\GX\helloWorld).
  4. 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

...

  1. Open a command prompt window.
  2. Go to the folder C:\GX\helloWorldWCBshelloWorld\helloworldelement.
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldelement-1.0.0.jar from the target folder to <xperiencentral-root>\work\deploy.
  5. 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.

...

  1. Open a command prompt.
  2. Navigate to the folder in which you already created your helloworldelement (C:\GX\helloWorld, for example).
  3. 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

...

  1. Open a command prompt.
  2. Navigate to the folder where the helloworldpanel was created (<xperiencentral-root>\helloWorldWCBshelloWorld\helloworldpanel, for example).
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldpanel-1.0.0.jar from the target folder to <xperiencentral-root>\work\deploy.

...

  1. Open a command prompt.
  2. Navigate to the folder in which you already created your helloworldelement and helloworldpanel (C:\GX\helloWorldWCBshelloWorld).
  3. 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

...

  1. Open a command prompt.
  2. Navigate to the folder C:\GX\helloWorldWCBshelloWorld\helloworldmediaitem.
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldmediaitem-1.0.0.jar from the target folder to <xperiencentral-root>\work\deploy.
  5. Press F5 to refresh XperienCentral - The mediaItem component is now available in XperienCentral.

...

  1. Open a command prompt.
  2. Navigate to the folder in which you already created your helloworldelement (C:\GX\helloWorldWCBshelloWorld).
  3. 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

...

  1. Open a command prompt.
  2. Navigate to the folder C:\GX\helloWorldWCBshelloWorld\helloworldpagemetadata.
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldpagemetadata-1.0.0.jar from the "target" folder to <xperiencentral-root>\work\deploy.

...

  1. Open a Command prompt.
  2. Navigate to the folder in which you already created your helloworldelement (C:\GX\helloWorldWCBshelloWorld).
  3. 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

...

  1. Open a command prompt.
  2. Navigate to the folder C:\GX\helloWorldWCBshelloWorld\helloworldpresentation.
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldpresentation-1.0.0.jar from the ‘target’ folder to <xperiencentral-root>\work\deploy.

...

  1. Open a Command prompt.
  2. Navigate to the folder in which you already created your helloworldelement (C:\GX\helloWorldWCBshelloWorld).
  3. 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.

...

  1. Open a Command prompt.
  2. Navigate to the folder C:\GX\helloWorldWCBshelloWorld\helloworldservice.
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldservice-1.0.0.jar from the ‘target’ folder to <xperiencentral-root>\work\deploy folder.

...

  1. Open a command prompt.
  2. Navigate to the folder in which you already created your helloworldelement (C:\GX\helloWorldWCBshelloWorld).
  3. 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.

...

  1. Open a command prompt.
  2. Navigate to the folder C:\GX\helloWorldWCBshelloWorld\helloworldservlet.
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldservlet-1.0.0.jar from the ‘target’ folder to <xperiencentral-root>\work\deploy.

...

  1. Open a command prompt.
  2. Navigate to the folder C:\GX\helloWorldWCBshelloWorld\helloworldsidebarwidget.
  3. Execute the command:

    mvn -s <xperiencentral-root>\settings.xml clean package

  4. Copy the file helloworldpresentation-1.0.0.jar from the target folder to <xperiencentral-root>\work\deploy.

...