Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Flex Addon ! Working Walkthrough !

  1. #11
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Thumbs down Samples Part 4

    Part 4 final

    The console on the build...

    4/30/11 8:27:48 AM CST: [ERROR] C:\Users\user\Documents\workspace-sts-2.5.2.RELEASE-FB4\CARE3\src\main\flex\com\corenttech\care\presen tation\actions\ActionsEvent.as:[15,59] Type was not found or was not a compile-time constant: Actions. public function ActionsEvent(type:String, actions:Actions, bubbles:Boolean = true, cancelable:Boolean = false)
    4/30/11 8:27:48 AM CST: [ERROR] C:\Users\user\Documents\workspace-sts-2.5.2.RELEASE-FB4\CARE3\src\main\flex\com\corenttech\care\presen tation\actionproperties\ActionPropertiesEvent.as:[15,77] Type was not found or was not a compile-time constant: ActionProperties. public function ActionPropertiesEvent(type:String, actionProperties:ActionProperties, bubbles:Boolean = true, cancelable:Boolean = false)
    So I looked at ActionPropertiesEvent.as...

    Code:
    package com.corenttech.care.presentation.actionproperties
    {
        import flash.events.Event;
    
        import com.corenttech.care.ActionProperties;
    
        public class ActionPropertiesEvent extends Event
        {
            public static const CREATE:String = "actionPropertiesCreate";
            public static const UPDATE:String = "actionPropertiesUpdate";
            public static const DELETE:String = "actionPropertiesDelete";
    
            public var actionProperties:ActionProperties;
            
            public function ActionPropertiesEvent(type:String, actionProperties:ActionProperties, bubbles:Boolean = true, cancelable:Boolean = false)
            {
                this.actionProperties = actionProperties;
                super(type, bubbles, cancelable);
            }
        }
    }
    I don't see anything wrong or different from the FlexWedding example.

    Ok Sorry for this long post, but I hope it helps zero in on the problem.

    Lastly here is the Error Log from the Build.

    org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.7.1:compile-swf (compile-scaffold-swf) on project CARE3: Error compiling!
    at org.apache.maven.lifecycle.internal.MojoExecutor.e xecute(MojoExecutor.java:203)
    at org.apache.maven.lifecycle.internal.MojoExecutor.e xecute(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.MojoExecutor.e xecute(MojoExecutor.java:140)
    at org.apache.maven.lifecycle.internal.LifecycleModul eBuilder.buildProject(LifecycleModuleBuilder.java: 84)
    at org.apache.maven.lifecycle.internal.LifecycleModul eBuilder.buildProject(LifecycleModuleBuilder.java: 59)
    at org.apache.maven.lifecycle.internal.LifecycleStart er.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStart er.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:314)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:151)
    at org.maven.ide.eclipse.internal.embedder.MavenImpl. execute(MavenImpl.java:223)
    at org.maven.ide.eclipse.internal.project.GenericBuil dParticipant.executePostBuild(GenericBuildParticip ant.java:138)
    at org.maven.ide.eclipse.internal.project.GenericBuil dParticipant.build(GenericBuildParticipant.java:77 )
    at org.maven.ide.eclipse.internal.builder.MavenBuilde r.build(MavenBuilder.java:153)
    at org.eclipse.core.internal.events.BuildManager$2.ru n(BuildManager.java:629)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:172)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:203)
    at org.eclipse.core.internal.events.BuildManager$1.ru n(BuildManager.java:255)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:258)
    at org.eclipse.core.internal.events.BuildManager.basi cBuildLoop(BuildManager.java:311)
    at org.eclipse.core.internal.events.BuildManager.buil d(BuildManager.java:343)
    at org.eclipse.core.internal.events.AutoBuildJob.doBu ild(AutoBuildJob.java:144)
    at org.eclipse.core.internal.events.AutoBuildJob.run( AutoBuildJob.java:242)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)
    Caused by: org.apache.maven.plugin.MojoExecutionException: Error compiling!
    at org.sonatype.flexmojos.compiler.AbstractCompilerMo jo.callCompiler(AbstractCompilerMojo.java:1141)
    at org.sonatype.flexmojos.compiler.AbstractCompilerMo jo.run(AbstractCompilerMojo.java:2403)
    at org.sonatype.flexmojos.AbstractIrvinMojo.execute(A bstractIrvinMojo.java:155)
    at org.apache.maven.plugin.DefaultBuildPluginManager. executeMojo(DefaultBuildPluginManager.java:107)
    at org.apache.maven.lifecycle.internal.MojoExecutor.e xecute(MojoExecutor.java:195)
    ... 24 more
    So it looks like a maven Mojo problem, I will try to dig deeper.

    I also noted that Flex Roo seems to keep projects in its queue that have been deleted as I get errors on projects that have been deleted.

  2. #12
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Question My Mojo

    Code:
    <repository>
                <id>flex</id>
                <url>http://repository.sonatype.org/content/groups/flexgroup</url>
                <name>Sonatype Flex Repo</name>
            </repository>
        </repositories>


    yes I can access it from here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •