This issue has been resolved. Ant 1.7.1 must be installed.
Documentation should be updated to reflect this. The 1.5.2
documentation has 1.6.2 or higher. It should
now require 1.7.1. Would the Documentation gods please update?
TIA,
Jeff
Jeffrey Trimble
System LIbrarian
William F. Maag Library
Youngstown State University
330.941.2483 (Office)
[email protected]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
On May 26, 2009, at 5:39 PM, Kim Shepherd wrote:
Hi Jeffrey,
The task it’s failing on is in the “prepare_configs” target (which
doesn’t appear in versions earlier than 1.5.2):
<!--
If designated config isn't the one in config/dspace.cfg then
lets put a copy of that next to it
-->
<copy todir="config-temp" preservelastmodified="true"
overwrite="true" >
<fileset dir="config" includes="dspace.cfg">
<different targetdir="${dspace.dir}/config"
ignoreFileTimes="true" />
</fileset>
<globmapper from="*" to="*.default" />
</copy>
There are a few other targets (copy_configs_keep, which depends on
prepare_configs) that use globmapper like this in 1.5.2’s build.xml
as well.
Ant 1.6.2 is pretty old so I’m guessing that the support for mappers
nested inside <copy>, etc. isn’t there yet – upgrading to 1.6.5 or
higher might be the first thing to try.
Cheers,
Kim
From: Jeffrey Trimble [mailto:[email protected]]
Sent: Wednesday, 27 May 2009 8:43 a.m.
To: Kim Shepherd
Subject: Re: [Dspace-tech] ant -D failed
version 1.6.2
Very strange.
Jeffrey Trimble
System LIbrarian
William F. Maag Library
Youngstown State University
330.941.2483 (Office)
[email protected]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
On May 26, 2009, at 4:18 PM, Kim Shepherd wrote:
Hi Jeffrey,
What version of ant are you using?
I seem to recall seeing this behaviour on older versions of ant, for
a few of our nested file/copy elements in build.xml
Cheers,
Kim
From: Jeffrey Trimble [mailto:[email protected]]
Sent: Wednesday, 27 May 2009 7:42 a.m.
To: DSpace Tech
Subject: [Dspace-tech] ant -D failed
I received the following:
dtest:/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir
# ant -Dconfig=/dspace/config/dspace.cfg update
Buildfile: build.xml
prepare_configs:
[mkdir] Created dir: /dspace-1.5.2-src-release/dspace/target/
dspace-1.5.2-build.dir/config-temp
[copy] Copying 1 file to /dspace-1.5.2-src-release/dspace/
target/dspace-1.5.2-build.dir/config-temp
BUILD FAILED
/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/
build.xml:347: The <copy> type doesn't support the nested
"globmapper" element.
Total time: 1 second
So, what is the globmapper and what went wrong here?
--jat
Jeffrey Trimble
System LIbrarian
William F. Maag Library
Youngstown State University
330.941.2483 (Office)
[email protected]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity
professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like
Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech