This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Where is the code for x?
davidmason edited this page Dec 17, 2012
·
14 revisions
Purpose: locate the code for a component or feature of Zanata.
Zanata has a number of projects (in the Eclipse IDE sense) located in several repositories. Use this table to find which repository a project is in. For repository locations, see Repositories.
Repository | Projects |
---|---|
zanata-parent | no projects, parent pom for other projects |
zanata-api | zanata-common-api |
zanata-common | zanata-adapter-glossary |
zanata-adapter-po | |
zanata-adapter-properties | |
zanata-adapter-xliff | |
zanata-common-util | |
zanata | functional-test |
zanata-model | |
zanata-war | |
zanata-client | zanata-client-ant-po |
zanata-client-ant-properties | |
zanata-client-commands | |
zanata-maven-plugin | |
zanata-rest-client |
Use this table to find the main packages containing code for the feature of interest.
Feature | Project | Package(s) | Notes |
---|---|---|---|
Webtrans (translation editor) | zanata-war | org.zanata.webtrans | Uses GWT. |
REST API methods | zanata-common-api | org.zanata.rest.client | Client interfaces for REST endpoints. |
org.zanata.rest.dto | Objects transferred by REST methods. | ||
org.zanata.rest.service | REST method interfaces. | ||
zanata | org.zanata.rest.service | Concrete implementations of REST methods. | |
Project Pages | zanata | src/main/webapp and various packages | xhtml pages that use Seam components. Seam components are referred to like #{componentName.methodName}, which refers to a class ComponentName or with annotation @Name("componentName"). An understanding of Seam is very helpful in understanding this code. See Seam Framework or any introductory Seam book. |
Maven Plugin | zanata-maven-plugin | org.zanata.maven | Bindings of Zanata commands to Maven mojos. See Maven - Guide to Developing Java Plugins |
zanata-client-commands | org.zanata.client.commands | Fundamental client command logic. This code performs the main work of the Maven Plugin (and other clients). | |
TM (Translation Memory) | zanata | org.zanata.webtrans.client | Client-side logic (*.presenter.TransMemoryPresenter) and display (*.view.TransMemoryView) |
org.zanata.webtrans.shared.rpc | Descriptor for gwt-rpc method for fetching TM results. | ||
org.zanata.webtrans.server.rpc | Concrete implementation for gwt-rpc method for fetching TM results. | ||
org.zanata.dao | Core logic for retrieving TM matches is found in TextFlowDAO. | ||
Validators | zanata | org.zanata.webtrans.shared.validation |