Testing: SOAP: Building ZimbraQA: Difference between revisions

(Created page with '==General Information== See Building_Zimbra_using_Perforce. ==Downloading the Code== ===Downloading the Prerequisites=== The ZimbraQA project depends on the following Zim…')
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==General Information==
{{Archive}}==General Information==


See [[Building_Zimbra_using_Perforce]].
See [[Building_Zimbra_using_Perforce]].
Line 60: Line 60:
...
...
do-generate-ldap-config:
do-generate-ldap-config:
     [javac] Compiling 47 source files to C:\P4\matt\main\ZimbraQA\build\classes
     [javac] Compiling 47 source files to C:\home\public\P4\main\ZimbraQA\build\classes
     [javac] Note: C:\P4\matt\main\ZimbraQA\src\java\com\zimbra\qa\soap\ProxySoapHttpTransport.java uses or overrides a deprecated API.
     [javac] Note: C:\home\public\P4\main\ZimbraQA\src\java\com\zimbra\qa\soap\ProxySoapHttpTransport.java uses or overrides a deprecated API.
     [javac] Note: Recompile with -Xlint:deprecation for details.
     [javac] Note: Recompile with -Xlint:deprecation for details.
     [javac] Note: C:\P4\matt\main\ZimbraQA\src\java\com\zimbra\qa\soap\UploadServletTest.java uses unchecked or unsafe operations.
     [javac] Note: C:\home\public\P4\main\ZimbraQA\src\java\com\zimbra\qa\soap\UploadServletTest.java uses unchecked or unsafe operations.
     [javac] Note: Recompile with -Xlint:unchecked for details.
     [javac] Note: Recompile with -Xlint:unchecked for details.
jar:
jar:
       [jar] Building jar: C:\P4\matt\main\ZimbraQA\build\dist\zimbra-0.5.0\lib\zimbraqa.jar
       [jar] Building jar: C:\home\public\P4\main\ZimbraQA\build\dist\zimbra-0.5.0\lib\zimbraqa.jar
BUILD SUCCESSFUL
BUILD SUCCESSFUL
Total time: 10 seconds
Total time: 10 seconds
Line 81: Line 81:
[[Category: Build]]
[[Category: Build]]
[[Category: Testing]]
[[Category: Testing]]
[[Category: Selenium]]
[[Category: SOAP]]

Latest revision as of 17:58, 24 March 2015

General Information

See Building_Zimbra_using_Perforce.

Downloading the Code

Downloading the Prerequisites

The ZimbraQA project depends on the following Zimbra projects:

  1. ZimbraServer
  2. ZimbraCommon
  3. ZimbraIM

Download the prerequisites:

 export P4PORT=codes.zimbra.com:2666
 mkdir -p /home/public/p4
 ./p4 -u public -P public1234 -c public-view sync -f //depot/zcs/BRANCH/ZimbraServer/...
 ./p4 -u public -P public1234 -c public-view sync -f //depot/zcs/BRANCH/ZimbraCommon/...
 ./p4 -u public -P public1234 -c public-view sync -f //depot/zcs/BRANCH/ZimbraIM/...

where BRANCH is the release branch to download (e.g. main). All files will be downloaded to /home/public/p4.

Downloading ZimbraQA

ZimbraQA is a closed-source project that is not available publicly.

Building ZimbraSelenium using Eclipse

Java

ZimbraQA requires java 1.6. Download and install java.

Eclipse

Download and install eclipse IDE.

Build the Code

Use the following steps to build the code:

  1. Create new eclipse workspace
    1. Open eclipse
    2. Create new workspace in /home/public/p4/BRANCH , where BRANCH is the release branch.
  2. Add all projects to eclipse
    1. Select File->New->Project->Java Project
    2. For "Project Name", enter ZimbraQA
    3. Complete these steps for ZimbraCommon, ZimbraIM, ZimbraServer
  3. Build ZimbraQA
    1. Expand the ZimbraQA project
    2. Select build.xml, right click, select "Run As"->"Ant Build"

The output in the console should display:

...
do-generate-ldap-config:
    [javac] Compiling 47 source files to C:\home\public\P4\main\ZimbraQA\build\classes
    [javac] Note: C:\home\public\P4\main\ZimbraQA\src\java\com\zimbra\qa\soap\ProxySoapHttpTransport.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: C:\home\public\P4\main\ZimbraQA\src\java\com\zimbra\qa\soap\UploadServletTest.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
jar:
      [jar] Building jar: C:\home\public\P4\main\ZimbraQA\build\dist\zimbra-0.5.0\lib\zimbraqa.jar
BUILD SUCCESSFUL
Total time: 10 seconds


Troubleshooting

Verified Against: unknown Date Created: 11/7/2007
Article ID: https://wiki.zimbra.com/index.php?title=Testing:_SOAP:_Building_ZimbraQA Date Modified: 2015-03-24



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search