Maven Flex Plugin v1.3 Released

6 views
Skip to first unread message

Christian Edward Gruber

unread,
Jan 14, 2008, 6:14:07 PM1/14/08
to flexc...@yahoogroups.com, israfil-m...@googlegroups.com
Greetings all,

Version 1.3 of the Maven Flex Plugin is now in the wild. It has
not yet been synced to the main maven repositories, but should be
later this evening (I think they have a 4 hour cycle...).

This version... well, I'll just cut and paste from the project
site:

"This version includes several critical fixes to bugs that were
introduced in 1.2, as well as some nice features like... Flex3
support!!! Happy New Year."

Sadly, I pushed out ASDoc support until 1.4 in order to get these
critical fixes out. 1.2 was a bit of a disaster, but the tests are
improved, so hopefully that sort of thing won't happen much more.

warm regards,
Christian.

Manuel Ohlendorf

unread,
Jan 15, 2008, 3:08:37 AM1/15/08
to Israfil Mojo User Discussions
Thanks for the new release!
It works great with Flex 3 and dependencies now.

manu

On Jan 15, 12:14 am, Christian Edward Gruber <cgru...@israfil.net>
wrote:

Christian Edward Gruber

unread,
Jan 15, 2008, 9:45:38 AM1/15/08
to israfil-m...@googlegroups.com
Whew! That was embarassing. ;) Glad it's working now.

christian.

Marvin Froeder

unread,
Jan 15, 2008, 11:10:22 AM1/15/08
to israfil-m...@googlegroups.com
I got a problem with the +flexlib parameter...

[INFO] Executing main with args [+flexlib=C:\sunday\flexsdk\frameworks, -load-config, C:\sunday\workspace\menta sunday\flex\core\null\frameworks\flex-config.
xml, -source-path, C:\sunday\workspace\menta sunday\flex\core\src\main\flex, -output, C:\sunday\workspace\menta sunday\flex\core\target\flex-core-0.5-SNAPSHO
T.swc, -compiler.locale, en_US, -compiler.debug=false, -include-sources, C:\sunday\workspace\menta sunday\flex\core\src\main\flex]
[INFO] Adobe Compc (Flex Component Compiler)
[INFO] Version 3.0 build 189825
[INFO] Copyright (c) 2004-2006 Adobe Systems, Inc. All rights reserved.
[INFO]
[INFO] command line: Error: unable to open 'C:\sunday\workspace\menta sunday\flex\core\null\frameworks\flex- config.xml'

When I'm using +flexlib the load-config isn't required.

But I don't know with it assuming  C:\sunday\workspace\menta sunday\flex\core\null\frameworks\flex-config.
xml.  Any hint?

For know I have comment 183 to 188 line codes and recompile.


VELO

Christian Edward Gruber

unread,
Jan 15, 2008, 11:17:05 AM1/15/08
to israfil-m...@googlegroups.com
I'll look into it.  If you specify a flex-config file does it work as a workaround?  In the mean-time, please log it as an issue at israfil-mojo.googlecode.com's issues tab.

Christian.

Marvin Froeder

unread,
Jan 15, 2008, 11:32:06 AM1/15/08
to israfil-m...@googlegroups.com
I didnt try that....

I just look into the code... but can found the problem =(

When I fail looking after that, I simple comment those lines.

Sorry cant help more =(


VELO

Christian Edward Gruber

unread,
Jan 15, 2008, 11:33:24 AM1/15/08
to israfil-m...@googlegroups.com
I've made it optional, especially now that I'm using +flexlib in the command invocation.  

It'll be in 1.4, but please see if by specifying the flex-config.xml you can work around this until then.

Christian.

On 15-Jan-08, at 11:10 , Marvin Froeder wrote:

Marvin Froeder

unread,
Jan 15, 2008, 1:39:34 PM1/15/08
to israfil-m...@googlegroups.com
Problem solved...

If I user config.xml no problems.... but I don't like it.


VELO

Christian Edward Gruber

unread,
Jan 15, 2008, 1:51:07 PM1/15/08
to israfil-m...@googlegroups.com
I understand.  If you want, I've released a snapshot version that includes this fix to the snapshot repository http://www.israfil.net/maven2-snapshots, so if you want to use that until 1.4 is released, do feel free.

Christian.

Marvin Froeder

unread,
Jan 15, 2008, 1:59:35 PM1/15/08
to israfil-m...@googlegroups.com

Lets try...

Well, works... thanks =D

Bouiaw

unread,
Jan 15, 2008, 4:19:43 PM1/15/08
to Israfil Mojo User Discussions
When I run mvn site on my flex projet where I specified 1.3 version, I
have the following error :
[INFO] Error getting reports from the plugin 'net.israfil.mojo:maven-
flex2-plugin': Unable to find the mojo 'net.israfil.mojo:maven-flex2-
plugin:1.3:asdoc' in the plugin 'net.israfil.mojo:maven-flex2-plugin'

I have not specified the asdoc plugin in my pom. Even if I disable all
reports, I have this error.

With no version specified, it works.

On 15 jan, 19:59, "Marvin Froeder" <velo...@gmail.com> wrote:
> Lets try...
>
> Well, works... thanks =D
>
> VELO
>
>
>
> > On Jan 15, 2008 4:51 PM, Christian Edward Gruber <christianedwardgru...@gmail.com
> > > wrote:
>
> > > I understand.  If you want, I've released a snapshot version that
> > > includes this fix to the snapshot repository
> > >http://www.israfil.net/maven2-snapshots, so if you want to use that
> > > until 1.4 is released, do feel free.
> > > Christian.
>
> > > On 15-Jan-08, at 13:39 , Marvin Froeder wrote:
>
> > > Problem solved...
>
> > > If I user config.xml no problems.... but I don't like it.
>
> > > VELO
>
> > > On Jan 15, 2008 2:33 PM, Christian Edward Gruber <christianedwardgru...@gmail.com>
> > > wrote:
>
> > > > I've made it optional, especially now that I'm using +flexlib in the
> > > > command invocation.
>
> > > > It'll be in 1.4, but please see if by specifying the flex-config.xmlyou can work around this until then.
>
> > > > Christian.
>
> > > > On 15-Jan-08, at 11:10 , Marvin Froeder wrote:
>
> > > > I got a problem with the +flexlib parameter...
>
> > > > [INFO] Executing main with args
> > > > [+flexlib=C:\sunday\flexsdk\frameworks, -load-config,
> > > > C:\sunday\workspace\menta sunday\flex\core\null\frameworks\flex-config.
> > > > xml, -source-path, C:\sunday\workspace\menta
> > > > sunday\flex\core\src\main\flex, -output, C:\sunday\workspace\menta
> > > > sunday\flex\core\target\flex- core-0.5-SNAPSHO
> > > > T.swc, -compiler.locale, en_US, -compiler.debug=false,
> > > > -include-sources, C:\sunday\workspace\menta sunday\flex\core\src\main\flex]
> > > > [INFO] Adobe Compc (Flex Component Compiler)
> > > > [INFO] Version 3.0 build 189825
> > > > [INFO] Copyright (c) 2004-2006 Adobe Systems, Inc. All rights
> > > > reserved.
> > > > [INFO]
> > > > [INFO] command line: Error: unable to open 'C:\sunday\workspace\menta
> > > > sunday\flex\core\null\frameworks\flex- config.xml '
>
> > > > When I'm using +flexlib the load-config isn't required.
>
> > > > But I don't know with it assuming  C:\sunday\workspace\menta
> > > > sunday\flex\core\*null*\frameworks\flex-config.
> > > > xml.  Any hint?
>
> > > > For know I have comment 183 to 188 line codes and recompile.
>
> > > > VELO
>
> > > > > On Jan 15, 2008 12:45 PM, Christian Edward Gruber <christianedwardgru...@gmail.com>

Christian Edward Gruber

unread,
Jan 15, 2008, 6:03:25 PM1/15/08
to israfil-m...@googlegroups.com
Sorry, this is because there is part of some metadata I created to
support site building with ASDoc. I will remove it in 1.4-SNAPSHOT.
If you define the reports you using for the site build (using
<reporting> tags) then you can (I believe) avoid having this be auto-
included this way.

Man, I'm really having some release quality issues. I'll get a stable
one out soon, people, I promise. (yikes)

Christian.

Lyrgard

unread,
Mar 11, 2008, 1:29:44 PM3/11/08
to Israfil Mojo User Discussions
hello there

I had the probleme [INFO] command line: Error: unable to open 'C:
\sunday\workspace\menta
sunday\flex\core\null\frameworks\flex- config.xml'

I figured out how to prevent this from happening.

In pom.xml, one should rather use :

<properties>
<flex.home>${env.FLEX_HOME}</flex.home>
</properties>
at the root of the <project> tag

than

<flexHome>${env.FLEX_HOME}</flexHome>
in the maven-flex2-plugin's <configuration> tag

In the first case it work flawlessly, and it cause the error in the
second case.

hope it helps

Lyrgard (new to flex, thanks a lot for this maven flex plugin !)

On Jan 16, 12:03 am, Christian Edward Gruber
Reply all
Reply to author
Forward
0 new messages