Part IV. Deploy simply your Graymound Project

Create .jar file with build.xml Ant Task file.
You can run this task with Run As -> Ant Build command.

Refresh Package Explorer with F5. You will have two files, Tutorial.jar and Tutorial.har

We did not use Hibernate on our first simple project. So that ignore har file.

Create a folder called Tutorial under jboss/server/default/deploy/deploy.last directory.


Copy Tutorial.jar to this folder. Then change project-service.xml file under deploy.last. Change the lines.


<classpath codebase="file:/C:\GMDevelopment/EclipseWorkspace/ShopTutorial/bin/"	archives=""/>
<classpath codebase="file:/ C:\GMDevelopment/Jboss/jboss-4.2.1.GA/server/default/deploy/deploy.last/Tutorial"	archives="*"/>

Start jBoss .
GMDevelopment\JBoss\jboss-4.2.1.GA\bin\run.bat

Open http://localhost:8080/GMJava
Login with
User Name: admin
Password: admin

Open Administration - > Settings -> Module

Create a new Tutorial module
Click New
Name : Module
Sort Order : 0

Click Tutorial. Thick System Administrator role for this module.

Click Save.

Open Administration -> Settings -> Menu

Select Tutorial from Module
Click New
Name : Tutorial Page
Page Name : fillcombo.guiml
Click OK

Close Graymound Browser
Now your project has been deployed.

Open Graymound with GMBrowser.bat or Java Web Start.
GMBrowser.bat
C:\GMDevelopment\Graymound\Client\GMBrowser.bat

Login with
User Name : Admin
Password : Admin

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.