
kilt-ant.1.0.2.source-code.build.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- /******************************************************************************* * Copyright 2011 Danny Kunz * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ******************************************************************************/ --> <project name="kilt" basedir="."> <taskdef name="exportXls" classname="de.poiu.kilt.ant.ExportXlsTask"> <classpath> <fileset dir="lib"> <include name="*.jar" /> </fileset> </classpath> </taskdef> <taskdef name="importXls" classname="de.poiu.kilt.ant.ImportXlsTask"> <classpath> <fileset dir="lib"> <include name="*.jar" /> </fileset> </classpath> </taskdef> <taskdef name="createFacade" classname="de.poiu.kilt.ant.CreateFacadeTask"> <classpath> <fileset dir="lib"> <include name="*.jar" /> </fileset> </classpath> </taskdef> <taskdef name="reformat" classname="de.poiu.kilt.ant.ReformatTask"> <classpath> <fileset dir="lib"> <include name="*.jar" /> </fileset> </classpath> </taskdef> <taskdef name="reorder" classname="de.poiu.kilt.ant.ReorderTask"> <classpath> <fileset dir="lib"> <include name="*.jar" /> </fileset> </classpath> </taskdef> <!-- INITIALIZE --> <property file="kilt.properties" /> <!-- TARGETS --> <target name="clean"> <delete dir="${facadeGenerationDir}"/> </target> <target name="export-xls" description="Exports the translations in the resource bundle files into an XLS file."> <exportXls propertiesRootDirectory="${propertiesRootDirectory}" i18nIncludes="${i18nIncludes}" i18nExcludes="${i18nExcludes}" xlsFile="${xlsFile}" propertyFileEncoding="${propertyFileEncoding}" verbose="${verbose}" /> </target> <target name="import-xls" description="Imports the translations from an XLS file back into the resource bundle files."> <importXls propertiesRootDirectory="${propertiesRootDirectory}" i18nIncludes="${i18nIncludes}" i18nExcludes="${i18nExcludes}" xlsFile="${xlsFile}" propertyFileEncoding="${propertyFileEncoding}" verbose="${verbose}" /> </target> <target name="create-facade" description="Creates the I18n enum facades for type safe access to localized messages."> <createFacade propertiesRootDirectory="${propertiesRootDirectory}" i18nIncludes="${i18nIncludes}" i18nExcludes="${i18nExcludes}" generatedPackage="${generatedPackage}" copyFacadeAccessorClasses="${copyFacadeAccessorClasses}" facadeAccessorClassName="${facadeAccessorClassName}" facadeGenerationDir="${facadeGenerationDir}" propertyFileEncoding="${propertyFileEncoding}" verbose="${verbose}" /> </target> <target name="reformat" description="Reformats the key-value pairs a set of java i18n .properties files."> <reformat propertiesRootDirectory="${propertiesRootDirectory}" i18nIncludes="${i18nIncludes}" i18nExcludes="${i18nExcludes}" propertyFileEncoding="${propertyFileEncoding}" format="${format}" reformatKeysAndValues="${reformatKeysAndValues}" verbose="${verbose}" /> </target> <target name="reorder" description="Reorders the key-value pairs in a set of java i18n .properties files."> <reorder propertiesRootDirectory="${propertiesRootDirectory}" i18nIncludes="${i18nIncludes}" i18nExcludes="${i18nExcludes}" propertyFileEncoding="${propertyFileEncoding}" byKey="${byKey}" template="${template}" attachCommentsTo="${attachCommentsTo}" verbose="${verbose}" /> </target> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy