ref #6158 avoid URL redirects
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 9 Mar 2018 14:42:57 +0000 (15:42 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 9 Mar 2018 14:42:57 +0000 (15:42 +0100)
16 files changed:
eu.etaxonomy.taxeditor.application/pom.xml
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/OpenExternalHelpHandler.java
eu.etaxonomy.taxeditor.bulkeditor/p2.inf
eu.etaxonomy.taxeditor.editor/p2.inf
eu.etaxonomy.taxeditor.feature.platform/feature.xml
eu.etaxonomy.taxeditor.help/html/gettingstarted/downloading_the_taxonomic_editor.html
eu.etaxonomy.taxeditor.help/p2.inf
eu.etaxonomy.taxeditor.navigation/p2.inf
eu.etaxonomy.taxeditor.printpublisher/p2.inf
eu.etaxonomy.taxeditor.printpublisher/pom.xml
eu.etaxonomy.taxeditor.store/p2.inf
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/translation/GoogleLanguageApiWrapper.java
eu.etaxonomy.taxeditor/deploy_nightly.sh
eu.etaxonomy.taxeditor/pom.xml
src/site/apt/getting-started.apt
src/site/fml/troubleshooting.fml

index d5589655cfabc07aafd7ad43de2e2f76c6b3d745..3f1434ff4d069fac61cfe1afbe9b8527b8b49ab1 100644 (file)
@@ -12,7 +12,7 @@
 
   <name>Application</name>
   <description>All plugins are combined into this application.</description>
-  <url>http://dev.e-taxonomy.eu/trac/wiki/TaxonomicEditor</url>
+  <url>https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/TaxonomicEditor</url>
 
   <properties>
    <timestamp>${maven.build.timestamp}</timestamp>
index 18cf4c77008f4c2f2dbc58cab5f59029fe74eb22..d4b1a3493148e2d838ce464b3111aaa1b23665dc 100644 (file)
@@ -32,7 +32,7 @@ public class OpenExternalHelpHandler extends AbstractHandler {
        /** {@inheritDoc} */
        @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
-               String url = "http://wp5.e-taxonomy.eu/download/taxeditor/stable/EDITTaxonomicEditor-UserManual.pdf";
+               String url = "https://cybertaxonomy.eu/download/taxeditor/stable/EDITTaxonomicEditor-UserManual.pdf";
 
                try {
             WorkbenchUtility.openWebpage(new URL(url));
index cdeccf81b31378deb46c70051d929cd0299fc65c..38a6b43771a829fdd9c22dd4122a6ac5c6f58e62 100644 (file)
@@ -1,3 +1,3 @@
 instructions.configure=\
-       addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
-       addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
\ No newline at end of file
+       addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
+       addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
\ No newline at end of file
index cdeccf81b31378deb46c70051d929cd0299fc65c..38a6b43771a829fdd9c22dd4122a6ac5c6f58e62 100644 (file)
@@ -1,3 +1,3 @@
 instructions.configure=\
-       addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
-       addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
\ No newline at end of file
+       addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
+       addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
\ No newline at end of file
index ea5b3e2698a6ac2cb2ca053cc88f3c7b41345bf1..4886e17769952e54be03e6e10d16cbd33769e74e 100644 (file)
@@ -8,7 +8,7 @@
       arch="x86,x86_64">
 
    <url>
-      <update label="EDIT Taxonomic Editor" url="http://wp5.e-taxonomy.eu/taxeditor/update"/>
+      <update label="EDIT Taxonomic Editor" url="https://cybertaxonomy.eu/taxeditor/update"/>
    </url>
 
    <includes
index 6a7ed0101b4fba5655e48add263dbe3f5b436931..66628ef453a9d210bb1dbcb1cdde752aecbe6be0 100644 (file)
@@ -9,7 +9,7 @@
                        <img src="../img/cybergate.jpg" alt="Platform Cybergate" />
                </p>
                <p>You will be taken to the Taxonomic Editor Download Site.</p>
-               <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>
+               <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>
        </li>
        <li>Click on the download link and then navigate to the latest version of the Taxonomic Editor 
        
index cdeccf81b31378deb46c70051d929cd0299fc65c..38a6b43771a829fdd9c22dd4122a6ac5c6f58e62 100644 (file)
@@ -1,3 +1,3 @@
 instructions.configure=\
-       addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
-       addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
\ No newline at end of file
+       addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
+       addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
\ No newline at end of file
index cdeccf81b31378deb46c70051d929cd0299fc65c..38a6b43771a829fdd9c22dd4122a6ac5c6f58e62 100644 (file)
@@ -1,3 +1,3 @@
 instructions.configure=\
-       addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
-       addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
\ No newline at end of file
+       addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
+       addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
\ No newline at end of file
index cdeccf81b31378deb46c70051d929cd0299fc65c..38a6b43771a829fdd9c22dd4122a6ac5c6f58e62 100644 (file)
@@ -1,3 +1,3 @@
 instructions.configure=\
-       addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
-       addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
\ No newline at end of file
+       addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
+       addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
\ No newline at end of file
index 00a66c23abf4dfbb416ed37a46c963f5a0118b91..c0cbf20803786cc669cfd413b4eb8c76b5e1463a 100644 (file)
@@ -13,6 +13,6 @@
        
        <name>Printpublisher Bundle</name>
        <description />
-       <url>http://wp5.e-taxonomy.eu/printpublisher</url>
+       <url>http://cybertaxonomy.eu/printpublisher</url>
 
 </project>
index cdeccf81b31378deb46c70051d929cd0299fc65c..38a6b43771a829fdd9c22dd4122a6ac5c6f58e62 100644 (file)
@@ -1,3 +1,3 @@
 instructions.configure=\
-       addRepository(type:0,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);\
-       addRepository(type:1,location:http${#58}//wp5.e-taxonomy.eu/taxeditor/update);
\ No newline at end of file
+       addRepository(type:0,location:http${#58}//cybertaxonomy.eu/taxeditor/update);\
+       addRepository(type:1,location:http${#58}//cybertaxonomy.eu/taxeditor/update);
\ No newline at end of file
index f96bb1b6447bd10feabbf76504f4d8f8847ee5ef..d9d70b0f2cbfce75d7c7d83af1f9353c89bd4b56 100644 (file)
@@ -1,8 +1,8 @@
 /**
 * Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
+* European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
-* 
+*
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
@@ -21,6 +21,7 @@ import eu.etaxonomy.cdm.model.common.Language;
  * @version 1.0
  * @deprecated Should not be used as the Google translation service is not free anymore
  */
+@Deprecated
 public class GoogleLanguageApiWrapper implements ITranslationServiceWrapper {
 
        /* (non-Javadoc)
@@ -30,27 +31,27 @@ public class GoogleLanguageApiWrapper implements ITranslationServiceWrapper {
        @Override
        public String translate(String text, Language source, Language target) throws LanguageNotSupportedException {
                // TODO make this configurable in preferences
-               Translate.setHttpReferrer("http://wp5.e-taxonomy.eu");
-               
+               Translate.setHttpReferrer("http://cybertaxonomy.eu");
+
                String translated;
                try {
                        translated = Translate.execute(text, getLanguageEquivalent(source), getLanguageEquivalent(target));
                } catch (Exception e) {
                        throw new LanguageNotSupportedException(e.getMessage());
                }
-               
+
                return translated;
        }
 
        /**
         * @param source
         * @return
-        * @throws LanguageNotSupportedException 
+        * @throws LanguageNotSupportedException
         */
        private com.google.api.translate.Language getLanguageEquivalent(
                        Language language) throws LanguageNotSupportedException {
-               
-               
+
+
                if(language.equals(Language.ENGLISH())){
                        return com.google.api.translate.Language.ENGLISH;
                }
index 8da863d4c96ad70b41191032dfed7d263d85e597..0b1fa5b54707a8326f672cb8d742a2ad5a0ca0c3 100755 (executable)
@@ -5,7 +5,7 @@
 
 PRODUCT_DIR="$WORKSPACE/eu.etaxonomy.taxeditor/target/products"
 
-DEPLOYMENT_SERVER="wp5.e-taxonomy.eu"
+DEPLOYMENT_SERVER="cybertaxonomy.eu"
 DEPLOYMENT_DIR="/var/www/download/taxeditor/nightly"
 
 # bash check if directory exists
index fb04f6c87fff8e5c7496cb9e7e694f4f1e316381..5b851936f5ad374273b63727a1006d74f16eccec 100644 (file)
@@ -11,7 +11,7 @@
 
   <name>EDIT Taxonomic Editor Product</name>
   <description>The EDIT Taxonomic Desktop Editor</description>
-  <url>http://wp5.e-taxonomy.eu/taxeditor</url>
+  <url>https://cybertaxonomy.eu/taxeditor</url>
   <properties>
     <product.id>eu.etaxonomy.taxeditor.product</product.id>
   </properties>
                 <goal>sshexec</goal>
               </goals>
               <configuration>
-                <url>scp://wp5.e-taxonomy.eu</url>
+                <url>scp://cybertaxonomy.eu</url>
                 <commands>
                   <command>rm -r /var/www/download/taxeditor/update/${update.dir}/*</command>
                 </commands>
             </executions>
             <configuration>
               <fromDir>${project.build.directory}/repository</fromDir>
-              <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
+              <url>scpexe://cybertaxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
 <!--               <includes> -->
 <!--                 binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar -->
 <!--               </includes> -->
               <!-- Comment out the above and uncomment the below to upload 
                 all jars -->
               <includes>**/*</includes>
-              <serverId>wp5.e-taxonomy.eu</serverId>
+              <serverId>cybertaxonomy.eu</serverId>
             </configuration>
           </plugin>
         </plugins>
index 5f25f32d30ff20ee9e2711a54e898af7815f5209..05533184727f2e6974f67f2bf6390cf104b59148 100644 (file)
@@ -119,7 +119,7 @@ $ mvn validate
 
 ** <eu.etaxonomy.taxeditor.printpublisher>
 
-       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.
+       This plugin is a frontend and GUI for the <cdmlib-print> module. Please see the {{{http://cybertaxonomy.eu/printpublisher/}according documentation}} for further information.
 
 ** <eu.etaxonomy.taxeditor.application>
 
index d018ce54bd70f09e9d6690e3932b4c7c72887331..5c7802cac85cb7bcfcbf2fc5f6cbd2fa12140401 100644 (file)
@@ -39,7 +39,7 @@
                <faq id="Launching_the_editor_from_eclipse_is_simply_not_working">
                        <question>Launching the editor from eclipse is simply not working for me.</question>
                        <answer>
-                               <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>
+                               <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>
                        </answer>
                </faq>
                <faq id="No_application_id_has_been_found">