Revision 1499

tmp/org.txm.translate.rcp/src/org/txm/rcp/translate/i18n/WorkspaceMessagesManager.java (revision 1499)
86 86
	 */
87 87
	public WorkspaceMessagesManager(File workspaceLocation, boolean debug) throws UnsupportedEncodingException, FileNotFoundException, IOException {
88 88

  
89
		if (!new File(workspaceLocation, ".metadata").exists()) {
89
		if (!new File(workspaceLocation, "org.txm.rcp").exists()) {
90 90
			throw new IllegalArgumentException("Workspace directory is not a RCP workspace: "+workspaceLocation);
91 91
		}
92 92

  

Also available in: Unified diff