This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * http://quartz-scheduler.org/api/2.2.1/ (301) migrated to: https://www.quartz-scheduler.org/api/2.2.1/ ([https](https://quartz-scheduler.org/api/2.2.1/) result 404). ## Fixed Success These URLs were fixed successfully. * http://dist.springsource.com/snapshot/STS/nightly-distributions.html migrated to: https://dist.springsource.com/snapshot/STS/nightly-distributions.html ([https](https://dist.springsource.com/snapshot/STS/nightly-distributions.html) result 200). * http://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ migrated to: https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ([https](https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/) result 200). * http://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ migrated to: https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ([https](https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/) result 200). * http://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ migrated to: https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ ([https](https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/) result 200). * http://docs.oracle.com/javaee/7/api/ migrated to: https://docs.oracle.com/javaee/7/api/ ([https](https://docs.oracle.com/javaee/7/api/) result 200). * http://docs.oracle.com/javase/8/docs/api/ migrated to: https://docs.oracle.com/javase/8/docs/api/ ([https](https://docs.oracle.com/javase/8/docs/api/) result 200). * http://fasterxml.github.io/jackson-core/javadoc/2.9/ migrated to: https://fasterxml.github.io/jackson-core/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-core/javadoc/2.9/) result 200). * http://fasterxml.github.io/jackson-databind/javadoc/2.9/ migrated to: https://fasterxml.github.io/jackson-databind/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.9/) result 200). * http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ migrated to: https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.9/) result 200). * http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ migrated to: https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ([https](https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/) result 200). * http://issues.gradle.org/browse/GRADLE-1116 migrated to: https://issues.gradle.org/browse/GRADLE-1116 ([https](https://issues.gradle.org/browse/GRADLE-1116) result 200). * http://projectreactor.io/docs/core/release/api/ migrated to: https://projectreactor.io/docs/core/release/api/ ([https](https://projectreactor.io/docs/core/release/api/) result 200). * http://tiles.apache.org/framework/apidocs/ migrated to: https://tiles.apache.org/framework/apidocs/ ([https](https://tiles.apache.org/framework/apidocs/) result 200). * http://tiles.apache.org/tiles-request/apidocs/ migrated to: https://tiles.apache.org/tiles-request/apidocs/ ([https](https://tiles.apache.org/tiles-request/apidocs/) result 200). * http://www.apache.org/licenses/LICENSE-2.0 migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200). * http://www.eclipse.org/ajdt/downloads/ migrated to: https://www.eclipse.org/ajdt/downloads/ ([https](https://www.eclipse.org/ajdt/downloads/) result 200). * http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ migrated to: https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ([https](https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/) result 200). * http://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ migrated to: https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/ ([https](https://www.reactive-streams.org/reactive-streams-1.0.1-javadoc/) result 200). * http://docs.spring.io/spring-framework/docs migrated to: https://docs.spring.io/spring-framework/docs ([https](https://docs.spring.io/spring-framework/docs) result 301). * http://download.eclipse.org/eclipse/downloads migrated to: https://download.eclipse.org/eclipse/downloads ([https](https://download.eclipse.org/eclipse/downloads) result 301). * http://glassfish.java.net/nonav/docs/v3/api/ migrated to: https://glassfish.java.net/nonav/docs/v3/api/ ([https](https://glassfish.java.net/nonav/docs/v3/api/) result 301). * http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ migrated to: https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ ([https](https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/) result 301). * http://projects.spring.io/spring-framework migrated to: https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework) result 301). * http://springframework.org/schema migrated to: https://springframework.org/schema ([https](https://springframework.org/schema) result 301). * http://ehcache.org/apidocs/2.10.4 (301) migrated to: https://www.ehcache.org/apidocs/2.10.4 ([https](https://ehcache.org/apidocs/2.10.4) result 301). * http://spring.io/tools/sts/all migrated to: https://spring.io/tools/sts/all ([https](https://spring.io/tools/sts/all) result 302).
123 lines
4.4 KiB
Batchfile
123 lines
4.4 KiB
Batchfile
@echo off
|
|
|
|
set CURRENT_DIR=%~dp0
|
|
cd %CURRENT_DIR%
|
|
|
|
cls
|
|
|
|
echo.
|
|
echo -----------------------------------------------------------------------
|
|
echo Spring Framework - Eclipse/STS project import guide
|
|
echo.
|
|
echo This script will guide you through the process of importing the Spring
|
|
echo Framework projects into Eclipse or the Spring Tool Suite (STS). It is
|
|
echo recommended that you have a recent version of Eclipse or STS. As a bare
|
|
echo minimum you will need Eclipse with full Java 8 support, the AspectJ
|
|
echo Development Tools (AJDT), and the Groovy Compiler.
|
|
echo.
|
|
echo If you need to download and install Eclipse or STS, please do that now
|
|
echo by visiting one of the following sites:
|
|
echo.
|
|
echo - Eclipse downloads: https://download.eclipse.org/eclipse/downloads
|
|
echo - STS downloads: https://spring.io/tools/sts/all
|
|
echo - STS nightly builds: https://dist.springsource.com/snapshot/STS/nightly-distributions.html
|
|
echo - ADJT: https://www.eclipse.org/ajdt/downloads/
|
|
echo - Groovy Eclipse: https://github.com/groovy/groovy-eclipse/wiki
|
|
echo.
|
|
echo Otherwise, press enter and we'll begin.
|
|
|
|
pause
|
|
|
|
REM this command:
|
|
REM - wipes out any existing Eclipse metadata
|
|
REM - generates OXM test classes to avoid errors on import into Eclipse
|
|
REM - generates metadata for all subprojects
|
|
REM - skips metadata gen for the root project (-x :eclipse) to work
|
|
REM around Eclipse's inability to import hierarchical project structures
|
|
REM SET COMMAND="./gradlew --no-daemon cleanEclipse :spring-oxm:compileTestJava eclipse -x :eclipse"
|
|
SET COMMAND=gradlew --no-daemon cleanEclipse :spring-oxm:compileTestJava eclipse -x :eclipse
|
|
|
|
echo.
|
|
echo -----------------------------------------------------------------------
|
|
echo STEP 1: Generate subproject Eclipse metadata
|
|
echo.
|
|
echo The first step will be to generate Eclipse project metadata for each
|
|
echo of the spring-* subprojects. This happens via the built-in
|
|
echo "Gradle wrapper" script (./gradlew in this directory). If this is your
|
|
echo first time using the Gradle wrapper, this step may take a few minutes
|
|
echo while a Gradle distribution is downloaded for you.
|
|
echo.
|
|
echo The command run will be:
|
|
echo.
|
|
echo %COMMAND%
|
|
echo.
|
|
echo Press enter when ready.
|
|
|
|
pause
|
|
|
|
call %COMMAND%
|
|
if not "%ERRORLEVEL%" == "0" exit /B %ERRORLEVEL%
|
|
|
|
echo.
|
|
echo -----------------------------------------------------------------------
|
|
echo STEP 2: Import subprojects into Eclipse/STS
|
|
echo.
|
|
echo Within Eclipse/STS, do the following:
|
|
echo.
|
|
echo File ^> Import... ^> Existing Projects into Workspace
|
|
echo ^> When prompted for the 'root directory', provide %CURRENT_DIR%
|
|
echo ^> Press enter. You will see the modules show up under "Projects"
|
|
echo ^> All projects should be selected/checked. Click Finish.
|
|
echo ^> When the project import is complete, you should have no errors.
|
|
echo.
|
|
echo When the above is complete, return here and press the enter key.
|
|
|
|
pause
|
|
|
|
set COMMAND=gradlew --no-daemon :eclipse
|
|
|
|
echo.
|
|
echo -----------------------------------------------------------------------
|
|
echo STEP 3: generate root project Eclipse metadata
|
|
echo.
|
|
echo Unfortunately, Eclipse does not allow for importing project
|
|
echo hierarchies, so we had to skip root project metadata generation in the
|
|
echo during step 1. In this step we simply generate root project metadata
|
|
echo so you can import it in the next step.
|
|
echo.
|
|
echo The command run will be:
|
|
echo.
|
|
echo %COMMAND%
|
|
echo.
|
|
echo Press the enter key when ready.
|
|
pause
|
|
|
|
call %COMMAND%
|
|
if not "%ERRORLEVEL%" == "0" exit /B %ERRORLEVEL%
|
|
|
|
echo.
|
|
echo -----------------------------------------------------------------------
|
|
echo STEP 4: Import root project into Eclipse/STS
|
|
echo.
|
|
echo Follow the project import steps listed in step 2 above to import the
|
|
echo root project.
|
|
echo.
|
|
echo Press enter when complete, and move on to the final step.
|
|
|
|
pause
|
|
|
|
echo.
|
|
echo -----------------------------------------------------------------------
|
|
echo STEP 5: Enable Git support for all projects
|
|
echo.
|
|
echo - In the Eclipse/STS Package Explorer, select all spring* projects.
|
|
echo - Right-click to open the context menu and select Team ^> Share Project...
|
|
echo - In the Share Project dialog that appears, select Git and press Next
|
|
echo - Check "Use or create repository in parent folder of project"
|
|
echo - Click Finish
|
|
echo.
|
|
echo When complete, you'll have Git support enabled for all projects.
|
|
echo.
|
|
echo You're ready to code! Goodbye!
|
|
|