Odd, how did you get that?? Just flexmojos:flexbuilder ? Did you add any extra dependencies to flexmojos? I'm stunned, have no clue how you get that.
Sent from DROID Em 03/06/2010 16:18, "Matt" <[email protected]>escreveu: I'm getting this error with 3.6,3.7, and 3.8-SNAPSHOT when running the flexbuilder command. How is this absolute URI supposed to get translated in Velocity: protected String getFlexLibPropertiesTemplate() { return "/templates/flexbuilder/flexLibProperties.vm"; } private void writeFlexLibProperties() throws MojoExecutionException { runVelocity( getFlexLibPropertiesTemplate(), ".flexLibProperties", getFlexLibPropertiesContext() ); } [INFO] --- flexmojos-maven-plugin:3.8-SNAPSHOT:flexbuilder (default- cli) @ ccad-firebird-core-ui-flex-shell --- [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.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [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 'VM_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 global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] Using as WTP server : null [INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER [INFO] Unable to read jar manifest from /Users/mhughes/.m2/repository/ com/adobe/flex/framework/flex-framework/3.2.0.3958/flex- framework-3.2.0.3958.pom [INFO] Unable to read jar manifest from /Users/mhughes/.m2/repository/ com/adobe/flex/framework/rpc/3.2.0.3958/rpc-3.2.0.3958.rb.swc [INFO] Unable to read jar manifest from /Users/mhughes/.m2/repository/ com/adobe/flex/framework/framework/3.2.0.3958/ framework-3.2.0.3958.rb.swc [INFO] Using source status cache: /Users/mhughes/work/ccad/development/ firebird/core/target/mvn-eclipse-cache.properties [INFO] File /Users/mhughes/work/ccad/development/firebird/core/ui/flex/ shell/.project already exists. Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed. [INFO] Wrote Eclipse project for "ccad-firebird-core-ui-flex-shell" to /Users/mhughes/work/ccad/development/firebird/core/ui/flex/shell. [ERROR] ResourceManager : unable to find resource '/templates/ flexbuilder/actionScriptProperties.vm' in any resource loader. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.342s [INFO] Finished at: Thu Jun 03 14:53:29 EDT 2010 [INFO] Final Memory: 17M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- plugin:3.8-SNAPSHOT:flexbuilder (default-cli) on project ccad-firebird- core-ui-flex-shell: Error writting .actionScriptProperties: Unable to find resource '/templates/flexbuilder/actionScriptProperties.vm' -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException -- 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 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 http://flexmojos.sonatype.org/
