Create ATG Project
Create ATG Project in Eclipse
Before creating ATG Project, make sure ATG Plugin must be installed in Eclipse and set ATG installation directory for ATG Preferences
Follow the below steps to create and run the ATG Project
Step 1: Create ATG Module.
Step 2: Specify the Project name MyATGProject1. It will be created in ATG installation directory(c:ATGATG11.3MyATGProject1)-
Step 3: Click Next
Step 4: BY default DAS, DPS and DSS module selected. No need to add any extra module right now. Click Next-
Step 5: Change Default output folder - MyATgProject1/classes and click Next and Finish.
Step 6: Click Finish and get the below directory structure -
Step 7: Check the META-INFMANIFEST.MF file as below -
Step 7: Create Ant build file - build.xml.
Step 8: check the build.xml file as below -
Step 9: Update META-INFMANIFEST.MF file as below -
Step 10: Configure datasource configuration file -[ optional ]
Create configtgdynamoservicejdbcJTDataSource.properties file as below
[Note - these folders are not created, create atgdynamoservicejdbc folder as below]
Step 11: Create configtgdynamoservicejdbcDirectJTDataSource.properties as below
Step 12: Assemble MyATGProject1 application and deploy on publishing server
Create Ant build file as below -
Show Ant view - Window -> show View -> Other and get below screen -
Add build.xml file in Ant view -
Run build.xml file and get below output -