001: /*******************************************************************************
002: * Copyright (c) 2000, 2007 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM - Initial API and implementation
010: *******************************************************************************/package org.eclipse.pde.internal.build;
011:
012: /**
013: * XML template constants.
014: */
015: public interface IXMLConstants {
016:
017: // general
018: public static final String PROPERTY_ASSIGNMENT_PREFIX = "${"; //$NON-NLS-1$
019: public static final String PROPERTY_ASSIGNMENT_SUFFIX = "}"; //$NON-NLS-1$
020: public static final String JDT_COMPILER_ADAPTER = "org.eclipse.jdt.core.JDTCompilerAdapter"; //$NON-NLS-1$
021:
022: // element description variables (used in files like plugin.xml, e.g. $ws$)
023: public static final String DESCRIPTION_VARIABLE_NL = "$nl$"; //$NON-NLS-1$
024: public static final String DESCRIPTION_VARIABLE_OS = "$os$"; //$NON-NLS-1$
025: public static final String DESCRIPTION_VARIABLE_WS = "$ws$"; //$NON-NLS-1$
026: public static final String DESCRIPTION_VARIABLE_ARCH = "$arch$"; //$NON-NLS-1$
027:
028: // targets
029: public static final String TARGET_ALL_CHILDREN = "all.children"; //$NON-NLS-1$
030: public static final String TARGET_ALL_FRAGMENTS = "all.fragments"; //$NON-NLS-1$
031: public static final String TARGET_ALL_PLUGINS = "all.plugins"; //$NON-NLS-1$
032: public static final String TARGET_BUILD_JARS = "build.jars"; //$NON-NLS-1$
033: public static final String TARGET_BUILD_SOURCES = "build.sources"; //$NON-NLS-1$
034: public static final String TARGET_BUILD_UPDATE_JAR = "build.update.jar"; //$NON-NLS-1$
035: public static final String TARGET_BUILD_ZIPS = "build.zips"; //$NON-NLS-1$
036: public static final String TARGET_CHILDREN = "children"; //$NON-NLS-1$
037: public static final String TARGET_CLEAN = "clean"; //$NON-NLS-1$
038: public static final String TARGET_FETCH = "fetch"; //$NON-NLS-1$
039: public static final String TARGET_GATHER_BIN_PARTS = "gather.bin.parts"; //$NON-NLS-1$
040: public static final String TARGET_GATHER_LOGS = "gather.logs"; //$NON-NLS-1$
041: public static final String TARGET_GATHER_SOURCES = "gather.sources"; //$NON-NLS-1$
042: public static final String TARGET_INIT = "init"; //$NON-NLS-1$
043: public static final String TARGET_MAIN = "main"; //$NON-NLS-1$
044: public static final String TARGET_GZIP_RESULTS = "gzipResults"; //$NON-NLS-1$
045: public static final String TARGET_PROPERTIES = "properties"; //$NON-NLS-1$
046: public static final String TARGET_REFRESH = "refresh"; //$NON-NLS-1$
047: public static final String TARGET_ZIP_DISTRIBUTION = "zip.distribution"; //$NON-NLS-1$
048: public static final String TARGET_ZIP_LOGS = "zip.logs"; //$NON-NLS-1$
049: public static final String TARGET_ZIP_PLUGIN = "zip.plugin"; //$NON-NLS-1$
050: public static final String TARGET_ZIP_SOURCES = "zip.sources"; //$NON-NLS-1$
051: public static final String TARGET_UPDATE_FEATURE_FILE = "update.feature"; //$NON-NLS-1$
052: public static final String TARGET_ALL_FEATURES = "all.features"; //$NON-NLS-1$
053: public static final String TARGET_FETCH_ELEMENT = "fetch.element"; //$NON-NLS-1$
054: public static final String TARGET_FETCH_PLUGINS = "fetch.plugins"; //$NON-NLS-1$
055: public static final String TARGET_FETCH_RECURSIVELY = "fetch.recursively"; //$NON-NLS-1$
056: public static final String TARGET_EFFECTIVE_FETCH = "effectiveFetch"; //$NON-NLS-1$
057: public static final String TARGET_JARUP = "jarUp"; //$NON-NLS-1$
058: public static final String TARGET_JARING = "jarIng"; //$NON-NLS-1$
059: public static final String TARGET_JARSIGNING = "jarSigning"; //$NON-NLS-1$
060: public static final String TARGET_ROOTFILES_PREFIX = "rootFiles"; //$NON-NLS-1$
061: // properties
062: public static final String PROPERTY_ARCH = "arch"; //$NON-NLS-1$
063: public static final String PROPERTY_BASE_ARCH = "basearch"; //$NON-NLS-1$
064: public static final String PROPERTY_BASEDIR = "basedir"; //$NON-NLS-1$
065: public static final String PROPERTY_BOOTCLASSPATH = "bootclasspath"; //$NON-NLS-1$
066: public static final String PROPERTY_BUILD_COMPILER = "build.compiler"; //$NON-NLS-1$
067: public static final String PROPERTY_BUILD_DIRECTORY = "buildDirectory"; //$NON-NLS-1$
068: public static final String PROPERTY_BUILD_ID = "build.id"; //$NON-NLS-1$
069: public static final String PROPERTY_BUILD_QUALIFIER = "build.qualifier"; //$NON-NLS-1$
070: public static final String PROPERTY_BUILD_RESULT_FOLDER = "build.result.folder"; //$NON-NLS-1$
071: public static final String PROPERTY_BUILD_TYPE = "build.type"; //$NON-NLS-1$
072: public static final String PROPERTY_DESTINATION_TEMP_FOLDER = "destination.temp.folder"; //$NON-NLS-1$
073: public static final String PROPERTY_ECLIPSE_RUNNING = "eclipse.running"; //$NON-NLS-1$
074: public static final String PROPERTY_FEATURE = "feature"; //$NON-NLS-1$
075: public static final String PROPERTY_ECLIPSE_BASE = "eclipse.base"; //$NON-NLS-1$
076: public static final String PROPERTY_FEATURE_BASE = "feature.base"; //$NON-NLS-1$
077: public static final String PROPERTY_FEATURE_DESTINATION = "feature.destination"; //$NON-NLS-1$
078: public static final String PROPERTY_FEATURE_DIRECTORY = "feature.directory"; //$NON-NLS-1$
079: public static final String PROPERTY_FEATURE_FULL_NAME = "feature.full.name"; //$NON-NLS-1$
080: public static final String PROPERTY_FEATURE_TEMP_FOLDER = "feature.temp.folder"; //$NON-NLS-1$
081: public static final String PROPERTY_FEATURE_VERSION_SUFFIX = "feature.version.suffix"; //$NON-NLS-1$
082: public static final String PROPERTY_FULL_NAME = "full.name"; //$NON-NLS-1$
083: public static final String PROPERTY_INCLUDE_CHILDREN = "include.children"; //$NON-NLS-1$
084: public static final String PROPERTY_LAUNCHER_ICONS = "launcherIcons"; //$NON-NLS-1$
085: public static final String PROPERTY_LAUNCHER_NAME = "launcherName"; //$NON-NLS-1$
086: public static final String PROPERTY_PRODUCT = "product"; //$NON-NLS-1$
087: public static final String PROPERTY_BASE_LOCATION = "baseLocation"; //$NON-NLS-1$
088: public static final String PROPERTY_LOG_EXTENSION = "logExtension"; //$NON-NLS-1$
089:
090: public static final String PROPERTY_NL = "nl"; //$NON-NLS-1$
091: public static final String PROPERTY_BASE_NL = "basenl"; //$NON-NLS-1$
092: public static final String PROPERTY_OS = "os"; //$NON-NLS-1$
093: public static final String PROPERTY_BUNDLE_VERSION = "bundleVersion"; //$NON-NLS-1$
094: public static final String PROPERTY_BUNDLE_ID = "bundleId"; //$NON-NLS-1$
095: public static final String PROPERTY_BASE_OS = "baseos"; //$NON-NLS-1$
096: public static final String PROPERTY_QUIET = "quiet"; //$NON-NLS-1$
097: public static final String PROPERTY_PLUGIN_DESTINATION = "plugin.destination"; //$NON-NLS-1$
098: public static final String PROPERTY_TARGET = "target"; //$NON-NLS-1$
099: public static final String PROPERTY_TEMP_FOLDER = "temp.folder"; //$NON-NLS-1$
100: public static final String PROPERTY_VERSION_SUFFIX = "version.suffix"; //$NON-NLS-1$
101: public static final String PROPERTY_WS = "ws"; //$NON-NLS-1$
102: public static final String PROPERTY_BASE_WS = "basews"; //$NON-NLS-1$
103: public static final String PROPERTY_ARCHIVE_NAME = "archiveName"; //$NON-NLS-1$
104: public static final String PROPERTY_BUILD_LABEL = "buildLabel"; //$NON-NLS-1$
105: public static final String PROPERTY_JAVAC_FAIL_ON_ERROR = "javacFailOnError"; //$NON-NLS-1$
106: public static final String PROPERTY_JAVAC_DEBUG_INFO = "javacDebugInfo"; //$NON-NLS-1$
107: public static final String PROPERTY_JAVAC_VERBOSE = "javacVerbose"; //$NON-NLS-1$
108: public static final String PROPERTY_JAVAC_SOURCE = "javacSource"; //$NON-NLS-1$
109: public static final String PROPERTY_JAVAC_TARGET = "javacTarget"; //$NON-NLS-1$
110: public static final String PROPERTY_BUNDLE_JAVAC_SOURCE = "bundleJavacSource"; //$NON-NLS-1$
111: public static final String PROPERTY_BUNDLE_BOOTCLASSPATH = "bundleBootClasspath"; //$NON-NLS-1$
112: public static final String PROPERTY_BUNDLE_JAVAC_TARGET = "bundleJavacTarget"; //$NON-NLS-1$
113: public static final String PROPERTY_JAVAC_COMPILERARG = "compilerArg"; //$NON-NLS-1$
114: public static final String PROPERTY_ARCHIVE_PREFIX = "archivePrefix"; //$NON-NLS-1$
115: public static final String PROPERTY_PLUGIN_ARCHIVE_PREFIX = "pluginArchivePrefix"; //$NON-NLS-1$
116: public static final String PROPERTY_FEATURE_ARCHIVE_PREFIX = "featureArchivePrefix"; //$NON-NLS-1$
117: public static final String PROPERTY_COLLECTING_FOLDER = "collectingFolder"; //$NON-NLS-1$
118: public static final String PROPERTY_ARCHIVE_FULLPATH = "archiveFullPath"; //$NON-NLS-1$
119: public static final String PROPERTY_ARCHIVE_PARENT = "archiveParentFolder"; //$NON-NLS-1$
120: public static final String PROPERTY_BUILD_ID_PARAM = "buildId"; //$NON-NLS-1$
121: public static final String PROPERTY_ZIP_ARGS = "zipargs"; //$NON-NLS-1$
122: public static final String PROPERTY_TAR_ARGS = "tarargs"; //$NON-NLS-1$
123: public static final String PROPERTY_DOWNLOAD_DIRECTORY = "downloadDirectory"; //$NON-NLS-1$
124: public static final String PROPERTY_RESOURCE_PATH = "resourcePath"; //$NON-NLS-1$
125: public static final String PROPERTY_PLUGIN_TEMP = "pluginTemp"; //$NON-NLS-1$
126: public static final String PROPERTY_BUILD_TEMP = "buildTempFolder"; //$NON-NLS-1$
127: public static final String PROPERTY_PRE = "pre."; //$NON-NLS-1$
128: public static final String PROPERTY_POST = "post."; //$NON-NLS-1$
129: public static final String PROPERTY_POST_COMPILE = "post.compile."; //$NON-NLS-1$
130: public static final String PROPERTY_SOURCE_FOLDER = "source.folder"; //$NON-NLS-1$
131: public static final String PROPERTY_TARGET_FOLDER = "target.folder"; //$NON-NLS-1$
132: public static final String PROPERTY_JAR_LOCATION = "jar.Location"; //$NON-NLS-1$
133: public static final String PROPERTY_CLASSPATH = ".classpath"; //$NON-NLS-1$
134: public static final String PROPERTY_RUN_PACKAGER = "runPackager"; //$NON-NLS-1$
135: public static final String PROPERTY_ASSEMBLY_TMP = "assemblyTempDir"; //$NON-NLS-1$
136:
137: //Jar processor properties
138: public static final String PROPERTY_SIGN_ALIAS = "sign.alias"; //$NON-NLS-1$
139: public static final String PROPERTY_SIGN_KEYSTORE = "sign.keystore"; //$NON-NLS-1$
140: public static final String PROPERTY_SIGN_STOREPASS = "sign.storepass"; //$NON-NLS-1$
141: public static final String PROPERTY_PACK = "jarProcessor.pack200"; //$NON-NLS-1$
142: public static final String PROPERTY_UNSIGN = "jarProcessor.unsign"; //$NON-NLS-1$
143: public static final String PROPERTY_SIGN = "jarProcessor.sign"; //$NON-NLS-1$
144:
145: //JNLP generation properties
146: public static final String PROPERTY_JNLP_CODEBASE = "jnlp.codebase"; //$NON-NLS-1$
147: public static final String PROPERTY_JNLP_J2SE = "jnlp.j2se"; //$NON-NLS-1$
148: public static final String PROPERTY_JNLP_LOCALE = "jnlp.locale"; //$NON-NLS-1$
149: public static final String PROPERTY_JNLP_GENOFFLINE = "jnlp.generateOfflineAllowed"; //$NON-NLS-1$
150: public static final String PROPERTY_JNLP_CONFIGS = "jnlp.configs"; //$NON-NLS-1$
151:
152: //Output format supported
153: public static final String FORMAT_TAR = "tar"; //$NON-NLS-1$
154: public static final String FORMAT_ANTTAR = "antTar"; //$NON-NLS-1$
155: public static final String FORMAT_ZIP = "zip"; //$NON-NLS-1$
156: public static final String FORMAT_ANTZIP = "antZip"; //$NON-NLS-1$
157: public static final String FORMAT_FOLDER = "folder"; //$NON-NLS-1$
158: }
|