[flex-mojos] flexmojos custom granite generation ...

2009-12-15 Thread Christofer Dutz
Hi, after having dug through the flexmojos code-generation stuff I started to see more and more usecases all over the place. One really nice feature would be to be able to specify a Java Class, a template and a target file-name in order to have more code fragments generated for me. For example I

[flex-mojos] Problems with NPE in SimpleGeneratorMojo

2010-03-29 Thread Christofer Dutz
Hi, I am currently switching to Flex4 and therefore had to upgrade to newer versions. I had allready tried upgrading to Flex versions greater than 4.0.0.10485 but had no luck in getting them to work. In the meanwhile I have managed to compile using the latest version (4.0.0.14159) but am aving

Re: [flex-mojos] Problems with NPE in SimpleGeneratorMojo

2010-03-30 Thread Christofer Dutz
again. I just wonder why grantieds2 doesn't work as it is provided in the code. Chris 2010/3/30 Marvin Froeder velo...@gmail.com Hrmm, probably the generator you are trying to use is not enabled Which one are you using? VELO On Mon, Mar 29, 2010 at 9:14 PM, Christofer Dutz

Re: [flex-mojos] Problems with NPE in SimpleGeneratorMojo

2010-03-30 Thread Christofer Dutz
at 5:42 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Ok, I finally added flexmojos to the list of projects in my 3rdParty directory and had a look for myself. I was using the granitesd2 generator. When having a look at the source I could see that there is a 2.1 version

Re: [flex-mojos] Problems with NPE in SimpleGeneratorMojo

2010-03-31 Thread Christofer Dutz
. So flexmojos can only support one at time. https://issues.sonatype.org/browse/FLEXMOJOS-266 VELO On Tue, Mar 30, 2010 at 5:42 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Ok, I finally added flexmojos to the list of projects in my 3rdParty directory and had a look

[flex-mojos] SWF Resources are copied wrong when using jetty:run-exploded Maven target when using flexmojos version greater than 3.4.2

2010-04-19 Thread Christofer Dutz
Hi, I am currently confused about the following behaviour, which I think is not the way it's meant to be. I recently updated my flexmojos version in my build from 3.4.2 to 3.6.1 and am sort of anoyed by this: When I build my multi-module Spring + Flex application everything builds fine. Even the

Re: [flex-mojos] SWF Resources are copied wrong when using jetty:run-exploded Maven target when using flexmojos version greater than 3.4.2

2010-04-19 Thread Christofer Dutz
project. so depends how you are using that you are just telling flexmojos to use that same string as final destination to all SWF. VELO On Mon, Apr 19, 2010 at 4:54 PM, Christofer Dutz christofer.d...@googlemail.com wrote: Hi, I am currently confused about the following behaviour

Re: [flex-mojos] SWF Resources are copied wrong when using jetty:run-exploded Maven target when using flexmojos version greater than 3.4.2

2010-04-19 Thread Christofer Dutz
it, but AFIK, maven will interpolate ${project.artifactId}-${project.version} to you current project. so depends how you are using that you are just telling flexmojos to use that same string as final destination to all SWF. VELO On Mon, Apr 19, 2010 at 4:54 PM, Christofer Dutz

Re: [flex-mojos] SWF Resources are copied wrong when using jetty:run-exploded Maven target when using flexmojos version greater than 3.4.2

2010-04-20 Thread Christofer Dutz
19, 2010 at 5:51 PM, Christofer Dutz christofer.d...@googlemail.com wrote: Another thing, the artifacts are all build correctly. The files have the correct names and are correctly installed in my local reository. The only thing that seems to be failing, is the flexmojo swf-copy-thingy

[flex-mojos] Problems with style inheritance in multi-module Flex 4 application (I assume this is a compiler-config problem)

2010-05-25 Thread Christofer Dutz
Hi, I hope I am not completely off the track by posting this question here. I am doing it because I assume that my problems are related to a mis-configured build. I am currently puzzled about how I can get my style-definition to work. I am using Flex 4 (4.0.0.14159) in a Maven build with

Re: [flex-mojos] Problems with style inheritance in multi-module Flex 4 application (I assume this is a compiler-config problem)

2010-05-26 Thread Christofer Dutz
or compc/mxmlc? VELO On Tue, May 25, 2010 at 11:44 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Hi, I hope I am not completely off the track by posting this question here. I am doing it because I assume that my problems are related to a mis-configured build. I am currently

Re: [flex-mojos] Integration testing with FlexUnit4 in a browser

2010-10-26 Thread Christofer Dutz
Well if the issue is that you have problems authenticating I use per-client-authentication. With this setting turned on BlazeDS stores the authentication information in the flex client and uses the flex clientId instead of the session Id to sync. Chris 2010/10/26 David Vree

Re: [flex-mojos] Re: Flexmojos, IDEA and multimodule swfs

2010-12-03 Thread Christofer Dutz
, there will be no way around FB4 Pro. Chris 2010/12/3 Christofer Dutz christofer.d...@googlemail.com I too have setup all of my Multi-Module projects with each module being one maven-module. To reduce the compile+deployment costs, I usually define a maven pom which only references my flex modules. I f I

[flex-mojos] Problems with FM4-SNAPSHOT and Ebedded fonts

2010-12-04 Thread Christofer Dutz
Hi, I am currently trying to switch from FM3.7.1 to FM4-SNAPSHOT as I was getting NPE in the GeneratorMojo with beta3 and I wanted to invetigate that problem ... found out that it seems to be solved. After migrating my FM config in my poms, I managed to build my project ... allmost. The last

[flex-mojos] Re: target/classes/configs/themes/Spark/spark.css behaviour changed in FM4 in last month?

2010-12-04 Thread Christofer Dutz
Well it seems it is not completely fixed yet, I checked out the latest version of FM4 and built it, so I guess my version is pretty fresh ... I had to add the above themes section manually in order to get it running. Chris On 9 Okt., 17:24, Marvin Froeder velo...@gmail.com wrote:

[flex-mojos] ignored resoucres directroy when using FlexMojos4

2010-12-06 Thread Christofer Dutz
Hi, last Weekend I tried to migrate from FM3.7.1 to FM4-SNAPSHOT ... I noticed that here my resource directroy no longer seems to be rcognized. My directory structure looks like this: src/main/flex src/main/resources all of my embedded resources now threw errors. I hadd to append ../resources

Re: [flex-mojos] FlexMojos beta-2 vs. beta-3 - different font and theme

2010-12-06 Thread Christofer Dutz
As it seems none of my new threads seem to go through and as this topic seems to fit, I'll add my 50ct here ;-) I am using the lates SVN version and have to confirm, that something seems to be not working correctly here. I am using embedded fonts with default Font-Manager settings. in Version

[flex-mojos] Problems with FM4-Snapshot (from 16.01.2011)

2011-01-16 Thread Christofer Dutz
Today I did a clean build of the latest FM4 Snapshot and gave my FM4 migration a second try. Here some things I have noticed: - Even if I added resources section to my build configuration, FM$ doesn't detect any resources in my resources directory. I have to change the paths in my files to paths

Re: [flex-mojos] Creating and using themes, what is the correct way to go about it?

2011-02-01 Thread Christofer Dutz
How did you create your Theme? Could you please post that pom. I think the problem is related to a theme.swc that is not built correctly. Chris 2011/1/29 bryan hunt sentimental.br...@gmail.com Hi there, Firstly forgive me, I am neither a flexmojos or flex component expert so I may be

Re: [flex-mojos] Font for alias 'MyriadPro' with plain weight and style was not found

2011-02-08 Thread Christofer Dutz
I think the problem is more that FM found the font, but that fond didn't have the fontWeight: normal ... I know that if FM doesn't find the file I get different errors. I got the error you were talkting about if I wanted to embed a font that was internally marked bold as a plain font. I have to

Re: [flex-mojos] Resources folder not working on 4.0-beta-2

2011-02-23 Thread Christofer Dutz
Hi, had the same problem ... as I couldn't find a workaround I changed all my src values from: /path/to/file.png To: /../resources/path/to/file.png This worked. It's not nice, but the last time I asked, I didn't get any assistance here, so currently I'm stuck with this ugly, but working

Re: [flex-mojos] Re: Resources folder not working on 4.0-beta-2

2011-02-23 Thread Christofer Dutz
Well I didn't open a bug as at first I didn't trust my own config (Was migrating from FM3 to 4) and as noone else complained here, I fuggured that would be my own personal problem. @Velo: If this is a Maven thing, why does the resources-stuff work if I build using FM3 with the same Maven version?

Re: [flex-mojos] Re: Resources folder not working on 4.0-beta-2

2011-02-28 Thread Christofer Dutz
Wow ... thanks for that ... I'll try that right away. Even if it's sort of a hack, it's certainly more pretty than my workaround :-) 2011/2/26 Dtornkaew llin...@gmail.com Another work around is to put the following Flex Mojos dependency BEFORE the compiler dependency. This is not the best

Re: [flex-mojos] Re: Test fail when compiling Flexmojos from the sources

2011-02-28 Thread Christofer Dutz
Hi PeZ, I had some pretty similar trouble building Flexmojos4 from GIT on a windows machine if the path to the sources contained whitespaces. Unfortunately this is just a wild guess as I can't access your image. Chris 2011/2/26 PeZ pez...@gmail.com Content of

Re: [flex-mojos] Re: Test fail when compiling Flexmojos from the sources

2011-03-01 Thread Christofer Dutz
://astrois.info/Capture.JPG Logs I've posted above are more detailled though. On 28 fév, 12:12, Christofer Dutz christofer.d...@googlemail.com wrote: Hi PeZ, I had some pretty similar trouble building Flexmojos4 from GIT on a windows machine if the path to the sources contained whitespaces

Re: [flex-mojos] Re: Test fail when compiling Flexmojos from the sources

2011-03-01 Thread Christofer Dutz
. I'll try from GIT and tell you how it goes. Thanks. On 1 mar, 11:23, Christofer Dutz christofer.d...@googlemail.com wrote: I just had a look at the source ot the AsVmLauncherTest.java ... Line 62 does not belong to method launch and never has (At least not in the GIT repository) Just

Re: [flex-mojos] How to use Flex debugger in Flex Builder (Eclispe) when I use Flexmjos?

2011-03-03 Thread Christofer Dutz
I think all you have to do, is to set the debug-config parameter to true. Without it the flash player won't allow debugging at all. Here part of my configuration: plugin groupIdorg.sonatype.flexmojos/groupId

Re: [flex-mojos] Maven can't locate flash player when running in Intellij

2011-03-03 Thread Christofer Dutz
Hi Ian, Have a look at https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests The last comment will propably help you. It shows a working config to explicitly set the FlashPlayer executabe. I don't know if you can add a full path to it, but as least you can set the name of the executable

[flex-mojos] Fix File in Repository?

2011-03-04 Thread Christofer Dutz
Hi It seems that the File flexmojos-util/src/main/java/org/sonatype/flexmojos/matcher/file/FileMatcher.java has an invalid char in it's comment at the top (line 12 char 3) Unfortunately I can't build FM with my TeamCity without this fixed :-( I would gladly do it myself, but I have never worked

Re: [flex-mojos] Integration Tests

2011-03-08 Thread Christofer Dutz
Hi, I setup such a config for one of my projects a few weeks ago. There are different profiles run-server and integrationtest. The main difference is that in integrationtest antrun is used to start a ranorex testsuite (Flex UI Frontend-Test) and shutdown the server after the tests are finished.

Re: [flex-mojos] Integration Tests

2011-03-08 Thread Christofer Dutz
Just forgott how to use it ... you need to select two profiles. run-server or integrationtest and a profile for the desired container. I tested most of the containers and they seem to have worked then. 2011/3/8 Christofer Dutz christofer.d...@googlemail.com Hi, I setup such a config for one

Re: [flex-mojos] Unknown packaging swc

2011-03-16 Thread Christofer Dutz
Well I guess your master pom contained the definition of the flexmojos-maven-plugin. If you removed the reference to that, the plugin is not configured in your ex-child-pom and therefore maven can't build swf. You have to copy the plugin definition from your master pom to your child pom in order

Re: [flex-mojos] Unknown packaging swc

2011-03-16 Thread Christofer Dutz
Think you are missing the extensionstrue/extensions insite the plugin definition. http://www.sonatype.com/books/mvnref-book/reference/flex-dev-sect-custom-lifecycle.html Chris 2011/3/16 Sri Sankaran srivaths.sanka...@gmail.com: That was my first thought.  However I can't see what configuration

Re: [flex-mojos] Unknown packaging swc

2011-03-16 Thread Christofer Dutz
Glad to help :-) 2011/3/16 Sri Sankaran srivaths.sanka...@gmail.com: Perfect!  That was it. Thank you for taking the time to look at my problem and providing the reference. Sri -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this

Re: [flex-mojos] Flexmojos 4.0-beta-6

2011-03-17 Thread Christofer Dutz
Just because one person doesn't know how to update sould not get you frustrated ... keep up the good work :-) 2011/3/17 Marvin Froeder velo...@gmail.com: This doesn't seem to be the consensus... http://twitter.com/#!/georgiksk/statuses/42713356167151616 On Wed, Mar 16, 2011 at 8:30 PM,

Re: [flex-mojos] Build Failure FlexMojos 4 beta 3

2011-03-23 Thread Christofer Dutz
Well it says that: Caused by: org.apache.maven.plugin.MojoFailureException: Got 4 errors building project, check logs So if you cecked the logs I guess it would provide you with an error message that is more usefull. I would however suggest not to use beta-3 as beta-6 ist the most recent

Re: [flex-mojos] Re: Build Failure FlexMojos 4 beta 3

2011-03-24 Thread Christofer Dutz
Did you see my last comment about the flexunit-version? I know that if you build without any unit-testing provider you get strange errors. 2011/3/24 Athas wesley.ache...@gmail.com: On Mar 23, 6:46 pm, Bryan Turner introjec...@gmail.com wrote: posted says is to check the logs; do you have any

Re: [flex-mojos] Build Failure FlexMojos 4 beta 3

2011-03-25 Thread Christofer Dutz
I couldn't see any mis-configuration issues except that I have never used the useM2Repo tag. I also haven't used FM together with flexunit 4.0.0 ... the version I have in all of my poms is 0.85 and it seems the 0.9 is the latest version of flexunit. So mabe this is the issue here. Chris

Re: [flex-mojos] Re: Test fail when compiling Flexmojos from the sources

2011-03-31 Thread Christofer Dutz
: ? There is even flexmojos 2 on git hub On Tue, Mar 1, 2011 at 12:36 PM, PeZ pez...@gmail.com wrote: Hmm, looks like there is only Flexmojos 4.x on GIT :( I was planning to do some tests with 3.8 version... On 1 mar, 12:18, Christofer Dutz

Re: [flex-mojos] Re: Test fail when compiling Flexmojos from the sources

2011-03-31 Thread Christofer Dutz
profile :-/ On 31 mar, 12:28, PeZ pez...@gmail.com wrote: It was already in my system path, I've just checked it again On 31 mar, 10:19, Christofer Dutz christofer.d...@googlemail.com wrote: Seems like you don't have a flashplayer.exe in your systems Path (It has got to be called

Re: [flex-mojos] Re: Is there a way to set swfVersion in fm4

2011-03-31 Thread Christofer Dutz
Well two or three days ago the beta-6 wasn't in the main repo :-) Chris 2011/3/31 DSK23herb theds...@googlemail.com: o_O Sorry guys for the confusion regarding the Staging Repo, looks like my Nexus installation is having some very serious remote indexing hiccups.. -- You received this

Re: [flex-mojos] pom is not swc?

2011-04-12 Thread Christofer Dutz
Well you have to add the typepom/type to your dependency. The flex-framework consists of quite a number of modules. You could add all of them individually, or you reference the pom and hereby automatically import all the dependencys that are configured there.

Re: [flex-mojos] pom is not swc?

2011-04-12 Thread Christofer Dutz
Well most of of the stuff is not finished and I do refactor the texts very much. Additionally I only focus on 4.0 ... think I'll contribute the stuff when I'm sattisfied with it ;-) Currently it's more a documentation of things I stumbled over. Even if I have to admit that it handles more than I

Re: [flex-mojos] Embedding resources breaks when adding compiler dependency to pom

2011-04-12 Thread Christofer Dutz
I had the same problem with maven 3 and flexmojos 4. A workaround is to specify the thredlocal toolkit before the compiler dependency. Have a look at the Things I reccommend to change section of this http://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms (Gee ... feels like I used

Re: [flex-mojos] Re: Embedding resources breaks when adding compiler dependency to pom

2011-04-13 Thread Christofer Dutz
link/button.. Am I wrong to assume the wiki is public editable? On 13 Apr., 00:12, Christofer Dutz christofer.d...@googlemail.com wrote: I had the same problem with maven 3 and flexmojos 4. A workaround is to specify the thredlocal toolkit before the compiler dependency. Have a look

Re: [flex-mojos] idea + flex-mojos 4.0

2011-04-14 Thread Christofer Dutz
I Too am using IntelliJ 10.0.3 in combination with Flexmojos 4 and it works great. I have to admit though, that I usually don't use the IntelliJ make but trigger the Maven targets instead. With this there is no problem at all. Chris 2011/4/14 velo velo...@gmail.com: I believe you are the same

Re: [flex-mojos] Unexpected return code 127 during test executing (continued)

2011-04-14 Thread Christofer Dutz
I recently documented what I had to do to get the build up and running on Ubuntu 10 http://dev.c-ware.de/confluence/display/PUBLIC/Building+Flexmojos+on+a+Headless+64Bit+Ubuntu+10.04+CI-Server I guess the main part was that one of the files downloaded from adobe contains invalid so-files (all are

Re: [flex-mojos] Unexpected return code 127 during test executing (continued)

2011-04-14 Thread Christofer Dutz
for someone to fix the problem without any further assistance. I acutally thought this was only happening when running the integrationtests of the flexmojos trunk build. I will try to reproduce my fix and update the documentation some time next week. Chris 2011/4/14 Christofer Dutz christofer.d

Re: [flex-mojos] Re: Embedding resources breaks when adding compiler dependency to pom

2011-04-15 Thread Christofer Dutz
Well I have to admit, that I haven't verified all my setting for the new version ;-) I think I'll verify this and eventually update my documentation. Chris 2011/4/15 Dtornkaew llin...@gmail.com: What version of FM4 are you using? The reason i ask is that Marvin made a fix for this and it

Re: [flex-mojos] Re: Embedding resources breaks when adding compiler dependency to pom

2011-04-15 Thread Christofer Dutz
So you still need to specify the threadlocaltoolkit? Or doesn't it work, even with the toolkit? 2011/4/15 tombc thomas.auin...@byteconsult.de: I am using 4.0-beta-7, and (I just checked again), I definitly 100% need that fix for my wee test app to work. On 15 Apr., 09:24, Dtornkaew

Re: [flex-mojos] Re: Unexpected return code 127 during test executing (continued)

2011-04-20 Thread Christofer Dutz
:28 am, Christofer Dutz christofer.d...@googlemail.com wrote: After a small phone-discussion ;-) The problem is indeed related to the issue I described in my confluence. Unfortunately I can't find the link with the error codes of the flash player. But it seems to be that it only occurs

Re: [flex-mojos] Which version of Flexmojos supports Flex SDK 4.5? And what is the corresponding Maven version?

2011-04-21 Thread Christofer Dutz
Well if you try Flexmojos 4.0 beta 6 you shoud be good to go. I haven't really tried any older versions, but as you asked which one supports and not which is the oldest version to support, giving FM4 a try should do the trick :-) If using Flexmojos 4 you will need Maven 3.0.3 to run. Chris

Re: [flex-mojos] ArrayIndexOutOfBoundsException on Flexmojo 3.8

2011-04-26 Thread Christofer Dutz
Well I used to specify the templates differently ... mabe this helps: http://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+generated+AS3+model+with+Enum+support+using+BlazeDS I used: templates

Re: [flex-mojos] Very dumb question...

2011-04-26 Thread Christofer Dutz
Well if you are refering to making the flashplayer.exe available on the path. make sure the executalbe is named correctly. Follow these instructions to make the directory be a member of your systems path:

Re: [flex-mojos] GAS3 Generator

2011-04-27 Thread Christofer Dutz
Hi Steve, Well the generator simply builds a list of properties and types your class uses. It expects that all referenced classes are also generated. If you don't need the currency classes, one solution would be to ignore those properties by adding the keyword transient to them (not the

Re: [flex-mojos] Re: specify the '-library-path' command line option

2011-04-28 Thread Christofer Dutz
I would suggest this setup: Introduce some central Company Maven Repo (Artifactory, Nexus, whatsoever). Additionally have a Continuous Integration server that automatically builds upon SVN updates. This CI server automatically deploys the built artifacts to your central Company Maven Repo. All

Re: [flex-mojos] textLayout version and RSL

2011-04-28 Thread Christofer Dutz
Well I guess that the text-layout stuff in the flex sdk is version 1.1 but the sdk version containing it is 4.1 so everything in the sdk is deployed under the version 4.1 Actually keeping track of the individual versions of parts of the sdk would certainly make Velo go nuts withing weeks ;-) So

Re: [flex-mojos] textLayout version and RSL

2011-04-28 Thread Christofer Dutz
Have you had a look at these links? https://docs.sonatype.org/pages/viewpage.action?pageId=7045277 https://issues.sonatype.org/browse/FLEXMOJOS-347 Chris 2011/4/28 Christofer Dutz christofer.d...@googlemail.com: Ok .. just had a look at this caching thing ... have to admit that I haven't used

Re: [flex-mojos] textLayout version and RSL

2011-04-28 Thread Christofer Dutz
. Think you should try that out. Chris 2011/4/28 Davis Ford davisf...@zenoconsulting.biz: Yes, but that doesn't work.  As noted on the comment at the bottom -- textLayout is a different version. On Thu, Apr 28, 2011 at 10:14 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Have you had

Re: [flex-mojos] textLayout version and RSL

2011-04-28 Thread Christofer Dutz
or filename is incorrect, even though the path is correct, the file does exist, and there are no spaces/goofy characters in the filename. That's why I'm just going to use the assembly plugin. On Thu, Apr 28, 2011 at 10:33 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Well couldn't you

Re: [flex-mojos] Need Help : Cannot get flexmojo plugin to work in pom.xml

2011-04-29 Thread Christofer Dutz
Well the generator runs through all of your classes and tries to generate AS counterparts for them. I guess you want to only generate code for classes you explicitly define to be generated, right? Have a look at the pom here ... there I explicitly tell flexmojos for what classes I like my AS code

Re: [flex-mojos] Need Help : Cannot get flexmojo plugin to work in pom.xml

2011-04-29 Thread Christofer Dutz
/29 Eric B ebenza...@gmail.com: On Fri, Apr 29, 2011 at 3:42 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Well the generator runs through all of your classes and tries to generate AS counterparts for them. I guess you want to only generate code for classes you explicitly define

Re: [flex-mojos] Need Help : Cannot get flexmojo plugin to work in pom.xml

2011-04-29 Thread Christofer Dutz
Well I'm using flexmojos4 and it builds well on windows (havent' had the time to fix the linux build yet) And I have to admit that in my oppinion FM4 is much cooler ;-) Chris 2011/4/29 Eric B ebenza...@gmail.com: On Fri, Apr 29, 2011 at 11:50 AM, Christofer Dutz christofer.d...@googlemail.com

Re: [flex-mojos] Need Help : Cannot get flexmojo plugin to work in pom.xml

2011-04-30 Thread Christofer Dutz
this helps, Bryan Turner On Fri, Apr 29, 2011 at 11:21 AM, Eric B ebenza...@gmail.com wrote: On Fri, Apr 29, 2011 at 11:50 AM, Christofer Dutz christofer.d...@googlemail.com wrote: My Favourite documentation is the code itself ... I sort of got used to having a look at the code in order

Re: [flex-mojos] sourcePaths equivalent for FM4

2011-05-02 Thread Christofer Dutz
Think you should have a look at the build-helper-plugin. http://mojo.codehaus.org/build-helper-maven-plugin/ Chris 2011/5/2 Simon Morvan gar...@zone84.net: Hello there, I'm migrating a project form FM3 to FM4. I can't find a equivalent configuration statement to replace : sourcePaths

Re: [flex-mojos] Re: Error compiling SWC

2011-05-16 Thread Christofer Dutz
If you want to use a different flex sdk than the default you have to provide a dependency to the compiler manually. Have a look at http://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms chapter Things I recommend to change This should take care of that problem. Chris 2011/5/11

Re: [flex-mojos] Re: compile-swc

2011-05-16 Thread Christofer Dutz
One first note ... import the jar with the java classes as ordinary dependency. Adding it to the plugins dependencies will not have any effect. I have never needed the *-essential stuff for generation. Without modification you will have problems in conjunction with BlazeDS. If you want GraniteDS

Re: [flex-mojos] Re: Flex Mojos generate goal failed

2011-05-16 Thread Christofer Dutz
Hi, I never seemed to have gotten the wildcards to work correcty. I'd suggest to list the classes one by one. And I would suggest to use includeClasses instead of includeJavaClasses ... just an Idea ... don't know if it would help. I just had a look at my configuration and those were the major

Re: [flex-mojos] Unable to transcode using flexmojos 4.0-beta-7 with 4.5.0.20967

2011-05-16 Thread Christofer Dutz
This is a known issue if you specify the compiler version. You need to reference the flexmojos-threadlocaltoolkit-wrapper before the compiler. Have a look at the chapter Things I reccomend to change on this page. http://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms Chris

Re: [flex-mojos] Solved

2011-05-16 Thread Christofer Dutz
Ok ... you found it yourself ... great :-) 2011/5/13 mace markus.ce...@googlemail.com: after looking up a solution i found this thread http://groups.google.com/group/flex-mojos/browse_thread/thread/ebd6ee9290e12176 which helped to solve my problem. just add the flexmojos-

Re: [flex-mojos] Re: Embed image in an additionnal source directory

2011-05-16 Thread Christofer Dutz
resources seems to be the maven default. If you use something else you have to tell maven about it, but that's pretty messy. I'd suggest to stick to resources. When having a look at your pom it looks like you are trying to embed language resources. I usually put those in

Re: [flex-mojos] Re: Embed image in an additionnal source directory

2011-05-16 Thread Christofer Dutz
And beware the threadlocaltoolkit-problems discussed in the section Things I recommend to change: http://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms Chris 2011/5/16 Christofer Dutz christofer.d...@googlemail.com: resources seems to be the maven default. If you use something

Re: [flex-mojos] Re: Flex Mojos generate goal failed

2011-05-16 Thread Christofer Dutz
16, 2011 at 10:54 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Hi, I never seemed to have gotten the wildcards to work correcty. I'd suggest to list the classes one by one. And I would suggest to use includeClasses instead of includeJavaClasses ... just an Idea ... don't know

Re: [flex-mojos] Does 4.0-SNAPSHOT work with 4.5.0.20967 SDK?

2011-05-16 Thread Christofer Dutz
, not sure if this is what's breaking it, but will be giving it a try.. On Mon, May 16, 2011 at 3:03 PM, Christofer Dutz christofer.d...@googlemail.com wrote: You have to match the dependency of the compiler (plugin dependency) to the framework version you are using. Could you please post your

Re: [flex-mojos] Does 4.0-SNAPSHOT work with 4.5.0.20967 SDK?

2011-05-16 Thread Christofer Dutz
trying to work out why certain things are the way they are (e.g: the flex-framework pom files). On Mon, May 16, 2011 at 3:26 PM, Christofer Dutz christofer.d...@googlemail.com wrote: As you are using SNAPSHOT you are using a version you built yourself ... have you tried 4.0-beta-7? And if your

Re: [flex-mojos] about skin

2011-05-23 Thread Christofer Dutz
Well these are themes provided by the FlashBuilder ... you can find the files in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.0.0\samples\themes. There is usually a swc with the compiled theme as well as the entire theme code in that directory. I'd suggest to create a skin module

Re: [flex-mojos] SWC libraries

2011-05-23 Thread Christofer Dutz
Well you can't but you can automatically deploy it to your local maven repository by using the maven-external-dependency-plugin which is also used by the flexmojos build quite a lot. Just have a look at the master pom of the flexmojos master pom (the one in the GIT repository) plugin

Re: [flex-mojos] about skin

2011-05-23 Thread Christofer Dutz
msnwangp...@hotmail.com: how about Helo theme? From: Marvin Froeder Sent: Monday, May 23, 2011 10:46 PM To: flex-mojos@googlegroups.com Subject: Re: [flex-mojos] about skin I don't do flashbuilder at all ;) On Mon, May 23, 2011 at 11:44 AM, Christofer Dutz christofer.d...@giooglemail.com wrote

Re: [flex-mojos] about skin

2011-05-24 Thread Christofer Dutz
...@hotmail.com wrote: how about Helo theme? From: Marvin Froeder Sent: Monday, May 23, 2011 10:46 PM To: flex-mojos@googlegroups.com Subject: Re: [flex-mojos] about skin I don't do flashbuilder at all ;) On Mon, May 23, 2011 at 11:44 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Well

Re: [flex-mojos] about skin

2011-05-24 Thread Christofer Dutz
Well Spark IS the default theme of Spark Components and Halo IS the default Skin for mx-components. 2011/5/24 王平 msnwangp...@hotmail.com: Oh that is cool! How to switch default theme from spark to halo? thank you! -- From: Christofer Dutz

Re: [flex-mojos] Not all automation libraries being included

2011-05-25 Thread Christofer Dutz
As far as I know you have to set the scope to internal. Flex Automation uses so-called [Mixins] and was designed not to have direct dependencies to the automation classes from the framework classes. Using internal will force the compiler to include all classes, even if they are not directly

Re: [flex-mojos] about copy-flex-resources

2011-05-26 Thread Christofer Dutz
I Noticed this behaviour with older versions of Maven together with the 3.x versions of flexmojos. Since I upgraded to FM4 and Maven 3.0.3 I am no longer having these issues. I remember that a solution was to use an older version of the copy-resources plugin (3.4.2 ... if I remember that

[flex-mojos] Request for review of documentation on how to use RSLs and the Flex Caching mechanism in FlexMojos

2011-06-10 Thread Christofer Dutz
Hi FlexMojos users, I recently updated my FM4 built project to use RSLs and caching for the Flex-Framework libs. Whith these steps I reduced the size of my application (about 20 Modules) from about 25MB to 6,5MB. As I couln't find any usable documentation on this topic, I wrote down my own how-to

Re: [flex-mojos] Re: Request for review of documentation on how to use RSLs and the Flex Caching mechanism in FlexMojos

2011-06-11 Thread Christofer Dutz
Well I think that it's not really possible to create such a pom to use everywhere, because Maven doesn't propagate the scope. So I can't think of a way to do this by using a pom-module. But I willl certainly try Jays suggestion ... I thougt of this, but as my project is Java Flex I didn't want to

Re: [flex-mojos] Re: Request for review of documentation on how to use RSLs and the Flex Caching mechanism in FlexMojos

2011-06-14 Thread Christofer Dutz
Ok ... and I tried out placing the dependencies in the root-pom and this didn't work. I think I allready tried this with the main flex-framework (without caching) quite a while ago and this didn't work, so I ended up placing the dependencies in every flexmojos module ... think you will have to do

Re: [flex-mojos] Error on generated swf that uses datavisualization components

2011-07-02 Thread Christofer Dutz
In flex 4 the charting packages have changed quite a lot. Compike with 3.x or refactor your code to 4.x Chris Am 02.07.2011 02:18 schrieb Bruno Medeiros bruno...@gmail.com: I tried to compile a project that uses components of datavisualization, more precisely the code of Adobe's Line chart

Re: [flex-mojos] Any success stories FM4beta7 with Flex 4.5.0.20967?

2011-07-05 Thread Christofer Dutz
I have a very similar setup and for me that combination works like a charm ... I described my steps here: http://dev.c-ware.de/confluence/display/PUBLIC/Optimizing+your+build What exactly is not working at runtime? Chris 2011/7/5 SiD guillaume.gingra...@gmail.com: Hey, I would like to hear

Re: [flex-mojos] Re: Any success stories FM4beta7 with Flex 4.5.0.20967?

2011-07-05 Thread Christofer Dutz
/apparat. What is your different approach? On Jul 5, 7:58 am, Christofer Dutz christofer.d...@googlemail.com wrote: Unfortunately I can't provide you with such a sample pom, as I completely dropped using this approach. But I think I posted everything you need to use that approach ... just

Re: [flex-mojos] Re: Any success stories FM4beta7 with Flex 4.5.0.20967?

2011-07-05 Thread Christofer Dutz
Well to be honest ... I tried apparat while still using an older flex sdk so the swfVersion was still 10 and I got errors in 50% of my modules. Haven't tried since updating to swfVersion 11. 2011/7/5 Christofer Dutz christofer.d...@googlemail.com: Well at first I started with creating utility

Re: [flex-mojos] Re: Any success stories FM4beta7 with Flex 4.5.0.20967?

2011-07-06 Thread Christofer Dutz
, Christofer Dutz christofer.d...@googlemail.com wrote: Unfortunately I can't provide you with such a sample pom, as I completely dropped using this approach. But I think I posted everything you need to use that approach ... just make sure to have the main application generate the linkage

Re: [flex-mojos] Re: Any success stories FM4beta7 with Flex 4.5.0.20967?

2011-07-07 Thread Christofer Dutz
, 1:39 am, Christofer Dutz christofer.d...@googlemail.com wrote: Hey thanks for that configuration ... using this I was able to reduce the size of my SWFs by again about 50% :-) I took the liberty to add this to the configuration in my wiki (http://dev.c-ware.de/confluence/display/PUBLIC

Re: [flex-mojos] Re: 4.0-SNAPSHOT, maven 3 and locales problem

2011-07-08 Thread Christofer Dutz
I summed up the changes needed in my Wiki ... one part deals with the resource bundles. Mabe it helps: http://dev.c-ware.de/confluence/display/PUBLIC/Migrating+from+Flexmojos+3+to+Flexmojos+4+%28WIP%29 Chris 2011/7/8 Wim Deblauwe wim.debla...@gmail.com: I am having the same problem with

[flex-mojos] Problem generating model classes in multi-module project

2011-07-09 Thread Christofer Dutz
Iam currently haveing a Problem generating my model: I have 2 Java Modules. One providing core classes and one containing classes derived from the core module. Module 1 contains a class BaseDestinationEvent and Module 2 contains PrivateCommunicatorEvent which extends BaseDestinationEvent. Now I

Re: [flex-mojos] FXG files not included in class scan

2011-07-12 Thread Christofer Dutz
Hi Lance, I am using FXG files for quite some time now and never had any problems with them. But I assume you are talking about building SWCs, am I correct? In my cases I directly reference the FXG classes in my Skins or components and they are correctly included. Chirs 2011/7/12 Dtornkaew

Re: [flex-mojos] Continuous compilation using browser

2011-07-13 Thread Christofer Dutz
Öhm ... well even if it's not made for that, we quite successfully use it for them. What exactly are you trying to do? Chris 2011/7/13 Marvin Froeder velo...@gmail.com: Sorry dude, flexmojos is not meant for integration tests. VELO On Wed, Jul 13, 2011 at 8:27 AM, misterbenn

Re: [flex-mojos] Continuous compilation using browser

2011-07-13 Thread Christofer Dutz
the code, recompile and have something like the hot-replace of Java so you don't have to reload the application and redo all your steps? This is not possible, as far as I know. Chris 2011/7/13 Marvin Froeder velo...@gmail.com: Serious?! Cool On Wed, Jul 13, 2011 at 9:12 AM, Christofer Dutz

Re: [flex-mojos] Continuous compilation using browser

2011-07-13 Thread Christofer Dutz
Marvin Froeder velo...@gmail.com: You IT understanding seems to be the same as mine, but still, flexmojos doesn't launch Silk4J, does it? On Wed, Jul 13, 2011 at 9:18 AM, Christofer Dutz christofer.d...@googlemail.com wrote: Depending on what you mean with integration tests ... there seem

Re: [flex-mojos] Problem with CFF fonts

2011-07-19 Thread Christofer Dutz
I had similar problems. The main trick is that the fb autimaticalky impirts a css file setting up spark to correctky use cff fonts. Have a look at this tutorial. Mabe it helps: http://dev.c-ware.de/confluence/display/PUBLIC/Embedding+%28CFF%29+fonts Chris Am 19.07.2011 09:25 schrieb Jose Ignacio

[flex-mojos] NullPointerException in copy-flex-resources when building with fm 4.0-RC1

2011-07-22 Thread Christofer Dutz
Hi, I guess this problem is related to something in my build. I am getting this error after upgrading from FM3.7 to FM4.0-RC1 in one of my Projects. In another project (similar complexity) I am not getting this error. [ERROR] Failed to execute goal

Re: [flex-mojos] Re: SWC and embedded fonts

2011-07-26 Thread Christofer Dutz
Well if you want to use the CSS Font Manager in MX components I remember that you have to explicitly reference a special CSS file (MXFTEText.css) that configures the textFieldClass to use a different class: mx|Label { textFieldClass: ClassReference(mx.core.UIFTETextField); } Mabe this

  1   2   3   4   >