Announcement Announcement Module
Collapse
No announcement yet.
How to view Grails source in eclipse/STS? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to view Grails source in eclipse/STS?

    I would like to attach grails source jars in eclipse/sts. It doesn't seem to let me - this is what i see when i tried to fix this:
    The jar of this class belongs to container "Grails Dependencies" which does not allow modification to source attachment on its entries.
    Does anyone know how to fix this? Thanks

  • #2
    zenmonkey,

    we currently don't support attaching source jars to entries of the Grails Dependencies classpath container. Could you please raise a JIRA for this and we'll add this in the next release.

    Thanks for pointing this out.

    Christian

    Comment


    • #3
      Done. Here is the link

      Thanks

      Comment


      • #4
        Originally posted by Christian Dupuis View Post
        zenmonkey,

        we currently don't support attaching source jars to entries of the Grails Dependencies classpath container. Could you please raise a JIRA for this and we'll add this in the next release.

        Thanks for pointing this out.

        Christian
        In STS jira this issue doesn't have a fix version yet : https://issuetracker.springsource.com/browse/STS-669 .
        Can you please fix this problem in STS 2.3.0.RELEASE?

        Comment


        • #5
          All,

          I just fixed this request and it will make it into STS 2.3.0.

          You can now configure source attachments on the entries of the Grails Classpath Container. The settings will be persisted into the .settings folder for your Grails project.

          Christian

          Comment


          • #6
            Hi guys,

            I'm newcomers in grails and STS , I see thats it's finally fixed in 2.3.1 it's consider as minor bug, so is there a solution for bypass this problem ? Personnaly I can't work without attach sources .

            Thanks

            STS 2.3.0 200912171331
            Grails 1.1.2

            Comment


            • #7
              Personnaly I can't work without attach sources.
              You can always update your STS 2.3.0 to the latest nightly snapshot from the following update site:

              http://www.springsource.com/snapshot/e3.5

              This will give you access to the source attachment fix.

              Let me know if that is an option for you.

              Cheers, Christian

              Comment


              • #8
                It works with the nightly.

                Thanks

                Comment

                Working...
                X