Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
.gitattributes | ||
---|---|---|
204 | 204 |
cdmlib-plugin/src/main/assembly/assembly.xml -text |
205 | 205 |
cdmlib-plugin/src/test/java/eu/etaxonomy/cdm/aspectj/PropertyChangeTest.java -text |
206 | 206 |
/pom.xml -text |
207 |
src/changes/changes.xml -text |
|
207 | 208 |
src/site/apt/download.apt -text |
208 | 209 |
src/site/apt/getting-started.apt -text |
209 | 210 |
src/site/apt/index.apt -text |
cdmlib-plugin/.classpath | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<classpath> |
3 |
<classpathentry exported="true" kind="lib" path="lib/google-api-translate-java-0.92.jar"/> |
|
4 |
<classpathentry exported="true" kind="lib" path="lib/dozer-5.3.0.jar"/> |
|
5 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.aop-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.aop-3.0.4.RELEASE-sources.jar"/> |
|
6 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.asm-3.0.4.RELEASE.jar"/> |
|
7 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.aspects-3.0.4.RELEASE.jar"/> |
|
8 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.beans-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.beans-3.0.4.RELEASE-sources.jar"/> |
|
9 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.context-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.context-3.0.4.RELEASE-sources.jar"/> |
|
10 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.context.support-3.0.4.RELEASE.jar"/> |
|
11 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.core-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.core-3.0.4.RELEASE-sources.jar"/> |
|
12 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.expression-3.0.4.RELEASE.jar"/> |
|
13 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.jdbc-3.0.4.RELEASE.jar"/> |
|
14 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.orm-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.orm-3.0.4.RELEASE-sources.jar"/> |
|
15 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.oxm-3.0.4.RELEASE.jar"/> |
|
16 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.transaction-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.transaction-3.0.4.RELEASE-sources.jar"/> |
|
17 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.web-3.0.4.RELEASE.jar"/> |
|
18 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.web.servlet-3.0.4.RELEASE.jar"/> |
|
19 |
<classpathentry exported="true" kind="lib" path="lib/activation-1.1.jar"/> |
|
3 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> |
|
4 |
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> |
|
5 |
<classpathentry kind="src" output="target/classes" path="src/main/java"/> |
|
6 |
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/> |
|
7 |
<classpathentry exported="true" kind="lib" path="lib/activation-1.1.jar" sourcepath="lib/activation-1.1src.zip"/> |
|
20 | 8 |
<classpathentry exported="true" kind="lib" path="lib/antlr-2.7.6.jar"/> |
21 | 9 |
<classpathentry exported="true" kind="lib" path="lib/aopalliance-1.0.jar"/> |
22 | 10 |
<classpathentry exported="true" kind="lib" path="lib/asm-attrs.jar"/> |
... | ... | |
25 | 13 |
<classpathentry exported="true" kind="lib" path="lib/aspectjweaver-1.6.3.jar"/> |
26 | 14 |
<classpathentry exported="true" kind="lib" path="lib/avalon-framework-4.2.0.jar"/> |
27 | 15 |
<classpathentry exported="true" kind="lib" path="lib/batik-all-1.7.jar"/> |
28 |
<classpathentry exported="true" kind="lib" path="lib/c3p0-0.9.1.jar"/> |
|
16 |
<classpathentry exported="true" kind="lib" path="lib/c3p0-0.9.1.jar" sourcepath="lib/c3p0-0.9.1src.zip"/>
|
|
29 | 17 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-commons-2.5.jar" sourcepath="lib/cdmlib-commons-2.5src.zip"/> |
30 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-ext-2.5.jar"/> |
|
18 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-ext-2.5.jar" sourcepath="lib/cdmlib-ext-2.5src.zip"/>
|
|
31 | 19 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-io-2.5.jar" sourcepath="lib/cdmlib-io-2.5src.zip"/> |
32 | 20 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-model-2.5.jar" sourcepath="lib/cdmlib-model-2.5src.zip"/> |
33 | 21 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-persistence-2.5.jar" sourcepath="lib/cdmlib-persistence-2.5src.zip"/> |
34 | 22 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-print-2.5.jar" sourcepath="lib/cdmlib-print-2.5src.zip"/> |
35 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-remote-2.5.jar"/> |
|
23 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-remote-2.5.jar" sourcepath="lib/cdmlib-remote-2.5src.zip"/>
|
|
36 | 24 |
<classpathentry exported="true" kind="lib" path="lib/cdmlib-services-2.5.jar" sourcepath="lib/cdmlib-services-2.5src.zip"/> |
37 | 25 |
<classpathentry exported="true" kind="lib" path="lib/cglib-2.1.3.jar"/> |
38 |
<classpathentry exported="true" kind="lib" path="lib/commons-beanutils-1.7.0.jar"/> |
|
26 |
<classpathentry exported="true" kind="lib" path="lib/commons-beanutils-1.7.0.jar" sourcepath="lib/commons-beanutils-1.7.0src.zip"/>
|
|
39 | 27 |
<classpathentry exported="true" kind="lib" path="lib/commons-collections-3.2.jar" sourcepath="lib/commons-collections-3.2src.zip"/> |
40 |
<classpathentry exported="true" kind="lib" path="lib/commons-dbcp-1.2.2.jar"/> |
|
41 |
<classpathentry exported="true" kind="lib" path="lib/commons-io-1.3.1.jar"/> |
|
42 |
<classpathentry exported="true" kind="lib" path="lib/commons-io-1.4.jar"/> |
|
28 |
<classpathentry exported="true" kind="lib" path="lib/commons-dbcp-1.2.2.jar" sourcepath="lib/commons-dbcp-1.2.2src.zip"/>
|
|
29 |
<classpathentry exported="true" kind="lib" path="lib/commons-io-1.3.1.jar" sourcepath="/Users/n.hoffmann/.m2/repository/commons-io/commons-io/1.3.1/commons-io-1.3.1-sources.jar"/>
|
|
30 |
<classpathentry exported="true" kind="lib" path="lib/commons-io-1.4.jar" sourcepath="lib/commons-io-1.4src.zip"/>
|
|
43 | 31 |
<classpathentry exported="true" kind="lib" path="lib/commons-lang-2.4.jar"/> |
44 | 32 |
<classpathentry exported="true" kind="lib" path="lib/commons-logging-1.0.4.jar"/> |
45 |
<classpathentry exported="true" kind="lib" path="lib/commons-pool-1.3.jar"/> |
|
33 |
<classpathentry exported="true" kind="lib" path="lib/commons-pool-1.3.jar" sourcepath="lib/commons-pool-1.3src.zip"/>
|
|
46 | 34 |
<classpathentry exported="true" kind="lib" path="lib/dom4j-1.6.1.jar"/> |
47 |
<classpathentry exported="true" kind="lib" path="lib/ehcache-1.2.3.jar"/> |
|
35 |
<classpathentry exported="true" kind="lib" path="lib/ehcache-1.2.3.jar" sourcepath="lib/ehcache-1.2.3src.zip"/>
|
|
48 | 36 |
<classpathentry exported="true" kind="lib" path="lib/ejb3-persistence.jar"/> |
49 |
<classpathentry exported="true" kind="lib" path="lib/ezmorph-1.0.4.jar"/> |
|
37 |
<classpathentry exported="true" kind="lib" path="lib/ezmorph-1.0.4.jar" sourcepath="lib/ezmorph-1.0.4src.zip"/>
|
|
50 | 38 |
<classpathentry exported="true" kind="lib" path="lib/fop.jar"/> |
51 | 39 |
<classpathentry exported="true" kind="lib" path="lib/h2-1.1.115.jar"/> |
52 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-annotations-3.4.0-SNAPSHOT.jar"/> |
|
53 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-commons-annotations-3.4.0-SNAPSHOT.jar"/> |
|
40 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-annotations-3.4.0-SNAPSHOT.jar" sourcepath="lib/hibernate-annotations-3.4.0-SNAPSHOTsrc.zip"/>
|
|
41 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-commons-annotations-3.4.0-SNAPSHOT.jar" sourcepath="lib/hibernate-commons-annotations-3.4.0-SNAPSHOTsrc.zip"/>
|
|
54 | 42 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-core-3.4.0-SNAPSHOT.jar" sourcepath="lib/hibernate-core-3.4.0-SNAPSHOTsrc.zip"/> |
55 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-envers-3.4.0-SNAPSHOT.jar"/> |
|
56 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-search-3.1.0.GA.jar"/> |
|
43 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-envers-3.4.0-SNAPSHOT.jar" sourcepath="lib/hibernate-envers-3.4.0-SNAPSHOTsrc.zip"/>
|
|
44 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-search-3.1.0.GA.jar" sourcepath="lib/hibernate-search-3.1.0.GAsrc.zip"/>
|
|
57 | 45 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-tools-3.2.0.ga.jar"/> |
58 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-validator-4.0.0.CR1.jar"/> |
|
46 |
<classpathentry exported="true" kind="lib" path="lib/hibernate-validator-4.0.0.CR1.jar" sourcepath="lib/hibernate-validator-4.0.0.CR1src.zip"/>
|
|
59 | 47 |
<classpathentry exported="true" kind="lib" path="lib/hsqldb.jar"/> |
60 | 48 |
<classpathentry exported="true" kind="lib" path="lib/httpclient-4.0.1.jar" sourcepath="lib/httpclient-4.0.1src.zip"/> |
61 |
<classpathentry exported="true" kind="lib" path="lib/httpcore-4.0.1.jar"/> |
|
49 |
<classpathentry exported="true" kind="lib" path="lib/httpcore-4.0.1.jar" sourcepath="lib/httpcore-4.0.1src.zip"/>
|
|
62 | 50 |
<classpathentry exported="true" kind="lib" path="lib/javassist.jar"/> |
63 | 51 |
<classpathentry exported="true" kind="lib" path="lib/jaxb-api-2.1.6.jar"/> |
64 |
<classpathentry exported="true" kind="lib" path="lib/jaxb-impl-2.1.6.jar"/> |
|
52 |
<classpathentry exported="true" kind="lib" path="lib/jaxb-impl-2.1.6.jar" sourcepath="lib/jaxb-impl-2.1.6src.zip"/>
|
|
65 | 53 |
<classpathentry exported="true" kind="lib" path="lib/jaxen-1.1.2.jar"/> |
66 | 54 |
<classpathentry exported="true" kind="lib" path="lib/jdbc-1.2.jar"/> |
67 | 55 |
<classpathentry exported="true" kind="lib" path="lib/jdbc2_0-stdext.jar"/> |
68 | 56 |
<classpathentry exported="true" kind="lib" path="lib/jdom.jar"/> |
69 |
<classpathentry exported="true" kind="lib" path="lib/joda-time-1.5.jar"/> |
|
57 |
<classpathentry exported="true" kind="lib" path="lib/joda-time-1.5.jar" sourcepath="lib/joda-time-1.5src.zip"/>
|
|
70 | 58 |
<classpathentry exported="true" kind="lib" path="lib/joda-time-hibernate-1.0.jar"/> |
71 |
<classpathentry exported="true" kind="lib" path="lib/json-lib-2.2.3-jdk15.jar"/> |
|
72 |
<classpathentry exported="true" kind="lib" path="lib/jsr250-api-1.0.jar"/> |
|
59 |
<classpathentry exported="true" kind="lib" path="lib/json-lib-2.2.3-jdk15.jar" sourcepath="lib/json-lib-2.2.3-jdk15src.zip"/>
|
|
60 |
<classpathentry exported="true" kind="lib" path="lib/jsr250-api-1.0.jar" sourcepath="lib/jsr250-api-1.0src.zip"/>
|
|
73 | 61 |
<classpathentry exported="true" kind="lib" path="lib/jta.jar"/> |
74 | 62 |
<classpathentry exported="true" kind="lib" path="lib/jtds-1.2.2.jar"/> |
75 | 63 |
<classpathentry exported="true" kind="lib" path="lib/junit-4.4.jar"/> |
76 |
<classpathentry exported="true" kind="lib" path="lib/log4j-1.2.14.jar"/> |
|
64 |
<classpathentry exported="true" kind="lib" path="lib/log4j-1.2.14.jar" sourcepath="lib/log4j-1.2.14src.zip"/>
|
|
77 | 65 |
<classpathentry exported="true" kind="lib" path="lib/lsid-client-1.1.2.jar"/> |
78 | 66 |
<classpathentry exported="true" kind="lib" path="lib/lsid-server-1.1.2.jar"/> |
79 |
<classpathentry exported="true" kind="lib" path="lib/lucene-core-2.4.0.jar"/> |
|
80 |
<classpathentry exported="true" kind="lib" path="lib/lucene-spellchecker-2.4.0.jar"/> |
|
81 |
<classpathentry exported="true" kind="lib" path="lib/mail-1.4.jar"/> |
|
67 |
<classpathentry exported="true" kind="lib" path="lib/lucene-core-2.4.0.jar" sourcepath="lib/lucene-core-2.4.0src.zip"/>
|
|
68 |
<classpathentry exported="true" kind="lib" path="lib/lucene-spellchecker-2.4.0.jar" sourcepath="lib/lucene-spellchecker-2.4.0src.zip"/>
|
|
69 |
<classpathentry exported="true" kind="lib" path="lib/mail-1.4.jar" sourcepath="lib/mail-1.4src.zip"/>
|
|
82 | 70 |
<classpathentry exported="true" kind="lib" path="lib/msbase-2000.3.jar"/> |
83 | 71 |
<classpathentry exported="true" kind="lib" path="lib/mssqlserver-2000.3.jar"/> |
84 | 72 |
<classpathentry exported="true" kind="lib" path="lib/msutil-2000.3.jar"/> |
... | ... | |
91 | 79 |
<classpathentry exported="true" kind="lib" path="lib/sanselan-0.97-incubator.jar"/> |
92 | 80 |
<classpathentry exported="true" kind="lib" path="lib/saxon9he.jar"/> |
93 | 81 |
<classpathentry exported="true" kind="lib" path="lib/serializer-2.7.0.jar"/> |
94 |
<classpathentry exported="true" kind="lib" path="lib/servlet-api-2.5.jar"/> |
|
95 |
<classpathentry exported="true" kind="lib" path="lib/slf4j-api-1.5.2.jar"/> |
|
96 |
<classpathentry exported="true" kind="lib" path="lib/slf4j-log4j12-1.5.2.jar"/> |
|
97 |
<classpathentry exported="true" kind="lib" path="lib/spring-modules-cache-0.7.jar"/> |
|
98 |
<classpathentry exported="true" kind="lib" path="lib/spring-modules-lucene-0.8a.jar"/> |
|
99 |
<classpathentry exported="true" kind="lib" path="lib/spring-security-core-3.0.0.RELEASE.jar"/> |
|
100 |
<classpathentry exported="true" kind="lib" path="lib/wsdl4j-1.6.1.jar"/> |
|
82 |
<classpathentry exported="true" kind="lib" path="lib/servlet-api-2.5.jar" sourcepath="lib/servlet-api-2.5src.zip"/>
|
|
83 |
<classpathentry exported="true" kind="lib" path="lib/slf4j-api-1.5.2.jar" sourcepath="lib/slf4j-api-1.5.2src.zip"/>
|
|
84 |
<classpathentry exported="true" kind="lib" path="lib/slf4j-log4j12-1.5.2.jar" sourcepath="lib/slf4j-log4j12-1.5.2src.zip"/>
|
|
85 |
<classpathentry exported="true" kind="lib" path="lib/spring-modules-cache-0.7.jar" sourcepath="lib/spring-modules-cache-0.7src.zip"/>
|
|
86 |
<classpathentry exported="true" kind="lib" path="lib/spring-modules-lucene-0.8a.jar" sourcepath="lib/spring-modules-lucene-0.8asrc.zip"/>
|
|
87 |
<classpathentry exported="true" kind="lib" path="lib/spring-security-core-3.0.0.RELEASE.jar" sourcepath="lib/spring-security-core-3.0.0.RELEASEsrc.zip"/>
|
|
88 |
<classpathentry exported="true" kind="lib" path="lib/wsdl4j-1.6.1.jar" sourcepath="lib/wsdl4j-1.6.1src.zip"/>
|
|
101 | 89 |
<classpathentry exported="true" kind="lib" path="lib/xalan-2.7.0.jar"/> |
102 | 90 |
<classpathentry exported="true" kind="lib" path="lib/xercesImpl-2.7.1.jar"/> |
103 | 91 |
<classpathentry exported="true" kind="lib" path="lib/xercesImpl.jar"/> |
104 | 92 |
<classpathentry exported="true" kind="lib" path="lib/xml-apis-1.3.04.jar"/> |
105 | 93 |
<classpathentry exported="true" kind="lib" path="lib/xml-apis-ext-1.3.04.jar"/> |
106 | 94 |
<classpathentry exported="true" kind="lib" path="lib/xml-apis.jar"/> |
107 |
<classpathentry exported="true" kind="lib" path="lib/xml-resolver-1.2.jar"/> |
|
95 |
<classpathentry exported="true" kind="lib" path="lib/xml-resolver-1.2.jar" sourcepath="lib/xml-resolver-1.2src.zip"/>
|
|
108 | 96 |
<classpathentry exported="true" kind="lib" path="lib/xmlgraphics-commons-1.3.1.jar"/> |
109 | 97 |
<classpathentry exported="true" kind="lib" path="lib/xom-1.0.jar"/> |
110 | 98 |
<classpathentry exported="true" kind="lib" path="lib/xsltc.jar"/> |
111 |
<classpathentry exported="true" kind="lib" path="lib/xstream-1.3.1.jar"/> |
|
99 |
<classpathentry exported="true" kind="lib" path="lib/xstream-1.3.1.jar" sourcepath="lib/xstream-1.3.1src.zip"/>
|
|
112 | 100 |
<classpathentry exported="true" kind="lib" path="lib/yjp-controller-api-redist-8.0.1.jar"/> |
113 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> |
|
114 |
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> |
|
115 |
<classpathentry kind="src" output="target/classes" path="src/main/java"/> |
|
116 |
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/> |
|
117 |
<classpathentry combineaccessrules="false" kind="src" path="/cdmlib-commons"/> |
|
118 |
<classpathentry combineaccessrules="false" kind="src" path="/cdmlib-ext"/> |
|
119 |
<classpathentry combineaccessrules="false" kind="src" path="/cdmlib-io"/> |
|
120 |
<classpathentry combineaccessrules="false" kind="src" path="/cdmlib-model"/> |
|
121 |
<classpathentry combineaccessrules="false" kind="src" path="/cdmlib-persistence"/> |
|
122 |
<classpathentry combineaccessrules="false" kind="src" path="/cdmlib-print"/> |
|
123 |
<classpathentry combineaccessrules="false" kind="src" path="/cdmlib-remote"/> |
|
101 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.aop-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.aop-3.0.4.RELEASE-sources.jar"/> |
|
102 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.asm-3.0.4.RELEASE.jar"/> |
|
103 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.aspects-3.0.4.RELEASE.jar"/> |
|
104 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.beans-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.beans-3.0.4.RELEASE-sources.jar"/> |
|
105 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.context-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.context-3.0.4.RELEASE-sources.jar"/> |
|
106 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.context.support-3.0.4.RELEASE.jar"/> |
|
107 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.core-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.core-3.0.4.RELEASE-sources.jar"/> |
|
108 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.expression-3.0.4.RELEASE.jar"/> |
|
109 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.jdbc-3.0.4.RELEASE.jar"/> |
|
110 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.orm-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.orm-3.0.4.RELEASE-sources.jar"/> |
|
111 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.oxm-3.0.4.RELEASE.jar"/> |
|
112 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.transaction-3.0.4.RELEASE.jar" sourcepath="lib/org.springframework.transaction-3.0.4.RELEASE-sources.jar"/> |
|
113 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.web-3.0.4.RELEASE.jar"/> |
|
114 |
<classpathentry exported="true" kind="lib" path="lib/org.springframework.web.servlet-3.0.4.RELEASE.jar"/> |
|
115 |
<classpathentry exported="true" kind="lib" path="lib/dozer-5.3.0.jar"/> |
|
116 |
<classpathentry exported="true" kind="lib" path="lib/google-api-translate-java-0.92.jar"/> |
|
124 | 117 |
<classpathentry kind="output" path="target/classes"/> |
125 | 118 |
</classpath> |
pom.xml | ||
---|---|---|
10 | 10 |
<inceptionYear>2007</inceptionYear> |
11 | 11 |
<packaging>pom</packaging> |
12 | 12 |
<properties> |
13 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
13 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
14 |
<cdmlib.version>2.5</cdmlib.version> |
|
14 | 15 |
</properties> |
15 | 16 |
<modules> |
16 | 17 |
<module>taxeditor-store</module> |
... | ... | |
71 | 72 |
<url>http://dev.e-taxonomy.eu/trac/</url> |
72 | 73 |
</issueManagement> |
73 | 74 |
<ciManagement> |
74 |
<system>Hudson</system>
|
|
75 |
<url>http://160.45.63.201/hudson</url>
|
|
75 |
<system>Hudson</system>
|
|
76 |
<url>http://160.45.63.201/hudson</url>
|
|
76 | 77 |
</ciManagement> |
77 | 78 |
<!-- **** REPOSITORIES **** --> |
78 | 79 |
<repositories> |
79 |
<!-- sun repository --> |
|
80 |
<repository> |
|
81 |
<id>java.net</id> |
|
82 |
<url>http://download.java.net/maven/1/</url> |
|
83 |
</repository> |
|
84 | 80 |
<!-- the cdm internal repository --> |
85 | 81 |
<repository> |
86 | 82 |
<id>EditRepository</id> |
87 | 83 |
<url>http://wp5.e-taxonomy.eu/cdmlib/mavenrepo/</url> |
88 | 84 |
</repository> |
89 |
<!-- apache incubating repository --> |
|
90 |
<repository> |
|
91 |
<id>ApacheIncubating</id> |
|
92 |
<url>http://people.apache.org/repo/m2-incubating-repository/</url> |
|
93 |
</repository> |
|
94 |
<!-- eclipse repository --> |
|
95 |
<repository> |
|
96 |
<id>EclipseRepository</id> |
|
97 |
<url>http://repo1.maven.org/eclipse/</url> |
|
98 |
</repository> |
|
99 |
<!-- Neccessary for hibernate-envers --> |
|
100 |
<repository> |
|
101 |
<releases> |
|
102 |
<enabled>true</enabled> |
|
103 |
<updatePolicy>always</updatePolicy> |
|
104 |
<checksumPolicy>warn</checksumPolicy> |
|
105 |
</releases> |
|
106 |
<snapshots> |
|
107 |
<enabled>false</enabled> |
|
108 |
<updatePolicy>never</updatePolicy> |
|
109 |
<checksumPolicy>fail</checksumPolicy> |
|
110 |
</snapshots> |
|
111 |
<id>jboss-repository</id> |
|
112 |
<name>JBoss Repository</name> |
|
113 |
<url>http://repository.jboss.com/maven2</url> |
|
114 |
</repository> |
|
115 | 85 |
</repositories> |
116 | 86 |
<build> |
117 | 87 |
<plugins> |
... | ... | |
225 | 195 |
<artifactId>maven-jxr-plugin</artifactId> |
226 | 196 |
<version>2.2</version> |
227 | 197 |
</plugin> |
228 |
<plugin> |
|
229 |
<!-- if you use @todo tags to remind you of things to be done (which is a good coding practice), the taglist report will generate a list of all the items marked @todo or TODO --> |
|
230 |
<groupId>org.codehaus.mojo</groupId> |
|
231 |
<artifactId>taglist-maven-plugin</artifactId> |
|
232 |
<version>2.4</version> |
|
233 |
</plugin> |
|
234 |
<plugin> |
|
235 |
<!-- Test coverage can be a useful indication of the quality of your unit tests. It basically tells you how much of your code is actually run by your unit tests, which, in turn, can give you a good idea of the tests' quality --> |
|
236 |
<groupId>org.codehaus.mojo</groupId> |
|
237 |
<artifactId>cobertura-maven-plugin</artifactId> |
|
238 |
<version>2.4</version> |
|
239 |
<!-- |
|
240 |
<executions> |
|
241 |
<execution> |
|
242 |
<id>clean</id> |
|
243 |
<phase>clean</phase> |
|
244 |
<goals> |
|
245 |
<goal>clean</goal> |
|
246 |
</goals> |
|
247 |
</execution> |
|
248 |
</executions> |
|
249 |
--> |
|
250 |
</plugin> |
|
251 |
<!-- |
|
252 | 198 |
<plugin> |
253 | 199 |
<groupId>org.apache.maven.plugins</groupId> |
254 |
<artifactId>maven-project-info-reports-plugin</artifactId> |
|
200 |
<artifactId>maven-changes-plugin</artifactId> |
|
201 |
<version>2.3</version> |
|
202 |
<configuration> |
|
203 |
<issueLinkTemplatePerSystem> |
|
204 |
<default>%URL%/ticket/%ISSUE%</default> |
|
205 |
</issueLinkTemplatePerSystem> |
|
206 |
</configuration> |
|
255 | 207 |
<reportSets> |
256 | 208 |
<reportSet> |
257 | 209 |
<reports> |
258 |
<report>dependencies</report> |
|
259 |
<report>project-team</report> |
|
260 |
<report>mailing-list</report> |
|
261 |
<report>cim</report> |
|
262 |
<report>issue-tracking</report> |
|
263 |
<report>license</report> |
|
264 |
<report>scm</report> |
|
210 |
<report>changes-report</report> |
|
265 | 211 |
</reports> |
266 | 212 |
</reportSet> |
267 | 213 |
</reportSets> |
268 |
</plugin> --> |
|
269 |
<!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml) to track releases and changes in each release --> |
|
270 |
<!-- |
|
271 |
<plugin> |
|
272 |
<groupId>org.codehaus.mojo</groupId> |
|
273 |
<artifactId>changes-maven-plugin</artifactId> |
|
274 |
</plugin> |
|
275 |
<plugin> |
|
276 |
<artifactId>maven-surefire-plugin</artifactId> |
|
277 | 214 |
</plugin> |
278 |
--> |
|
279 |
<!-- The changelog plug-in generates a nice report describing which files have been changed and by whom --> |
|
280 |
<!-- |
|
281 |
<plugin> |
|
282 |
<groupId>org.codehaus.mojo</groupId> |
|
283 |
<artifactId>changelog-maven-plugin</artifactId> |
|
284 |
</plugin> |
|
285 |
--> |
|
286 | 215 |
</plugins> |
287 | 216 |
</reporting> |
288 | 217 |
<!-- DISTRIBUTION MANAGEMENT --> |
... | ... | |
316 | 245 |
</dependencies> |
317 | 246 |
<dependencyManagement> |
318 | 247 |
<dependencies> |
248 |
<!-- ******* TAXEDITOR ******* --> |
|
319 | 249 |
<dependency> |
320 | 250 |
<groupId>eu.etaxonomy</groupId> |
321 | 251 |
<artifactId>taxeditor-store</artifactId> |
... | ... | |
341 | 271 |
<artifactId>taxeditor-application</artifactId> |
342 | 272 |
<version>${project.version}</version> |
343 | 273 |
</dependency> |
274 |
<dependency> |
|
275 |
<groupId>eu.etaxonomy</groupId> |
|
276 |
<artifactId>taxeditor-printpublisher</artifactId> |
|
277 |
<version>${project.version}</version> |
|
278 |
</dependency> |
|
279 |
<!-- ******* CDMLIB ******* --> |
|
280 |
<dependency> |
|
281 |
<groupId>eu.etaxonomy</groupId> |
|
282 |
<artifactId>cdmlib-model</artifactId> |
|
283 |
<version>${cdmlib.version}</version> |
|
284 |
</dependency> |
|
285 |
<dependency> |
|
286 |
<groupId>eu.etaxonomy</groupId> |
|
287 |
<artifactId>cdmlib-commons</artifactId> |
|
288 |
<version>${cdmlib.version}</version> |
|
289 |
</dependency> |
|
290 |
<dependency> |
|
291 |
<groupId>eu.etaxonomy</groupId> |
|
292 |
<artifactId>cdmlib-services</artifactId> |
|
293 |
<version>${cdmlib.version}</version> |
|
294 |
</dependency> |
|
295 |
<dependency> |
|
296 |
<groupId>eu.etaxonomy</groupId> |
|
297 |
<artifactId>cdmlib-io</artifactId> |
|
298 |
<version>${cdmlib.version}</version> |
|
299 |
</dependency> |
|
300 |
<dependency> |
|
301 |
<groupId>eu.etaxonomy</groupId> |
|
302 |
<artifactId>cdmlib-ext</artifactId> |
|
303 |
<version>${cdmlib.version}</version> |
|
304 |
</dependency> |
|
305 |
<dependency> |
|
306 |
<groupId>eu.etaxonomy</groupId> |
|
307 |
<artifactId>cdmlib-persistence</artifactId> |
|
308 |
<version>${cdmlib.version}</version> |
|
309 |
</dependency> |
|
310 |
<dependency> |
|
311 |
<groupId>eu.etaxonomy</groupId> |
|
312 |
<artifactId>cdmlib-remote</artifactId> |
|
313 |
<version>${cdmlib.version}</version> |
|
314 |
</dependency> |
|
315 |
<dependency> |
|
316 |
<groupId>eu.etaxonomy</groupId> |
|
317 |
<artifactId>cdmlib-print</artifactId> |
|
318 |
<version>${cdmlib.version}</version> |
|
319 |
</dependency> |
|
320 |
<!-- ******* ECLIPSE ******* --> |
|
321 |
<dependency> |
|
322 |
<groupId>org.eclipse</groupId> |
|
323 |
<artifactId>help</artifactId> |
|
324 |
<version>3.5.0</version> |
|
325 |
</dependency> |
|
326 |
<dependency> |
|
327 |
<groupId>org.eclipse</groupId> |
|
328 |
<artifactId>ecf</artifactId> |
|
329 |
<version>3.1.0</version> |
|
330 |
</dependency> |
|
331 |
<dependency> |
|
332 |
<groupId>org.eclipse</groupId> |
|
333 |
<artifactId>text</artifactId> |
|
334 |
<version>3.5.0</version> |
|
335 |
</dependency> |
|
336 |
<dependency> |
|
337 |
<groupId>org.eclipse.core</groupId> |
|
338 |
<artifactId>commands</artifactId> |
|
339 |
<version>3.6.0</version> |
|
340 |
</dependency> |
|
341 |
<dependency> |
|
342 |
<groupId>org.eclipse.core</groupId> |
|
343 |
<artifactId>filebuffers</artifactId> |
|
344 |
<version>3.5.100</version> |
|
345 |
</dependency> |
|
346 |
<dependency> |
|
347 |
<groupId>org.eclipse.core</groupId> |
|
348 |
<artifactId>runtime</artifactId> |
|
349 |
<version>3.6.0</version> |
|
350 |
</dependency> |
|
351 |
<dependency> |
|
352 |
<groupId>org.eclipse.core</groupId> |
|
353 |
<artifactId>expressions</artifactId> |
|
354 |
<version>3.4.200</version> |
|
355 |
</dependency> |
|
356 |
<dependency> |
|
357 |
<groupId>org.eclipse.core</groupId> |
|
358 |
<artifactId>filesystem</artifactId> |
|
359 |
<version>1.3.0</version> |
|
360 |
</dependency> |
|
361 |
<dependency> |
|
362 |
<groupId>org.eclipse.core</groupId> |
|
363 |
<artifactId>jobs</artifactId> |
|
364 |
<version>3.5.0</version> |
|
365 |
</dependency> |
|
366 |
<dependency> |
|
367 |
<groupId>org.eclipse.core</groupId> |
|
368 |
<artifactId>contenttype</artifactId> |
|
369 |
<version>3.4.100</version> |
|
370 |
</dependency> |
|
371 |
<dependency> |
|
372 |
<groupId>org.eclipse.core</groupId> |
|
373 |
<artifactId>databinding</artifactId> |
|
374 |
<version>1.3.100</version> |
|
375 |
</dependency> |
|
376 |
<dependency> |
|
377 |
<groupId>org.eclipse.core</groupId> |
|
378 |
<artifactId>resources</artifactId> |
|
379 |
<version>3.6.0</version> |
|
380 |
</dependency> |
|
381 |
<dependency> |
|
382 |
<groupId>org.eclipse.equinox</groupId> |
|
383 |
<artifactId>common</artifactId> |
|
384 |
<version>3.6.0</version> |
|
385 |
</dependency> |
|
386 |
<dependency> |
|
387 |
<groupId>org.eclipse.equinox</groupId> |
|
388 |
<artifactId>preferences</artifactId> |
|
389 |
<version>3.3.0</version> |
|
390 |
</dependency> |
|
391 |
<dependency> |
|
392 |
<groupId>org.eclipse.equinox</groupId> |
|
393 |
<artifactId>app</artifactId> |
|
394 |
<version>1.3.0</version> |
|
395 |
</dependency> |
|
396 |
<dependency> |
|
397 |
<groupId>org.eclipse.equinox</groupId> |
|
398 |
<artifactId>registry</artifactId> |
|
399 |
<version>3.5.0</version> |
|
400 |
</dependency> |
|
401 |
<dependency> |
|
402 |
<groupId>org.eclipse.equinox.p2</groupId> |
|
403 |
<artifactId>core</artifactId> |
|
404 |
<version>2.0.0</version> |
|
405 |
</dependency> |
|
406 |
<dependency> |
|
407 |
<groupId>org.eclipse.equinox.p2</groupId> |
|
408 |
<artifactId>operations</artifactId> |
|
409 |
<version>2.0.0</version> |
|
410 |
</dependency> |
|
411 |
<dependency> |
|
412 |
<groupId>org.eclipse.ui</groupId> |
|
413 |
<artifactId>workbench</artifactId> |
|
414 |
<version>3.6.0</version> |
|
415 |
</dependency> |
|
416 |
<dependency> |
|
417 |
<groupId>org.eclipse</groupId> |
|
418 |
<artifactId>ui</artifactId> |
|
419 |
<version>3.6.0</version> |
|
420 |
</dependency> |
|
421 |
<dependency> |
|
422 |
<groupId>org.eclipse.ui</groupId> |
|
423 |
<artifactId>editors</artifactId> |
|
424 |
<version>3.6.0</version> |
|
425 |
</dependency> |
|
426 |
<dependency> |
|
427 |
<groupId>org.eclipse.ui</groupId> |
|
428 |
<artifactId>navigator</artifactId> |
|
429 |
<version>3.5.0</version> |
|
430 |
</dependency> |
|
431 |
<dependency> |
|
432 |
<groupId>org.eclipse.ui</groupId> |
|
433 |
<artifactId>forms</artifactId> |
|
434 |
<version>3.5.0</version> |
|
435 |
</dependency> |
|
436 |
<dependency> |
|
437 |
<groupId>org.eclipse.ui</groupId> |
|
438 |
<artifactId>ide</artifactId> |
|
439 |
<version>3.6.0</version> |
|
440 |
</dependency> |
|
441 |
<dependency> |
|
442 |
<groupId>org.eclipse.ui.workbench</groupId> |
|
443 |
<artifactId>texteditor</artifactId> |
|
444 |
<version>3.6.0</version> |
|
445 |
</dependency> |
|
446 |
<dependency> |
|
447 |
<groupId>org.eclipse</groupId> |
|
448 |
<artifactId>jface</artifactId> |
|
449 |
<version>3.6.0</version> |
|
450 |
</dependency> |
|
451 |
<dependency> |
|
452 |
<groupId>org.eclipse.jface</groupId> |
|
453 |
<artifactId>databinding</artifactId> |
|
454 |
<version>1.4.0</version> |
|
455 |
</dependency> |
|
456 |
<dependency> |
|
457 |
<groupId>org.eclipse.jface</groupId> |
|
458 |
<artifactId>text</artifactId> |
|
459 |
<version>3.6.0</version> |
|
460 |
</dependency> |
|
461 |
<dependency> |
|
462 |
<groupId>org.eclipse.equinox.p2.metadata</groupId> |
|
463 |
<artifactId>repository</artifactId> |
|
464 |
<version>1.1.0</version> |
|
465 |
</dependency> |
|
466 |
<dependency> |
|
467 |
<groupId>org.eclipse.ecf</groupId> |
|
468 |
<artifactId>filetransfer</artifactId> |
|
469 |
<version>4.0.0</version> |
|
470 |
</dependency> |
|
471 |
<dependency> |
|
472 |
<groupId>org.eclipse.ecf</groupId> |
|
473 |
<artifactId>identity</artifactId> |
|
474 |
<version>3.1.0</version> |
|
475 |
</dependency> |
|
476 |
<dependency> |
|
477 |
<groupId>org.eclipse.ecf.provider</groupId> |
|
478 |
<artifactId>filetransfer</artifactId> |
|
479 |
<version>3.1.0</version> |
|
480 |
</dependency> |
|
481 |
<dependency> |
|
482 |
<groupId>org.eclipse</groupId> |
|
483 |
<artifactId>swt</artifactId> |
|
484 |
<version>3.6.0</version> |
|
485 |
</dependency> |
|
486 |
<dependency> |
|
487 |
<groupId>org.eclipse</groupId> |
|
488 |
<artifactId>osgi</artifactId> |
|
489 |
<version>3.6.0</version> |
|
490 |
</dependency> |
|
491 |
<dependency> |
|
492 |
<groupId>org.eclipse.swt.cocoa</groupId> |
|
493 |
<artifactId>macosx</artifactId> |
|
494 |
<version>3.6.0</version> |
|
495 |
</dependency> |
|
344 | 496 |
<!-- ******* VARIOUS ******* --> |
497 |
<dependency> |
|
498 |
<groupId>com.google.api</groupId> |
|
499 |
<artifactId>translate</artifactId> |
|
500 |
<version>0.92</version> |
|
501 |
</dependency> |
|
502 |
<dependency> |
|
503 |
<groupId>org.apache.commons</groupId> |
|
504 |
<artifactId>commons-io</artifactId> |
|
505 |
<version>1.3.2</version> |
|
506 |
</dependency> |
|
345 | 507 |
<dependency> |
346 | 508 |
<groupId>log4j</groupId> |
347 | 509 |
<artifactId>log4j</artifactId> |
348 | 510 |
<version>1.2.15</version> |
349 | 511 |
</dependency> |
350 |
<!-- hibernate 3.4 uses slf4j --> |
|
351 |
<dependency> |
|
352 |
<groupId>org.slf4j</groupId> |
|
353 |
<artifactId>slf4j-log4j12</artifactId> |
|
354 |
<version>1.5.2</version> |
|
355 |
</dependency> |
|
356 | 512 |
<dependency> |
357 | 513 |
<groupId>junit</groupId> |
358 | 514 |
<artifactId>junit</artifactId> |
src/changes/changes.xml | ||
---|---|---|
1 |
<document xmlns="http://maven.apache.org/changes/1.0.0" |
|
2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 |
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> |
|
4 |
<properties> |
|
5 |
<title>Taxonomic Editor Releases</title> |
|
6 |
<author email="n.hoffmann@bgbm.org">Niels Hoffmann</author> |
|
7 |
</properties> |
|
8 |
<body> |
|
9 |
|
|
10 |
<release version="3.0.0.beta" date="2010-09-07" description="Version 3.0 pre-release"> |
|
11 |
<action dev="n.hoffmann" type="fix"> |
|
12 |
Test |
|
13 |
</action> |
|
14 |
</release> |
|
15 |
|
|
16 |
</body> |
|
17 |
</document> |
src/site/apt/getting-started.apt | ||
---|---|---|
1 |
Setting up a Taxonomic Editor development environment |
|
2 |
|
|
3 |
This document describes all steps necessarry to create a development environment to develop the EDIT Taxonomic Editor. If you are looking for |
|
4 |
instructions on how to install the EDIT Taxonomic Editor please consult the {{{./manual.html} manual}}. |
|
5 |
|
|
6 |
<Table of Contents> |
|
7 |
|
|
8 |
%{toc|section=0|fromDepth=2|toDepth=3} |
|
9 |
|
|
10 |
* Requirements |
|
11 |
|
|
12 |
* CDM Library development environment set up on your machine (please follow the instructions on {{{http://wp5.e-taxonomy.eu/cdmlib/getting-started.html#Developing_the_CDM_Library}how to install a CDM Library development environment}}) |
|
13 |
|
|
14 |
* Eclipse PDE Version >= 3.6 |
|
15 |
|
|
16 |
|
|
17 |
* Checking out the sources |
|
18 |
|
|
19 |
Use subversion to check out the sources from the EDIT repository to a location on your development machine. |
|
20 |
|
|
21 |
--- |
|
22 |
$ svn co http://dev.e-taxonomy.eu/svn/trunk/taxeditor |
|
23 |
--- |
|
24 |
|
|
25 |
This will leave you with a directory <<<taxeditor/>>> containing everything that is needed. We will have a look at the contents later on. |
|
26 |
|
|
27 |
* Setting up eclipse |
|
28 |
|
|
29 |
The Taxonomic Editor uses maven for convenient configuration and automation of common tasks, such as setting up eclipse. |
|
30 |
|
|
31 |
--- |
|
32 |
$ cd taxeditor/ |
|
33 |
$ mvn eclipse:eclipse |
|
34 |
--- |
|
35 |
|
|
36 |
This will take some time, as maven will download the required dependencies and configure the projects. After maven has finished follow these steps: |
|
37 |
|
|
38 |
* Start up eclipse (make sure you have the required version installed) and open a workspace. |
|
39 |
|
|
40 |
* Open up the Import Wizard via <File -\> Import...> from the menu |
|
41 |
|
|
42 |
* Choose <General -\> Existing projects into Workspace > and click next. |
|
43 |
|
|
44 |
* Check <Select Root Directory> and browse to the <<<taxeditor/>>> directory. After confirming the directory selection dialog, the <Projects> list should contain a number of projects. |
|
45 |
|
|
46 |
* Click <Select All> and finish the wizard. |
|
47 |
|
|
48 |
The package exporer should show a bunch of projects. Although it will also show a bunch of errors, so please read on. |
|
49 |
|
|
50 |
|
|
51 |
* Initializing the cdmlib plugin |
|
52 |
|
|
53 |
The <cdmlib-plugin> project contains all dependencies needed for the CDM Library to work except the <<<cdmlib-*>>> artifacts itself. Therefore the |
|
54 |
<<<cdmlib-plugin>>> project will show an error. In order to include these artifacts the project contains a shell (and bash) script to copy these from your local maven repository. Please make sure, that the <<<cdmlib-*>>> artifacts exist in your repository. |
|
55 |
|
|
56 |
--- |
|
57 |
$ cd taxeditor/cdmlib-plugin/ |
|
58 |
$ ./_makeSources.sh |
|
59 |
--- |
|
60 |
|
|
61 |
Refresh the <<<cdmlib-plugin>>> project; the errors should be gone. |
|
62 |
|
|
63 |
<<Note:>> This will change in the very near future as these dependencies will also be managed by maven. |
|
64 |
|
|
65 |
After this you have to update the classpaths of all plugin projects as well. To do this right-click any of the <taxeditor-*> projects and choose <PDE Tools -\> Update Classpath...>. Click <Select All> in the dialog and confirm. After a rebuild of your entire workspace all errors should be gone and you are ready to go. |
|
66 |
|
|
67 |
* Bundle overview |
|
68 |
|
|
69 |
Let's have a quick look at the projects: |
|
70 |
|
|
71 |
** <taxeditor-store> |
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
** <taxeditor-navigation> |
|
76 |
|
|
77 |
The <Taxon Navigator> as well as the <Search> view are located in this plugin. |
|
78 |
|
|
79 |
** <taxeditor-editor> |
|
80 |
|
|
81 |
Everything that has to do with editing a taxon or data that is connected to a taxon resides in this plugin. This includes the <Name Editor>, the <Details View>, |
|
82 |
the <Supplemental View>, the <Descriptive Data View> as well as the <Media View>. All interface elements that are used in the <taxeditor-bulkeditor> plugin are |
|
83 |
also located here. |
|
84 |
|
|
85 |
** <taxeditor-bulkeditor> |
|
86 |
|
|
87 |
The different bulkeditors are in this plugin. |
|
88 |
|
|
89 |
** <taxeditor-printpublisher> |
|
90 |
|
|
91 |
This plugin is a frontend and GUI for the <cdmlib-print> module. Please see the {{{http://wp5.e-taxonomy.eu/printpublisher/}according documentation}} for further information. |
|
92 |
|
|
93 |
** <taxeditor-application> |
|
94 |
|
|
95 |
This plugin bundles all the previous plugins into an application and configures the look and feel. |
|
96 |
|
|
97 |
** <taxeditor-cdmlib-plugin> |
|
98 |
|
|
99 |
As said before, <cdmlib> dependecies reside in this plugin. Please also note that this plugin does not contain any sourcecode. |
|
100 |
|
|
101 |
** <taxeditor-feature-platform> |
|
102 |
|
|
103 |
A feature containing all dependencies for the eclipse platform. |
|
104 |
|
|
105 |
** <taxeditor-feature-product> |
|
106 |
|
|
107 |
A feature configuring the standalone application and bundling all plugins and dependencies. |
|
108 |
|
|
109 |
* Creating a launch configuration |
|
110 |
|
|
111 |
To start the Taxonomic Editor from your newly created development environment you need to create a launch configuration. |
|
112 |
|
|
113 |
* Expand <taxeditor-feature-product> and open <<<taxeditor.product>>> |
|
114 |
|
|
115 |
* In the <Testing> section (down left) click on <Launch an Eclipse application in Debug mode> |
|
116 |
|
|
117 |
The Taxonomic Editor should launch. |
|
118 |
|
|
119 |
* Where do I go from here? |
src/site/fml/troubleshooting.fml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<faqs xmlns="http://maven.apache.org/FML/1.0.1" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd" |
|
5 |
title="Frequently Asked Questions" |
|
6 |
toplink="false"> |
|
7 |
|
|
8 |
<part id="general"> |
|
9 |
<title>General</title> |
|
10 |
|
|
11 |
<faq id="whats-foo"> |
|
12 |
<question> |
|
13 |
What is Foo? |
|
14 |
</question> |
|
15 |
<answer> |
|
16 |
<p>some markup goes here</p> |
|
17 |
|
|
18 |
<source>some source code</source> |
|
19 |
|
|
20 |
<p>some markup goes here</p> |
|
21 |
</answer> |
|
22 |
</faq> |
|
23 |
|
|
24 |
<faq id="whats-bar"> |
|
25 |
<question> |
|
26 |
What is Bar? |
|
27 |
</question> |
|
28 |
<answer> |
|
29 |
<p>some markup goes here</p> |
|
30 |
</answer> |
|
31 |
</faq> |
|
32 |
</part> |
|
33 |
|
|
34 |
<part id="install"> |
|
35 |
|
|
36 |
<title>Installation</title> |
|
37 |
|
|
38 |
<faq id="how-install"> |
|
39 |
<question> |
|
40 |
How do I install Foo? |
|
41 |
</question> |
|
42 |
<answer> |
|
43 |
<p>some markup goes here</p> |
|
44 |
</answer> |
|
45 |
</faq> |
|
46 |
|
|
47 |
</part> |
|
48 |
|
|
49 |
</faqs> |
|
2 |
<faqs xmlns="http://maven.apache.org/FML/1.0.1" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd" |
|
5 |
title="Troubleshooting" |
|
6 |
toplink="true"> |
|
7 |
<part id="general"> |
|
8 |
<title>General</title> |
|
9 |
<faq id="whats-foo"> |
|
10 |
<question>How can I configure logging in the editor?</question> |
|
11 |
<answer> |
|
12 |
<p>To get log4j to read your own configuration when developing the editor or |
|
13 |
anything that has to do with cdmLibrary eclipse plugin you have to tell |
|
14 |
log4j explicitly what configuration it should use. Otherwise it will scan |
|
15 |
the classpath and use the first log4j.xml/log4j.properties file it finds |
|
16 |
(which is mostly the log4j.properties in cdmlib-commons as it will be the |
|
17 |
first one it encounters).</p> |
|
18 |
<p>Passing the following argument to the Virtual Machine however does the trick:</p> |
|
19 |
<source>-Dlog4j.configuration=file:///<path to your personal\>/log4j.properties</source> |
|
20 |
<p>If you run into trouble , you can debug log4j's startup sequence by passing |
|
21 |
another argument to the VM.</p> |
|
22 |
<source>-Dlog4j.debug</source> |
|
23 |
</answer> |
|
24 |
</faq> |
|
25 |
</part> |
|
26 |
</faqs> |
src/site/site.xml | ||
---|---|---|
8 | 8 |
<body> |
9 | 9 |
<links> |
10 | 10 |
<item name="CDM Library" href="http://wp5.e-taxonomy.eu/cdmlib/"/> |
11 |
<item name="CDM Server" href="http://wp5.e-taxonomy.eu/cdmserver/"/> |
|
12 |
<item name="Dataportal" href="http://wp5.e-taxonomy.eu/dataportal/"/>
|
|
11 |
<item name="CDM Server" href="http://wp5.e-taxonomy.eu/cdm-server/"/>
|
|
12 |
<item name="Dataportal" href="http://wp5.e-taxonomy.eu/portal/"/> |
|
13 | 13 |
<item name="Print Publisher" href="http://wp5.e-taxonomy.eu/printpublisher/"/> |
14 | 14 |
<item name="CDM Setups" href="http://wp5.e-taxonomy.eu/cdm-setups/"/> |
15 | 15 |
</links> |
16 | 16 |
<menu name="General Information"> |
17 | 17 |
<item name="Overview" href="index.html"/> |
18 | 18 |
<item name="Screenshots" href="screenshots.html"/> |
19 |
<item name="Manual" href="manual.html"/> |
|
19 | 20 |
<item name="FAQ" href="faq.html"/> |
20 |
<item name="License" href="license.html"/>
|
|
21 |
<item name="Download" href="download.html"/>
|
|
21 |
<item name="Releases" href="changes-report.html"/>
|
|
22 |
<item name="Download" href="http://wp5.e-taxonomy.eu/download/taxeditor/"/>
|
|
22 | 23 |
</menu> |
23 | 24 |
<menu name="Developer"> |
24 | 25 |
<item name="Getting started" href="getting-started.html"/> |
25 |
<item name="Modules" href="modules.html"/> |
|
26 | 26 |
<item name="Javadocs" href="apidocs/index.html"/> |
27 | 27 |
<item name="Troubleshooting" href="troubleshooting.html"/> |
28 | 28 |
<item name="Wiki" href="http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditor"/> |
... | ... | |
33 | 33 |
<item name="Continuous Integration" href="integration.html"/> |
34 | 34 |
<item name="Issue Tracking" href="http://dev.e-taxonomy.eu/trac/"/> |
35 | 35 |
<item name="Source Repository" href="source-repository.html"/> |
36 |
<item name="License" href="license.html"/> |
|
36 | 37 |
</menu> |
37 | 38 |
</body> |
38 | 39 |
</project> |
taxeditor-application/pom.xml | ||
---|---|---|
28 | 28 |
<groupId>eu.etaxonomy</groupId> |
29 | 29 |
<artifactId>taxeditor-editor</artifactId> |
30 | 30 |
</dependency> |
31 |
<dependency> |
|
32 |
<groupId>eu.etaxonomy</groupId> |
|
33 |
<artifactId>taxeditor-printpublisher</artifactId> |
|
34 |
</dependency> |
|
35 |
<dependency> |
|
36 |
<groupId>org.eclipse.equinox.p2</groupId> |
|
37 |
<artifactId>operations</artifactId> |
|
38 |
</dependency> |
|
31 | 39 |
</dependencies> |
32 | 40 |
</project> |
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/Application.java | ||
---|---|---|
8 | 8 |
|
9 | 9 |
/** |
10 | 10 |
* This class controls all aspects of the application's execution |
11 |
* |
|
12 |
* @author n.hoffmann |
|
13 |
* @version $Id: $ |
|
11 | 14 |
*/ |
12 | 15 |
public class Application implements IApplication { |
13 | 16 |
|
14 | 17 |
/* (non-Javadoc) |
15 | 18 |
* @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext) |
16 | 19 |
*/ |
20 |
/** {@inheritDoc} */ |
|
17 | 21 |
public Object start(IApplicationContext context) { |
18 | 22 |
Display display = PlatformUI.createDisplay(); |
19 | 23 |
try { |
... | ... | |
30 | 34 |
/* (non-Javadoc) |
31 | 35 |
* @see org.eclipse.equinox.app.IApplication#stop() |
32 | 36 |
*/ |
37 |
/** |
|
38 |
* <p>stop</p> |
|
39 |
*/ |
|
33 | 40 |
public void stop() { |
34 | 41 |
final IWorkbench workbench = PlatformUI.getWorkbench(); |
35 | 42 |
if (workbench == null) |
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/ApplicationActionBarAdvisor.java | ||
---|---|---|
12 | 12 |
* An action bar advisor is responsible for creating, adding, and disposing of |
13 | 13 |
* the actions added to a workbench window. Each window will be populated with |
14 | 14 |
* new actions. |
15 |
* |
|
16 |
* @author n.hoffmann |
|
17 |
* @version $Id: $ |
|
15 | 18 |
*/ |
16 | 19 |
public class ApplicationActionBarAdvisor extends ActionBarAdvisor { |
17 | 20 |
|
18 | 21 |
private IWorkbenchAction saveAction; |
19 | 22 |
private IWorkbenchAction saveAllAction; |
20 | 23 |
|
24 |
/** |
|
25 |
* <p>Constructor for ApplicationActionBarAdvisor.</p> |
|
26 |
* |
|
27 |
* @param configurer a {@link org.eclipse.ui.application.IActionBarConfigurer} object. |
|
28 |
*/ |
|
21 | 29 |
public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) { |
22 | 30 |
super(configurer); |
23 | 31 |
} |
24 | 32 |
|
33 |
/** {@inheritDoc} */ |
|
25 | 34 |
protected void makeActions(final IWorkbenchWindow window) { |
26 | 35 |
StoreUtil.setStatusLineManager(getActionBarConfigurer().getStatusLineManager()); |
27 | 36 |
|
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/ApplicationUtil.java | ||
---|---|---|
13 | 13 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
14 | 14 |
|
15 | 15 |
/** |
16 |
* <p>ApplicationUtil class.</p> |
|
17 |
* |
|
16 | 18 |
* @author n.hoffmann |
17 | 19 |
* @created Oct 13, 2010 |
18 | 20 |
* @version 1.0 |
19 | 21 |
*/ |
20 | 22 |
public class ApplicationUtil extends AbstractUtility { |
21 | 23 |
|
24 |
/** |
|
25 |
* <p>getPluginId</p> |
|
26 |
* |
|
27 |
* @return a {@link java.lang.String} object. |
|
28 |
*/ |
|
22 | 29 |
protected static String getPluginId(){ |
23 | 30 |
return TaxonomicEditorPlugin.PLUGIN_ID; |
24 | 31 |
} |
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java | ||
---|---|---|
6 | 6 |
import org.eclipse.ui.application.WorkbenchAdvisor; |
7 | 7 |
import org.eclipse.ui.application.WorkbenchWindowAdvisor; |
8 | 8 |
|
9 |
/** |
|
10 |
* <p>ApplicationWorkbenchAdvisor class.</p> |
|
11 |
* |
|
12 |
* @author n.hoffmann |
|
13 |
* @version $Id: $ |
|
14 |
*/ |
|
9 | 15 |
public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor { |
10 | 16 |
|
11 | 17 |
private static final String PERSPECTIVE_ID = Perspective.ID; |
... | ... | |
14 | 20 |
* (non-Javadoc) |
15 | 21 |
* @see org.eclipse.ui.application.WorkbenchAdvisor#createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer) |
16 | 22 |
*/ |
23 |
/** {@inheritDoc} */ |
|
17 | 24 |
public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor( |
18 | 25 |
IWorkbenchWindowConfigurer configurer) { |
19 | 26 |
return new ApplicationWorkbenchWindowAdvisor(configurer); |
... | ... | |
24 | 31 |
* (non-Javadoc) |
25 | 32 |
* @see org.eclipse.ui.application.WorkbenchAdvisor#getInitialWindowPerspectiveId() |
26 | 33 |
*/ |
34 |
/** |
|
35 |
* <p>getInitialWindowPerspectiveId</p> |
|
36 |
* |
|
37 |
* @return a {@link java.lang.String} object. |
|
38 |
*/ |
|
27 | 39 |
public String getInitialWindowPerspectiveId() { |
28 | 40 |
return PERSPECTIVE_ID; |
29 | 41 |
} |
... | ... | |
32 | 44 |
* (non-Javadoc) |
33 | 45 |
* @see org.eclipse.ui.application.WorkbenchAdvisor#initialize(org.eclipse.ui.application.IWorkbenchConfigurer) |
34 | 46 |
*/ |
47 |
/** {@inheritDoc} */ |
|
35 | 48 |
public void initialize(IWorkbenchConfigurer configurer) { |
36 | 49 |
super.initialize(configurer); |
37 | 50 |
|
... | ... | |
43 | 56 |
/* (non-Javadoc) |
44 | 57 |
* @see org.eclipse.ui.application.WorkbenchAdvisor#preStartup() |
45 | 58 |
*/ |
59 |
/** {@inheritDoc} */ |
|
46 | 60 |
@Override |
47 | 61 |
public void preStartup() { |
48 | 62 |
// TODO Auto-generated method stub |
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchWindowAdvisor.java | ||
---|---|---|
19 | 19 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
20 | 20 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
21 | 21 |
|
22 |
/** |
|
23 |
* <p>ApplicationWorkbenchWindowAdvisor class.</p> |
|
24 |
* |
|
25 |
* @author n.hoffmann |
|
26 |
* @version $Id: $ |
|
27 |
*/ |
|
22 | 28 |
public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor { |
23 | 29 |
|
30 |
/** |
|
31 |
* <p>Constructor for ApplicationWorkbenchWindowAdvisor.</p> |
|
32 |
* |
|
33 |
* @param configurer a {@link org.eclipse.ui.application.IWorkbenchWindowConfigurer} object. |
|
34 |
*/ |
|
24 | 35 |
public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) { |
25 | 36 |
super(configurer); |
26 | 37 |
} |
27 | 38 |
|
39 |
/** {@inheritDoc} */ |
|
28 | 40 |
public ActionBarAdvisor createActionBarAdvisor( |
29 | 41 |
IActionBarConfigurer configurer) { |
30 | 42 |
return new ApplicationActionBarAdvisor(configurer); |
31 | 43 |
} |
32 | 44 |
|
45 |
/** |
|
46 |
* <p>preWindowOpen</p> |
|
47 |
*/ |
|
33 | 48 |
public void preWindowOpen() { |
34 | 49 |
IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); |
35 | 50 |
configurer.setInitialSize(new Point(963, 637)); |
... | ... | |
40 | 55 |
configurer.setShowProgressIndicator(true); |
41 | 56 |
} |
42 | 57 |
|
58 |
/** |
|
59 |
* <p>postWindowOpen</p> |
|
60 |
*/ |
|
43 | 61 |
public void postWindowOpen() { |
44 | 62 |
PreferencesUtil.checkNomenclaturalCode(); |
45 | 63 |
|
... | ... | |
145 | 163 |
|
146 | 164 |
} |
147 | 165 |
|
148 |
|
|
166 |
|
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/OpenExternalAboutPlatformHandler.java | ||
---|---|---|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor; |
|
12 |
|
|
13 |
import java.net.MalformedURLException; |
|
14 |
import java.net.URL; |
|
15 |
|
|
16 |
import org.apache.log4j.Logger; |
|
17 |
import org.eclipse.core.commands.AbstractHandler; |
|
18 |
import org.eclipse.core.commands.ExecutionEvent; |
|
19 |
import org.eclipse.core.commands.ExecutionException; |
|
20 |
import org.eclipse.ui.PartInitException; |
|
21 |
import org.eclipse.ui.PlatformUI; |
|
22 |
import org.eclipse.ui.browser.IWorkbenchBrowserSupport; |
|
23 |
|
|
24 |
/** |
|
25 |
* @author p.ciardelli |
|
26 |
* @created 04.09.2009 |
|
27 |
* @version 1.0 |
|
28 |
*/ |
|
29 |
public class OpenExternalAboutPlatformHandler extends AbstractHandler { |
|
30 |
private static final Logger logger = Logger.getLogger(OpenExternalAboutPlatformHandler.class); |
|
31 |
|
|
32 |
/* (non-Javadoc) |
|
33 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
|
34 |
*/ |
|
35 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
|
36 |
String url = "http://wp5.e-taxonomy.eu/blog/"; |
|
37 |
|
|
38 |
try { |
|
39 |
PlatformUI.getWorkbench().getBrowserSupport().createBrowser |
|
40 |
(IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url)); |
|
41 |
} catch (PartInitException e) { |
|
42 |
logger.error(e); |
|
43 |
throw new RuntimeException(e); |
|
44 |
} catch (MalformedURLException e) { |
|
45 |
logger.error(e); |
|
46 |
throw new RuntimeException(e); |
|
47 |
} |
|
48 |
|
|
49 |
return null; |
|
50 |
} |
|
51 |
} |
|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor; |
|
12 |
|
|
13 |
import java.net.MalformedURLException; |
|
14 |
import java.net.URL; |
|
15 |
|
|
16 |
import org.apache.log4j.Logger; |
|
17 |
import org.eclipse.core.commands.AbstractHandler; |
|
18 |
import org.eclipse.core.commands.ExecutionEvent; |
|
19 |
import org.eclipse.core.commands.ExecutionException; |
|
20 |
import org.eclipse.ui.PartInitException; |
|
21 |
import org.eclipse.ui.PlatformUI; |
|
22 |
import org.eclipse.ui.browser.IWorkbenchBrowserSupport; |
|
23 |
|
|
24 |
/** |
|
25 |
* <p>OpenExternalAboutPlatformHandler class.</p> |
|
26 |
* |
|
27 |
* @author p.ciardelli |
|
28 |
* @created 04.09.2009 |
|
29 |
* @version 1.0 |
|
30 |
*/ |
|
31 |
public class OpenExternalAboutPlatformHandler extends AbstractHandler { |
|
32 |
private static final Logger logger = Logger.getLogger(OpenExternalAboutPlatformHandler.class); |
|
33 |
|
|
34 |
/* (non-Javadoc) |
|
35 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
|
36 |
*/ |
|
37 |
/** {@inheritDoc} */ |
|
38 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
|
39 |
String url = "http://wp5.e-taxonomy.eu/blog/"; |
|
40 |
|
|
41 |
try { |
|
42 |
PlatformUI.getWorkbench().getBrowserSupport().createBrowser |
|
43 |
(IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url)); |
|
44 |
} catch (PartInitException e) { |
|
45 |
logger.error(e); |
|
46 |
throw new RuntimeException(e); |
|
47 |
} catch (MalformedURLException e) { |
|
48 |
logger.error(e); |
|
49 |
throw new RuntimeException(e); |
|
50 |
} |
|
51 |
|
|
52 |
return null; |
|
53 |
} |
|
54 |
} |
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/OpenExternalHelpHandler.java | ||
---|---|---|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor; |
|
12 |
|
|
13 |
import java.net.MalformedURLException; |
|
14 |
import java.net.URL; |
|
15 |
|
|
16 |
import org.apache.log4j.Logger; |
|
17 |
import org.eclipse.core.commands.AbstractHandler; |
|
18 |
import org.eclipse.core.commands.ExecutionEvent; |
|
19 |
import org.eclipse.core.commands.ExecutionException; |
|
20 |
import org.eclipse.ui.PartInitException; |
|
21 |
import org.eclipse.ui.PlatformUI; |
|
22 |
import org.eclipse.ui.browser.IWorkbenchBrowserSupport; |
|
23 |
|
|
24 |
/** |
|
25 |
* @author p.ciardelli |
|
26 |
* @created 04.09.2009 |
|
27 |
* @version 1.0 |
|
28 |
*/ |
|
29 |
public class OpenExternalHelpHandler extends AbstractHandler { |
|
30 |
private static final Logger logger = Logger.getLogger(OpenExternalHelpHandler.class); |
|
31 |
|
|
32 |
/* (non-Javadoc) |
|
33 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
|
34 |
*/ |
|
35 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
|
36 |
String url = "http://wp5.e-taxonomy.eu/download/taxeditor/stable/EDITTaxonomicEditor-UserManual.pdf"; |
|
37 |
|
|
38 |
try { |
|
39 |
PlatformUI.getWorkbench().getBrowserSupport().createBrowser |
|
40 |
(IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url)); |
|
41 |
} catch (PartInitException e) { |
|
42 |
logger.error(e); |
|
43 |
throw new RuntimeException(e); |
|
44 |
} catch (MalformedURLException e) { |
|
45 |
logger.error(e); |
|
46 |
throw new RuntimeException(e); |
|
47 |
} |
|
48 |
|
|
49 |
return null; |
|
50 |
} |
|
51 |
} |
|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor; |
|
12 |
|
|
13 |
import java.net.MalformedURLException; |
|
14 |
import java.net.URL; |
|
15 |
|
|
16 |
import org.apache.log4j.Logger; |
|
17 |
import org.eclipse.core.commands.AbstractHandler; |
|
18 |
import org.eclipse.core.commands.ExecutionEvent; |
|
19 |
import org.eclipse.core.commands.ExecutionException; |
|
20 |
import org.eclipse.ui.PartInitException; |
|
21 |
import org.eclipse.ui.PlatformUI; |
|
22 |
import org.eclipse.ui.browser.IWorkbenchBrowserSupport; |
|
23 |
|
|
24 |
/** |
|
25 |
* <p>OpenExternalHelpHandler class.</p> |
|
26 |
* |
|
27 |
* @author p.ciardelli |
|
28 |
* @created 04.09.2009 |
|
29 |
* @version 1.0 |
|
30 |
*/ |
|
31 |
public class OpenExternalHelpHandler extends AbstractHandler { |
|
32 |
private static final Logger logger = Logger.getLogger(OpenExternalHelpHandler.class); |
|
33 |
|
|
34 |
/* (non-Javadoc) |
|
35 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
|
36 |
*/ |
|
37 |
/** {@inheritDoc} */ |
|
38 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
|
39 |
String url = "http://wp5.e-taxonomy.eu/download/taxeditor/stable/EDITTaxonomicEditor-UserManual.pdf"; |
|
40 |
|
|
41 |
try { |
|
42 |
PlatformUI.getWorkbench().getBrowserSupport().createBrowser |
|
43 |
(IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url)); |
|
44 |
} catch (PartInitException e) { |
|
45 |
logger.error(e); |
|
46 |
throw new RuntimeException(e); |
|
47 |
} catch (MalformedURLException e) { |
|
48 |
logger.error(e); |
|
49 |
throw new RuntimeException(e); |
|
50 |
} |
|
51 |
|
|
52 |
return null; |
|
53 |
} |
|
54 |
} |
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/OpenExternalParserHelpHandler.java | ||
---|---|---|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor; |
|
12 |
|
|
13 |
import java.net.MalformedURLException; |
|
14 |
import java.net.URL; |
|
15 |
|
|
16 |
import org.apache.log4j.Logger; |
|
17 |
import org.eclipse.core.commands.AbstractHandler; |
|
18 |
import org.eclipse.core.commands.ExecutionEvent; |
|
19 |
import org.eclipse.core.commands.ExecutionException; |
|
20 |
import org.eclipse.ui.PartInitException; |
|
21 |
import org.eclipse.ui.PlatformUI; |
|
22 |
import org.eclipse.ui.browser.IWorkbenchBrowserSupport; |
|
23 |
|
|
24 |
/** |
|
25 |
* @author p.ciardelli |
|
26 |
* @created 04.09.2009 |
|
27 |
* @version 1.0 |
|
28 |
*/ |
|
29 |
public class OpenExternalParserHelpHandler extends AbstractHandler { |
|
30 |
private static final Logger logger = Logger.getLogger(OpenExternalParserHelpHandler.class); |
|
31 |
|
|
32 |
/* (non-Javadoc) |
|
33 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
|
34 |
*/ |
|
35 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
|
36 |
String url = "http://dev.e-taxonomy.eu/trac/wiki/NameParserDocumentation"; |
|
37 |
|
|
38 |
try { |
|
39 |
PlatformUI.getWorkbench().getBrowserSupport().createBrowser |
|
40 |
(IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url)); |
|
41 |
} catch (PartInitException e) { |
|
42 |
logger.error(e); |
|
43 |
throw new RuntimeException(e); |
|
44 |
} catch (MalformedURLException e) { |
|
45 |
logger.error(e); |
|
46 |
throw new RuntimeException(e); |
|
47 |
} |
|
48 |
|
|
49 |
return null; |
|
50 |
} |
|
51 |
} |
|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor; |
|
12 |
|
|
13 |
import java.net.MalformedURLException; |
|
14 |
import java.net.URL; |
|
15 |
|
|
16 |
import org.apache.log4j.Logger; |
|
17 |
import org.eclipse.core.commands.AbstractHandler; |
|
18 |
import org.eclipse.core.commands.ExecutionEvent; |
|
19 |
import org.eclipse.core.commands.ExecutionException; |
|
20 |
import org.eclipse.ui.PartInitException; |
|
21 |
import org.eclipse.ui.PlatformUI; |
|
22 |
import org.eclipse.ui.browser.IWorkbenchBrowserSupport; |
|
23 |
|
|
24 |
/** |
|
25 |
* <p>OpenExternalParserHelpHandler class.</p> |
|
26 |
* |
|
27 |
* @author p.ciardelli |
|
28 |
* @created 04.09.2009 |
|
29 |
* @version 1.0 |
|
30 |
*/ |
|
31 |
public class OpenExternalParserHelpHandler extends AbstractHandler { |
|
32 |
private static final Logger logger = Logger.getLogger(OpenExternalParserHelpHandler.class); |
|
33 |
|
|
34 |
/* (non-Javadoc) |
|
35 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
|
36 |
*/ |
|
37 |
/** {@inheritDoc} */ |
|
38 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
|
39 |
String url = "http://dev.e-taxonomy.eu/trac/wiki/NameParserDocumentation"; |
|
40 |
|
|
41 |
try { |
|
42 |
PlatformUI.getWorkbench().getBrowserSupport().createBrowser |
|
43 |
(IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url)); |
|
44 |
} catch (PartInitException e) { |
|
45 |
logger.error(e); |
|
46 |
throw new RuntimeException(e); |
|
47 |
} catch (MalformedURLException e) { |
|
48 |
logger.error(e); |
|
49 |
throw new RuntimeException(e); |
|
50 |
} |
|
51 |
|
|
52 |
return null; |
|
53 |
} |
|
54 |
} |
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/P2Util.java | ||
---|---|---|
26 | 26 |
|
27 | 27 |
/** |
28 | 28 |
* This class shows an example for checking for updates and performing the |
29 |
* update synchronously. It is up to the caller to run this in a job if
|
|
29 |
* update synchronously. It is up to the caller to run this in a job if |
|
30 | 30 |
* a background update check is desired. This is a reasonable way to run an |
31 | 31 |
* operation when user intervention is not required. Another approach is |
32 | 32 |
* to separately perform the resolution and provisioning steps, deciding |
33 | 33 |
* whether to perform these synchronously or in a job. |
34 |
*
|
|
34 |
* |
|
35 | 35 |
* Any p2 operation can be run modally (synchronously), or the job |
36 | 36 |
* can be requested and scheduled by the caller. |
37 |
* |
|
37 |
* |
|
38 |
* @see UpdateOperation#resolveModal(IProgressMonitor) |
|
39 |
* @see UpdateOperation#getResolveJob(IProgressMonitor) |
|
40 |
* @see UpdateOperation#getProvisioningJob(IProgressMonitor) |
|
41 |
* @see UpdateOperation#resolveModal(IProgressMonitor) |
|
42 |
* @see UpdateOperation#getResolveJob(IProgressMonitor) |
|
43 |
* @see UpdateOperation#getProvisioningJob(IProgressMonitor) |
|
38 | 44 |
* @see UpdateOperation#resolveModal(IProgressMonitor) |
39 | 45 |
* @see UpdateOperation#getResolveJob(IProgressMonitor) |
40 | 46 |
* @see UpdateOperation#getProvisioningJob(IProgressMonitor) |
47 |
* @author n.hoffmann |
|
48 |
* @version $Id: $ |
|
41 | 49 |
*/ |
42 | 50 |
public class P2Util { |
43 | 51 |
|
taxeditor-application/src/main/java/eu/etaxonomy/taxeditor/Perspective.java | ||
---|---|---|
1 |
package eu.etaxonomy.taxeditor; |
|
2 |
|
|
3 |
import org.eclipse.ui.IFolderLayout; |
|
4 |
import org.eclipse.ui.IPageLayout; |
|
5 |
import org.eclipse.ui.IPerspectiveFactory; |
|
6 |
import org.eclipse.ui.progress.IProgressConstants; |
|
7 |
|
|
8 |
import eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator; |
|
9 |
import eu.etaxonomy.taxeditor.navigation.search.SearchResultView; |
|
10 |
|
|
11 |
public class Perspective implements IPerspectiveFactory { |
|
12 |
|
|
13 |
public static final String ID = "eu.etaxonomy.taxeditor.application.perspective"; |
|
14 |
|
|
15 |
/* (non-Javadoc) |
|
16 |
* @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout) |
|
17 |
*/ |
|
18 |
public void createInitialLayout(IPageLayout layout) { |
|
19 |
IFolderLayout navigationFolder = layout.createFolder("navigation", IPageLayout.LEFT, 0.25f, |
|
20 |
layout.getEditorArea()); |
|
21 |
|
|
22 |
// Note: ":*" is what allows us to call multiple searchResultView's with unique secondaryIds; |
|
23 |
// this can only be done here, with a placeholder, not in plugin.xml |
|
24 |
navigationFolder.addPlaceholder(SearchResultView.ID + ":*"); |
|
25 |
navigationFolder.addView(TaxonNavigator.ID); |
|
26 |
|
|
27 |
navigationFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID); |
|
28 |
} |
|
29 |
} |
|
1 |
package eu.etaxonomy.taxeditor; |
|
2 |
|
|
3 |
import org.eclipse.ui.IFolderLayout; |
|
4 |
import org.eclipse.ui.IPageLayout; |
|
5 |
import org.eclipse.ui.IPerspectiveFactory; |
|
6 |
import org.eclipse.ui.progress.IProgressConstants; |
|
7 |
|
|
8 |
import eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator; |
|
9 |
import eu.etaxonomy.taxeditor.navigation.search.SearchResultView; |
|
10 |
|
|
11 |
/** |
|
12 |
* <p>Perspective class.</p> |
|
13 |
* |
|
14 |
* @author n.hoffmann |
|
15 |
* @version $Id: $ |
|
16 |
*/ |
|
17 |
public class Perspective implements IPerspectiveFactory { |
|
18 |
|
|
19 |
/** Constant <code>ID="eu.etaxonomy.taxeditor.application.pers"{trunked}</code> */ |
|
20 |
public static final String ID = "eu.etaxonomy.taxeditor.application.perspective"; |
|
21 |
|
|
22 |
/* (non-Javadoc) |
|
23 |
* @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout) |
|
24 |
*/ |
|
25 |
/** {@inheritDoc} */ |
|
26 |
public void createInitialLayout(IPageLayout layout) { |
|
27 |
IFolderLayout navigationFolder = layout.createFolder("navigation", IPageLayout.LEFT, 0.25f, |
|
28 |
layout.getEditorArea()); |
|
29 |
|
|
30 |
// Note: ":*" is what allows us to call multiple searchResultView's with unique secondaryIds; |
|
31 |
// this can only be done here, with a placeholder, not in plugin.xml |
|
32 |
navigationFolder.addPlaceholder(SearchResultView.ID + ":*"); |
|
33 |
navigationFolder.addView(TaxonNavigator.ID); |
Also available in: Unified diff
performed javacscript:fix and worked on documentation