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). # HTTP URLs that Could Not Be Fixed These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * http://aopalliance.sourceforge.net/doc/ (200) migrated to: http://aopalliance.sourceforge.net/doc/ ([https](https://aopalliance.sourceforge.net/doc/) result AnnotatedConnectException). # 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://jira.codehaus.org/browse/JIBX-465 (UnknownHostException) migrated to: https://jira.codehaus.org/browse/JIBX-465 ([https](https://jira.codehaus.org/browse/JIBX-465) result UnknownHostException). * http://quartz-scheduler.org/api/2.2.0/ (301) migrated to: https://www.quartz-scheduler.org/api/2.2.0/ ([https](https://quartz-scheduler.org/api/2.2.0/) result 404). ## Fixed Success These URLs were fixed successfully. * http://commons.apache.org/proper/commons-codec/apidocs/ migrated to: https://commons.apache.org/proper/commons-codec/apidocs/ ([https](https://commons.apache.org/proper/commons-codec/apidocs/) result 200). * http://commons.apache.org/proper/commons-dbcp/apidocs/ migrated to: https://commons.apache.org/proper/commons-dbcp/apidocs/ ([https](https://commons.apache.org/proper/commons-dbcp/apidocs/) result 200). * http://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ migrated to: https://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ ([https](https://commons.apache.org/proper/commons-lang/javadocs/api-2.5/) result 200). * 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-dataformat-xml/javadoc/2.3.0/ migrated to: https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.3.0/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.3.0/) 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://portals.apache.org/pluto/portlet-2.0-apidocs/ migrated to: https://portals.apache.org/pluto/portlet-2.0-apidocs/ ([https](https://portals.apache.org/pluto/portlet-2.0-apidocs/) 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.txt migrated to: https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) 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://ehcache.org/apidocs/ (301) migrated to: https://www.ehcache.org/apidocs/ ([https](https://ehcache.org/apidocs/) result 200). * http://static.springframework.org/spring-framework/docs (301) migrated to: https://docs.spring.io/spring-framework/docs ([https](https://static.springframework.org/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://fasterxml.github.com/jackson-core/javadoc/2.3.0/ migrated to: https://fasterxml.github.com/jackson-core/javadoc/2.3.0/ ([https](https://fasterxml.github.com/jackson-core/javadoc/2.3.0/) result 301). * http://fasterxml.github.com/jackson-databind/javadoc/2.3.0/ migrated to: https://fasterxml.github.com/jackson-databind/javadoc/2.3.0/ ([https](https://fasterxml.github.com/jackson-databind/javadoc/2.3.0/) 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://spring.io/tools/sts/all migrated to: https://spring.io/tools/sts/all ([https](https://spring.io/tools/sts/all) result 302).
136 lines
4.1 KiB
Bash
Executable File
136 lines
4.1 KiB
Bash
Executable File
cd `dirname $0`
|
|
clear
|
|
cat <<EOM
|
|
|
|
------------------------------------------------------------------------
|
|
Spring Framework - Eclipse/STS Project Import Guide
|
|
|
|
This script will guide you through the process of importing the Spring
|
|
Framework projects into Eclipse or the Spring Tool Suite (STS). It is
|
|
recommended that you have a recent version of Eclipse or STS. As a bare
|
|
minimum you will need Eclipse with full Java 8 support, the AspectJ
|
|
Development Tools (AJDT), and the Groovy Compiler.
|
|
|
|
This script has been tested against:
|
|
|
|
- STS: 3.6.3.RELEASE (Eclipse Luna SR1 4.4.1)
|
|
- AJDT: 2.2.4.e44x-20141118-0700 (Luna 4.4)
|
|
|
|
If you need to download and install Eclipse or STS, please do that now
|
|
by visiting one of the following sites:
|
|
|
|
- Eclipse downloads: https://download.eclipse.org/eclipse/downloads
|
|
- STS downloads: https://spring.io/tools/sts/all
|
|
- STS nightly builds: https://dist.springsource.com/snapshot/STS/nightly-distributions.html
|
|
|
|
If you need to install a recent CI build for AJDT (i.e., so that the
|
|
spring-aspects module properly compiles in Eclipse/STS), click on the
|
|
"Artifacts" tab of a successful CI build and copy the link to the
|
|
"update site" which you can then use to install or update AJDT within
|
|
Eclipse/STS.
|
|
|
|
- AJDT CI builds: https://build.spring.io/browse/AJDT-AE44
|
|
|
|
Once Eclipse/STS is installed, press enter, and we'll begin.
|
|
EOM
|
|
|
|
read
|
|
|
|
# this command:
|
|
# - wipes out any existing Eclipse metadata
|
|
# - generates OXM test classes to avoid errors on import into Eclipse
|
|
# - generates metadata for all subprojects
|
|
# - skips metadata gen for the root project (-x :eclipse) to work
|
|
# around Eclipse's inability to import hierarchical project structures
|
|
COMMAND="./gradlew cleanEclipse :spring-oxm:compileTestJava eclipse -x :eclipse"
|
|
|
|
cat <<EOM
|
|
|
|
------------------------------------------------------------------------
|
|
STEP 1: Generate subproject Eclipse metadata
|
|
|
|
The first step will be to generate Eclipse project metadata for each of
|
|
the spring-* subprojects. This happens via the built-in "Gradle wrapper"
|
|
script (./gradlew in this directory). If this is your first time using
|
|
the Gradle wrapper, this step may take a few minutes while a Gradle
|
|
distribution is downloaded for you.
|
|
|
|
The command run will be:
|
|
|
|
$COMMAND
|
|
|
|
Press enter when ready.
|
|
EOM
|
|
|
|
read
|
|
|
|
$COMMAND || exit
|
|
|
|
cat <<EOM
|
|
|
|
------------------------------------------------------------------------
|
|
STEP 2: Import subprojects into Eclipse/STS
|
|
|
|
Within Eclipse/STS, do the following:
|
|
|
|
- File > Import... > Existing Projects into Workspace
|
|
- When prompted for the 'root directory', provide $PWD.
|
|
- Press enter. You will see the modules show up under "Projects".
|
|
- All projects should be selected/checked. Click Finish.
|
|
- When the project import is complete, you should have no errors.
|
|
|
|
When the above is complete, return here and press the enter key.
|
|
EOM
|
|
|
|
read
|
|
|
|
COMMAND="./gradlew :eclipse"
|
|
|
|
cat <<EOM
|
|
|
|
------------------------------------------------------------------------
|
|
STEP 3: Generate root project Eclipse metadata
|
|
|
|
Unfortunately, Eclipse does not support importing project hierarchies,
|
|
so we had to skip root project metadata generation during step 1. In
|
|
this step we simply generate root project metadata so that you can
|
|
import it in the next step.
|
|
|
|
The command run will be:
|
|
|
|
$COMMAND
|
|
|
|
Press the enter key when ready.
|
|
EOM
|
|
|
|
read
|
|
|
|
$COMMAND || exit
|
|
|
|
cat <<EOM
|
|
------------------------------------------------------------------------
|
|
STEP 4: Import root project into Eclipse/STS
|
|
|
|
Follow the project import steps listed in step 2 above to import the
|
|
root "spring" project.
|
|
|
|
Press enter when complete, and move on to the final step.
|
|
EOM
|
|
|
|
read
|
|
|
|
cat <<EOM
|
|
------------------------------------------------------------------------
|
|
STEP 5: Enable Git support for all projects
|
|
|
|
- In the Eclipse/STS Package Explorer, select all spring* projects.
|
|
- Right-click to open the context menu and select Team > Share Project...
|
|
- In the Share Project dialog that appears, select Git and press Next.
|
|
- Check "Use or create repository in parent folder of project".
|
|
- Click Finish.
|
|
|
|
When complete, you'll have Git support enabled for all projects.
|
|
|
|
You're ready to code! Goodbye!
|
|
EOM
|