Révision 1206
| tmp/org.txm.chartsengine.r.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:07 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.specificities.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:17 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.chartsengine.jfreechart.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:06 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.translate.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
bin.includes = feature.xml |
| 2 |
qualifier=svn |
|
| tmp/org.txm.partition.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:12 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.annotation.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:02 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.textsbalance.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:18 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.analec.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:02 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.rcp.feature/build.properties (revision 1206) | ||
|---|---|---|
| 9 | 9 |
root.linux.gtk.x86_64.permissions.755=jre/bin/java,plugins/org.txm.libs.cqp.linux/res/linux32/,plugins/org.txm.libs.cqp.linux/res/linux64/ |
| 10 | 10 |
root.linux.gtk.x86_64=linux/ |
| 11 | 11 |
root.macosx.cocoa.x86_64.permissions.755=jre/bin/java,plugins/org.txm.libs.cqp.macosx/res/macosx/ |
| 12 |
qualifier=svn |
|
| tmp/org.txm.treetagger.files.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:19 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.tigersearch.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:18 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.cql2lsa.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:09 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.jodconverter.core/build.properties (revision 1206) | ||
|---|---|---|
| 1 |
#Fri Jul 06 10:25:11 CEST 2018 |
|
| 2 |
output..=bin/ |
|
| 3 |
bin.includes=META-INF/,.,plugin.xml |
|
| 4 |
source..=src/ |
|
| 5 |
qualifier=svn |
|
| 0 | 6 | |
| tmp/org.txm.utils/META-INF/MANIFEST.MF (revision 1206) | ||
|---|---|---|
| 1 | 1 |
Manifest-Version: 1.0 |
| 2 | 2 |
Bundle-ManifestVersion: 2 |
| 3 |
Bundle-Name: org.txm.utils |
|
| 4 |
Bundle-SymbolicName: org.txm.utils |
|
| 3 |
Bundle-Name: org.txm.utils.core
|
|
| 4 |
Bundle-SymbolicName: org.txm.utils.core
|
|
| 5 | 5 |
Bundle-Version: 1.0.0.qualifier |
| 6 | 6 |
Require-Bundle: org.txm.libs.saxon;bundle-version="9.0.0";visibility:=reexport, |
| 7 | 7 |
org.eclipse.osgi.util;bundle-version="3.3.0";visibility:=reexport, |
| tmp/org.txm.utils/.project (revision 1206) | ||
|---|---|---|
| 1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 | 2 |
<projectDescription> |
| 3 |
<name>org.txm.utils</name> |
|
| 3 |
<name>org.txm.utils.core</name>
|
|
| 4 | 4 |
<comment></comment> |
| 5 | 5 |
<projects> |
| 6 | 6 |
</projects> |
| tmp/org.txm.index.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:10 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.searchengine.cqp.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:16 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.python.core/build.properties (revision 1206) | ||
|---|---|---|
| 4 | 4 |
.,\ |
| 5 | 5 |
plugin.xml,\ |
| 6 | 6 |
lib/jython-standalone-2.7.0.jar |
| 7 |
qualifier=svn |
|
| tmp/org.txm.groovy.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:10 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.annotation.kr.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:03 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.lexicaltable.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:11 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.tokenizer.core/META-INF/MANIFEST.MF (revision 1206) | ||
|---|---|---|
| 7 | 7 |
Bundle-RequiredExecutionEnvironment: JavaSE-1.7 |
| 8 | 8 |
Export-Package: org.txm.tokenizer |
| 9 | 9 |
Require-Bundle: org.txm.libs.groovy-all;bundle-version="2.3.7";visibility:=reexport, |
| 10 |
org.txm.utils;bundle-version="1.0.0";visibility:=reexport, |
|
| 10 |
org.txm.utils.core;bundle-version="1.0.0";visibility:=reexport,
|
|
| 11 | 11 |
org.eclipse.core.resources |
| tmp/org.txm.tokenizer.core/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:19 CEST 2018 |
| 2 | 2 |
output..=bin/ |
| 3 |
bin.includes=META-INF/,. |
|
| 3 |
bin.includes=META-INF/,.,plugin.xml
|
|
| 4 | 4 |
source..=src/ |
| 5 | 5 |
qualifier=svn |
| tmp/org.txm.referencer.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:15 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.treetagger.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:19 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.ahc.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
bin.includes = feature.xml |
| 2 |
qualifier=svn |
|
| tmp/org.txm.dictionary.rcp/META-INF/MANIFEST.MF (revision 1206) | ||
|---|---|---|
| 4 | 4 |
org.txm.core;bundle-version="0.7.0";visibility:=reexport, |
| 5 | 5 |
org.eclipse.ui;visibility:=reexport, |
| 6 | 6 |
org.eclipse.core.runtime;visibility:=reexport, |
| 7 |
org.txm.utils;visibility:=reexport, |
|
| 7 |
org.txm.utils.core;visibility:=reexport,
|
|
| 8 | 8 |
org.eclipse.persistence.jpa;bundle-version="2.6.0";visibility:=reexport, |
| 9 | 9 |
org.txm.index.core;bundle-version="1.0.0";visibility:=reexport, |
| 10 | 10 |
org.txm.index.rcp;bundle-version="1.0.0";visibility:=reexport, |
| tmp/org.txm.cooccurrence.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:08 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.progression.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:14 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.concordance.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:08 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.properties.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:14 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.wordcloud.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:20 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.backtomedia.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:04 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.treetagger.core.macosx/build.properties (revision 1206) | ||
|---|---|---|
| 2 | 2 |
output.. = bin/ |
| 3 | 3 |
bin.includes = META-INF/,\ |
| 4 | 4 |
. |
| 5 |
root.macosx.cocoa.x86_64.permissions.755=res/macosx/,res/macosx/bin,res/macosx/cmd |
|
| tmp/org.txm.libs.cqp/META-INF/MANIFEST.MF (revision 1206) | ||
|---|---|---|
| 3 | 3 |
Bundle-Name: CQP libs |
| 4 | 4 |
Bundle-SymbolicName: org.txm.libs.cqp;singleton:=true |
| 5 | 5 |
Bundle-Version: 1.0.0.qualifier |
| 6 |
Require-Bundle: org.txm.utils;bundle-version="1.0.0";visibility:=reexport, |
|
| 6 |
Require-Bundle: org.txm.utils.core;bundle-version="1.0.0";visibility:=reexport,
|
|
| 7 | 7 |
org.txm.core;visibility:=reexport |
| 8 | 8 |
Bundle-RequiredExecutionEnvironment: JavaSE-1.7 |
| 9 | 9 |
Bundle-ActivationPolicy: lazy |
| tmp/org.txm.treetagger.core.linux/build.properties (revision 1206) | ||
|---|---|---|
| 3 | 3 |
bin.includes = META-INF/,\ |
| 4 | 4 |
.,\ |
| 5 | 5 |
res/ |
| 6 |
root.linux.gtk.x86_64.permissions.755=res/linux/,res/linux/bin,res/linux/cmd |
|
| tmp/org.txm.translate.rcp/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
source.. = src/ |
| 2 | 2 |
output.. = bin/ |
| 3 |
qualifier=svn |
|
| 3 | 4 |
bin.includes = META-INF/,\ |
| 4 | 5 |
.,\ |
| 5 | 6 |
plugin.xml,\ |
| tmp/org.txm.core/META-INF/MANIFEST.MF (revision 1206) | ||
|---|---|---|
| 1 | 1 |
Manifest-Version: 1.0 |
| 2 |
Require-Bundle: org.txm.utils;bundle-version="1.0.0";visibility:=reexport, |
|
| 2 |
Require-Bundle: org.txm.utils.core;bundle-version="1.0.0";visibility:=reexport,
|
|
| 3 | 3 |
org.txm.libs.groovy-all;bundle-version="1.0.0";visibility:=reexport, |
| 4 | 4 |
org.eclipse.core.runtime;bundle-version="3.10.0";visibility:=reexport, |
| 5 | 5 |
org.eclipse.osgi.util;bundle-version="3.2.0";visibility:=reexport, |
| tmp/org.txm.analec.rcp/build.properties (revision 1206) | ||
|---|---|---|
| 6 | 6 |
icons/,\ |
| 7 | 7 |
plugin.xml,\ |
| 8 | 8 |
libs/ |
| 9 |
qualifier=svn |
|
| tmp/org.txm.analec.rcp/META-INF/MANIFEST.MF (revision 1206) | ||
|---|---|---|
| 6 | 6 |
org.eclipse.core.expressions;bundle-version="3.4.600";visibility:=reexport, |
| 7 | 7 |
org.txm.core;bundle-version="0.8.0";visibility:=reexport, |
| 8 | 8 |
org.txm.rcp;bundle-version="0.8.0";visibility:=reexport, |
| 9 |
org.txm.utils;visibility:=reexport, |
|
| 9 |
org.txm.utils.core;visibility:=reexport,
|
|
| 10 | 10 |
org.txm.concordance.rcp;bundle-version="1.0.0";visibility:=reexport, |
| 11 | 11 |
org.txm.progression.rcp;bundle-version="1.0.0";visibility:=reexport, |
| 12 | 12 |
org.txm.lexicaltable.rcp;bundle-version="1.0.0";visibility:=reexport, |
| tmp/org.txm.ca.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:05 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.statsengine.r.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:17 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.edition.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:09 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.dictionary.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:09 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.svn.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:18 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.internalview.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
#Fri Jul 06 10:25:11 CEST 2018 |
| 2 | 2 |
bin.includes=feature.xml |
| 3 |
qualifier=svn |
|
| tmp/org.txm.treetagger.binaries.feature/build.properties (revision 1206) | ||
|---|---|---|
| 1 | 1 |
bin.includes = feature.xml |
| 2 |
qualifier=svn |
|
| tmp/org.txm.core.tests/src/org/txm/core/tests/junit/TXMPluginTest.java (revision 1206) | ||
|---|---|---|
| 4 | 4 |
|
| 5 | 5 |
import java.io.File; |
| 6 | 6 |
import java.io.FileFilter; |
| 7 |
import java.io.IOException; |
|
| 7 | 8 |
import java.util.ArrayList; |
| 8 | 9 |
import java.util.Arrays; |
| 9 | 10 |
import java.util.Collections; |
| ... | ... | |
| 49 | 50 |
ret.addAll(Arrays.asList(workspace.listFiles(new FileFilter() {
|
| 50 | 51 |
@Override |
| 51 | 52 |
public boolean accept(File pathname) {
|
| 52 |
return pathname.isDirectory() && (pathname.getName().endsWith(".rcp") || pathname.getName().endsWith(".core"));
|
|
| 53 |
return pathname.isDirectory() && pathname.getName().startsWith("org.txm");
|
|
| 53 | 54 |
} |
| 54 | 55 |
}))); |
| 55 | 56 |
|
| ... | ... | |
| 108 | 109 |
} else if (projectDirectory.getName().endsWith(".rcp")) {
|
| 109 | 110 |
//plugin_package = plugin_package.substring(0, plugin_package.length()-4); |
| 110 | 111 |
RCPPluginTest(projectDirectory, plugin_name, plugin_package); |
| 111 |
} else if (projectDirectory.getName().endsWith(".rcp")) {
|
|
| 112 |
} else if (projectDirectory.getName().endsWith(".feature")) {
|
|
| 112 | 113 |
//plugin_package = plugin_package.substring(0, plugin_package.length()-4); |
| 113 | 114 |
FeaturePluginTest(projectDirectory, plugin_name, plugin_package); |
| 114 | 115 |
} else {
|
| ... | ... | |
| 134 | 135 |
} else System.out.println("OK!");
|
| 135 | 136 |
} |
| 136 | 137 |
|
| 137 |
public void FeaturePluginTest(File projectDirectory, String plugin_name, String plugin_package) {
|
|
| 138 |
public void FeaturePluginTest(File projectDirectory, String plugin_name, String plugin_package) throws Exception {
|
|
| 138 | 139 |
|
| 139 | 140 |
} |
| 140 | 141 |
|
| tmp/org.txm.core.tests/src/org/txm/core/tests/junit/PluginBuildProperties.java (revision 1206) | ||
|---|---|---|
| 1 | 1 |
package org.txm.core.tests.junit; |
| 2 | 2 |
|
| 3 | 3 |
import java.io.File; |
| 4 |
import java.io.FileNotFoundException; |
|
| 4 | 5 |
import java.io.IOException; |
| 6 |
import java.io.UnsupportedEncodingException; |
|
| 5 | 7 |
import java.util.HashMap; |
| 6 | 8 |
import java.util.Properties; |
| 7 | 9 |
|
| ... | ... | |
| 14 | 16 |
|
| 15 | 17 |
@Override |
| 16 | 18 |
public void TBXPluginTest(File projectDirectory, String name, String packagePath) throws IOException {
|
| 17 |
testPluginXMLExport(projectDirectory); |
|
| 19 |
File buildFile = testBuildFile(projectDirectory); |
|
| 20 |
if (buildFile == null) return; |
|
| 21 |
|
|
| 22 |
Properties props = getProperties(buildFile); |
|
| 23 |
|
|
| 24 |
testBinIncludes(props, buildFile); |
|
| 25 |
testQualifier(props, buildFile); |
|
| 18 | 26 |
} |
| 19 | 27 |
|
| 20 | 28 |
@Override |
| 21 | 29 |
public void RCPPluginTest(File projectDirectory, String name, String packagePath) throws IOException {
|
| 22 |
testPluginXMLExport(projectDirectory); |
|
| 30 |
File buildFile = testBuildFile(projectDirectory); |
|
| 31 |
if (buildFile == null) return; |
|
| 32 |
|
|
| 33 |
Properties props = getProperties(buildFile); |
|
| 34 |
|
|
| 35 |
testBinIncludes(props, buildFile); |
|
| 36 |
testQualifier(props, buildFile); |
|
| 23 | 37 |
} |
| 24 |
|
|
| 25 |
private void testPluginXMLExport(File projectDirectory) throws IOException {
|
|
| 26 |
File pluginXML = new File(projectDirectory, "plugin.xml"); |
|
| 27 |
File buildFile = new File(projectDirectory, "build.properties"); |
|
| 38 |
|
|
| 39 |
@Override |
|
| 40 |
public void FeaturePluginTest(File projectDirectory, String name, String packagePath) throws IOException {
|
|
| 41 |
File buildFile = testBuildFile(projectDirectory); |
|
| 42 |
if (buildFile == null) return; |
|
| 28 | 43 |
|
| 29 |
if (!buildFile.exists()) {
|
|
| 30 |
error("no build.properties: "+buildFile.getAbsolutePath());
|
|
| 31 |
return; |
|
| 32 |
} |
|
| 44 |
Properties props = getProperties(buildFile); |
|
| 33 | 45 |
|
| 34 |
if (!pluginXML.exists()) {
|
|
| 35 |
error("no plugin.xml: "+pluginXML.getAbsolutePath());
|
|
| 36 |
return; |
|
| 37 |
} |
|
| 38 |
|
|
| 46 |
testQualifier(props, buildFile);
|
|
| 47 |
}
|
|
| 48 |
|
|
| 49 |
|
|
| 50 |
public static Properties getProperties(File buildFile) throws UnsupportedEncodingException, FileNotFoundException, IOException {
|
|
| 39 | 51 |
Properties props = new Properties(); |
| 40 | 52 |
props.load(IOUtils.getReader(buildFile)); |
| 41 |
//System.out.println("keys="+props.keySet());
|
|
| 53 |
return props; |
|
| 54 |
} |
|
| 55 |
|
|
| 56 |
public void testQualifier(Properties props, File buildFile) throws UnsupportedEncodingException, FileNotFoundException, IOException {
|
|
| 57 |
Object o = props.get("qualifier");
|
|
| 58 |
if (o == null) {
|
|
| 59 |
error("QUALIFIER not set to 'svn': "+buildFile.getAbsolutePath());
|
|
| 60 |
} else {
|
|
| 61 |
String value = o.toString(); |
|
| 62 |
if (!value.equals("svn")) {
|
|
| 63 |
error("QUALIFIER not set to 'svn': "+buildFile.getAbsolutePath());
|
|
| 64 |
if (massfix) {
|
|
| 65 |
IOUtils.write(buildFile, IOUtils.getText(buildFile, "UTF-8")+"\nqualifier=svn\n"); |
|
| 66 |
} |
|
| 67 |
} |
|
| 68 |
} |
|
| 69 |
} |
|
| 70 |
|
|
| 71 |
public void testBinIncludes(Properties props, File buildFile) {
|
|
| 42 | 72 |
String value = (String) props.get("bin.includes");
|
| 43 | 73 |
//System.out.println("buildFile="+buildFile+" value="+value);
|
| 44 |
if (!value.contains("plugin.xml")) {
|
|
| 74 |
File pluginXML = new File(buildFile.getParentFile(), "plugin.xml"); |
|
| 75 |
if (pluginXML.exists() && !value.contains("plugin.xml")) {
|
|
| 45 | 76 |
error("plugin.xml is not exported: "+buildFile.getAbsolutePath());
|
| 46 | 77 |
} |
| 47 | 78 |
if (!value.contains("META-INF/")) {
|
| 48 | 79 |
error("META-INF is not exported: "+buildFile.getAbsolutePath());
|
| 49 | 80 |
} |
| 81 |
} |
|
| 82 |
|
|
| 83 |
private File testBuildFile(File projectDirectory) throws IOException {
|
|
| 84 |
File buildFile = new File(projectDirectory, "build.properties"); |
|
| 50 | 85 |
|
| 51 |
value = (String) props.get("qualifier");
|
|
| 52 |
if (!value.equals("svn")) {
|
|
| 53 |
error("QUALIFIER not set to 'svn': "+buildFile.getAbsolutePath());
|
|
| 54 |
if (massfix) {
|
|
| 55 |
IOUtils.write(buildFile, IOUtils.getText(buildFile, "UTF-8")+"\nqualifier=svn\n"); |
|
| 56 |
} |
|
| 86 |
if (!buildFile.exists()) {
|
|
| 87 |
error("no build.properties: "+buildFile.getAbsolutePath());
|
|
| 88 |
return null; |
|
| 57 | 89 |
} |
| 58 | 90 |
|
| 59 |
// boolean pointOK = false; |
|
| 60 |
// String[] includes = value.split(",");
|
|
| 61 |
// for (String include : includes) {
|
|
| 62 |
// if (".".equals(include)) pointOK = true;
|
|
| 63 |
// } |
|
| 64 |
// |
|
| 65 |
// if (!pointOK) {
|
|
| 66 |
// error("'.' is not present in build.properties");
|
|
| 67 |
// } |
|
| 91 |
return buildFile; |
|
| 68 | 92 |
} |
| 69 | 93 |
|
| 70 | 94 |
@Override |
| 71 | 95 |
public void gatherData() {
|
| 72 |
|
|
| 96 |
|
|
| 73 | 97 |
} |
| 74 | 98 |
} |
| tmp/org.txm.core.tests/META-INF/MANIFEST.MF (revision 1206) | ||
|---|---|---|
| 6 | 6 |
Bundle-RequiredExecutionEnvironment: JavaSE-1.7 |
| 7 | 7 |
Require-Bundle: org.txm.statsengine.r.core;visibility:=reexport, |
| 8 | 8 |
org.txm.searchengine.cqp.core;bundle-version="1.1.0";visibility:=reexport, |
| 9 |
org.txm.utils, |
|
| 9 |
org.txm.utils.core,
|
|
| 10 | 10 |
org.eclipse.core.runtime;bundle-version="3.10.0", |
| 11 | 11 |
org.txm.core;bundle-version="0.7.0", |
| 12 | 12 |
org.txm.ca.core;bundle-version="1.0.0", |
Formats disponibles : Unified diff