On Sat, Nov 14, 2009 at 13:34, Darren <[email protected]> wrote:
> Oh dear.. please excuse my previous post - what a load of misleading,
> inaccurate waffle!
>
Oh, I think i should ask for excuses.. I wrote M2_HOME on the message title
and M2_REPO on the message body. Sorry for confound you.
>
> Logan is right, except that you must call the Linked Resource M2_HOME,
> not M2_REPO.
>
> To be honest, I don't recall why M2_HOME was used and not M2_REPO.
>
Yes, i thint something is strange. Look at an entry generated:
<!-- artifact: com.adobe.flex.framework:framework:3.2.0.3958 -->
<libraryPathEntry
kind="3"
linkType="1"
path="${M2_HOME}/com/adobe/flex/framework/framework/3.2.0.3958/framework-3.2.0.3958.swc"
sourcepath="${PROJECT_FRAMEWORKS}/projects/framework/src"
useDefaultLinkType="false"
/>
As far as I know, M2_HOME should point us to .m2 folder, not .m2/repository
folder. So assuming that the M2_HOME points to the path it should point, the
gererated path on the library path entry is wrong.
Even it's not the correct variable to use there, it's not a problem since
you can make it point to the .m2/repository folder as a workaround. I think
It's not the problem here.
As I told before, I'm trying to mevenize all my libs. But I can't ask all in
my Company to abandon Flex Builder, so I need to do flex builder work
together with flexmojos.
After do flexmojos:flexbuilder, the error Flex Builder is telling to me is:
configuration variable 'compiler.library-path' value contains unknown token
'M2_HOME' my_lib Unknown Flex Problem
I guess setting the environment variable won't help, nor setting the
internal Flex Builder variable. It seems that flex builder is not accepting
variables on the library path.
Is it really supposed to work with flex builder? I'm using the Flex builder
3.0.2.
Thanks for all for the help and the quick answers!
--------
BrunoJCM
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/