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 MSSQL Server sql scripts seem to be lacking -- some are missing. Need toresolve this before release.
Changes to harvester targets
Made changes so that *.gif and *.png are copied without filtering.
Debug level was changed and a few extra lines were added in last commit.Restored those to previous values.
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.
In test client package, get rid of HttpClient in parameter. Because, http client has cookies and we couldn't test session id.
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.
Changing version in build in preparation for a release.
Removed obsolete SRB support files that are no longer used.
Build changes that allow the registry install dependency on the beta6 stylesheet converters to be automatically satisfied. Now, if thewebmdentry module hasn't been checked out, it is, but otherwise thecheckout is skipped. A similar technique could be used for the EML...
New build system that creates a war file and deploys it to tomcat. Alsoupdated the web.xml files so that a better servlet path is used. Now, bydefault, the servlet path will be: /knb/metacat (as opposed to theprior servlet path which was /knb/servlet/metacat and depended on the...
Moved the metacat.properties file from the jar file to now be located inthe tomcat context directory in WEB-INF. Now the metacat configuration iseditable in place. This change depends on a new Options.java class in theutilities module, so be sure you do a "clean" build in metacat so that you...
Add harvester targets
added conditional setting of tomcat servlet.jar path, based on tomcat version in build properties
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
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.
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
added line to installCommon target that copies the metacat-client.jar to the WEB-INF/lib directory
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 filesthat have been cvs removed (only from lib/ and lib/style) have been re-addedelsewhere (i.e. moved from one directory to another)....
Renamed the upgrade sql files to more understandable names, updated thebuild file to include some new targets for running these files, andupdated the installation docs to clarify which upgrade scripts need tobe run and when.
Add the code copy jdbc file to web-info/lib dir. Because the oracle jdbc.jar is not in our lib dir.
Streamlined installation of jars in build file.
Modified metacat to now provide the session identifier in the responsexml message when a login is called. This has not been fully tested.I removed the HttpMessage class from metacat in favor of using the versionof that class that is found in the utilities module. This may cause some...
Fixed a bug for creating grid service.
Delete some duplicate lines.
Separte compiling client src file from Metacat basic installation.
change the destdir from build.src to build.dest in compileinterface target.
Get rid of stringclient compilation when install metacat.
Add a new target to test application for metacat web service.
Add new target to create gar file for web service.
Remove one varible - itis for itislib.jar
Add a new user and passwd for another user who doesn't have permssion try to read, delete, update xml files.
Updated build file to build utilities more reliably.
New test code for metacat client. Auto-generate id. Query and read fromthe inserted document. Still having some problems with the tests.
Implemented the "insert()" method and wrote a test to test it. The new testdepends on the property "newdocid" be set to something unique in the build.xmlfile so that the insert will work properly. Probably need to fix this to besome kind of autoincrement counter or random number so that it can be run...
Wrote the login() function, the first of the series of API calls forthe metacat client to be implemented. Also wrote a test class totest the API functionality.
Added a new subpackage (edu.ucsb.nceas.metacat.client) which is a clientaccess library for the metacat. There is an interface (Metacat.java) thatprovides simple access methods for the main metacat functions. This is tosupport clients like Morpho and others that want to programatically access...
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.
Change tomcat version from 3 to 4. So it will consistent with server.jar file location.
Because MS SQL server has 3 jar files for JDBC, so revised build.xml.
add some new variables for JDBC in MSSQL.
Add new target for sql server.
Add a new property of tomcat version. This one will control which web.xml file will be copied to installation directory.
Add a getschema dependcy to target dist.
Change eml2 tag to STMML_SCHEMA_UPDATE.
Add new parameter stmmlnamespace.
changes to make session management between monarch and metacat work.
Revise some templates and in build file, when we compile, it would include harvest.
Add new target getdtdschema and get rid of htttpclient.
Add httpclient.jar into cpath.
Change dtdsql target to dtdshemasql.
Add variable replication error log file.
Add a variable for itislib.
Add a new target schemasql. It will register eml2 namesapce into xml_catalog.
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'
move cvs-root to easily be edited.
added target to clean the servlet install directory
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
Add a default content type for data file.
Add eml.jar into class path and copy eml.jar and configxml.jar into web-info/lib
Fixed a error in getdtd
Add a target name getschema.
Add a new property inlinedatafilepath in order to store inline data.
fixed bug with copying images in the build file
Change xerces.jar to xercesImpl.jar
Change the release number.
Change something for release.
Revise some code.
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.
Add http:// to systemidserver
Get rid of source file from dist target.
changed values for release
Updated README and build.xml in preparation for a new release. Looks to meas though the dist and distsrc targets are not working properly because thedist target produces a distribution with source code, which it should notdo. Need to check into this.
This is a test for change cvs server from nceas to ecoinformatics. The debug level was changed from 35 to 50.
Merge cvs branch replication to cvs head.
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.
Change directories setting for junit test and junit nettest.
Add a set system peroperty -Djava.protocol.handler.pkgs=HTTPClient in nettest target.Fixed the bug in running ant in gethttpclient target.
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.
Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.
Add two variables named replicationsenddata and replicationacceptdata. Metacat administrator can configure metacat can send or accepte or both to data file
Add a property named debuglevel in it. This property will control the debug message. It set higher, more debug message will print out
Revise junit testing part and make it working.Delete the variables for httpclient.jar and junit.jar
Add two variables junit and httpclient in cpath
Adding two properties: replication and replicationdata. Administor can config build.xml instead of metacat.properties file.
Adding a new token "context" in it.
changed some values for the release
When Metacat installed, it can automatically create data directory for data file.
updated build file. fixed the dist target so it doesn't copy the build directory into the distro.
updated authldap to get the groups to work (king of)
Add a property named systemidserver, its value="http://host.domainname:8080" Add a token named systemidserver too.
Add a target - test in the file. Now user can type "ant test" to run the test class extends from JUnit.
fixed my tagging error
some small changes I had to make to get the QAENGINE demo to work right. this should be committing in a branch
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.
Removed an obsolete filter fromthe build.xml file.
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 usuallymodified are located. Also, now one sets the location of tomcat and thewebapps dir, and chooses a name for the tomcat context, and everything else...
took my password out of the build file
integrated the postgres and oracle properties into one build file. now, if you want to switch between oracle and postgres, you just change the 'depends' attribute in the 'init' target. also, I fixed the path to the servlet.jar file to match up with where tomcat now stores it (lib/common/servlet.jar instead of lib/servlet.jar).