<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: I will FlexMojo no more</title>
	<atom:link href="http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/</link>
	<description>All about software development</description>
	<lastBuildDate>Fri, 18 Jun 2010 00:37:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: boyetp</title>
		<link>http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/comment-page-1/#comment-755</link>
		<dc:creator>boyetp</dc:creator>
		<pubDate>Mon, 12 Oct 2009 03:19:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.totalworldannihilation.org/blog/?p=142#comment-755</guid>
		<description>Hi there,

I hope somebody can help me.
I&#039;ve been trying to compile a flex component with flexmojo.

in my src/main/flex  I have a as Class file 
App.as
================================
package com.test {

	public class App {
		include &quot;TestIncl2.as&quot;;
		
		public function App(){
		   super();
		}
		
		public static function greeting(name:String):String {
			
			return &quot;Hello, &quot; + name;
		}
	}
}

and an as file(not a as class)

TestIncl2.as
=================
private var _test2:String;

public function set test2(p:String):void{
	_test = p;
}

public function get test2():String{
	return _test;
}

==================================

using mvn compile

maven will also compile the TestIncl2.as

which will get an error.

How do I exclude this file in the pom.xml?


Henry</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I hope somebody can help me.<br />
I&#8217;ve been trying to compile a flex component with flexmojo.</p>
<p>in my src/main/flex  I have a as Class file<br />
App.as<br />
================================<br />
package com.test {</p>
<p>	public class App {<br />
		include &#8220;TestIncl2.as&#8221;;</p>
<p>		public function App(){<br />
		   super();<br />
		}</p>
<p>		public static function greeting(name:String):String {</p>
<p>			return &#8220;Hello, &#8221; + name;<br />
		}<br />
	}<br />
}</p>
<p>and an as file(not a as class)</p>
<p>TestIncl2.as<br />
=================<br />
private var _test2:String;</p>
<p>public function set test2(p:String):void{<br />
	_test = p;<br />
}</p>
<p>public function get test2():String{<br />
	return _test;<br />
}</p>
<p>==================================</p>
<p>using mvn compile</p>
<p>maven will also compile the TestIncl2.as</p>
<p>which will get an error.</p>
<p>How do I exclude this file in the pom.xml?</p>
<p>Henry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VELO</title>
		<link>http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/comment-page-1/#comment-732</link>
		<dc:creator>VELO</dc:creator>
		<pubDate>Wed, 29 Jul 2009 11:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.totalworldannihilation.org/blog/?p=142#comment-732</guid>
		<description>Having dependencies on repo is the only way to be sure what version you are using....

That even allow you building the same sources with different flex versions, if you need to be compatible with more then one version for any reason....

Makes no sense compare with Java here.  Java has much less releases then Flex and Java keep compatible between releases.  Anyway, if you like this approach, you could try israfil mojo... as you said dead horse, but does like you like =D

But anyway, you shouldn&#039;t need to fight any dependency.  I had all deployed on flexmojos repo, may be that shows helpful:
http://www.sonatype.com/books/maven-book/reference/ch20.html

It should be very strait forward approach.


VELO</description>
		<content:encoded><![CDATA[<p>Having dependencies on repo is the only way to be sure what version you are using&#8230;.</p>
<p>That even allow you building the same sources with different flex versions, if you need to be compatible with more then one version for any reason&#8230;.</p>
<p>Makes no sense compare with Java here.  Java has much less releases then Flex and Java keep compatible between releases.  Anyway, if you like this approach, you could try israfil mojo&#8230; as you said dead horse, but does like you like =D</p>
<p>But anyway, you shouldn&#8217;t need to fight any dependency.  I had all deployed on flexmojos repo, may be that shows helpful:<br />
<a href="http://www.sonatype.com/books/maven-book/reference/ch20.html" rel="nofollow">http://www.sonatype.com/books/maven-book/reference/ch20.html</a></p>
<p>It should be very strait forward approach.</p>
<p>VELO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leftieFriele</title>
		<link>http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/comment-page-1/#comment-731</link>
		<dc:creator>leftieFriele</dc:creator>
		<pubDate>Wed, 29 Jul 2009 06:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.totalworldannihilation.org/blog/?p=142#comment-731</guid>
		<description>I have no issues with Maven for Java development and I am fully aware of the benefits of using Maven over Ant. Therefor I have no desire to substitute Maven for Ant in general, just when it comes to Flex.  

The point about using new stuff from Adobe is very much valid as I don&#039;t need a feature to be in the Ant tasks to utilize it. Like you say I can just call it using the command line tasks from day one.

Just last night I tried to setup a new project with FM just because I wanted give it another go. I ended up fighting with the dependencies to playerglobals and I just gave up, as neither the super-POMs in the FM source tree nor any of the suggestions on the mailing list solved my problems. Having to resolve dependencies which are internal to the SDK is something which I can&#039;t be bothered with having to deal with. 
I think that having the pieces of the SDK as Maven dependencies is a bad decision and it just adds complexity to using FM. If I could just point to my SDK and say &quot;look over there Flex Mojos&quot; it would make life so much simpler and I wouldn&#039;t have issues like the one I had last night. Maven requires JAVA_HOME in order to execute and a similar approach could make life easier for FM users too.</description>
		<content:encoded><![CDATA[<p>I have no issues with Maven for Java development and I am fully aware of the benefits of using Maven over Ant. Therefor I have no desire to substitute Maven for Ant in general, just when it comes to Flex.  </p>
<p>The point about using new stuff from Adobe is very much valid as I don&#8217;t need a feature to be in the Ant tasks to utilize it. Like you say I can just call it using the command line tasks from day one.</p>
<p>Just last night I tried to setup a new project with FM just because I wanted give it another go. I ended up fighting with the dependencies to playerglobals and I just gave up, as neither the super-POMs in the FM source tree nor any of the suggestions on the mailing list solved my problems. Having to resolve dependencies which are internal to the SDK is something which I can&#8217;t be bothered with having to deal with.<br />
I think that having the pieces of the SDK as Maven dependencies is a bad decision and it just adds complexity to using FM. If I could just point to my SDK and say &#8220;look over there Flex Mojos&#8221; it would make life so much simpler and I wouldn&#8217;t have issues like the one I had last night. Maven requires JAVA_HOME in order to execute and a similar approach could make life easier for FM users too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VELO</title>
		<link>http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/comment-page-1/#comment-730</link>
		<dc:creator>VELO</dc:creator>
		<pubDate>Tue, 28 Jul 2009 17:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.totalworldannihilation.org/blog/?p=142#comment-730</guid>
		<description>I see...

Well, using maven + ant-run + ant tasks won&#039;t get you rid of pom... quite the opposite, you still have the pom and will have the build.xml embed on it...

If you are used with ANT, maven is a big change.  On ant you say: do this, do that and that. And ant does.  On maven you say: this is a SWF project. Magic happens.

I had troubles on my own when I was forced to start with maven.  Today I thank a lot the guy who forced me into maven.

On Flexmojos we kind workaround this one-artifact-per-modules (at least for modules), still far from what people consider ideal, but with feedbacks we can improve.  Personally I hate producing N swf from the same set of sources.  That usually lead into problems like duplicated class definitions on modules, but ok... who am I do disagree =D

Anyway, if you had any idea or even had any problem that you found impossible to solve with Flexmojos I appreciate if you could share that with me, then I could improve it.

And just for the record, I completely disagree from &quot;I can take advantage of new stuff from Adobe from day one&quot;... there still features uncovered by ant tasks.  Right now what you said is only possible using mxmlc, compc, optimizer, asdoc, digester, ..... all from command line


VELO</description>
		<content:encoded><![CDATA[<p>I see&#8230;</p>
<p>Well, using maven + ant-run + ant tasks won&#8217;t get you rid of pom&#8230; quite the opposite, you still have the pom and will have the build.xml embed on it&#8230;</p>
<p>If you are used with ANT, maven is a big change.  On ant you say: do this, do that and that. And ant does.  On maven you say: this is a SWF project. Magic happens.</p>
<p>I had troubles on my own when I was forced to start with maven.  Today I thank a lot the guy who forced me into maven.</p>
<p>On Flexmojos we kind workaround this one-artifact-per-modules (at least for modules), still far from what people consider ideal, but with feedbacks we can improve.  Personally I hate producing N swf from the same set of sources.  That usually lead into problems like duplicated class definitions on modules, but ok&#8230; who am I do disagree =D</p>
<p>Anyway, if you had any idea or even had any problem that you found impossible to solve with Flexmojos I appreciate if you could share that with me, then I could improve it.</p>
<p>And just for the record, I completely disagree from &#8220;I can take advantage of new stuff from Adobe from day one&#8221;&#8230; there still features uncovered by ant tasks.  Right now what you said is only possible using mxmlc, compc, optimizer, asdoc, digester, &#8230;.. all from command line</p>
<p>VELO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leftieFriele</title>
		<link>http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/comment-page-1/#comment-728</link>
		<dc:creator>leftieFriele</dc:creator>
		<pubDate>Tue, 28 Jul 2009 12:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.totalworldannihilation.org/blog/?p=142#comment-728</guid>
		<description>Hi Velo, first of all I think you are doing a great job and I know loads of people who reap the benefits of your work with Flex Mojos. So keep up the good work!

When it comes to my posting I am more or less just describing my personal preference after having worked with the two Maven plugins. I dislike every moment I have to spend in Maven&#039;s POM files as it tends to be somewhat of a black hole when it comes to taking away my time. Therefor I like things to be easy and personally I find using Ant to be the easiest. As it allows me full control and I can take advantage of new stuff from Adobe from day one.

Most of my issues are with Maven and it&#039;s one-artifact-per-module and my own inability to debug anything that goes wrong when the magic that is Maven brakes down. It is not as much with any of the plugins.</description>
		<content:encoded><![CDATA[<p>Hi Velo, first of all I think you are doing a great job and I know loads of people who reap the benefits of your work with Flex Mojos. So keep up the good work!</p>
<p>When it comes to my posting I am more or less just describing my personal preference after having worked with the two Maven plugins. I dislike every moment I have to spend in Maven&#8217;s POM files as it tends to be somewhat of a black hole when it comes to taking away my time. Therefor I like things to be easy and personally I find using Ant to be the easiest. As it allows me full control and I can take advantage of new stuff from Adobe from day one.</p>
<p>Most of my issues are with Maven and it&#8217;s one-artifact-per-module and my own inability to debug anything that goes wrong when the magic that is Maven brakes down. It is not as much with any of the plugins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VELO</title>
		<link>http://www.totalworldannihilation.org/blog/2009/06/25/i-will-flexmojo-no-more/comment-page-1/#comment-727</link>
		<dc:creator>VELO</dc:creator>
		<pubDate>Tue, 28 Jul 2009 11:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.totalworldannihilation.org/blog/?p=142#comment-727</guid>
		<description>Hi,

Sorry to hear you had a bad time using Flexmojos.

I hope that was a problem on Flexmojos 1.0, but you post is too recent to that be the case.

About your Flexbuilder issue, probably some config that you put on FB or FM and didn&#039;t put in the other, kinda expected.

About CSS to SWF that is true, maven needs a pom.xml,
ant needs a build.xml, flexbuilder needs .actionscriptProperties....  that must be stored anywhere, unless you wish to invoke mxmlc manually each time =D

I&#039;m curious what issue did you had with modules.  I saw no jira ticket or discussion on users list coming from Espen or Espen Dalløkken, so either you didn&#039;t report your problems or you did that using a nickname.  Either case I would like to know what happened.

Comparing Flexmojos and Ant tasks is kinda unfair....  for 2 main reasons:
1 - is hard to guess when adobe add any new feature to Flex, so I can add new features before know they exists.
2 - Flexmojos has much more features then Ant tasks, like war creation, locales resource bundle generation, asdoc support and more...

Anyway, if you missed any Flex feature on Flexmojos I would like to know that too.


VELO</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Sorry to hear you had a bad time using Flexmojos.</p>
<p>I hope that was a problem on Flexmojos 1.0, but you post is too recent to that be the case.</p>
<p>About your Flexbuilder issue, probably some config that you put on FB or FM and didn&#8217;t put in the other, kinda expected.</p>
<p>About CSS to SWF that is true, maven needs a pom.xml,<br />
ant needs a build.xml, flexbuilder needs .actionscriptProperties&#8230;.  that must be stored anywhere, unless you wish to invoke mxmlc manually each time =D</p>
<p>I&#8217;m curious what issue did you had with modules.  I saw no jira ticket or discussion on users list coming from Espen or Espen Dalløkken, so either you didn&#8217;t report your problems or you did that using a nickname.  Either case I would like to know what happened.</p>
<p>Comparing Flexmojos and Ant tasks is kinda unfair&#8230;.  for 2 main reasons:<br />
1 &#8211; is hard to guess when adobe add any new feature to Flex, so I can add new features before know they exists.<br />
2 &#8211; Flexmojos has much more features then Ant tasks, like war creation, locales resource bundle generation, asdoc support and more&#8230;</p>
<p>Anyway, if you missed any Flex feature on Flexmojos I would like to know that too.</p>
<p>VELO</p>
]]></content:encoded>
	</item>
</channel>
</rss>
