| <project name="Translate" default="main" basedir="."> | |
| <!-- Setup temp variables --> | |
| <target name="init"> | |
| <!-- If the user specifies a value for these variables, it overrides the values set in this target --> | |
| <property name="input.dir" value="D:\NLS\Corona\TVTReturns" /> | |
| <property name="output.dir" value="D:\NLS\Corona\TVTProcessed" /> | |
| <property name="v" value="true"/> | |
| <property name="WAS" value="WAS"/> | |
| <property name="WSAD" value="WSAD"/> | |
| <property name="product" value="${WSAD}"/> | |
| <taskdef name="goNative" | |
| classname="com.ibm.etools.ant.tasks.GoNative" | |
| classpath="D:\eclipse-SDK-3.0-win32\eclipse\plugins\com.ibm.rtp.tools_3.0.0\lib\tools.jar"/> | |
| <!-- Plugin vars --> | |
| <property name="emf.workbenchui.nl1" value="com.ibm.etools.emf.workbench.ui.nl1"/> | |
| <property name="j2eecore" value="com.ibm.etools.j2ee.core"/> | |
| <property name="j2ee.snippets.nl1" value="com.ibm.etools.j2ee.reference.snippets.nl1"/> | |
| <property name="j2ee.ui.nl1" value="com.ibm.etools.j2ee.ui.nl1"/> | |
| <property name="project.interchange.nl1" value="com.ibm.etools.project.interchange.nl1"/> | |
| <property name="validation.nl1" value="com.ibm.etools.validation.nl1"/> | |
| <property name="validation.core" value="com.ibm.etools.validation.core"/> | |
| <property name="validation.ui.nl1" value="com.ibm.etools.validation.ui.nl1"/> | |
| <property name="wtp.activites.nl1" value="com.ibm.wtp.activities.nl1"/> | |
| <property name="annotations.controller.nl1" value="com.ibm.wtp.annotations.controller.nl1"/> | |
| <property name="annotations.core.nl1" value="com.ibm.wtp.annotations.core.nl1"/> | |
| <property name="annotations.ui.nl1" value="com.ibm.wtp.annotations.ui.nl1"/> | |
| <property name="wtp.common" value="com.ibm.wtp.common"/> | |
| <property name="common.navigator.nl1" value="com.ibm.wtp.common.navigator.nl1"/> | |
| <property name="common.ui.nl1" value="com.ibm.wtp.common.ui.nl1"/> | |
| <property name="ejb.nl1" value="com.ibm.wtp.ejb.nl1"/> | |
| <property name="wtp.emf" value="com.ibm.wtp.emf"/> | |
| <property name="emf.workbench.edit.nl1" value="com.ibm.wtp.emf.workbench.edit.nl1"/> | |
| <property name="j2ee.nl1" value="com.ibm.wtp.j2ee.nl1"/> | |
| <property name="wtp.j2eeui.nl1" value="com.ibm.wtp.j2ee.ui.nl1"/> | |
| <property name="emf.workbench.edit.nl1" value="com.ibm.wtp.emf.workbench.edit.nl1"/> | |
| <property name="jca.nl1" value="com.ibm.wtp.jca.nl1"/> | |
| <property name="web.nl1" value="com.ibm.wtp.web.nl1"/> | |
| <property name="webservice.nl1" value="com.ibm.wtp.webservice.nl1"/> | |
| <property name="j2ee.ui.navigator.nl1" value="com.ibm.wtp.j2ee.ui.navigator.nl1"/> | |
| <property name="views.navigator.nl1" value="org.eclipse.ui.views.navigator.nl1"/> | |
| <property name="workbench.navigator.nl1" value="org.eclipse.ui.workbench.navigator.nl1"/> | |
| <property name="etools.ejb.ui.nl1" value="com.ibm.etools.ejb.ui.nl1"/> | |
| <property name="wtp.ejb.ui.nl1" value="com.ibm.wtp.ejb.ui.nl1"/> | |
| </target> | |
| <target name="main" depends="init"> | |
| <!-- EMF Workbench UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="com.ibm.etools.emf.workbench.ui/property_files/commonappejb.properties" plugin="${emf.workbenchui.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.etools.emf.workbench.ui/property_files/commonedit.properties" plugin="${emf.workbenchui.nl1}/property_files_nl1"/> | |
| <push name="commonfont_windows2000.properties" plugin="${emf.workbenchui.nl1}/property_files_nl1"/> | |
| <push name="emfui.properties" plugin="${emf.workbenchui.nl1}/property_files_nl1"/> | |
| </goNative> | |
| <!-- J2EE Core --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WAS}" verbose="${v}"> | |
| <push name="commonarchive.properties" plugin="${j2eecore}/commonarchive"/> | |
| <push name="com.ibm.etools.j2ee.core/mofj2ee/ejb.properties" plugin="${j2eecore}/mofj2ee"/> | |
| <push name="j2eeplugin.properties" plugin="${j2eecore}/mofj2ee"/> | |
| <push name="j2eexml.properties" plugin="${j2eecore}/mofj2ee"/> | |
| <push name="mofj2ee.properties" plugin="${j2eecore}/mofj2ee"/> | |
| <push name="xmlparse.properties" plugin="${j2eecore}/mofj2ee"/> | |
| <push name="com.ibm.etools.j2ee.core/j2ee-validation/applicationclientvalidation.properties" plugin="${j2eecore}/j2ee-validation"/> | |
| <push name="com.ibm.etools.j2ee.core/j2ee-validation/earvalidation.properties" plugin="${j2eecore}/j2ee-validation"/> | |
| <push name="com.ibm.etools.j2ee.core/j2ee-validation/ejbvalidator.properties" plugin="${j2eecore}/j2ee-validation"/> | |
| <push name="com.ibm.etools.j2ee.core/j2ee-validation/erefvalidation.properties" plugin="${j2eecore}/j2ee-validation"/> | |
| <push name="com.ibm.etools.j2ee.core/j2ee-validation/rarvalidation.properties" plugin="${j2eecore}/j2ee-validation"/> | |
| <push name="com.ibm.etools.j2ee.core/j2ee-validation/warvalidation.properties" plugin="${j2eecore}/j2ee-validation"/> | |
| </goNative> | |
| <!-- J2EE Reference Snippets --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="ReferenceSnippetsPluginResources.properties" plugin="${j2ee.snippets.nl1}/property_files_nl1"/> | |
| </goNative> | |
| <!-- J2EE UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="appclientarchiveui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="appclientui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="applicationeditor.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.etools.j2ee.ui/property_files/commonedit.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="connectorui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="earcreationui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="ejbarchiveui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="ejbcreationui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="connectorui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="ejbextui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="ejbui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="j2eeui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="rararchiveui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="webserviceui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="webui.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="wizards.properties" plugin="${j2ee.ui.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.etools.j2ee.ui/plugin.properties" plugin="${j2ee.ui.nl1}"/> | |
| </goNative> | |
| <!-- Project Interchange --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="projectinterchange.properties" plugin="${project.interchange.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.etools.project.interchange/plugin.properties" plugin="${project.interchange.nl1}"/> | |
| </goNative> | |
| <!-- Validation --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${product}" verbose="${v}"> | |
| <push name="com.ibm.etools.validation/property_files/validate_base.properties" plugin="${validation.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.etools.validation/plugin.properties" plugin="${validation.nl1}"/> | |
| </goNative> | |
| <!-- Validation Core --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="com.ibm.etools.validation.core/property_files/validate_base.properties" plugin="${validation.core}/property_files"/> | |
| </goNative> | |
| <!-- Validation UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="validate_ui.properties" plugin="${validation.ui.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.etools.validation.ui/plugin.properties" plugin="${validation.ui.nl1}"/> | |
| </goNative> | |
| <!-- WTP EMF --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="wftutils.properties" plugin="${wtp.emf}/wtpemf"/> | |
| </goNative> | |
| <!-- Annotation Controller --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="annotationcontroller.properties" plugin="${annotations.controller.nl1}/property_files_nl1"/> | |
| </goNative> | |
| <!-- Annotation Core --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="annotationcore.properties" plugin="${annotations.core.nl1}/property_files_nl1"/> | |
| </goNative> | |
| <!-- Annotation UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="taghandlerui.properties" plugin="${annotations.ui.nl1}/property_files_nl1"/> | |
| </goNative> | |
| <!-- WTP Common --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="wtp_common.properties" plugin="${wtp.common}/src"/> | |
| </goNative> | |
| <!-- WTP Common Navigator --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="wtpnavigator.properties" plugin="${common.navigator.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.common.navigator/plugin.properties" plugin="${common.navigator.nl1}"/> | |
| </goNative> | |
| <!-- WTP Common UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="wtpcommonui.properties" plugin="${common.ui.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.common.ui/plugin.properties" plugin="${common.ui.nl1}"/> | |
| </goNative> | |
| <!-- EJB --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="com.ibm.wtp.ejb/property_files/ejbarchiveops.properties" plugin="${ejb.nl1}/property_files_nl1"/> | |
| <push name="ejbcodegen.properties" plugin="${ejb.nl1}/property_files_nl1"/> | |
| <push name="ejbcreation.properties" plugin="${ejb.nl1}/property_files_nl1"/> | |
| <push name="ejbproviderlibraries.properties" plugin="${ejb.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.ejb/property_files/ejbvalidator.properties" plugin="${ejb.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.ejb/plugin.properties" plugin="${ejb.nl1}"/> | |
| </goNative> | |
| <!-- J2EE --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="appclientarchiveops.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="appclientcreation.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="applicationclientvalidation.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="applicationproviders.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="basecodegen.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.j2ee/property_files/commonedit.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="eararchiveops.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="earcreation.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.j2ee/property_files/earvalidation.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.j2ee/property_files/ejbarchiveops.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.j2ee/property_files/erefvalidation.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="j2ee_common.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="j2eecreation.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="j2eewtpplugin.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="javacodegen.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="projectsupport.properties" plugin="${j2ee.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.j2ee/plugin.properties" plugin="${j2ee.nl1}"/> | |
| </goNative> | |
| <!-- WTP J2EE UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="ejb_figures.properties" plugin="${wtp.j2eeui.nl1}/property_files_nl1"/> | |
| <push name="ejb_ui.properties" plugin="${wtp.j2eeui.nl1}/property_files_nl1"/> | |
| <push name="j2ee_ui.properties" plugin="${wtp.j2eeui.nl1}/property_files_nl1"/> | |
| <push name="jca_ui.properties" plugin="${wtp.j2eeui.nl1}/property_files_nl1"/> | |
| <push name="migwizards.properties" plugin="${wtp.j2eeui.nl1}/property_files_nl1"/> | |
| <push name="web_ui.properties" plugin="${wtp.j2eeui.nl1}/property_files_nl1"/> | |
| <push name="webserviceui.properties" plugin="${wtp.j2eeui.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.j2ee.ui/plugin.properties" plugin="${wtp.j2eeui.nl1}"/> | |
| </goNative> | |
| <!-- JCA --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="rar.properties" plugin="${jca.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.jca/property_files/rarvalidation.properties" plugin="${jca.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.jca/plugin.properties" plugin="${jca.nl1}"/> | |
| </goNative> | |
| <!-- Web --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="ProjectSupport.properties" plugin="${web.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.web/property_files/warvalidation.properties" plugin="${web.nl1}/property_files_nl1"/> | |
| <push name="web.properties" plugin="${web.nl1}/property_files_nl1"/> | |
| <push name="webedit.properties" plugin="${web.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.web/plugin.properties" plugin="${web.nl1}"/> | |
| </goNative> | |
| <!-- Web Services --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="webservice.properties" plugin="${webservice.nl1}/property_files_nl1"/> | |
| <push name="com.ibm.wtp.webservice/plugin.properties" plugin="${webservice.nl1}"/> | |
| </goNative> | |
| <!-- J2EE UI Navigator --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="com.ibm.wtp.j2ee.ui.navigator/plugin.properties" plugin="${j2ee.ui.navigator.nl1}"/> | |
| </goNative> | |
| <!-- Views Navigator --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="messages.properties" plugin="${views.navigator.nl1}/property_files_nl1"/> | |
| </goNative> | |
| <!-- Workbench Navigator --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="wbnavigator.properties" plugin="${workbench.navigator.nl1}/property_files_nl1"/> | |
| <push name="org.eclipse.ui.workbench.navigator/plugin.properties" plugin="${workbench.navigator.nl1}"/> | |
| </goNative> | |
| <!-- WTP Activities --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="com.ibm.wtp.activities/plugin.properties" plugin="${wtp.activites.nl1}"/> | |
| </goNative> | |
| <!-- Etools EJB UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="com.ibm.etools.ejb.ui/plugin.properties" plugin="${etools.ejb.ui.nl1}"/> | |
| </goNative> | |
| <!-- WTP EJB UI --> | |
| <goNative archivePath="${input.dir}" archive="j2ee*" native2asciiDir="${output.dir}" fragments="false" product="${WSAD}" verbose="${v}"> | |
| <push name="com.ibm.wtp.ejb.ui/plugin.properties" plugin="${etools.ejb.ui.nl1}"/> | |
| </goNative> | |
| </target> | |
| </project> |