Project: appceleratorstudio
Issue TISTUD-1436: Packaging of Android module fails to copy built module to destination
# Create a new Android mobile module project # Attempt to package it for a project or a folder on disk (it probably also fails for the Titanium SDK) # It appears to work, but fails to copy the file to the destination, with the following error: {code} (Build 1.0.0.qualifier) [ERROR] Could not move: /Users/ingo/Documents/Aptana_Studio_3_Workspace/asdasd/dist/app.bapp-android-0.1.zip. org.eclipse.core.runtime.CoreException: Could not move: /Users/ingo/Documents/Aptana_Studio_3_Workspace/asdasd/dist/app.bapp-android-0.1.zip. org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) org.eclipse.core.filesystem.provider.FileStore.move(FileStore.java:415) org.eclipse.core.internal.filesystem.local.LocalFile.move(LocalFile.java:352) com.appcelerator.titanium.mobile.module.launching.ModulePackagerUtil.processModule(ModulePackagerUtil.java:75) com.appcelerator.titanium.mobile.module.launching.AndroidModulePackageLaunchConfigurationDelegate$1.run(AndroidModulePackageLaunchConfigurationDelegate.java:104) java.lang.Thread.run(Thread.java:680) Caused by: org.eclipse.core.runtime.CoreException: Could not write file: /Users/ingo/Documents/Aptana_Studio_3_Workspace/testMobile/dist/app.bapp-android-0.1.zip. org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:391) org.eclipse.core.filesystem.provider.FileStore.copyFile(FileStore.java:221) org.eclipse.core.filesystem.provider.FileStore.copy(FileStore.java:143) org.eclipse.core.internal.filesystem.local.LocalFile.copy(LocalFile.java:111) org.eclipse.core.filesystem.provider.FileStore.move(FileStore.java:410)	... 4 more Caused by: java.io.FileNotFoundException: /Users/ingo/Documents/Aptana_Studio_3_Workspace/testMobile/dist/app.bapp-android-0.1.zip (No such file or directory) java.io.FileOutputStream.open(Native Method) java.io.FileOutputStream.(FileOutputStream.java:194) org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:382)	... 8 more {code} The issue appears to be the fact it's copying it from inside /dest, but that it attempts to copy it into a /dest subfolder as well, which doesn't exist.
Story points: 5