I added the mkdirs in place of the "erroronmissingdir" attribute on the
fileset just below the mkdirs, since that attribute is only supported on
Ant 1.7.1 or later, and the Maven antrun plugin only comes with Ant 1.7.0.
http://ant.apache.org/manual/Types/fileset.html
Not sure what the best way to go is - perhaps comment out the mkdirs for
now, and see how things go in Hudson.
On 11/14/2010 11:57 AM, Heiko W.Rupp wrote:
This module prints
prepare-wsdl:
[echo] *** Creating new wsdl
[echo] The JAVA HOME being used:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[echo]
And then fails
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
(client-distribution) on project rhq-remoting-webservices: An Ant BuildException has
occured: The following error occurred while executing this line:
[ERROR]
/im/rhq/modules/enterprise/remoting/webservices/src/main/scripts/rhq-client.build.xml:55:
The following error occurred while executing this line:
[ERROR]
/im/rhq/modules/enterprise/remoting/webservices/src/main/scripts/rhq-client.build.xml:123:
Directory /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/lib creation was not
successful for an unknown reason
Build lines in question are:
<mkdir dir="${java.jre.home}/lib" />
<mkdir dir="${java.jre.home}/../lib" />
java.jre.home/lib usually is a system dir - why would the script want to mkdir it?
Also java.jre.home/../lib is usually in system directories.
This may be an Apple VM issue, but it is strange anyway.
Heiko
--
Ian Springer
Principal Software Developer
JBoss Operations Network
Red Hat
ian.springer(a)redhat.com