I can't send only part of my POM because of company issues, but I can tell u
there is nothing particular there.
What I did to solve it was to building with antrun plugin using
flexTasks.jar for ant.
It means it works with mxmlc and the problem lies between maven and the
plugin.
It also made me
Ok, unfortunately the antrun config doesn't help me because if htere's
something subtle we're not seeing that you got right in the antrun,
well... we can't see it.
Could you send the snippet that configures the plugin only. If you
change any paths and proprietary names, then it can't be a
sure, it was alreasy as part of the pom I sent, only it is not used right
now. Here it is again:
plugin
groupId net.israfil.mojo/groupId
artifactIdmaven-flex2-plugin/artifactId
configuration
Actually, I forgot one more detail, I have more configuration in the parent
pom which I override:
plugin
groupIdnet.israfil.mojo/groupId
artifactIdmaven-flex2-plugin/artifactId
version1.1/version
extensionstrue/extensions
I'm blind, sorry. I saw antrun and ignored the rest of the pom. lol.
So I'm not seeing anything that would cause this. One thing you can
do is execute mvn -X blah blah and look at the debug output. The
output should include the command-line, and then the compc or mxmlc
options provided
Well,
As for the debug=true/false, it is definitely false and the size is still
big, twice the size it should be. My guess is that it include more files
that it actually needs, but I have no way to look inside the swf. (Do you
know of any method to do it?)
As for moving code to the swc, it is
I use Flex Ant Tasks, and I haven't tried Maven for compiling Flex. But just
a couple of thoughts: have you tried altering the max heap size using the
java -Xmx option? I also wonder if the twice-the-size problem is a result of
it compiling in debug mode.
On 10/14/07, Ronen Naor [EMAIL PROTECTED]
Yes, I did try java -Xmx without any luck.
And I don't compile it in debug mode.
Maybe I should test it also with Ant to see the difference.
On 10/15/07, Adam Duston [EMAIL PROTECTED] wrote:
I use Flex Ant Tasks, and I haven't tried Maven for compiling Flex. But
just a couple of thoughts:
Could you post your pom.xml file? I think the obvious answers are
exhausted.
Also, while it may be a problem with the plugin, the plugin just uses
the compc and mxmlc compilers from the flex SDK, so anything not
explicitly set by the plugin defaults to whatever they default to.
I've
Hi,
Has anyone encountered the following problem using the maven israfil plugin:
java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.resize(Unknown Source)
at java.util.HashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at
Ah. By default, the plugin (and the command-line tool) creates a
debug version of the .swf. If you want the non-debug (deployable,
small, faster) version of the .swf, then you should add debugfalse/
debug in your maven-flex2-plugin configuration section.
As to out of memory, I'm not sure
11 matches
Mail list logo