Logan can give you a better intel on this.  I'm not sure if that is usable.

VELO

On Thu, Mar 4, 2010 at 8:15 PM, Scott Langeberg <[email protected]>wrote:

> I'm trying out the flexcover mojo:
>
> https://docs.sonatype.org/display/FLEXMOJOS/flexcover-mojo.html
>
> Are there any updated guides to using this mojo? I'm sure I'm missing about
> 2-5 steps, so any guidance appreciated!
>
> --------------------------
>
> I am trying to build the old project at:
>
>
> http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-test-harness/projects/concept/flexcover-example/
>
> I am a bit of a maven NOOB, so I'm not sure how to proceed. I've updated
> the pom / project to utilize flexunit 4. Have attached POM below.
>
> I have tried running:
>
> mvn flexmojos:flexcover
>
> Which gives build success, but you can see after the tests pass, there are
> various errors (can't find touch.txt, etc.):
>
> [WARNING] [LAUNCHER] Using regular flashplayer tests
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Time Elapsed: 0 sec
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] **************************************************************
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File: org\apache\velocity\runtime\defaults\
> velocity.pr
> operties
> [INFO] Default ResourceManager initializing. (class
> org.apache.velocity.runtime.
> resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated:
> org.codehaus.plexus.velocity.ContextClassLo
> aderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.
> ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 1 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template :
> VM_global_library.vm
> *[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> in any*
> *resource loader.*
> [INFO] Velocimacro : error using  VM library template VM_global_library.vm
> : org
> .apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'V
> M_global_library.vm'
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> templates
>
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
> NOT
> replace previous VM definitions
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
>  glob
> al in scope if allowed.
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [flexmojos:flexcover {execution: default-cli}]
> [INFO] Not executing flexcover:report as the flexcover data file
> (D:\development
> \tetris_rep\trunk\platform\gui\flexcover-example\target\flexcover\touch.txt)
> cou
> ld not be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 24 seconds
> [INFO] Finished at: Thu Mar 04 17:10:41 CST 2010
> [INFO] Final Memory: 27M/127M
> [INFO]
> ------------------------------------------------------------------------
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd
> ">
>  <modelVersion>4.0.0</modelVersion>
>
> <parent>
>  <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-flex-super-pom</artifactId>
>  <version>3.5.0</version>
> </parent>
>
> <properties>
>  <flexmojos.version>3.5.0</flexmojos.version>
> </properties>
>
> <groupId>com.adobe.samples.flexcover</groupId>
> <artifactId>calculator-api</artifactId>
>  <version>1.0-SNAPSHOT</version>
>
> <packaging>swc</packaging>
>  <description>
> Attempting use of Flexcover Mojo, seen at:
>  https://docs.sonatype.org/display/FLEXMOJOS/flexcover-mojo.html
> </description>
>
> <build>
> <sourceDirectory>src</sourceDirectory>
>  <testSourceDirectory>tests</testSourceDirectory>
>     <plugins>
>         <plugin>
>             <groupId>org.sonatype.flexmojos</groupId>
>             <artifactId>flexmojos-maven-plugin</artifactId>
>             <version>${flexmojos.version}</version>
>             <extensions>true</extensions>
>         </plugin>
>  </plugins>
> </build>
>
> <dependencies>
>  <dependency>
>       <groupId>com.adobe.flexunit</groupId>
>        <artifactId>flexunit</artifactId>
>       <version>4.0-beta-2</version>
>       <type>swc</type>
>       <scope>test</scope>
>      </dependency>
> </dependencies>
>
> </project>
>
>  --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> http://flexmojos.sonatype.org/
>

-- 
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://flexmojos.sonatype.org/

Reply via email to