extraParameters bug

1 view
Skip to first unread message

Josh

unread,
Nov 27, 2007, 10:30:56 AM11/27/07
to Israfil Mojo User Discussions, kevin...@jtv.com
We were attempting to use the extraParameters feature and noticed two
issues:

1. When using the extraParameters feature to add a library-path param
when compiling a swf - it appeared that the parameters where added
*after* the main mxml file to be compiled. As such, the compiler
complains since it is trying to essentially compile the extra
argument. I 'fixed' this by checking the code out from svn and moved
the finalizeParameters(javaParms) call on line 522 of
AbstractFlexMojo.java to the section after the while loop containing
the extra parameters logic. This seemed to do the trick - I didn't
know how to get this change into the official version, though.

2. We're having to hack how we're using the extra parameters.
Initially, we tried the following:

<parameter>
<name>source-path</name>
<values>
<value>some path</value>
</values>
</parameter>

However, in the end we had to resort to the following to get it
to work:

<parameter>
<name>source-path+=some path</name>
</parameter>

I was curious if there was something we were doing wrong here.


I apologize if this is the wrong list for this post. The dev list
seemed inactive.

Thanks!

Josh

Bouiaw

unread,
Dec 24, 2007, 2:47:46 PM12/24/07
to Israfil Mojo User Discussions
Hi,

I was faced with the same issue (the first one), could you give us an
url where we can download your corrected version ?

Regards,
Sébastien Deleuze
Reply all
Reply to author
Forward
0 new messages