Spring Tool Suite
  1. Spring Tool Suite
  2. STS-1856

As a developer, I would like to be able to import Spring Security using Gradle Integration

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 2.7.0.M2
    • Fix Version/s: 2.9.0.M1
    • Component/s: GRADLE
    • Labels:
      None

      Description

      First I would like to say that the Gradle integration is coming along great and I hope that it continues to progress so quickly. Thank you for all your hard work!

      I am one of the Spring Security committers and would love to be able to use STS Gradle integration to import Spring Security. Below are a list of things I would like to be able to 'just do'. Please note that all of these things are done when using standard Gradle (i.e. running gradle eclipse) which might be useful for helping understand what I am looking for.

      • Everything should compile. One of the things I noticed is that spring-security-core's src/test/java is normally added to other project's (i.e. spring-security-web) classpath. However, when running with STS Gradle integration I get this error:

        The container 'Gradle Dependencies' references non existing library '/home/rwinch/spring-security/core/build/classes/test'

      • All tests should pass
      • AspectJ integration should work (this is necessary for the tests to pass)
      • All the war sample projects should be able to be ran using WTP (i.e. WTP integration)
        • It would be nice if the context root of the application could be specified. Currently we configure WTP context root using the context root configured for the Jetty plugin.
      • It would be nice if the eclipse projects were renamed as they are in the standard build. For example when importing the project using STS I get the project name spring-security.spring-security-crypto, but when using standard Gradle the name is spring-security-crypto
      • Use EGit to clone the project. Then support Import project...->Use the new projects wizard to invoke Import -> Gradle project

      Bonus Features:

      Thanks again for all the hard work and let me know if there is anything I can do to assist.

      Rob Winch

        Activity

          People

          • Assignee:
            Kris De Volder (c)
            Reporter:
            Rob Winch (c)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: