You need ant version 1.6.5 or later -- check it with "ant -version".
See ant.apache.org
if you need to download a newer version.
-- Larry
On Feb 4, 2008, at 12:32 PM, LARC/J.L.Shipman/jshipman wrote:
> Hi,
> I am trying to install dspace 1.4.2 on a Sun running Solaris
> 10 with Postgres 8.2.4.
> When I try to run ant fresh_install, I get the following error
>
> Buildfile: build.xml
>
> BUILD FAILED
> file:/export/home/dspace-1.4.2-source/build.xml:88: Unexpected
> element "loadproperties"
>
> I have looked through the xml code (shown below) and can not figure
> out why it crashes. Config is set to rw-r--r--. I am running the
> fresh_install as dspace. The config directory is
> "/export/home/dspace-1.4.2-source/config" and the source directory
> is /export/home/dspace-1.4.2-source". Any help is appreciated.
>
>
> <!-- =============================================================
> -->
> <!-- Build parameters that are likely to need tweaking
> -->
> <!-- =============================================================
> -->
>
> <!-- Default configuration to use. This may be overridden. -->
> <property name="config" value="config/dspace.cfg" />
>
> <!-- Give user a chance to override without editing this file
> (and without typing -D each time s/he compiles it) -->
> <property file="${user.home}/.dspace.properties" />
>
> <!-- First, set the dspace.dir property so it can be
> interpolated when loading the config file.
> This crudely mimics the way ConfigurationManager interpolates
> properties.
> Note that it ONLY works for directories that interpolate
> ${dspace.dir}
> but that _should_ cover all cases used in this build
> configuration.
> -->
>
> <!- below is line 88 -->
> <loadproperties srcFile="${config}">
> <filterchain>
> <linecontainsregexp>
> <regexp pattern="^\s*dspace\.dir\s+"/>
> </linecontainsregexp>
> </filterchain>
> </loadproperties>
>
> <!-- Load the configuration -->
> <property file="${config}" />
>
> -----------------------------------------------------------------------
> --
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech