3 Replies Latest reply on Sep 6, 2007 1:49 AM by theute

    magic ant build?

    chenjingjing

      Can anybody explain how project is built?

      I just wander where the resource files(jsp, lib etc.) come from. and reading the ant file seems too tough to me.

        • 1. Re: magic ant build?
          peterj

          Download the source, go to the build directory, and enter (on Windows):

          build

          or on Linux:

          ./build.sh

          I have always used a 1.5 JDK, I think that 1.4.2 also works (haven't tried that in a year), not sure if 1.6 will work. You also need a network connection because the third party libraries are pulled down on the first build.

          • 2. Re: magic ant build?
            chenjingjing

            Thank you for your help

            what I really concern is that how the build.xml is writen. what the targets really mean and where is the magicbuild file and where is the jsp and other resource coming from.

            • 3. Re: magic ant build?
              theute

              What Peter implicitly meant is that you don't have to understand how it works under the hood, those scripts are only used to build our stuff.

              If you are worried about building your own portlets, you can use anything you want (anything that builds a war will do it, call it ant, call it maven, call it eclipse WTP...)