[ 
https://jira.codehaus.org/browse/MGWT-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285002#comment-285002
 ] 

Jean-Laurent BAUDRY edited comment on MGWT-321 at 12/8/11 3:57 AM:
-------------------------------------------------------------------

Pom Configuration :

<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <configuration>
                <cssFiles>
<cssFile>com/company/project/client/foo/resources/css/ImageWidgetCss.css</cssFile>
                        
<cssFile>com/company/project/client/foo/resources/css/foo.css</cssFile>
                        
<cssFile>com/company/project/client/foo/resources/css/bar.css</cssFile>
                </cssFiles>
        </configuration>
        <executions>
                <execution>
                        <id>css-generation</id>
                        <phase>generate-sources</phase>
                        <goals>
                                <goal>css</goal>
                        </goals>
                </execution>
        </executions>
</plugin>


Interface Generate By Maven With Css Interface Generator :

// DO NOT EDIT
// Automatically generated by com.google.gwt.resources.css.InterfaceGenerator
package com.company.project.client.resources.css;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.resources.client.CssResource.ClassName;
interface ImageWidgetCss extends CssResource {
  
  @ClassName("imageWidget-imagePanel")
  String imageWidgetImagePanel();
  
  @ClassName("imageWidget-imageTitle")
  String imageWidgetImageTitle();
  
  @ClassName("imageWidget-imageTitleBackground")
  String imageWidgetImageTitleBackground();
  
  @ClassName("imageWidget-SelectionBackground")
  String imageWidgetSelectionBackground();
  
  @ClassName("imageWidget-SelectionTitle")
  String imageWidgetSelectionTitle();
}

We can see that the interface doesn't have public signature.

      was (Author: jlbaudry):
    Pom Configuration :

<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <configuration>
                <cssFiles>
                        
<cssFile>com/thales/ecotaxe/cta/client/traitementAnomalie/resources/css/ImageWidgetCss.css</cssFile>
                        
<cssFile>com/thales/ecotaxe/cta/client/traitementAnomalie/resources/css/EcotaxeDataGridCss.css</cssFile>
                        
<cssFile>com/thales/ecotaxe/cta/client/traitementAnomalie/resources/css/ValidationAnomalieCss.css</cssFile>
                </cssFiles>
        </configuration>
        <executions>
                <execution>
                        <id>css-generation</id>
                        <phase>generate-sources</phase>
                        <goals>
                                <goal>css</goal>
                        </goals>
                </execution>
        </executions>
</plugin>


Interface Generate By Maven With Css Interface Generator :

// DO NOT EDIT
// Automatically generated by com.google.gwt.resources.css.InterfaceGenerator
package com.thales.ecotaxe.cta.client.traitementAnomalie.resources.css;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.resources.client.CssResource.ClassName;
interface ImageWidgetCss extends CssResource {
  
  @ClassName("imageWidget-imagePanel")
  String imageWidgetImagePanel();
  
  @ClassName("imageWidget-imageTitle")
  String imageWidgetImageTitle();
  
  @ClassName("imageWidget-imageTitleBackground")
  String imageWidgetImageTitleBackground();
  
  @ClassName("imageWidget-SelectionBackground")
  String imageWidgetSelectionBackground();
  
  @ClassName("imageWidget-SelectionTitle")
  String imageWidgetSelectionTitle();
}

We can see that the interface doesn't have public signature.
  
> Css Interface Generator create interface without signature
> ----------------------------------------------------------
>
>                 Key: MGWT-321
>                 URL: https://jira.codehaus.org/browse/MGWT-321
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Jean-Laurent BAUDRY
>
> Css interface generator create interface Java without signature.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to