metacat / build.xml @ 2127

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision
# Date Author Comment
2118 04/13/2004 10:54 AM Duane Costa

Add install-sql property for MS SQL Server
Add copy task to harvester target

2103 04/02/2004 02:18 PM Matt Jones

Updated build.xml to add targets for doing the 1.4 database sql upgrades.
Also note I made it work with both oracle and sql, and note that the MS
SQL Server sql scripts seem to be lacking -- some are missing. Need to
resolve this before release.

2059 03/24/2004 09:21 AM Duane Costa

Changes to harvester targets

2054 03/17/2004 03:47 PM sgarg

Made changes so that *.gif and *.png are copied without filtering.

2053 03/17/2004 03:14 PM sgarg

Debug level was changed and a few extra lines were added in last commit.
Restored those to previous values.

2052 03/17/2004 03:04 PM sgarg

Added target for installing skins. Target name is install-skin. It is dependent on init. It take skin name as input from user, creates a directory in skins directory and copies files to that directory.

2044 03/15/2004 11:45 AM Jing Tao

In test client package, get rid of HttpClient in parameter. Because, http client has cookies and we couldn't test session id.

2011 01/30/2004 12:44 PM Chris Jones

In order to use tomcat five, a couple of changes in web.xml need to take place.
I'm adding in web.xml.tomcat5 as a choice with the changes.

1990 01/06/2004 06:42 PM Matt Jones

Changing version in build in preparation for a release.

1986 12/30/2003 09:56 AM Matt Jones

Removed obsolete SRB support files that are no longer used.

1954 12/09/2003 11:07 PM Matt Jones

Build changes that allow the registry install dependency on the beta
6 stylesheet converters to be automatically satisfied. Now, if the
webmdentry module hasn't been checked out, it is, but otherwise the
checkout is skipped. A similar technique could be used for the EML...

1952 12/05/2003 04:42 PM Matt Jones

New build system that creates a war file and deploys it to tomcat. Also
updated the web.xml files so that a better servlet path is used. Now, by
default, the servlet path will be: /knb/metacat (as opposed to the
prior servlet path which was /knb/servlet/metacat and depended on the...

1951 12/05/2003 01:21 PM Matt Jones

Moved the file from the jar file to now be located in
the tomcat context directory in WEB-INF. Now the metacat configuration is
editable in place. This change depends on a new class in the
utilities module, so be sure you do a "clean" build in metacat so that you...

1950 12/05/2003 07:48 AM Duane Costa

Add harvester targets

1941 11/26/2003 08:51 AM brooke

added conditional setting of tomcat servlet.jar path, based on tomcat version in build properties

1939 11/24/2003 04:48 PM brooke

overhaul of ant build file. removed duplicate code for getting dtds and schema. Renamed these targets, pulled all code for copying xsl into a single target (still need separate targets for getting beta6 eml files nad eml2+ files, since older version uses dtds instead of schema.) In future, as eml versions are added, the geteml2+ target shoudl be updated to use the ant iterator class found in the utilities module - this would enable the cvs tags to be defined as a comma-delimited list, and then a common target can be called multile times to do the checkouts, instead of duplicating code. Also added description= attributes to all the targets that looked as if they shoudl be public. These now appear (with their descriptions) when the user types ant -projecthelp

1938 11/24/2003 11:38 AM brooke

changed getdtdschema tarhet to copy eml css to cvs source tree metacat/lib/style/common directory, same as the copy for the XSL stylesheets. Created new ant parameter to hold value of path lib/style/common.

1933 11/21/2003 09:50 PM brooke

changed knb skin index page to forward to knb site and include any user params in url. changed resultset.xsl so qformat is handled properly in posts. changed build file to copy default.css from eml checkout to style/common so other skin-specific css can import it if reqd

1930 11/21/2003 03:45 PM brooke

added line to installCommon target that copies the metacat-client.jar to the WEB-INF/lib directory

1929 11/21/2003 03:05 PM brooke

This is the merge from the branch WEB_UI_REDESIGN_BRANCH back into the head.
The only files that have been removed are those in lib/style/eml2; other files
that have been cvs removed (only from lib/ and lib/style) have been re-added
elsewhere (i.e. moved from one directory to another)....

1827 09/19/2003 05:05 PM Matt Jones

Renamed the upgrade sql files to more understandable names, updated the
build file to include some new targets for running these files, and
updated the installation docs to clarify which upgrade scripts need to
be run and when.

1824 09/17/2003 03:54 PM Jing Tao

Add the code copy jdbc file to web-info/lib dir. Because the oracle jdbc.jar is not in our lib dir.

1823 09/17/2003 01:31 PM Matt Jones

Streamlined installation of jars in build file.

1822 09/17/2003 12:42 PM Matt Jones

Modified metacat to now provide the session identifier in the response
xml message when a login is called. This has not been fully tested.
I removed the HttpMessage class from metacat in favor of using the version
of that class that is found in the utilities module. This may cause some...

1821 09/09/2003 05:39 PM Jing Tao

Fixed a bug for creating grid service.

1820 09/09/2003 05:33 PM Jing Tao

Delete some duplicate lines.

1819 09/09/2003 05:26 PM Jing Tao

Separte compiling client src file from Metacat basic installation.

1817 09/04/2003 05:02 PM Jing Tao

change the destdir from build.src to build.dest in compileinterface target.

1815 09/04/2003 02:31 PM Jing Tao

Get rid of stringclient compilation when install metacat.

1814 09/04/2003 01:13 PM Jing Tao

Add a new target to test application for metacat web service.

1811 09/03/2003 05:19 PM Jing Tao

Add new target to create gar file for web service.

1807 08/21/2003 05:25 PM Jing Tao

Remove one varible - itis for itislib.jar

1801 08/12/2003 06:08 PM Jing Tao

Add a new user and passwd for another user who doesn't have permssion try to read, delete, update xml files.

1796 08/12/2003 04:29 PM Matt Jones

Updated build file to build utilities more reliably.

1791 08/12/2003 10:40 AM Matt Jones

New test code for metacat client. Auto-generate id. Query and read from
the inserted document. Still having some problems with the tests.

1789 08/12/2003 12:24 AM Matt Jones

Implemented the "insert()" method and wrote a test to test it. The new test
depends on the property "newdocid" be set to something unique in the build.xml
file so that the insert will work properly. Probably need to fix this to be
some kind of autoincrement counter or random number so that it can be run...

1783 08/11/2003 12:19 PM Matt Jones

Wrote the login() function, the first of the series of API calls for
the metacat client to be implemented. Also wrote a test class to
test the API functionality.

1780 08/08/2003 04:16 PM Matt Jones

Added a new subpackage (edu.ucsb.nceas.metacat.client) which is a client
access library for the metacat. There is an interface ( that
provides simple access methods for the main metacat functions. This is to
support clients like Morpho and others that want to programatically access...

1778 08/05/2003 11:16 AM Jing Tao

Change the code for getdtd getschema and getdtdschema. Eml module will be check out to build/tmp rather than build/src. Otherwise it will cause problem in knbweb install.

1771 07/31/2003 11:32 AM Jing Tao

Change tomcat version from 3 to 4. So it will consistent with server.jar file location.

1744 07/21/2003 05:26 PM Jing Tao

Because MS SQL server has 3 jar files for JDBC, so revised build.xml.

1742 07/21/2003 03:52 PM Jing Tao

add some new variables for JDBC in MSSQL.

1739 07/19/2003 06:48 PM Jing Tao

Add new target for sql server.

1729 07/15/2003 02:04 PM Jing Tao

Add a new property of tomcat version. This one will control which web.xml file will be copied to installation directory.

1724 07/02/2003 05:02 PM Jing Tao

Add a getschema dependcy to target dist.

1722 07/02/2003 04:00 PM Jing Tao

Change eml2 tag to STMML_SCHEMA_UPDATE.

1718 07/02/2003 01:27 PM Jing Tao

Add new parameter stmmlnamespace.

1716 07/02/2003 12:04 PM berkley

changes to make session management between monarch and metacat work.

1702 06/30/2003 01:23 PM Jing Tao

Revise some templates and in build file, when we compile, it would include harvest.

1612 04/24/2003 03:19 PM Jing Tao

Add new target getdtdschema and get rid of htttpclient.

1602 04/22/2003 09:58 AM Jing Tao

Add httpclient.jar into cpath.

1593 04/19/2003 07:10 PM Jing Tao

Change dtdsql target to dtdshemasql.

1579 04/18/2003 08:27 PM Jing Tao

Add variable replication error log file.

1578 04/17/2003 11:09 PM Jing Tao

Add a variable for itislib.

1570 04/17/2003 10:25 AM Jing Tao

Add a new target schemasql. It will register eml2 namesapce into xml_catalog.

1538 04/10/2003 10:00 AM berkley

added a prefix to the debug statements. the default is the build name property. The prefix can be set in the build.xml file. the property name is 'debugprefix'

1523 04/08/2003 01:56 PM Jing Tao

move cvs-root to easily be edited.

1522 04/08/2003 11:29 AM berkley

added target to clean the servlet install directory

1500 03/21/2003 05:44 PM Jing Tao

Add a new project name runonetest. It can run single junit test. The class name can be passed to build.xml. The syntax is: ant -Dtesttorun=className runonetest

1487 03/19/2003 11:05 AM Jing Tao

Add a default content type for data file.

1470 03/12/2003 04:25 PM Jing Tao

Add eml.jar into class path and copy eml.jar and configxml.jar into web-info/lib

1464 03/07/2003 04:30 PM Jing Tao

Fixed a error in getdtd

1463 03/07/2003 04:24 PM Jing Tao

Add a target name getschema.

1455 03/05/2003 06:35 PM Jing Tao

Add a new property inlinedatafilepath in order to store inline data.

1437 02/28/2003 10:48 AM berkley

fixed bug with copying images in the build file

1376 01/27/2003 01:31 PM Jing Tao

Change xerces.jar to xercesImpl.jar

1339 12/17/2002 10:28 AM Jing Tao

Change the release number.

1338 12/17/2002 10:24 AM Jing Tao

Change something for release.

1321 10/30/2002 04:41 PM Jing Tao

Revise some code.

1314 10/16/2002 02:40 PM Jing Tao

In target "getdtd", filtering was set to be "No" when copy style sheet from build directory to lib directory. Filtering will be done when copy these files from lib directory to install directory in "install". The reason why we do this is because it will cause problem when we release metacat. When we release metacat, dtd files and style sheet file are included, so some stycle sheet's token was replaced by distributor's setting, which is different to user. Now token will be replaced in "installation", token will be replaced by user's setting.

1313 10/15/2002 11:16 AM Jing Tao

Add http:// to systemidserver

1312 10/15/2002 10:23 AM Jing Tao

Get rid of source file from dist target.

1311 10/15/2002 08:51 AM berkley

changed values for release

1307 10/14/2002 01:09 PM Matt Jones

Updated README and build.xml in preparation for a new release. Looks to me
as though the dist and distsrc targets are not working properly because the
dist target produces a distribution with source code, which it should not
do. Need to check into this.

1296 08/16/2002 08:54 AM Jing Tao

This is a test for change cvs server from nceas to ecoinformatics. The debug level was changed from 35 to 50.

1292 07/14/2002 12:33 PM Jing Tao

Merge cvs branch replication to cvs head.

1227 06/17/2002 02:36 PM Jing Tao

Change eml-tag to RELEASE_EML_2_0_0_BETA_6_REV1. In "getdtd" target, style sheet will be check out from eml module and will be copy to lib/style.

1116 05/22/2002 08:15 PM Jing Tao

Change directories setting for junit test and junit nettest.

1107 05/22/2002 01:10 PM Jing Tao

Add a set system peroperty -Djava.protocol.handler.pkgs=HTTPClient in nettest target.
Fixed the bug in running ant in gethttpclient target.

1103 05/21/2002 09:23 PM Jing Tao

Add two targets in build file: gethttpclient and nettest. gethttpclient wil checkout morpho and ran ant get httpclient.jar(cvs doesn't have httpclient.jar). nettest will run a junit test which will involve httpclient.jar file.

1079 05/11/2002 05:41 PM Jing Tao

Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.

1073 05/10/2002 06:22 PM Jing Tao

Add two variables named replicationsenddata and replicationacceptdata. Metacat administrator can configure metacat can send or accepte or both to data file

1051 05/06/2002 11:20 AM Jing Tao

Add a property named debuglevel in it. This property will control the debug message. It set higher, more debug message will print out

1049 05/03/2002 05:01 PM Jing Tao

Revise junit testing part and make it working.
Delete the variables for httpclient.jar and junit.jar

1046 05/01/2002 05:37 PM Jing Tao

Add two variables junit and httpclient in cpath

1018 04/19/2002 06:40 PM Jing Tao

Adding two properties: replication and replicationdata. Administor can config build.xml instead of file.

1009 04/15/2002 06:01 PM Jing Tao

Adding a new token "context" in it.

996 04/10/2002 08:38 AM berkley

changed some values for the release

995 04/10/2002 08:34 AM berkley

changed some values for the release

993 04/10/2002 08:27 AM Jing Tao

When Metacat installed, it can automatically create data directory for data file.

992 04/09/2002 09:08 AM berkley

updated build file. fixed the dist target so it doesn't copy the build directory into the distro.

980 04/04/2002 01:36 PM berkley

updated authldap to get the groups to work (king of)

977 03/29/2002 06:34 PM Jing Tao

Add a property named systemidserver, its value="http://host.domainname:8080"
Add a token named systemidserver too.

971 03/15/2002 04:40 PM Jing Tao

Add a target - test in the file. Now user can type "ant test" to run the test class extends from JUnit.

963 03/06/2002 04:17 PM berkley

fixed my tagging error

962 03/06/2002 03:58 PM berkley

some small changes I had to make to get the QAENGINE demo to work right. this should be committing in a branch

939 02/22/2002 02:46 PM Jing Tao

A property named "morpho" was added. It is the path for morpho.jar. (Now, in DBQuery class some morpho package class are used). Morpho was added to cpath too. During the "install", morpho willbe copy to the target too.

933 02/13/2002 12:28 PM Matt Jones

Removed an obsolete filter fromthe build.xml file.

931 02/13/2002 11:41 AM Matt Jones

Modified the build.xml file to make it easier to set up the configuration.
There is now a "config" target in which all of the properties that are usually
modified are located. Also, now one sets the location of tomcat and the
webapps dir, and chooses a name for the tomcat context, and everything else...

926 02/05/2002 09:10 AM berkley

took my password out of the build file