Project

General

Profile

« Previous | Next » 

Revision a3fdfdf4

Added by Patrick Plitzner about 6 years ago

ref #6158 avoid URL redirects

View differences:

eu.etaxonomy.taxeditor.application/pom.xml
12 12

  
13 13
  <name>Application</name>
14 14
  <description>All plugins are combined into this application.</description>
15
  <url>http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditor</url>
15
  <url>https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/TaxonomicEditor</url>
16 16

  
17 17
  <properties>
18 18
   <timestamp>${maven.build.timestamp}</timestamp>
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/OpenExternalHelpHandler.java
32 32
	/** {@inheritDoc} */
33 33
	@Override
34 34
    public Object execute(ExecutionEvent event) throws ExecutionException {
35
		String url = "http://wp5.e-taxonomy.eu/download/taxeditor/stable/EDITTaxonomicEditor-UserManual.pdf";
35
		String url = "https://cybertaxonomy.eu/download/taxeditor/stable/EDITTaxonomicEditor-UserManual.pdf";
36 36

  
37 37
		try {
38 38
            WorkbenchUtility.openWebpage(new URL(url));
eu.etaxonomy.taxeditor.bulkeditor/p2.inf
1 1
instructions.configure=\
2
	addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
2
	addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
eu.etaxonomy.taxeditor.editor/p2.inf
1 1
instructions.configure=\
2
	addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
2
	addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
eu.etaxonomy.taxeditor.feature.platform/feature.xml
8 8
      arch="x86,x86_64">
9 9

  
10 10
   <url>
11
      <update label="EDIT Taxonomic Editor" url="http://wp5.e-taxonomy.eu/taxeditor/update"/>
11
      <update label="EDIT Taxonomic Editor" url="https://cybertaxonomy.eu/taxeditor/update"/>
12 12
   </url>
13 13

  
14 14
   <includes
eu.etaxonomy.taxeditor.help/html/gettingstarted/downloading_the_taxonomic_editor.html
9 9
 			<img src="../img/cybergate.jpg" alt="Platform Cybergate" />
10 10
 		</p>
11 11
		<p>You will be taken to the Taxonomic Editor Download Site.</p>
12
 		<p>Alternatively, you can access the download site directly by entering <a href="http://wp5.e-taxonomy.eu/downlaod/taxeditor">http://wp5.e-taxonomy.eu/downlaod/taxeditor</a> into the address bar of your browser.</p>
12
 		<p>Alternatively, you can access the download site directly by entering <a href="https://cybertaxonomy.eu/downlaod/taxeditor">https://cybertaxonomy.eu/downlaod/taxeditor</a> into the address bar of your browser.</p>
13 13
  	</li>
14 14
	<li>Click on the download link and then navigate to the latest version of the Taxonomic Editor 
15 15
	
eu.etaxonomy.taxeditor.help/p2.inf
1 1
instructions.configure=\
2
	addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
2
	addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
eu.etaxonomy.taxeditor.navigation/p2.inf
1 1
instructions.configure=\
2
	addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
2
	addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
eu.etaxonomy.taxeditor.printpublisher/p2.inf
1 1
instructions.configure=\
2
	addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
2
	addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
eu.etaxonomy.taxeditor.printpublisher/pom.xml
13 13
	
14 14
	<name>Printpublisher Bundle</name>
15 15
	<description />
16
	<url>http://wp5.e-taxonomy.eu/printpublisher</url>
16
	<url>http://cybertaxonomy.eu/printpublisher</url>
17 17

  
18 18
</project>
eu.etaxonomy.taxeditor.store/p2.inf
1 1
instructions.configure=\
2
	addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
2
	addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
3
	addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/translation/GoogleLanguageApiWrapper.java
1 1
/**
2 2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy 
3
* European Distributed Institute of Taxonomy
4 4
* http://www.e-taxonomy.eu
5
* 
5
*
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
......
21 21
 * @version 1.0
22 22
 * @deprecated Should not be used as the Google translation service is not free anymore
23 23
 */
24
@Deprecated
24 25
public class GoogleLanguageApiWrapper implements ITranslationServiceWrapper {
25 26

  
26 27
	/* (non-Javadoc)
......
30 31
	@Override
31 32
	public String translate(String text, Language source, Language target) throws LanguageNotSupportedException {
32 33
		// TODO make this configurable in preferences
33
		Translate.setHttpReferrer("http://wp5.e-taxonomy.eu");
34
		
34
		Translate.setHttpReferrer("http://cybertaxonomy.eu");
35

  
35 36
		String translated;
36 37
		try {
37 38
			translated = Translate.execute(text, getLanguageEquivalent(source), getLanguageEquivalent(target));
38 39
		} catch (Exception e) {
39 40
			throw new LanguageNotSupportedException(e.getMessage());
40 41
		}
41
		
42

  
42 43
		return translated;
43 44
	}
44 45

  
45 46
	/**
46 47
	 * @param source
47 48
	 * @return
48
	 * @throws LanguageNotSupportedException 
49
	 * @throws LanguageNotSupportedException
49 50
	 */
50 51
	private com.google.api.translate.Language getLanguageEquivalent(
51 52
			Language language) throws LanguageNotSupportedException {
52
		
53
		
53

  
54

  
54 55
		if(language.equals(Language.ENGLISH())){
55 56
			return com.google.api.translate.Language.ENGLISH;
56 57
		}
eu.etaxonomy.taxeditor/deploy_nightly.sh
5 5

  
6 6
PRODUCT_DIR="$WORKSPACE/eu.etaxonomy.taxeditor/target/products"
7 7

  
8
DEPLOYMENT_SERVER="wp5.e-taxonomy.eu"
8
DEPLOYMENT_SERVER="cybertaxonomy.eu"
9 9
DEPLOYMENT_DIR="/var/www/download/taxeditor/nightly"
10 10

  
11 11
# bash check if directory exists
eu.etaxonomy.taxeditor/pom.xml
11 11

  
12 12
  <name>EDIT Taxonomic Editor Product</name>
13 13
  <description>The EDIT Taxonomic Desktop Editor</description>
14
  <url>http://wp5.e-taxonomy.eu/taxeditor</url>
14
  <url>https://cybertaxonomy.eu/taxeditor</url>
15 15
  <properties>
16 16
    <product.id>eu.etaxonomy.taxeditor.product</product.id>
17 17
  </properties>
......
119 119
                <goal>sshexec</goal>
120 120
              </goals>
121 121
              <configuration>
122
                <url>scp://wp5.e-taxonomy.eu</url>
122
                <url>scp://cybertaxonomy.eu</url>
123 123
                <commands>
124 124
                  <command>rm -r /var/www/download/taxeditor/update/${update.dir}/*</command>
125 125
                </commands>
......
134 134
            </executions>
135 135
            <configuration>
136 136
              <fromDir>${project.build.directory}/repository</fromDir>
137
              <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
137
              <url>scpexe://cybertaxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
138 138
<!--               <includes> -->
139 139
<!--                 binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar -->
140 140
<!--               </includes> -->
141 141
              <!-- Comment out the above and uncomment the below to upload 
142 142
                all jars -->
143 143
              <includes>**/*</includes>
144
              <serverId>wp5.e-taxonomy.eu</serverId>
144
              <serverId>cybertaxonomy.eu</serverId>
145 145
            </configuration>
146 146
          </plugin>
147 147
        </plugins>
src/site/apt/getting-started.apt
119 119

  
120 120
** <eu.etaxonomy.taxeditor.printpublisher>
121 121

  
122
	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.
122
	This plugin is a frontend and GUI for the <cdmlib-print> module. Please see the {{{http://cybertaxonomy.eu/printpublisher/}according documentation}} for further information.
123 123

  
124 124
** <eu.etaxonomy.taxeditor.application>
125 125

  
src/site/fml/troubleshooting.fml
39 39
		<faq id="Launching_the_editor_from_eclipse_is_simply_not_working">
40 40
			<question>Launching the editor from eclipse is simply not working for me.</question>
41 41
			<answer>
42
				<p>This could be due to many reasons. Please have a look at the <a href="http://dev.e-taxonomy.eu/trac/wiki/TroubleshootingEditorLaunches">Troubleshooting Editor Launches</a> document on the developers wiki.</p>
42
				<p>This could be due to many reasons. Please have a look at the <a href="https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/TroubleshootingEditorLaunches">Troubleshooting Editor Launches</a> document on the developers wiki.</p>
43 43
			</answer>
44 44
		</faq>
45 45
		<faq id="No_application_id_has_been_found">

Also available in: Unified diff