4 Replies Latest reply on Jan 20, 2009 8:45 AM by itsme

    .svn Folder out of EAR

    thanz

      Hello!

      We work with Jboss 5, Eclipse and Subversion(Version Control System).
      When i deploy my Application the .svn-Folders from Subversion are in the
      EAR's. But there is no use for them there. And to reduce the sizes of the
      EAR's i would like to take them out.

      Anyone knows a way how to tell JBoss not to put the .svn-Folders in the EAR's ?

        • 1. Re: .svn Folder out of EAR
          jaikiran

           

          Anyone knows a way how to tell JBoss not to put the .svn-Folders in the EAR's ?


          Its not JBoss which creates and puts those folders in the EARs :) Since you are using Eclipse, i guess its the IDE which is doing this. Someone with some knowledge about IDEs might be able to help.


          • 2. Re: .svn Folder out of EAR
            itsme

            You must exclude all .svn folders from the build via the project properties settings in eclipse. Look for the buildpath settings and exclude all .svn folders from build by using a pattern (i.e. **/.svn).

            Hope this helps in a way.

            • 3. Re: .svn Folder out of EAR
              thanz

              In the projekt properties there is an "Java Build Path".

              But in there i just have "Source" , "Projects" , "Libraries", "Order and Export".

              And nowhere there i can tell to exclude the .svn folders :(

              • 4. Re: .svn Folder out of EAR
                itsme

                Setting "Java Build Path", tab "Source" you can see all source folders of the current project. You can add/remove source folders as well as configure files to be excluded/included in build by expanding the nodes of your source folders (usually src) and editing the node "Excluded". Add here a pattern like "**/.svn/**" and you're done.

                We're using this style over three years now.