Reputation: 499
I have written my property file at the same level of my /src folder and am trying to access the same .ls Bundlename path for my file.
error:
NLS missing message: key_one in: org.eclipse.core.utils.messages
code:
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.core.utils.messages"; //$NON-NLS-1$
public static String key_one;
I have added properties file in my build file as:
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
Message.properties,\
META-INF/,\
icons/,\
.,\
static {
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
Upvotes: 0
Views: 1020
Reputation: 177
Try moving the Message.properties file to the src folder under appropriate package.That should hopefully resolve the issue.
Upvotes: 1