<?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: Import Flexmojos Projects to IntelliJ IDEA 9</title>
	<atom:link href="http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/</link>
	<description>tips &#38; tricks, news, how-to's</description>
	<pubDate>Mon, 13 Feb 2012 10:42:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Anton Makeev</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120362</link>
		<dc:creator>Anton Makeev</dc:creator>
		<pubDate>Mon, 30 Nov 2009 12:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120362</guid>
		<description>I see, the problem is that it is not possible to import such configuration into IDEA - only one module can use some directory as a 'source folder', it cannot be shared.

Try playing with plugin executions: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html</description>
		<content:encoded><![CDATA[<p>I see, the problem is that it is not possible to import such configuration into IDEA - only one module can use some directory as a &#8217;source folder&#8217;, it cannot be shared.</p>
<p>Try playing with plugin executions: <a href="http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html" rel="nofollow">http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120360</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 30 Nov 2009 10:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120360</guid>
		<description>It has to work outside IntelliJ also. We use TeamCity as buildserver, and there we'd like to keep 1 build configuration that generates both debug and non-debug swf's.</description>
		<content:encoded><![CDATA[<p>It has to work outside IntelliJ also. We use TeamCity as buildserver, and there we&#8217;d like to keep 1 build configuration that generates both debug and non-debug swf&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Makeev</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120359</link>
		<dc:creator>Anton Makeev</dc:creator>
		<pubDate>Mon, 30 Nov 2009 10:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120359</guid>
		<description>You may configure Maven Run Configuration for specific profile and be able to run both debug and non-debug goals from IDEA for the same project.</description>
		<content:encoded><![CDATA[<p>You may configure Maven Run Configuration for specific profile and be able to run both debug and non-debug goals from IDEA for the same project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120358</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 30 Nov 2009 09:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120358</guid>
		<description>The thing is that the team wants both debug and non-debug versions in the same build. I tried all kinds maven structures to make this compatible with intellij, without success though. Any other suggestions?</description>
		<content:encoded><![CDATA[<p>The thing is that the team wants both debug and non-debug versions in the same build. I tried all kinds maven structures to make this compatible with intellij, without success though. Any other suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Makeev</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120236</link>
		<dc:creator>Anton Makeev</dc:creator>
		<pubDate>Fri, 27 Nov 2009 13:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120236</guid>
		<description>Hi, Christian,

Have you considered to use Maven profiles? You could have one pom and configure it according to enable debug features only if some profile is activated; IDEA allows you to choose what profile to use.

Thanks,
Anton Makeev</description>
		<content:encoded><![CDATA[<p>Hi, Christian,</p>
<p>Have you considered to use Maven profiles? You could have one pom and configure it according to enable debug features only if some profile is activated; IDEA allows you to choose what profile to use.</p>
<p>Thanks,<br />
Anton Makeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120225</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Fri, 27 Nov 2009 11:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120225</guid>
		<description>That seems to work! Thanks.

I've got another question I'd like to ask though. Our flex swf's are compiled in both debug and non-debug mode. 
For this, our maven structure for a flex app is as follows:

- pom.xml (aggregate pom)
- src/
- config/
     - pom.xml (contains src path, flexmojos config, dependencies)
- release/
     - pom.xml (sets flexmojos debug flag to false) 
- debug/
     - pom.xml (sets flexmojos debug flag to true)

The debug and release pom's have the config pom as parent.

When importing this structure, sources for this app are not bound to any module. I guess that is because IntelliJ does not support having 2 modules sharing the same sources?
After adding the sources manually to the aggregate module, code still shows up red because dependencies are set on the debug &#38; release modules only. 
So there is quite some manual tweaking to do for this to work. 

I was wondering if there is a known maven structure we could use so that IntelliJ can import this without headaches?

Christian</description>
		<content:encoded><![CDATA[<p>That seems to work! Thanks.</p>
<p>I&#8217;ve got another question I&#8217;d like to ask though. Our flex swf&#8217;s are compiled in both debug and non-debug mode.<br />
For this, our maven structure for a flex app is as follows:</p>
<p>- pom.xml (aggregate pom)<br />
- src/<br />
- config/<br />
     - pom.xml (contains src path, flexmojos config, dependencies)<br />
- release/<br />
     - pom.xml (sets flexmojos debug flag to false)<br />
- debug/<br />
     - pom.xml (sets flexmojos debug flag to true)</p>
<p>The debug and release pom&#8217;s have the config pom as parent.</p>
<p>When importing this structure, sources for this app are not bound to any module. I guess that is because IntelliJ does not support having 2 modules sharing the same sources?<br />
After adding the sources manually to the aggregate module, code still shows up red because dependencies are set on the debug &amp; release modules only.<br />
So there is quite some manual tweaking to do for this to work. </p>
<p>I was wondering if there is a known maven structure we could use so that IntelliJ can import this without headaches?</p>
<p>Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Doroshko</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120218</link>
		<dc:creator>Alexander Doroshko</dc:creator>
		<pubDate>Fri, 27 Nov 2009 10:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120218</guid>
		<description>Christian,
please try following:
- increase memory of Flex compiler (-Xmx parameter at 2nd screenshot).
- try latest EAP (http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP). A workaround for Flex compiler problem is implemented there (http://youtrack.jetbrains.net/issue/IDEADEV-39903)

Please write if it resolves your problem.</description>
		<content:encoded><![CDATA[<p>Christian,<br />
please try following:<br />
- increase memory of Flex compiler (-Xmx parameter at 2nd screenshot).<br />
- try latest EAP (http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP). A workaround for Flex compiler problem is implemented there (http://youtrack.jetbrains.net/issue/IDEADEV-39903)</p>
<p>Please write if it resolves your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-120205</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 26 Nov 2009 20:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-120205</guid>
		<description>Hi,

I've got a pretty large project here and was experimenting with IntelliJ9 Beta and the improved flex/maven support. The project is basically made up of a java server part and flex client. The project is defined using maven + flexmojos 3.4.

I imported the project fairly quickly and got it compiling after some minor tweaks. 
However, when Making the project, all flex facets are always recompiled, even if nothing changed. Compiling the 10+ flex facets takes about 5 minutes so you can see why it's a problem. Is that expected behavior? If not, what could be the problem?

Thanks,
Christian</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve got a pretty large project here and was experimenting with IntelliJ9 Beta and the improved flex/maven support. The project is basically made up of a java server part and flex client. The project is defined using maven + flexmojos 3.4.</p>
<p>I imported the project fairly quickly and got it compiling after some minor tweaks.<br />
However, when Making the project, all flex facets are always recompiled, even if nothing changed. Compiling the 10+ flex facets takes about 5 minutes so you can see why it&#8217;s a problem. Is that expected behavior? If not, what could be the problem?</p>
<p>Thanks,<br />
Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Makeev</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-116696</link>
		<dc:creator>Anton Makeev</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-116696</guid>
		<description>Hi,

If you want some specific Maven goal to be executed on each make, you can right-click a project in the Maven Projects tool window and select 'Execute Before/After Make' or you can go to any Run Configuration and set 'Before Make' task.

Thanks,
Anton Makeev</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>If you want some specific Maven goal to be executed on each make, you can right-click a project in the Maven Projects tool window and select &#8216;Execute Before/After Make&#8217; or you can go to any Run Configuration and set &#8216;Before Make&#8217; task.</p>
<p>Thanks,<br />
Anton Makeev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Doroshko</title>
		<link>http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/#comment-116643</link>
		<dc:creator>Alexander Doroshko</dc:creator>
		<pubDate>Thu, 01 Oct 2009 13:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2014#comment-116643</guid>
		<description>I guess you have a Web facet in your 'webapp module'. If so - add dependency of 'webapp module' on 'flex module' and then at 'Web Settings' tab of Web facet configuration click 'Add...' at 'Modules and Libraries to Package' panel and select Flex module compile output. 
Note: you'll probably need to set Flex module compiler output path to .../flex_module/target/ (see 'Paths' tab of the Flex module configuration)</description>
		<content:encoded><![CDATA[<p>I guess you have a Web facet in your &#8216;webapp module&#8217;. If so - add dependency of &#8216;webapp module&#8217; on &#8216;flex module&#8217; and then at &#8216;Web Settings&#8217; tab of Web facet configuration click &#8216;Add&#8230;&#8217; at &#8216;Modules and Libraries to Package&#8217; panel and select Flex module compile output.<br />
Note: you&#8217;ll probably need to set Flex module compiler output path to &#8230;/flex_module/target/ (see &#8216;Paths&#8217; tab of the Flex module configuration)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

