Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 10 additions & 61 deletions build.properties
Original file line number Diff line number Diff line change
@@ -1,79 +1,28 @@
# Ant build properties files for the metacat build

#Version of this build. This needs to be a dotted numeric version. For
#instance 1.9.1 is okay. 1.9.1_rc1 is not.
#Version of this build. Versions are expected to follow Semantic Versioning (https://semver.org/)
#
metacat.version=3.3.0

# Release tag for the version of metacatui to bundle with this release
# Find the latest version here: https://nceas.github.io/metacatui/install/
#
metacatui.tag=2.36.2

# java source code version and target version for java compilation
#
java.target=17

#This is for packaging purposes. leave it blank for final production release.
metacat.releaseCandidate=

# Tomcat dev deployment directory
# install ant target uses this to determine where to drop
# the war file in an installation. Test classes will use
# this value to find metacat.properties
# install ant target uses this to determine where to drop the war file in an installation.
# Integration Test classes that require a running metacat installation will use this value
# to find metacat.properties
#
app.deploy.dir=/opt/local/share/java/tomcat/webapps

# CVS access to retrieve latest EML, seek and utilities
cvsroot=:ext:${env.USER}@cvs.ecoinformatics.org:/cvs

## metacat.context will be used to name war
metacat.context=metacat
workflowscheduler.context=workflowscheduler
authority.context=authority

# Server Properties
http.protocol=http
config.lsidauthority=ecoinformatics.org

# SCW: Set the cgi-user, either here or in scripts to properly
# set the permissions on the temporary folder; cgi-writable files
cgi-user=www-data

#Turn off or on for timed replication
#valide value is true or false
timedreplication=false

# The time for starting first timed replication if timedreplication is on
# The value should be in SHORT format (e.g. 2:00 AM) without date
# The first timed replication will start at the setting time which is
# shortest to the tomcat start time.
# Fox example, if the setting is 2:00 AM and tomcat was started at 8:00 AM.
# the first timed replication will start at 2:00 AM in the second day
# If the setting is 2:00 PM and tomcat was started at 8:00 AM, the first
# replication will start at 2:00 PM in the same day.
firsttimedreplication=10:00 PM

# The interval to next timed replication if timedreplication is on
# The value is in millisecond and default value is 48 hours
timedreplicationinterval=172800000

forcereplicationwaitingtime=30000

## Additional configuration options
# you probably don't want or need to change these
config.metadataLabelLsid=${config.lsidauthority}
# Additional configuration options - you probably don't want or need to change these
#
build.dir=build
lsid.build.dir=${build.dir}/lsid
lib.dir=lib
lsid.lib.dir=${lib.dir}/lsid_lib
lsid.classes.dir=edu/ucsb/nceas/metacat/lsid
conf.dir=lib/lsid_conf
services.dir=${conf.dir}/services
webinf.dir=${conf.dir}/WEB-INF

compile.debug=true
compile.deprecation=false
compile.optimize=true

# Flag to install ecogird or not. Possible values are true or false
install.ecogrid=true

# Flag to make perl code or not. Possible values are true or false
make.perl.code=true
34 changes: 0 additions & 34 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@
<include name="**/*.sql"/>
<exclude name="**/CVS*"/>
<exclude name="**/.#*"/>
<exclude name="edu/ucsb/nceas/workflowscheduler/**"/>
</fileset>
</copy>
<available file="lib/style/common/emlb6toeml2" type="dir"
Expand Down Expand Up @@ -1514,39 +1513,6 @@
<delete file="./${name}-src-${release}.tar"/>
</target>

<target name="deb-package" depends="distbin"
description="create a debian installation package">
<delete dir="${deb.pkg.dir}"/>
<mkdir dir="${deb.pkg.dir}/DEBIAN"/>
<copy todir="${deb.pkg.dir}/DEBIAN" filtering="yes">
<fileset dir="./src/scripts/debian"
includes="control postinst"/>
</copy>

<mkdir
dir="${deb.pkg.dir}/usr/share/metacat-${metacat.version}"/>
<copy
todir="${deb.pkg.dir}/usr/share/metacat-${metacat.version}"
filtering="yes">
<fileset dir="./src/scripts/debian"
excludes="control postinst"/>
</copy>
<chmod file="${deb.pkg.dir}/DEBIAN/postinst" perm="755"/>

<copy file="${dist.dir}/${metacat.context}.war"
todir="${deb.pkg.dir}/usr/share/metacat-${metacat.version}"/>
<copy file="./metacat-bin-${metacat.version}.tar.gz"
tofile="${deb.pkg.dir}/metacat_${metacat.version}.orig.tar.gz"/>

<exec dir="${pkg.dir}" executable="dpkg" os="Linux, Unix"
failonerror="true">
<arg line="--build debian"/>
</exec>

<move file="${pkg.dir}/debian.deb"
tofile="${pkg.dir}/metacat_${metacat.version}${metacat.releaseCandidate}_all.deb"/>
</target>

<target name="stylesheettest">
<xslt in="${input}" out="eml.html"
style="${style-common-cvsrelpath}/eml-2.0.0/eml-2.0.0.xsl">
Expand Down
8 changes: 0 additions & 8 deletions docs/dev/building-metacat.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,6 @@
<li>app.deploy.dir - the automated installation build (install) will deploy your
war file for you and clean up old application directories. Make sure this is set
to the directory where Tomcat looks for its applications.</li>
<li>cvsroot - if your cvs user is different than the user you are using to build metacat,
you will need to change
<div class="code">:ext:${env.USER}@cvs.ecoinformatics.org:/cvs</div>
to
<div class="code">:ext:&lt;your_cvs_user&gt;@cvs.ecoinformatics.org:/cvs</div>
If you do not have a personal account with cvs, you can set the username to
"anonymous". The password will be "guestaccess".
</li>
</ul>

<a name="BuildXml"></a><div class="header2">build.xml</div>
Expand Down
42 changes: 0 additions & 42 deletions docs/dev/workflowscheduler/createWorkflowSchedulerDB.txt

This file was deleted.

62 changes: 0 additions & 62 deletions docs/dev/workflowscheduler/installWorkflowScheduler.txt

This file was deleted.

112 changes: 0 additions & 112 deletions lib/certificateAuthenCode/MetacatGsiClient.java

This file was deleted.

Loading