3 Replies Latest reply on Oct 3, 2005 5:43 PM by acoliver

    mail.har has duplicate classes

    starksm64

      I was unzipping the current jboss-mail mail.har and unzip is saying that there are duplicate classes in this:

      [starksm@banshee9100 har]$ unzip ../mail.har
      Archive: ../mail.har
      ...
      replace org/jboss/mail/mailbox/hn/FolderDO.class? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
       inflating: org/jboss/mail/mailbox/hn/FolderDO.class
      replace org/jboss/mail/mailbox/hn/HnFolder$addMessage_N7782077460324101420.class
      ? [y]es, [n]o, [A]ll, [N]one, [r]ename: n
      replace org/jboss/mail/mailbox/hn/HnFolder$commit_4252841159663424633.class? [y]es, [n]o, [A]ll, [N]one, [r]ename:
      



        • 1. Re: mail.har has duplicate classes
          acoliver

          Uhh...where did you get a non-unravled copy? did you build this yourself? IF so what target did you use?

          • 2. Re: mail.har has duplicate classes
            starksm64

            I checked out the head jboss-mail and built is using jdk5 with jboss.home pointing to a 4.0 branch workspace. The mail.har is the jboss-mail/build/deploy/mail.har result of running the default target.

            • 3. Re: mail.har has duplicate classes
              acoliver

              Yeah....I guess we need to change the default target. Oh wow...this post should be titled "hey dumbasses, update your build so the default target does something"

              If you want to do a build, run "ant dist" and then java -install build/dist/install.jar

              ant -projecthelp will give you other options.

              There is a dev-deploy but you have to have a config.

              Mike has created a test target that uses a properties file and generates the templates which is used for the unit tests, but you must run build.bat/sh test (I haven't investigated this yet).