<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Adding libraries to compilation&#8230;</title>
	<atom:link href="http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/</link>
	<description>Maven 2 plugins for Flex</description>
	<pubDate>Wed, 07 Jan 2009 05:07:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: KWong</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-267</link>
		<dc:creator>KWong</dc:creator>
		<pubDate>Sat, 03 Jan 2009 01:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-267</guid>
		<description>Um, nevermind my previous post. I post it in the wrong thread and I think I know why I got all these problems. The pom I am using is still using 1.0beta of flex mojo, no wonder I am having all these problems!</description>
		<content:encoded><![CDATA[<p>Um, nevermind my previous post. I post it in the wrong thread and I think I know why I got all these problems. The pom I am using is still using 1.0beta of flex mojo, no wonder I am having all these problems!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KWong</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-266</link>
		<dc:creator>KWong</dc:creator>
		<pubDate>Sat, 03 Jan 2009 00:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-266</guid>
		<description>I got another problem. I just try to update to use Flex SDK 3.2 from 3.0.0, and I noticed the group name have changed from com.adobe.flex.sdk to com.adobe.flex.framework.

I changed all of them in my pom accordingly and then try to compile. Got error essentially telling me resource bundles not found for framework and rpc. Check the svn repo for mojo and find that they have been rename to contain ".rb.". Did some more googling and I change the "type" for the dependency from "resource-bundle" to "rb.swc". 

Try compiling again, but it still complains about resource bundle not found for messging and rpc. I add the en_US in the configuration for flex-compiler-mojo as suggested in another link, but it still didn't work. Can someone please help?

C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework&#62;mvn
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building IIP UI Core Framework
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [iip-core-label-version:version {execution: default}]
[INFO] [flex-compiler-mojo:compile-swc]
[INFO] Using configuration file C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\
IIPFramework\target\classes\config.xml
[WARNING] Nothing expecified to include.  Assuming source folders.
[INFO] Flex compiler configurations:
-compiler.accessible=false
-compiler.actionscript-file-encoding UTF-8
-compiler.allow-source-path-overlap=false
-compiler.as3=true
-compiler.debug=false
-compiler.es=false
-compiler.external-library-path C:\Documents and Settings\kwong\.m2\repository\F
luint\Fluint\1.0.0\Fluint-1.0.0.swc C:\Documents and Settings\kwong\.m2\reposito
ry\Mate\Mate.8.5\Mate-0.8.5.swc C:\Documents and Settings\kwong\.m2\repository
\renaun\Logger\1.0.1\Logger-1.0.1.swc C:\Documents and Settings\kwong\.m2\reposi
tory\com\allurent\urlkit\urlkitFlex3.9.2\urlkitFlex3-0.9.2.swc C:\Documents an
d Settings\kwong\.m2\repository\com\adobe\flex\framework\playerglobal\9-3.2.0.39
58\playerglobal-9-3.2.0.3958.swc C:\Documents and Settings\kwong\.m2\repository\
com\adobe\flex\framework\framework\3.2.0.3958\framework-3.2.0.3958.swc
-compiler.fonts.local-fonts-snapshot C:\workspace\kwong_iip_uicore_1_0_0b\iip_ui
core\IIPFramework\target\classes\fonts.ser
-compiler.headless-server=false
-compiler.include-libraries=
-compiler.keep-all-type-selectors=false
-compiler.keep-generated-actionscript=false
-compiler.library-path C:\Documents and Settings\kwong\.m2\repository\com\adobe\
flex\framework\flex\3.2.0.3958\flex-3.2.0.3958.swc C:\Documents and Settings\kwo
ng\.m2\repository\com\adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958.swc C:\
Documents and Settings\kwong\.m2\repository\com\adobe\flex\framework\utilities\3
.2.0.3958\utilities-3.2.0.3958.swc
-compiler.locale en_US
-compiler.optimize=true
-compiler.source-path C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramewo
rk\src C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\src C:\works
pace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\locale\en_US
-compiler.strict=true
-compiler.theme=
-compiler.use-resource-bundle-metadata=true
-compiler.verbose-stacktraces=false
-compute-digest=true
-default-background-color 8821927
-default-frame-rate 24
-default-script-limits 1000 60
-default-size 500 375
flexbuilder3.displayedFirstLaunchMessage true
-load-config C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\target
\classes\config.xml
-metadata.date Jan 2, 2009
-metadata.language en_US
-metadata.localized-description en_US UI Core Framework implementation
-metadata.localized-title en_US IIP UI Core Framework
-target-player 9.0.0
-use-network=true
-verify-digests=true
[INFO] Loading configuration file C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicor
e\IIPFramework\target\classes\config.xml
[WARNING] C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\src\uicor
e\framework\controls\IIPLinkBarNavigator.mxml:[26,-1] Data binding will not be a
ble to detect assignments to "layout".
[ERROR] could not find source for resource bundle messaging.
[ERROR] could not find source for resource bundle rpc.</description>
		<content:encoded><![CDATA[<p>I got another problem. I just try to update to use Flex SDK 3.2 from 3.0.0, and I noticed the group name have changed from com.adobe.flex.sdk to com.adobe.flex.framework.</p>
<p>I changed all of them in my pom accordingly and then try to compile. Got error essentially telling me resource bundles not found for framework and rpc. Check the svn repo for mojo and find that they have been rename to contain &#8220;.rb.&#8221;. Did some more googling and I change the &#8220;type&#8221; for the dependency from &#8220;resource-bundle&#8221; to &#8220;rb.swc&#8221;. </p>
<p>Try compiling again, but it still complains about resource bundle not found for messging and rpc. I add the en_US in the configuration for flex-compiler-mojo as suggested in another link, but it still didn&#8217;t work. Can someone please help?</p>
<p>C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework&gt;mvn<br />
[INFO] Scanning for projects&#8230;<br />
WAGON_VERSION: 1.0-beta-2<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Building IIP UI Core Framework<br />
[INFO]    task-segment: [install]<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] [iip-core-label-version:version {execution: default}]<br />
[INFO] [flex-compiler-mojo:compile-swc]<br />
[INFO] Using configuration file C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\<br />
IIPFramework\target\classes\config.xml<br />
[WARNING] Nothing expecified to include.  Assuming source folders.<br />
[INFO] Flex compiler configurations:<br />
-compiler.accessible=false<br />
-compiler.actionscript-file-encoding UTF-8<br />
-compiler.allow-source-path-overlap=false<br />
-compiler.as3=true<br />
-compiler.debug=false<br />
-compiler.es=false<br />
-compiler.external-library-path C:\Documents and Settings\kwong\.m2\repository\F<br />
luint\Fluint\1.0.0\Fluint-1.0.0.swc C:\Documents and Settings\kwong\.m2\reposito<br />
ry\Mate\Mate.8.5\Mate-0.8.5.swc C:\Documents and Settings\kwong\.m2\repository<br />
\renaun\Logger\1.0.1\Logger-1.0.1.swc C:\Documents and Settings\kwong\.m2\reposi<br />
tory\com\allurent\urlkit\urlkitFlex3.9.2\urlkitFlex3-0.9.2.swc C:\Documents an<br />
d Settings\kwong\.m2\repository\com\adobe\flex\framework\playerglobal\9-3.2.0.39<br />
58\playerglobal-9-3.2.0.3958.swc C:\Documents and Settings\kwong\.m2\repository\<br />
com\adobe\flex\framework\framework\3.2.0.3958\framework-3.2.0.3958.swc<br />
-compiler.fonts.local-fonts-snapshot C:\workspace\kwong_iip_uicore_1_0_0b\iip_ui<br />
core\IIPFramework\target\classes\fonts.ser<br />
-compiler.headless-server=false<br />
-compiler.include-libraries=<br />
-compiler.keep-all-type-selectors=false<br />
-compiler.keep-generated-actionscript=false<br />
-compiler.library-path C:\Documents and Settings\kwong\.m2\repository\com\adobe\<br />
flex\framework\flex\3.2.0.3958\flex-3.2.0.3958.swc C:\Documents and Settings\kwo<br />
ng\.m2\repository\com\adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958.swc C:\<br />
Documents and Settings\kwong\.m2\repository\com\adobe\flex\framework\utilities\3<br />
.2.0.3958\utilities-3.2.0.3958.swc<br />
-compiler.locale en_US<br />
-compiler.optimize=true<br />
-compiler.source-path C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramewo<br />
rk\src C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\src C:\works<br />
pace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\locale\en_US<br />
-compiler.strict=true<br />
-compiler.theme=<br />
-compiler.use-resource-bundle-metadata=true<br />
-compiler.verbose-stacktraces=false<br />
-compute-digest=true<br />
-default-background-color 8821927<br />
-default-frame-rate 24<br />
-default-script-limits 1000 60<br />
-default-size 500 375<br />
flexbuilder3.displayedFirstLaunchMessage true<br />
-load-config C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\target<br />
\classes\config.xml<br />
-metadata.date Jan 2, 2009<br />
-metadata.language en_US<br />
-metadata.localized-description en_US UI Core Framework implementation<br />
-metadata.localized-title en_US IIP UI Core Framework<br />
-target-player 9.0.0<br />
-use-network=true<br />
-verify-digests=true<br />
[INFO] Loading configuration file C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicor<br />
e\IIPFramework\target\classes\config.xml<br />
[WARNING] C:\workspace\kwong_iip_uicore_1_0_0b\iip_uicore\IIPFramework\src\uicor<br />
e\framework\controls\IIPLinkBarNavigator.mxml:[26,-1] Data binding will not be a<br />
ble to detect assignments to &#8220;layout&#8221;.<br />
[ERROR] could not find source for resource bundle messaging.<br />
[ERROR] could not find source for resource bundle rpc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: velo</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-260</link>
		<dc:creator>velo</dc:creator>
		<pubDate>Wed, 24 Dec 2008 00:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-260</guid>
		<description>Hey,

Right now that is a manual job done using maven-dependency-plugin.
&lt;BR&gt;
Take a look on google group for a sample:

http://groups.google.com/group/flex-mojos/browse_thread/thread/1aa65f72378eaa89/f53d18f78a5ce320

&lt;BR&gt;
VELO</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Right now that is a manual job done using maven-dependency-plugin.<br />
<br />
Take a look on google group for a sample:</p>
<p><a href="http://groups.google.com/group/flex-mojos/browse_thread/thread/1aa65f72378eaa89/f53d18f78a5ce320" rel="nofollow">http://groups.google.com/group/flex-mojos/browse_thread/thread/1aa65f72378eaa89/f53d18f78a5ce320</a></p>
<p>
VELO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KWong</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-259</link>
		<dc:creator>KWong</dc:creator>
		<pubDate>Tue, 23 Dec 2008 23:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-259</guid>
		<description>How do I include the swc as RSL in a war? I can get maven to copy all the dependency swc and then package them into a war. But I can't figure out how to tell maven to extract the swf from the swc  (for RSL deployment). Is this possible?
tks.</description>
		<content:encoded><![CDATA[<p>How do I include the swc as RSL in a war? I can get maven to copy all the dependency swc and then package them into a war. But I can&#8217;t figure out how to tell maven to extract the swf from the swc  (for RSL deployment). Is this possible?<br />
tks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: velo</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-194</link>
		<dc:creator>velo</dc:creator>
		<pubDate>Sun, 19 Oct 2008 22:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-194</guid>
		<description>System scope isn't supported by flex mojos.  Since maven scopes didn't cover flex compilation scopes.

http://blog.flex-mojos.info/2008/06/04/scopes/


VELO</description>
		<content:encoded><![CDATA[<p>System scope isn&#8217;t supported by flex mojos.  Since maven scopes didn&#8217;t cover flex compilation scopes.</p>
<p><a href="http://blog.flex-mojos.info/2008/06/04/scopes/" rel="nofollow">http://blog.flex-mojos.info/2008/06/04/scopes/</a></p>
<p>VELO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-193</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Sun, 19 Oct 2008 20:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-193</guid>
		<description>Hi VELO,

I'am using lifecycle dataservices in my project and want to include the libs in the compile  process. Since the lcds libs are present at runtime in the tomcat container I don't need to package them, but I need them when compiling.
I'am using the maven system so I don't have to add all the libs to the maven repository but just refer to them at the filesystem. 


 lcds
  fds
  2.6.2 
  swc
  system
  ${lcds.home}/../flex/libs/fds.swc


So the groupId, artifactId and version are bogus because the only thing that matters is the systemPath. But libs defined this way are not passed to the compile options, so I keep on getting an error during compiling: [Channel definition, mx.messaging.channels.RTMPChannel, can not be found].

What do you recommend?

Regards,

Frank</description>
		<content:encoded><![CDATA[<p>Hi VELO,</p>
<p>I&#8217;am using lifecycle dataservices in my project and want to include the libs in the compile  process. Since the lcds libs are present at runtime in the tomcat container I don&#8217;t need to package them, but I need them when compiling.<br />
I&#8217;am using the maven system so I don&#8217;t have to add all the libs to the maven repository but just refer to them at the filesystem. </p>
<p> lcds<br />
  fds<br />
  2.6.2<br />
  swc<br />
  system<br />
  ${lcds.home}/../flex/libs/fds.swc</p>
<p>So the groupId, artifactId and version are bogus because the only thing that matters is the systemPath. But libs defined this way are not passed to the compile options, so I keep on getting an error during compiling: [Channel definition, mx.messaging.channels.RTMPChannel, can not be found].</p>
<p>What do you recommend?</p>
<p>Regards,</p>
<p>Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ingo</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-175</link>
		<dc:creator>Ingo</dc:creator>
		<pubDate>Thu, 09 Oct 2008 14:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-175</guid>
		<description>Hi VELO,
I just came over that these artifacts have the same behavior as the well known adobe "frameworkswc" artifact. It uses resource bundles from the sdk installation path :( I forgot to add these resource bundles to the repository. So, for anyone using sdk swc files like: airframework.swc, automation.swc, automation_agent.swc, datavisualisation.swc, framework.swc or rpc.swc....  

Do not forget to add those resource bundles to your maven repository :)

Regards
Ingo</description>
		<content:encoded><![CDATA[<p>Hi VELO,<br />
I just came over that these artifacts have the same behavior as the well known adobe &#8220;frameworkswc&#8221; artifact. It uses resource bundles from the sdk installation path <img src='http://blog.flex-mojos.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> I forgot to add these resource bundles to the repository. So, for anyone using sdk swc files like: airframework.swc, automation.swc, automation_agent.swc, datavisualisation.swc, framework.swc or rpc.swc&#8230;.  </p>
<p>Do not forget to add those resource bundles to your maven repository <img src='http://blog.flex-mojos.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards<br />
Ingo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: velo</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-174</link>
		<dc:creator>velo</dc:creator>
		<pubDate>Thu, 09 Oct 2008 13:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-174</guid>
		<description>Flex compiler is complaining about automation resource-bundle, not flex-mojos.

If there is an way to make flex compiler don't worries about it that can be done on flex-mojos.  But there is any way to compiler a localized library without providing the resource-bundle?  If there is I don't know it.


VELO</description>
		<content:encoded><![CDATA[<p>Flex compiler is complaining about automation resource-bundle, not flex-mojos.</p>
<p>If there is an way to make flex compiler don&#8217;t worries about it that can be done on flex-mojos.  But there is any way to compiler a localized library without providing the resource-bundle?  If there is I don&#8217;t know it.</p>
<p>VELO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ingo</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-173</link>
		<dc:creator>Ingo</dc:creator>
		<pubDate>Thu, 09 Oct 2008 12:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-173</guid>
		<description>Hi VELO,
I just testet some external artifacts that I have to add with internal scope and a error message comes up saying: "[ERROR] could not find source for resource bundle automation.". 

I defined internal scope because I have to use "-compiler.include-libraries" as you wrote above. Here is what I have defined in the pom file:


  com.adobe.flex.sdk
  automation
  swc
  internal


Is there a way to exclude resource bundles for a particular dependency with internal scope?

Thanks for your help.

Regards
Ingo</description>
		<content:encoded><![CDATA[<p>Hi VELO,<br />
I just testet some external artifacts that I have to add with internal scope and a error message comes up saying: &#8220;[ERROR] could not find source for resource bundle automation.&#8221;. </p>
<p>I defined internal scope because I have to use &#8220;-compiler.include-libraries&#8221; as you wrote above. Here is what I have defined in the pom file:</p>
<p>  com.adobe.flex.sdk<br />
  automation<br />
  swc<br />
  internal</p>
<p>Is there a way to exclude resource bundles for a particular dependency with internal scope?</p>
<p>Thanks for your help.</p>
<p>Regards<br />
Ingo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: velo</title>
		<link>http://blog.flex-mojos.info/2008/06/27/adding-libraries-to-compilation/#comment-81</link>
		<dc:creator>velo</dc:creator>
		<pubDate>Sat, 05 Jul 2008 16:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flex-mojos.info/?p=50#comment-81</guid>
		<description>Hi Nicolas...

That is right.  datavisualization isn't open source.  Because of that I will not add datavisualization.swc on flex-mojos maven repository.

If you need, you must install it by hand.

You can see instructions to that on dashboard wiki:
http://code.google.com/p/flex-mojos/wiki/DashboardSamplePom


VELO</description>
		<content:encoded><![CDATA[<p>Hi Nicolas&#8230;</p>
<p>That is right.  datavisualization isn&#8217;t open source.  Because of that I will not add datavisualization.swc on flex-mojos maven repository.</p>
<p>If you need, you must install it by hand.</p>
<p>You can see instructions to that on dashboard wiki:<br />
<a href="http://code.google.com/p/flex-mojos/wiki/DashboardSamplePom" rel="nofollow">http://code.google.com/p/flex-mojos/wiki/DashboardSamplePom</a></p>
<p>VELO</p>
]]></content:encoded>
	</item>
</channel>
</rss>
