Project: appceleratorstudio
Issue TISTUD-2625: Node.ACS: space in project name causes Errors running builder 'Studio Unified Builder' on project java.lang.IllegalArgumentException
Creating Node.ACS project fails with: Error: {code} Errors occurred during the build. Errors running builder 'Studio Unified Builder' on project 'Node.ACS Project 1044'. java.lang.IllegalArgumentException {code} log: {code} !ENTRY com.aptana.core 1 0 2012-10-23 10:44:30.526 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/shell Running process: Process: "/usr/local/bin/acs" "new" "Node.ACS Project 1044" "--no-banner" "--no-colors" Working directory: /Users/dhyde/Desktop/TISTUD-RC/workspace Environment: {ANDROID_NDK=/Users/dhyde/Desktop/android/android-ndk-r8b, ANDROID_SDK=/Users/dhyde/Desktop/android/android-sdk-macosx, APTANA_VERSION=3.0.0.1346448223, Apple_PubSub_Socket_Render=/tmp/launch-EeKGAL/Render, Apple_Ubiquity_Message=/tmp/launch-SW45KT/Apple_Ubiquity_Message, COMMAND_MODE=unix2003, COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/DHYDE/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET=/tmp/launch-9CZqFn/ServiceProcessSocket, HOME=/Users/dhyde, LANG=en_US.UTF-8, LOGNAME=dhyde, NUM_CPUS=4, PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/dhyde/Desktop/android/android-sdk-macosx/tools:/Users/dhyde/Desktop/android/android-sdk-macosx/platform-tools, PWD=/Users/dhyde/Desktop/TISTUD-RC/workspace, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/tmp/launch-0sLjqp/Listeners, TI_DEBUG=0, TMPDIR=/var/folders/6f/wxjmlj0n7kl5w8kmq5hrrbch0000gp/T/, USER=dhyde, __CF_USER_TEXT_ENCODING=0x1F6:0:0, com.apple.java.jvmTask=JNI} !ENTRY com.aptana.core 1 0 2012-10-23 10:44:30.850 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/shell Searching for git in PATH locations: /usr/bin, /bin, /usr/sbin, /sbin, /usr/local/bin, /Users/dhyde/Desktop/android/android-sdk-macosx/tools, /Users/dhyde/Desktop/android/android-sdk-macosx/platform-tools !ENTRY com.aptana.core 1 0 2012-10-23 10:44:30.851 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/shell Running process: Process: "/usr/bin/git" "--version" Working directory: null Environment: null !ENTRY com.aptana.core 1 0 2012-10-23 10:44:30.894 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/shell Found executable on PATH: /usr/bin/git !ENTRY com.aptana.core 1 0 2012-10-23 10:44:30.895 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/shell Running process: Process: "/usr/bin/git" "rev-parse" "--git-dir" Working directory: /Users/dhyde/Desktop/TISTUD-RC/workspace/Node.ACS Project 1044 Environment: null !ENTRY com.aptana.editor.common 1 0 2012-10-23 10:44:31.235 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.editor.common/debug/presentation Initiating presentation reconciling for region at offset 0, length 590 in document of length 590 !ENTRY com.aptana.portal.ui 1 0 2012-10-23 10:44:31.284 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.portal.ui/debug/startpage Notifying the portal with: if (typeof(eventsDispatcher) !== undefined) eventsDispatcher.notify('{"event":"recentFiles","eventType":"changed","data":""}'); !ENTRY com.aptana.core 1 0 2012-10-23 10:44:31.300 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/firefox Check location /Users/dhyde/Library/Application Support/Firefox/ for default profile !ENTRY com.aptana.core 1 0 2012-10-23 10:44:31.303 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/firefox Profiles found: /Users/dhyde/Library/Application Support/Firefox/Profiles/kc9gfhqn.default !ENTRY com.aptana.core 1 0 2012-10-23 10:44:31.303 !MESSAGE (Build 3.0.0.201210220122) [INFO] com.aptana.core/debug/firefox Default profile was found at /Users/dhyde/Library/Application Support/Firefox/Profiles/kc9gfhqn.default !ENTRY org.eclipse.core.resources 4 2 2012-10-23 10:44:31.322 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.IllegalArgumentException java.net.URI.create(URI.java:841) java.net.URI.resolve(URI.java:1027) com.appcelerator.titanium.acs.internal.core.ACSCompileParticipant.determineMainFileURI(ACSCompileParticipant.java:211) com.appcelerator.titanium.acs.internal.core.ACSCompileParticipant.buildFile(ACSCompileParticipant.java:88) com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72) com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:525) com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:436) com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:413) com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:307) com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:153) org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.URISyntaxException: Illegal character in path at index 10: ./Node.ACS Project 1044.js java.net.URI$Parser.fail(URI.java:2810) java.net.URI$Parser.checkChars(URI.java:2983) java.net.URI$Parser.parseHierarchical(URI.java:3067) java.net.URI$Parser.parse(URI.java:3025) java.net.URI.(URI.java:577) java.net.URI.create(URI.java:839)	... 21 more !ENTRY org.eclipse.core.resources 4 75 2012-10-23 10:44:31.345 !MESSAGE Errors occurred during the build. !SUBENTRY 1 com.aptana.buildpath.core 4 75 2012-10-23 10:44:31.345 !MESSAGE Errors running builder 'Studio Unified Builder' on project 'Node.ACS Project 1044'. !STACK 0 java.lang.IllegalArgumentException java.net.URI.create(URI.java:841) java.net.URI.resolve(URI.java:1027) com.appcelerator.titanium.acs.internal.core.ACSCompileParticipant.determineMainFileURI(ACSCompileParticipant.java:211) com.appcelerator.titanium.acs.internal.core.ACSCompileParticipant.buildFile(ACSCompileParticipant.java:88) com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72) com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:525) com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:436) com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:413) com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:307) com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:153) org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.URISyntaxException: Illegal character in path at index 10: ./Node.ACS Project 1044.js java.net.URI$Parser.fail(URI.java:2810) java.net.URI$Parser.checkChars(URI.java:2983) java.net.URI$Parser.parseHierarchical(URI.java:3067) java.net.URI$Parser.parse(URI.java:3025) java.net.URI.(URI.java:577) java.net.URI.create(URI.java:839)	... 21 more {code} Steps to Reproduce: 1. Create Node.ACS project. Actual Result: Fail. Expected Result: Success.
Story points: 5