Révision 968
tmp/org.txm.annotation.kr.feature/feature.xml (revision 968) | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<feature |
3 | 3 |
id="org.txm.annotation.kr.feature" |
4 |
label="Annotation KR" |
|
4 |
label="Annotation with KR"
|
|
5 | 5 |
version="1.0.0.qualifier" |
6 | 6 |
provider-name="Textometrie.org"> |
7 | 7 |
|
tmp/org.txm.rcp/src/main/java/org/txm/rcp/views/corpora/CorporaView.java (revision 968) | ||
---|---|---|
336 | 336 |
for (int i = 0; i < cmds.length; i++) { |
337 | 337 |
try { |
338 | 338 |
if(cmds[i].getReturnType() != null) { |
339 |
Log.info("CorporaView.createPartControl(): resgistering command = " + cmds[i].getId() + " for TXMResult of type " + cmds[i].getReturnType().getId() + ".");
|
|
339 |
Log.info("CorporaView.createPartControl(): registering command " + cmds[i].getId() + " for TXMResult of type " + cmds[i].getReturnType().getId() + ".");
|
|
340 | 340 |
doubleClickInstalledCommands.put(cmds[i].getReturnType().getId(), cmds[i].getId()); |
341 | 341 |
} |
342 | 342 |
} |
tmp/org.txm.rcp/rcpapplication.product (revision 968) | ||
---|---|---|
78 | 78 |
</win> |
79 | 79 |
</launcher> |
80 | 80 |
|
81 |
|
|
81 | 82 |
<vm> |
82 | 83 |
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7</linux> |
83 | 84 |
<macos include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7</macos> |
84 | 85 |
<solaris include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7</solaris> |
85 |
<windows include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7</windows>
|
|
86 |
<windows include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
|
|
86 | 87 |
</vm> |
87 | 88 |
|
88 | 89 |
<license> |
... | ... | |
289 | 290 |
<feature id="org.eclipse.equinox.p2.user.ui"/> |
290 | 291 |
<feature id="org.eclipse.equinox.p2.extras.feature"/> |
291 | 292 |
<feature id="org.eclipse.ecf.filetransfer.ssl.feature"/> |
292 |
<feature id="org.txm.ca.feature"/> |
|
293 |
<feature id="org.txm.chartsengine.jfreechart.feature"/> |
|
294 |
<feature id="org.txm.searchengine.cqp.feature"/> |
|
295 |
<feature id="org.txm.annotation.feature"/> |
|
296 |
<feature id="org.txm.statsengine.r.feature"/> |
|
297 |
<feature id="org.txm.edition.feature"/> |
|
298 |
<feature id="org.txm.lexicaltable.feature"/> |
|
299 |
<feature id="org.txm.internalview.feature"/> |
|
300 |
<feature id="org.txm.partition.feature"/> |
|
301 |
<feature id="org.txm.concordance.feature"/> |
|
302 |
<feature id="org.txm.index.feature"/> |
|
303 |
<feature id="org.txm.ahc.feature"/> |
|
304 |
<feature id="org.txm.groovy.feature"/> |
|
305 |
<feature id="org.txm.specificities.feature"/> |
|
306 |
<feature id="org.txm.progression.feature"/> |
|
307 |
<feature id="org.txm.treetagger.feature"/> |
|
308 |
<feature id="org.txm.properties.feature"/> |
|
309 |
<feature id="org.txm.referencer.feature"/> |
|
310 |
<feature id="org.txm.chartsengine.r.feature"/> |
|
311 |
<feature id="org.txm.cooccurrence.feature"/> |
|
312 |
<feature id="org.txm.annotation.kr.feature"/> |
|
313 | 293 |
</features> |
314 | 294 |
|
315 | 295 |
<configurations> |
tmp/org.txm.analec.feature/feature.xml (revision 968) | ||
---|---|---|
75 | 75 |
<import plugin="org.txm.core" version="0.8.0" match="greaterOrEqual"/> |
76 | 76 |
<import plugin="org.txm.rcp" version="0.8.0" match="greaterOrEqual"/> |
77 | 77 |
<import plugin="org.txm.utils"/> |
78 |
<import plugin="org.txm.concordance.rcp" version="1.0.0" match="greaterOrEqual"/> |
|
79 |
<import plugin="org.txm.progression.rcp" version="1.0.0" match="greaterOrEqual"/> |
|
80 |
<import plugin="org.txm.chartsengine.core" version="1.0.0" match="greaterOrEqual"/> |
|
81 |
<import plugin="org.txm.chartsengine.jfreechart.rcp" version="1.0.0" match="greaterOrEqual"/> |
|
82 |
<import plugin="org.txm.chartsengine.r.rcp" version="1.0.0" match="greaterOrEqual"/> |
|
83 |
<import plugin="org.txm.lexicaltable.rcp" version="1.0.0" match="greaterOrEqual"/> |
|
84 |
<import plugin="org.txm.edition.rcp" version="1.0.0" match="greaterOrEqual"/> |
|
85 |
<import plugin="org.txm.annotation.rcp"/> |
|
78 |
<import feature="org.txm.edition.feature" version="1.0.0.qualifier"/> |
|
79 |
<import feature="org.txm.lexicaltable.feature" version="1.0.0.qualifier"/> |
|
80 |
<import feature="org.txm.progression.feature" version="1.0.0.qualifier"/> |
|
81 |
<import feature="org.txm.concordance.feature" version="1.0.0.qualifier"/> |
|
82 |
<import feature="org.txm.annotation.feature" version="1.0.0.qualifier"/> |
|
86 | 83 |
</requires> |
87 | 84 |
|
88 | 85 |
<plugin |
tmp/org.txm.chartsengine.core/build.properties (revision 968) | ||
---|---|---|
1 |
source.. = src/ |
|
2 |
output.. = bin/ |
|
3 |
bin.includes = META-INF/,\ |
|
4 |
.,\ |
|
5 |
plugin.xml |
|
1 |
#Thu Jul 05 13:10:56 CEST 2018 |
|
2 |
bin.includes=META-INF/,.,plugin.xml |
|
3 |
output..=bin/ |
|
4 |
qualifier=r962 |
|
5 |
source..=src/ |
tmp/org.txm.analec.rcp/META-INF/MANIFEST.MF (revision 968) | ||
---|---|---|
9 | 9 |
org.txm.utils;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 |
org.txm.chartsengine.core;bundle-version="1.0.0";visibility:=reexport, |
|
13 |
org.txm.chartsengine.jfreechart.rcp;bundle-version="1.0.0";visibility:=reexport, |
|
14 |
org.txm.chartsengine.r.rcp;bundle-version="1.0.0";visibility:=reexport, |
|
15 | 12 |
org.txm.lexicaltable.rcp;bundle-version="1.0.0";visibility:=reexport, |
16 | 13 |
org.txm.edition.rcp;bundle-version="1.0.0", |
17 | 14 |
org.txm.annotation.rcp |
tmp/org.txm.ca.feature/feature.xml (revision 968) | ||
---|---|---|
2 | 2 |
<feature |
3 | 3 |
id="org.txm.ca.feature" |
4 | 4 |
label="CA" |
5 |
version="1.0.0.qualifier"> |
|
5 |
version="1.0.0.qualifier" |
|
6 |
provider-name="Textometrie.org"> |
|
6 | 7 |
|
7 | 8 |
<description url="http://www.example.com/description"> |
8 |
[Enter Feature Description here.]
|
|
9 |
Correspondence Analysis
|
|
9 | 10 |
</description> |
10 | 11 |
|
11 | 12 |
<copyright url="http://www.example.com/copyright"> |
tmp/org.txm.rcp.feature/feature.xml (revision 968) | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<feature |
3 | 3 |
id="org.txm.rcp.feature" |
4 |
label="TXM update"
|
|
4 |
label="TXM RCP"
|
|
5 | 5 |
version="1.0.0.qualifier" |
6 | 6 |
provider-name="Textometrie.org" |
7 | 7 |
plugin="org.txm.rcp"> |
tmp/org.txm.core.tests/plugin.xml (revision 968) | ||
---|---|---|
13 | 13 |
class="org.txm.core.tests.manual.ToolBoxTesterRCPApplication"> |
14 | 14 |
</run> |
15 | 15 |
</application> |
16 |
|
|
17 |
|
|
18 |
|
|
16 | 19 |
</extension> |
17 | 20 |
|
18 | 21 |
</plugin> |
tmp/org.txm.core.tests/.settings/org.eclipse.jdt.core.prefs (revision 968) | ||
---|---|---|
1 | 1 |
eclipse.preferences.version=1 |
2 | 2 |
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
3 |
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
|
4 |
org.eclipse.jdt.core.compiler.compliance=1.6
|
|
3 |
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
|
4 |
org.eclipse.jdt.core.compiler.compliance=1.8
|
|
5 | 5 |
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
6 | 6 |
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
7 |
org.eclipse.jdt.core.compiler.source=1.6 |
|
7 |
org.eclipse.jdt.core.compiler.source=1.8 |
tmp/org.txm.core.tests/.classpath (revision 968) | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<classpath> |
3 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
|
3 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
|
|
4 | 4 |
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"> |
5 | 5 |
<accessrules> |
6 | 6 |
<accessrule kind="accessible" pattern="**"/> |
tmp/org.txm.core.tests/META-INF/MANIFEST.MF (revision 968) | ||
---|---|---|
24 | 24 |
org.txm.referencer.core;bundle-version="1.0.0", |
25 | 25 |
org.txm.textsbalance.core;bundle-version="1.0.0", |
26 | 26 |
org.txm.wordcloud.core;bundle-version="1.0.0", |
27 |
org.txm.rcp;bundle-version="0.8.0" |
|
27 |
org.txm.rcp;bundle-version="0.8.0", |
|
28 |
org.polarion.eclipse.team.svn.connector.svnkit18;bundle-version="6.0.4", |
|
29 |
org.eclipse.jdt.core;bundle-version="3.13.102" |
|
28 | 30 |
Export-Package: org.txm.core.tests.junit, |
29 | 31 |
org.txm.core.tests.manual, |
30 | 32 |
org.txm.rcp.commands.tests |
tmp/org.txm.core.tests/src/org/txm/core/tests/junit/TXMPluginTest.java (revision 968) | ||
---|---|---|
32 | 32 |
protected ArrayList<String> messages = new ArrayList<String>(); |
33 | 33 |
|
34 | 34 |
|
35 |
public static File workspace = new File(System.getProperty("user.home"), "workspace079"); |
|
35 |
//public static File workspace = new File(System.getProperty("user.home"), "workspace079"); // MD |
|
36 |
public static File workspace = new File("C:\\Tools\\Coding\\Java\\workspace_txm2"); // SJ |
|
36 | 37 |
|
37 | 38 |
/** |
38 | 39 |
* fetch the org.txm projects that ends with core or rcp |
tmp/org.txm.core.tests/src/org/txm/core/tests/junit/AllTXMPluginTests.java (revision 968) | ||
---|---|---|
12 | 12 |
PluginExtPoints.class, |
13 | 13 |
PluginBuildProperties.class, |
14 | 14 |
PluginMenuContributions.class, |
15 |
PluginsManifest.class }) |
|
15 |
PluginsManifest.class |
|
16 |
}) |
|
16 | 17 |
public class AllTXMPluginTests { |
17 | 18 |
|
18 | 19 |
} |
tmp/org.txm.core.tests/src/org/txm/core/tests/manual/WriteQualifierInBuildPropertiesFromSVN.java (revision 968) | ||
---|---|---|
1 |
package org.txm.core.tests.manual; |
|
2 |
|
|
3 |
import java.io.File; |
|
4 |
import java.io.FileFilter; |
|
5 |
import java.io.IOException; |
|
6 |
import java.text.SimpleDateFormat; |
|
7 |
import java.util.ArrayList; |
|
8 |
import java.util.Arrays; |
|
9 |
import java.util.Collections; |
|
10 |
import java.util.LinkedList; |
|
11 |
import java.util.List; |
|
12 |
import java.util.Properties; |
|
13 |
|
|
14 |
import org.eclipse.core.resources.IProject; |
|
15 |
import org.eclipse.core.resources.IWorkspaceRoot; |
|
16 |
import org.eclipse.core.resources.ResourcesPlugin; |
|
17 |
import org.eclipse.core.runtime.CoreException; |
|
18 |
import org.eclipse.jdt.core.IJavaProject; |
|
19 |
import org.eclipse.jdt.core.JavaCore; |
|
20 |
import org.tmatesoft.svn.core.SVNDirEntry; |
|
21 |
import org.tmatesoft.svn.core.SVNURL; |
|
22 |
import org.tmatesoft.svn.core.io.SVNRepository; |
|
23 |
import org.tmatesoft.svn.core.io.SVNRepositoryFactory; |
|
24 |
import org.tmatesoft.svn.core.wc.SVNClientManager; |
|
25 |
import org.tmatesoft.svn.core.wc.SVNInfo; |
|
26 |
import org.tmatesoft.svn.core.wc.SVNRevision; |
|
27 |
import org.tmatesoft.svn.core.wc.SVNWCClient; |
|
28 |
import org.txm.utils.io.IOUtils; |
|
29 |
|
|
30 |
/** |
|
31 |
* Write the qualifier in build.properties of all plugins from the SVN revision. |
|
32 |
* @author sjacquot |
|
33 |
* |
|
34 |
*/ |
|
35 |
public class WriteQualifierInBuildPropertiesFromSVN { |
|
36 |
|
|
37 |
public static File workspace = new File("../"); // SJ |
|
38 |
|
|
39 |
/** |
|
40 |
* fetch the org.txm projects that ends with core or rcp |
|
41 |
* @return |
|
42 |
*/ |
|
43 |
protected static ArrayList<File> getProjects() { |
|
44 |
ArrayList<File> ret = new ArrayList<File>(); |
|
45 |
if (!workspace.exists()) { |
|
46 |
System.err.println("ERROR: "+workspace+" does not exists. Set it in TXMPluginTest.java."); |
|
47 |
return ret; |
|
48 |
} |
|
49 |
|
|
50 |
ret.addAll(Arrays.asList(workspace.listFiles(new FileFilter() { |
|
51 |
@Override |
|
52 |
public boolean accept(File pathName) { |
|
53 |
return pathName.isDirectory() && |
|
54 |
(pathName.getName().endsWith(".rcp") || pathName.getName().endsWith(".core")); |
|
55 |
} |
|
56 |
}))); |
|
57 |
|
|
58 |
Collections.sort(ret); |
|
59 |
return ret; |
|
60 |
} |
|
61 |
|
|
62 |
public static void main(String[] args) { |
|
63 |
ArrayList<File> projectsList = getProjects(); |
|
64 |
for (int i = 0; i < projectsList.size(); i++) { |
|
65 |
writeQualifierInBuildProperties(projectsList.get(i)); |
|
66 |
} |
|
67 |
} |
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
public static void writeQualifierInBuildProperties(File projectDirectory) { |
|
72 |
|
|
73 |
try { |
|
74 |
|
|
75 |
|
|
76 |
SVNWCClient client = SVNClientManager.newInstance().getWCClient(); |
|
77 |
SVNInfo info = client.doInfo(projectDirectory, SVNRevision.WORKING); |
|
78 |
SVNURL location = info.getURL(); |
|
79 |
SVNRepository repository = SVNRepositoryFactory.create(location); |
|
80 |
|
|
81 |
// long latestRevision = repository.getLatestRevision(); |
|
82 |
// System.out.println("[" + location.toString() + "] latest revision: " + latestRevision); |
|
83 |
|
|
84 |
|
|
85 |
SVNDirEntry entry = repository.info(".", -1); |
|
86 |
// System.out.println("[" + location.toString() + "] latest revision: " + entry.getRevision()); |
|
87 |
// System.out.println("[" + location.toString() + "] latest date: " + entry.getDate()); |
|
88 |
|
|
89 |
SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd-hhmm"); |
|
90 |
String format = formatter.format(entry.getDate()); |
|
91 |
System.out.println("[" + location.toString() + " / " + projectDirectory + "] latest date: " + format); |
|
92 |
// System.err.println("formatted date: " + format); |
|
93 |
|
|
94 |
// SvnOperationFactory operationFactory = new SvnOperationFactory(); |
|
95 |
// SvnLog logOperation = operationFactory.createLog(); |
|
96 |
// logOperation.setSingleTarget(SvnTarget.fromFile( projectDirectory ) ); |
|
97 |
// logOperation.setRevisionRanges( Collections.singleton( |
|
98 |
// SvnRevisionRange.create( |
|
99 |
// SVNRevision.create( 1 ), |
|
100 |
// SVNRevision.HEAD |
|
101 |
// ) |
|
102 |
// ) ); |
|
103 |
// Collection<SVNLogEntry> logEntries = logOperation.run( null ); |
|
104 |
// System.out.println( "logEntries = " + logEntries ); |
|
105 |
|
|
106 |
|
|
107 |
File buildFile = new File(projectDirectory, "build.properties"); |
|
108 |
|
|
109 |
if (!buildFile.exists()) { |
|
110 |
System.err.println("No build.properties file in: " + buildFile.getAbsolutePath()); |
|
111 |
return; |
|
112 |
} |
|
113 |
|
|
114 |
Properties props = new Properties(); |
|
115 |
props.load(IOUtils.getReader(buildFile)); |
|
116 |
|
|
117 |
// if(buildFile.getAbsolutePath().startsWith(("C:\\Tools\\Coding\\Java\\workspace_txm2\\org.txm.chartsengine.core\\build.properties")) { |
|
118 |
// info("Setting qualifier to r" + entry.getRevision()); |
|
119 |
// props.setProperty("qualifier", "r" + entry.getRevision()); |
|
120 |
// props.store(new FileOutputStream(buildFile), null); |
|
121 |
// } |
|
122 |
} |
|
123 |
catch (Exception e) { |
|
124 |
// TODO Auto-generated catch block |
|
125 |
e.printStackTrace(); |
|
126 |
} |
|
127 |
|
|
128 |
} |
|
129 |
|
|
130 |
|
|
131 |
} |
|
0 | 132 |
tmp/org.txm.ahc.feature/feature.xml (revision 968) | ||
---|---|---|
3 | 3 |
id="org.txm.ahc.feature" |
4 | 4 |
label="AHC" |
5 | 5 |
version="1.0.0.qualifier" |
6 |
provider-name="Textometrie.org"> |
|
6 |
provider-name="Textometrie.org" |
|
7 |
license-feature="org.txm.rcp.feature" |
|
8 |
license-feature-version="1.0.0.qualifier"> |
|
7 | 9 |
|
8 | 10 |
<description url="http://www.example.com/description"> |
9 | 11 |
[Enter Feature Description here.] |
... | ... | |
18 | 20 |
</license> |
19 | 21 |
|
20 | 22 |
<requires> |
21 |
<import plugin="org.txm.ca.core" version="1.0.0" match="greaterOrEqual"/> |
|
22 |
<import plugin="org.txm.lexicaltable.rcp" version="1.0.0" match="greaterOrEqual"/> |
|
23 | 23 |
<import plugin="org.txm.chartsengine.rcp" version="1.0.0" match="greaterOrEqual"/> |
24 | 24 |
<import plugin="org.txm.ahc.core" version="1.0.0" match="greaterOrEqual"/> |
25 |
<import plugin="org.txm.ca.rcp"/> |
|
25 |
<import feature="org.txm.ca.feature" version="1.0.0.qualifier"/> |
|
26 |
<import feature="org.txm.lexicaltable.feature" version="1.0.0.qualifier"/> |
|
26 | 27 |
</requires> |
27 | 28 |
|
28 | 29 |
<plugin |
tmp/org.txm.index.feature/feature.xml (revision 968) | ||
---|---|---|
18 | 18 |
|
19 | 19 |
<requires> |
20 | 20 |
<import plugin="org.txm.searchengine.cqp.core" version="1.1.0" match="greaterOrEqual"/> |
21 |
<import plugin="org.txm.statsengine.r.core" version="1.0.0" match="greaterOrEqual"/> |
|
22 |
<import plugin="org.txm.statsengine.r.rcp"/> |
|
23 | 21 |
<import plugin="org.txm.links.rcp" version="1.0.0" match="greaterOrEqual"/> |
24 | 22 |
<import plugin="org.txm.index.core" version="1.0.0" match="greaterOrEqual"/> |
23 |
<import feature="org.txm.statsengine.r.feature" version="1.0.0.qualifier"/> |
|
25 | 24 |
</requires> |
26 | 25 |
|
27 | 26 |
<plugin |
tmp/org.txm.annotation.feature/feature.xml (revision 968) | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<feature |
3 | 3 |
id="org.txm.annotation.feature" |
4 |
label="Annotation with KR" |
|
5 |
version="1.0.0.qualifier"> |
|
4 |
label="Annotation" |
|
5 |
version="1.0.0.qualifier" |
|
6 |
provider-name="Textometrie.org"> |
|
6 | 7 |
|
7 | 8 |
<description url="http://www.example.com/description"> |
8 | 9 |
[Enter Feature Description here.] |
Formats disponibles : Unified diff