0 Replies Latest reply: Apr 29, 2014 11:14 AM by VeenaChezhian RSS

    Defaults.css File issue

    VeenaChezhian Community Member

      Hi Guys,

      I have been trying to understand the issue revolving around defaults.css file in a Flex Library project. Here is my scenario,

      I  have the following 3 library projects and they have their own defaults.css

       

      1. Component-1.swc ( this is a defaults.css in it )

      2. Component-2.swc ( this is a defaults.css in it )

      3. Component-3.swc ( this is a defaults.css in it )

       

      I am trying to merge all the above SWC's into a single SWC named framework.swc using the maven dependency element as shown below.

       

      <dependencies>

             <dependency>

                   <groupId>com.ui</groupId>

                   <artifactId>Component-1</artifactId>

                   <version>${project.version}</version>

                   <type>swc</type>

                   <scope>internal</scope>

             </dependency>

       

             <dependency>

                   <groupId>com.ui</groupId>

                   <artifactId>Component-2</artifactId>

                   <type>swc</type>

                   <version>${project.version}</version>

                   <scope>internal</scope>

              </dependency>

       

             <dependency>

                   <groupId>com.ui</groupId>

                   <artifactId>Component-3</artifactId>

                   <type>swc</type>

                   <version>${project.version}</version>

                   <scope>internal</scope>

               </dependency>

      <dependencies> 

       

      this results in framework.swc with a single defaults.css ( any one out of the three defaults.css file ). Can someone help me understand why this is behaving like this ? My guess is that it is trying to replace the defaults.css file when a dependent file was included in the file swc. But why ??

       

      Any response is greatly appreciated.

       

      thank U!