4 Replies Latest reply on Oct 17, 2008 8:12 AM by akostadinov

    buildmagic-tasks.jar

    akostadinov

      Hallo,

      where is buildmagic-tasks.jar got from? I see it in jbossas svn repo as a library but can't find any sources. Aren't we going to eventually stop using it?

      My problem with it is that it contains some old classes like org.jboss.logging.* which interfere with my changes to jboss server manager. Being in lib, the Logger class is loaded from it rather than the classpath I'm specifying for the server manager tasks.

      Do you think I can put it out of lib to some other directory and change the taskdefs to include it with a specified classpath? Any idea which should be that directory? tools/thirdparty?

        • 1. Re: buildmagic-tasks.jar
          pgier

          I moved the source to svn.
          https://svn.jboss.org/repos/labs/labs/jbossbuild/buildmagic/trunk/

          We are going to eventually stop using it. I just removed it from the aop build this week, but it's going to take some more time to remove it from the app server build without breaking everything. If you want to move it to a different directory that would be fine as long as ant can still find it to use the tasks.

          • 2. Re: buildmagic-tasks.jar
            akostadinov

            Thanks, I'm now trying the test suite. If I see no issues to the end, I'll commit the changes moving tools/lib/buildmagic-tasks.jar to tools/lib-ext/buildmagic-tasks.jar

            and
            --- tools/etc/buildmagic/buildmagic.ent (revision 79583)
            +++ tools/etc/buildmagic/buildmagic.ent (working copy)
            @@ -57,6 +57,7 @@



            +



            • 3. Re: buildmagic-tasks.jar
              akostadinov

              Second try with with the diff:

              --- tools/etc/buildmagic/buildmagic.ent (revision 79583)
              +++ tools/etc/buildmagic/buildmagic.ent (working copy)
              @@ -57,6 +57,7 @@
               <fileset dir="${project.tools}/lib">
               <include name="*.jar"/>
               </fileset>
              + <pathelement location="${project.tools}/lib-ext/buildmagic-tasks.jar"/>
               <pathelement location="${project.tools}/lib"/>
               <pathelement location="${project.tools}/etc"/>
               <pathelement location="${project.tools}"/>
              


              • 4. Re: buildmagic-tasks.jar
                akostadinov

                Committed revision 79633.

                I tested it works with JBoss AS trunk rev79434

                Btw, I'm seing the following suspicious files in tools/lib:
                org.eclipse.jdt.core_3.2.3.v_686_R32x.jar
                junit.jar
                jdtCompilerAdapter.jar
                jbossbuild.jar
                pretty.jar
                bsf.jar
                resolver.jar

                I think that these better go to the new lib-ext directory and be included in the required tasks' classpaths. No idea where are these used though. As well if the whole build and test suite get moved to maven eventually, these will go away with it.