Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6087

Studio: support forward slash in workspace name so it does not result in errors building projects

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.2.1
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Environment:
      Appc Studio : 3.2.1.201401221450
      Ti SDK : 3.2.1.v20140122175749
      Mac OSX : 10.8.5
      Alloy : 1.3.1-beta3
      CLI - 3.2.1 beta3
      Nexus 5 - android 4.4

      Description

      Description:

      1. Create a workspace wirth name having forward slashes in it e.g "workspace_1/22/14".
      2. Create/clean a existing project.

      Actual Result:

      1. We see errors while building workspace.
      NOTE: Please refer attached screenshot for the error message.

      Console Log:

      !ENTRY org.eclipse.core.resources 4 75 2014-01-23 13:24:49.335
      !MESSAGE Errors occurred during the build.
      !SUBENTRY 1 com.aptana.buildpath.core 4 75 2014-01-23 13:24:49.335
      !MESSAGE Errors running builder 'Studio Unified Builder' on project 'default'.
      !STACK 0
      java.lang.IllegalArgumentException: location must be a directory
      	at com.aptana.js.internal.core.inferencing.NodeModuleResolver.resolve(NodeModuleResolver.java:70)
      	at com.aptana.js.core.inferencing.RequireResolverFactory.resolve(RequireResolverFactory.java:152)
      	at com.aptana.js.core.inferencing.JSNodeTypeInferrer.resolve(JSNodeTypeInferrer.java:782)
      	at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:725)
      	at com.aptana.js.core.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)
      	at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:559)
      	at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:347)
      	at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:384)
      	at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:290)
      	at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:1)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466)
      	at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:286)
      	at com.aptana.js.core.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:220)
      	at com.aptana.js.core.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:105)
      	at com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:132)
      	at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
      	at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614)
      	at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525)
      	at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497)
      	at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:343)
      	at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:178)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
       
      !ENTRY com.aptana.editor.common 1 0 2014-01-23 13:25:02.429
      !MESSAGE (Build 3.2.1.201401221450) [INFO] com.aptana.editor.common/debug/presentation Initiating presentation reconciling for region at offset 0, length 2,844,334 in document of length 2,844,334
       
      !ENTRY com.aptana.portal.ui 1 0 2014-01-23 13:25:02.492
      !MESSAGE (Build 3.2.1.201401221450) [INFO] com.aptana.portal.ui/debug/startpage Notifying the portal with: if (typeof(eventsDispatcher) !== undefined) eventsDispatcher.notify('{"event":"recentFiles","eventType":"changed","data":""}');
      

      Expected Result:

      1. We should not get any errors while building workspace.

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              lchoudhary Lokesh Choudhary
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: