Project: aptanastudio
Issue APSTUD-3250: Shrink (or remove) errant indexing messages
When a file scheduled for indexing disappears, the following message gets printed to the log file: {code} !ENTRY org.eclipse.core.resources 4 368 2011-08-11 11:32:42.401 !MESSAGE Resource '/uatest2/build/android/bin/assets/Resources/app.js' does not exist. !ENTRY com.aptana.editor.js 4 0 2011-08-11 11:32:42.464 !MESSAGE (Build 3.0.3.1312842772) [ERROR] File not found: C:\Users\Ingo Muschenetz\Documents\Titanium Studio Workspace\uatest2\build\android\bin\assets\Resources\app.js. !STACK 1 org.eclipse.core.runtime.CoreException: File not found: C:\Users\Ingo Muschenetz\Documents\Titanium Studio Workspace\uatest2\build\android\bin\assets\Resources\app.js. org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:371) com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:108) com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:139) com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.FileNotFoundException: C:\Users\Ingo Muschenetz\Documents\Titanium Studio Workspace\uatest2\build\android\bin\assets\Resources\app.js (The system cannot find the path specified) java.io.FileInputStream.open(Native Method) java.io.FileInputStream.(Unknown Source) org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)	... 5 more !SUBENTRY 1 org.eclipse.core.filesystem 4 271 2011-08-11 11:32:42.464 !MESSAGE File not found: C:\Users\Ingo Muschenetz\Documents\Titanium Studio Workspace\uatest2\build\android\bin\assets\Resources\app.js. !STACK 0 java.io.FileNotFoundException: C:\Users\Ingo Muschenetz\Documents\Titanium Studio Workspace\uatest2\build\android\bin\assets\Resources\app.js (The system cannot find the path specified) java.io.FileInputStream.open(Native Method) java.io.FileInputStream.(Unknown Source) org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362) com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.indexFileStore(JSFileIndexingParticipant.java:108) com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:139) com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423) com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} That seems a bit overkill. Do we need to print this message at all? If so, perhaps we just print a modification of the top one w/out the stack trace, or only display the stack trace when viewing INFO severity?
Story points: 8