Bug 165165 - [jdt-weaving] [editor] Unable to fully "Externalize Strings..." in aspects
Summary: [jdt-weaving] [editor] Unable to fully "Externalize Strings..." in aspects
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.6.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.6.4   Edit
Assignee: Andrew Eisenberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-20 10:52 EST by Helen Beeken CLA
Modified: 2009-03-13 13:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helen Beeken CLA 2006-11-20 10:52:50 EST
If the java compiler option "Non-externalised strings (missing/unused $NON-NLS$ tag)" is set to "warning", non-externalized strings used in declare statements are flagged as a warning (as expected). However, right clicking on the aspect within the editor > Source > Exteralize Strings... returns that there are no strings to externalize.

Adding a method within the aspect that also has a string to externalize:

public aspect A {

	declare warning : execution(* C.hello()) :"blah";
	
	public void printSomething() {
		System.out.println("something");
	}
	
}

does pick up that "something" is needed to externalize, however, reports that the context is:

public class  A {

	declare warning                                 ;
	
	public void printSomething() {
		System.out.println("something");
	}
	
C x1;}
Comment 1 Andrew Eisenberg CLA 2008-08-22 14:46:28 EDT
Still a problem.

Probably has something to do with AspectsConvertingParser.java.
Comment 2 Andrew Eisenberg CLA 2009-02-13 17:35:29 EST
Working in the latest version of AJDT due to JDT Weaving.