built script cannont handle working directory paths that contain spaces -----------------------------------------------------------------------
Key: TUSCANY-520 URL: http://issues.apache.org/jira/browse/TUSCANY-520 Project: Tuscany Type: Bug Components: Build System Environment: Windows XP Reporter: David Wheeler If the current directory path when calling build-dist contains spaces maven exits with the error: [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Invalid task 'and': you must specify a valid lifecycle phase, or a goal i n the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] ------------------------------------------------------------------------ where 'and' is the first word after the space in the path. Changing the following line from build-dist.bat from: call mvn -Dtuscany.home=%TUSCANY_HOME% %1 clean install -Dmaven.test.skip=true to call mvn -Dtuscany.home="%TUSCANY_HOME%" %1 clean install -Dmaven.test.skip=true allows the script to run but the following errors occur. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) com.sun.xml:saaj-impl:jar:1.3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.xml -DartifactId=saaj-impl \ -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating -M1 2) org.objectweb.celtix:celtix-rt:jar:1.0 3) com.sun.xml:saaj-impl:jar:1.3 2) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=javax.jws -DartifactId=jsr181-api \ -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating -M1 2) org.objectweb.celtix:celtix-rt:jar:1.0 3) org.objectweb.celtix:celtix-tools:jar:1.0 4) javax.jws:jsr181-api:jar:2.0-JAXWS-2.0-EA3 3) javax.xml:saaj-api:jar:1.3 Try downloading the file manually from: https://jax-ws.dev.java.net/files/documents/4202/24765/JAXWS_SI_20051128.j ar Then, install it using the command: mvn install:install-file -DgroupId=javax.xml -DartifactId=saaj-api \ -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating -M1 2) org.objectweb.celtix:celtix-rt:jar:1.0 3) org.objectweb.celtix:celtix-tools:jar:1.0 4) javax.xml:saaj-api:jar:1.3 4) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=javax.xml -DartifactId=jaxws-api \ -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating -M1 2) org.objectweb.celtix:celtix-rt:jar:1.0 3) org.objectweb.celtix:celtix-api:jar:1.0 4) org.objectweb.celtix:celtix-common:jar:1.0 5) javax.xml:jaxws-api:jar:2.0-JAXWS-2.0-EA3 5) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=javax.annotation -DartifactId=jsr250-ap i \ -Dversion=2.0-JAXWS-2.0-EA3 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating -M1 2) org.objectweb.celtix:celtix-rt:jar:1.0 3) org.objectweb.celtix:celtix-api:jar:1.0 4) org.objectweb.celtix:celtix-common:jar:1.0 5) javax.annotation:jsr250-api:jar:2.0-JAXWS-2.0-EA3 ---------- 5 required artifacts are missing. for artifact: org.apache.tuscany.sca.bindings:tuscany-binding-celtix:jar:incubating-M1 from the specified remote repositories: central (http://repo1.maven.org/maven2), ibiblio (http://www.ibiblio.org/maven2), objectweb (http://maven.objectweb.org/maven2) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]