Well, that doesn't surprise me.... you add a configuration section on
plugins, it should be on flexmojos....
Now, what does really surprise me and scares a bit is maven allowing you to
do that....


VELO

On Thu, Oct 29, 2009 at 2:41 PM, Sagar Jadhav <
[email protected]> wrote:

> I don't see a config-report.xml being generated though in the
> target/classes if that's where the file should be generated.
>
> Here's my pom.xml I hope it is right
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
> <modelVersion>4.0.0</modelVersion>
>
> <parent>
> <groupId>DSH</groupId>
> <artifactId>DSH</artifactId>
> <version>1.0.0.RELEASE</version>
> </parent>
>
> <artifactId>PlanningOrder</artifactId>
> <packaging>swf</packaging>
>
> <name>PlanningOrder Form</name>
>
> <build>
> <finalName>DSHPlanning</finalName>
> <sourceDirectory>src/main/flex</sourceDirectory>
> <testSourceDirectory>src/test/flex</testSourceDirectory>
> <plugins>
> <configuration>
>       <configurationReport>true</configurationReport>
>       <debug>true</debug>
>    </configuration>
> <plugin>
> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-maven-plugin</artifactId>
> <version>3.2.0</version>
> <extensions>true</extensions>
> <configuration>
>
> <output>${basedir}/../DSHPlanning/src/main/webapp/${project.build.finalName}.swf</output>
>
> <services>${basedir}/../DSHPlanning/src/main/webapp/WEB-INF/flex/services-config.xml</services>
> <contextRoot>/</contextRoot>
> <locales>
> <locale>en_US</locale>
> </locales>
> </configuration>
> </plugin>
> </plugins>
> </build>
>
> <dependencies>
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>flex-framework</artifactId>
> <version>3.2.0.3958</version>
> <type>pom</type>
> </dependency>
> <dependency>
> <groupId>flexlib</groupId>
> <artifactId>flexlib-bin</artifactId>
> <version>2.4</version>
> <type>swc</type>
> </dependency>
> <!-- flexmojos Unit testing support -->
> <!--
> <dependency> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-unittest-support</artifactId>
> <version>3.2.0</version> <type>swc</type> <scope>test</scope>
> </dependency>
> -->
> </dependencies>
>
> </project>
>
>
> regards
> Sagar
> On Oct 29, 2009, at 11:21 AM, Marvin Froeder wrote:
>
> I think you didn't looked at correct xml file on maven side.... it does
> look like the config.xml template file....
>
> VELO
>
> On Thu, Oct 29, 2009 at 2:18 PM, Sagar Jadhav <
> [email protected]> wrote:
>
>> These are the following differences which I found in flex builder
>>
>>       <library-path>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/automation.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/automation_agent.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/automation_dmv.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/datavisualization.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/flex.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/framework.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/qtp.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/rpc.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/libs/utilities.swc</path-element>
>>          <path-element>/Users/sagarjadhav/tools/flex/Adobe Flex Builder 3
>> Plug-in/sdks/3.2.0/frameworks/locale/{locale}</path-element>
>>          <path-element>
>> /Users/sagarjadhav/development/DellApps/dellgpu/DSHPlanning/flex_libs</
>> path-element>
>>       </library-path>
>>
>> and the following in maven config report
>>
>>       <!-- List of SWC files or directories that contain SWC files. -->
>>       <library-path>
>>          <path-element>libs</path-element>
>>  <!-- keep the original location in the libpath for
>> backwards-compatibility -->
>>          <path-element>libs/player</path-element>
>>
>> <path-element>libs/player/{targetPlayerMajorVersion}</path-element>
>>      <path-element>locale/{locale}</path-element>
>>       </library-path>
>>
>> Does this make a huge difference in the size...I mean does this mean that
>> all the rest of the swc's are getting compiled in to the resultant swf file
>> making the size larger in FlexBuilder.
>>
>> regards
>> Sagar Jadhav
>>
>> On Oct 29, 2009, at 11:06 AM, Marvin Froeder wrote:
>>
>> Awesome....  so, what was the difference?
>>
>> VELO
>>
>> On Thu, Oct 29, 2009 at 2:04 PM, Sagar Jadhav <
>> [email protected]> wrote:
>>
>>> Ooops sorry that was a typo .... I meant I was able to do that....really
>>> sorry
>>>
>>> On Oct 29, 2009, at 10:59 AM, Marvin Froeder wrote:
>>>
>>> You was unable to do that? Why, what happened?
>>>
>>> VELO
>>>
>>> On Thu, Oct 29, 2009 at 1:57 PM, Sagar Jadhav <
>>> [email protected]> wrote:
>>>
>>>> Thank you as I was unable to use the configuration repot option and set
>>>> it on both the IDE and maven and see the difference. The maven report is
>>>> generated in a file called as flex-config.xml under the target/classes
>>>> directory.
>>>> Thanks again.
>>>>
>>>> regards
>>>> Sagar Jadhav
>>>>
>>>> On Oct 29, 2009, at 10:17 AM, Marvin Froeder wrote:
>>>>
>>>> Take a look on FAQ.
>>>>
>>>> VELO
>>>>
>>>> On Thu, Oct 29, 2009 at 1:16 PM, Sagar Jadhav <
>>>> [email protected]> wrote:
>>>>
>>>>>
>>>>> When I build my Flex web application using the Flex Builder and the
>>>>> resulting .swf file's size is 788KB but when I build the same
>>>>> application using the Flex mojo maven way the resulting size is 484
>>>>> KB. I am not able to understand why as I have made sure that all the
>>>>> files are present and I see no changes there.
>>>>> Is there something I am missing? Kindly help.
>>>>>
>>>>> regards
>>>>> Sagar Jadhav
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to