Ignore:
Timestamp:
2005-04-15T09:11:36+12:00 (19 years ago)
Author:
kjdon
Message:

starting the changeover to Ant instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/README.txt

    r8428 r9687  
    1616------------------------------------------
    1717
    18 (cvs co gsdl3) (if not already done)
    19 cd gsdl3
    20 ./gs3-install.sh
    2118
    22 If you change the source and want to compile it again later, you can run 'make' then 'make install' from this directory.
     19Checkout the code:
    2320
    24 If you want to compile the test servlet, (useful is you are unsure whether Tomcat is working properly), go to gsdl3/web/WEB-INF/classes, and run 'javac TestServlet.java'.
     21cvs -d :pserver:[email protected]:2402/usr/local/global-cvs/gsdl-src co gsdl3
    2522
    26 Greenstone requires Java 1.4.
     23Build and install:
     24
     25Greenstone is built and installed using Ant (Apache's Java based build tool,
     26http://ant.apache.org). You will need a Java Development
     27Environment (1.4 or higher), and Ant installed to use Greenstone.
     28
     29In the gsdl3 directory, you can run ant which will give you a help message.
     30Running 'ant -projecthelp' gives a list of the targets that you can run - these
     31do various things like compile the source code, startup the server etc.
     32
     33For a first time install, run 'ant install'.
     34
     35The file build.properties contains various parameters that can be set by the user.
     36
    2737
    2838Running Greenstone:
    2939-------------------
    3040
    31 Run the script gs3-launch.sh from the gsdl3 directory. This starts up a Tomcat web server and a mysql database server. To shutdown, run gs3-launch.sh -shutdown
     41To startup the servers, run 'ant startup'. 'ant restart' and 'ant shutdown' restarts and shuts down the servers.
     42
    3243
    3344Using SOAP:
Note: See TracChangeset for help on using the changeset viewer.