Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: 1.12
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Used indirectly by gwt-maven-plugin to create Async interfaces for GWT
-
Number of attachments :
Description
clazz.getAnnotations() returns an not-null but empty table (0 elements) in following code (taken from gwt-maven-plugin)
GenerateAsyncMojo.java
String uri = MessageFormat.format( rpcPattern, className ); if ( clazz.getAnnotations() != null ) { for ( Annotation annotation : clazz.getAnnotations() ) { getLog().debug( "annotation found on service interface " + annotation ); if ( annotation.getType().getValue().equals( "com.google.gwt.user.client.rpc.RemoteServiceRelativePath" ) ) { uri = annotation.getNamedParameter( "value" ).toString(); // remove quotes uri = uri.substring( 1, uri.length() - 1 ); getLog().debug( "@RemoteServiceRelativePath annotation found on service interface " + uri ); } } }
Issue Links
- is depended upon by
-
MGWT-300 Generated Async class does not reflect @RemoteServiceRelativePath annotation if Service is already compiled
Activity
Robert Scholte
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Robert Scholte [ rfscholte ] |
Robert Scholte
made changes -
Michał Bartczak
made changes -
Attachment | gaemaven.zip [ 55565 ] |
Robert Scholte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Not A Bug [ 6 ] |
Robert Scholte
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
This issue should be linked to http://jira.codehaus.org/browse/MGWT-300