1 2 Previous Next 21 Replies Latest reply on Apr 3, 2007 9:30 AM by pgier Go to original post
      • 15. Re: Remove eclipse files from SVN?
        kconner

         

        "adrian@jboss.org" wrote:
        I hate scripts. I always preferred make (declaritive) to ant (scripts).

        Well, I was thinking more along the lines of having maven generate it :-)

        "adrian@jboss.org" wrote:
        I want to download things and have it work, not waste time
        baby sitting eclipse builds (like I do now :-( )
        or remembering what order of magic incantations I need to get to a working build
        (besides rm -rf * and start again :-)

        Sounds as if you need to use emacs + mvn command line :-)

        "adrian@jboss.org" wrote:
        If the eclipse:eclipse was part of every build when somebody changed the pom
        then these would automatically get checked in with the pom update (even
        if they don't use eclipse) and it would be end of story.

        Excluding other local changes of course ;-)
        "adrian@jboss.org" wrote:
        Well, unless you need to do the mvn build to pull down thirdparty dependencies
        and then you are back to figuring out how to get eclipse to build it,
        i.e. whether it is a broken build or eclipse being stupid again. :-)

        I can see we are not going to agree on this. ;-)


        • 16. Re: Remove eclipse files from SVN?
          kconner

           

          "adrian@jboss.org" wrote:
          I guess it is using HashSets or HashMaps internally so the order from the pom is not being conserved.

          V.Annoying :-)

          rofl

          • 17. Re: Remove eclipse files from SVN?

             

            "Kevin.Conner@jboss.com" wrote:
            "adrian@jboss.org" wrote:
            I hate scripts. I always preferred make (declaritive) to ant (scripts).

            Well, I was thinking more along the lines of having maven generate it :-)


            But I don't want any extra steps that are unnecessary.
            Shelling out to the command line defaults the whole point of using an IDE.


            "adrian@jboss.org" wrote:
            I want to download things and have it work, not waste time
            baby sitting eclipse builds (like I do now :-( )
            or remembering what order of magic incantations I need to get to a working build
            (besides rm -rf * and start again :-)

            Sounds as if you need to use emacs + mvn command line :-)


            I was probably more productive when I used wordpad and cygwin,
            but then I broke the build a lot when I forgot to commit stuff. :-)

            • 18. Re: Remove eclipse files from SVN?
              pgier

              Is this plugin (m2eclipse) not an option?

              If I do a clean checkout of microcontainer, then delete the .project and .classpath files. Then create a project in eclipse and right click (maven-> enable). Eclipse sets up the project and classpath settings for me.

              This way we could remove the .project and .classpath files from the command line, and not have to use eclipse:eclipse from the command line. Assuming that this plugin is installed in eclipse, the steps could just be:
              1. Check out the project from svn using subclipse.
              2. Right click on the project and enable maven.
              3. (Optional) Change local preferences as needed.

              Am I missing something that is required in the setup of the project?

              It didn't work for me when I tried to set up the individual modules of microcontainer as eclipse projects, so I guess this part might still require eclipse:eclipse.

              • 19. Re: Remove eclipse files from SVN?
                kconner

                 

                "pgier" wrote:
                Is this plugin (<a href="http://m2eclipse.codehaus.org/">m2eclipse</a>) not an option?

                I must admit that I have never tried it. I am a big fan of maven/subversion/eclipse but I do tend to keep them separate :-)

                Must give it a try though.

                • 20. Re: Remove eclipse files from SVN?

                   

                  "pgier" wrote:
                  Is this plugin (<a href="http://m2eclipse.codehaus.org/">m2eclipse</a>) not an option?


                  Does that work with eclipse project sets?

                  • 21. Re: Remove eclipse files from SVN?
                    pgier

                     

                    "adrian@jboss.org" wrote:
                    "pgier" wrote:
                    Is this plugin (<a href="http://m2eclipse.codehaus.org/">m2eclipse</a>) not an option?


                    Does that work with eclipse project sets?


                    I don't think so. It just treats microcontainer as one big project.

                    1 2 Previous Next