Hi,
I'm trying flexmojos 4-0-snahpsot and alpha-2 and none of them can
find any resource (src/flex/resources), no png or css
This project's poms (multimodule flex 4) works with 3.5
I'm excited to see working all the new great features of flex-
mojos-4, (and impatient for compression and covertura ;-)
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
<testSourceDirectory>src/test/flex</testSourceDirectory>
<directory>${basedir}/target</directory>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
I must be missing something, nothing under resources is found by the
compiler, /assets/**.css nor /assets/**.png ?¿
Debug output (filtered , I can send full if usefull)
.........
[DEBUG] resource with targetPath null
directory /Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/src/main/resources
excludes []
includes []
[DEBUG] ignoreDelta true
[INFO] Copying 9 resources
[DEBUG] file aspa10.png has a non filtered file extension
[DEBUG] copy /Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/src/main/resources/assets/icons/aspa10.png to /Users/
nico/Documents/proyectos/insurance/flex/flexcomponents/target/classes/
assets/icons/aspa10.png
..............................
..............................
[DEBUG] Configuring mojo 'org.sonatype.flexmojos:flexmojos-maven-
plugin:4.0-SNAPSHOT:compile-swc' with flexmojos configurator -->
[DEBUG] (f) compileSourceRoots = [/Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/src/main/flex]
[DEBUG] (f) configDirectory = /Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/src/main/config
[DEBUG] (f) debug = false
[DEBUG] (f) defaultResourceBundleList = /Users/nico/Documents/
proyectos/insurance/flex/flexcomponents/target/flexcomponents-0.1.11-
SNAPSHOT-rb.properties
[DEBUG] (f) fullSynchronization = false
[DEBUG] (f) includeAllNamespaces = false
[DEBUG] (f) keepAs3Metadatas = [Bindable, Event, Managed,
ChangeEvent, NonCommittingChangeEvent, Transient, Autowire, Mediate,
VirtualBean, Inject, Outject, PostConstruct]
[DEBUG] (f) licenseLocalLookup = true
[DEBUG] (f) localRepository = id: local
url: file:///Users/nico/.m2/repository/
layout: none
[DEBUG] (f) localesSourcePath = /Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/src/main/locales/{locale}
[DEBUG] (f) optimize = true
[DEBUG] (f) outputDirectory = /Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/target/classes
[DEBUG] (f) packaging = swc
[DEBUG] (f) pluginArtifacts =
.......................................................
.......................................................
.......................................................
[DEBUG] (f) project = MavenProject:
com.codeoscopic.insurance:flexcomponents:0.1.11-SNAPSHOT @ /Users/nico/
Documents/proyectos/insurance/flex/flexcomponents/pom.xml
[DEBUG] (f) remoteRepositories = [ id: codeoscopic
url: http://maven.codeoscopic.com/content/groups/flex-dev
layout: default
snapshots: [enabled => true, update => daily]
releases: [enabled => true, update => daily]
, id: central
url: http://repo1.maven.org/maven2
layout: default
snapshots: [enabled => false, update => daily]
releases: [enabled => true, update => daily]
]
[DEBUG] (f) resources = [Resource {targetPath: null, filtering:
false, FileSet {directory: /Users/nico/Documents/proyectos/insurance/
flex/flexcomponents/src/main/resources, PatternSet [includes: {},
excludes: {}]}}]
[DEBUG] (f) targetDirectory = /Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/target
[DEBUG] (f) targetPlayer = 10.0.0
[DEBUG] (f) themes = [/Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/target/classes/config-4.0.0.14159/themes/Spark/
spark.css]
[DEBUG] (f) toolsLocale = en_US
[DEBUG] -- end configuration --
[INFO] Flexmojos 4.0-SNAPSHOT
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
file
[DEBUG] runtime libraries: id: textLayout
[DEBUG] RSL url: /rsl/textLayout-4.0.0.14159.swf - null
.................................................
.................................................
[DEBUG] Striping global artifact, source: /Users/nico/.m2/repository/
com/adobe/flex/framework/playerglobal/4.0.0.14159/
playerglobal-4.0.0.14159-10.swc, dest: /Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/target/classes/swcs/playerglobal.swc
[DEBUG] Expanding: /Users/nico/.m2/repository/com/adobe/flex/framework/
framework/4.0.0.14159/framework-4.0.0.14159-configs.zip into /Users/
nico/Documents/proyectos/insurance/flex/flexcomponents/target/classes/
configs
[DEBUG] expand complete
[DEBUG] Compilation arguments:
-output=/Users/nico/Documents/proyectos/insurance/flex/flexcomponents/
target/flexcomponents-0.1.11-SNAPSHOT.swc
-load-config=
-dump-config=/Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/target/flexcomponents-0.1.11-SNAPSHOT-configs.xml
-link-report=/Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/target/flexcomponents-0.1.11-SNAPSHOT-link-report.xml
-runtime-shared-library-path=/Users/nico/.m2/repository/com/adobe/flex/
framework/textLayout/4.0.0.14159/textLayout-4.0.0.14159.swc,/rsl/
textLayout-4.0.0.14159.swf
..........................................
..........................................
-target-player=10.0.0
-tools-locale=en_US
-compiler.debug=false
-compiler.locale=
-compiler.source-path=/Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/src/main/flex
-compiler.external-library-path=/Users/nico/.m2/repository/flexlib/
flexlib/2.4/flexlib-2.4.swc
.......................................
-compiler.external-library-path+=/Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/target/classes/swcs/playerglobal.swc
-compiler.include-libraries=
-compiler.fonts.local-fonts-snapshot=/Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/target/classes/fonts.ser
-compiler.headless-server=false
-compiler.keep-as3-metadata=Bindable
-compiler.keep-as3-metadata+=Event
-compiler.keep-as3-metadata+=Managed
-compiler.keep-as3-metadata+=ChangeEvent
................................................
-compiler.library-path=
..................................
-compiler.namespaces.namespace http://www.adobe.com/2006/mxml /Users/
nico/Documents/proyectos/insurance/flex/flexcomponents/target/classes/
configs/mxml-manifest.xml
-compiler.optimize=true
-compiler.theme=/Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/target/classes/config-4.0.0.14159/themes/Spark/
spark.css
-metadata.language=
-metadata.date=1/05/10 14:34
-metadata.title=Flex components library
-licenses.license flashbuilder4 952307007327847764626474
....................................................
-include-file=
-include-sources=/Users/nico/Documents/proyectos/insurance/flex/
flexcomponents/src/main/flex
Writing configuration dump to /Users/nico/Documents/proyectos/
insurance/flex/flexcomponents/target/flexcomponents-0.1.11-SNAPSHOT-
configs.xml
......................................
......................................
/Users/nico/Documents/proyectos/insurance/flex/flexcomponents/src/main/
flex/com/codeoscopic/insurance/components/text/
CustomSearchTextInput.mxml: Error: unable to resolve '/assets/icons/
aspa10.png' for transcoding
/Users/nico/Documents/proyectos/insurance/flex/flexcomponents/src/main/
flex/com/codeoscopic/insurance/components/text/
CustomSearchTextInput.mxml: Error: Unable to transcode /assets/icons/
aspa10.png.
On 29 abr, 23:18, SimonW <[email protected]> wrote:
> Thanks for the hint. I forgot to do so!
>
> However with the SNAPSHOT I retrieved some other errors and the build
> was not successful.
> I give up on the locales for now and see if those work in the final
> version of 4.0
>
> Thanks!
> Simon
>
> On Apr 23, 1:36 pm, Marvin Froeder <[email protected]> wrote:
>
>
>
> > Did you enabled snapshot repository?
>
> > Sent from DROID
>
> > Em 23/04/2010 03:11, "SimonW" <[email protected]>escreveu:
>
> > By the way, when change the Flexmojos version in the POM to
>
> > <version>4.0-SNAPSHOT</version>
>
> > I get this error here.
>
> > \LocaleLibProject\pom.xml) has 2 errors
> > [ERROR] Unresolveable build extension: Plugin
> > org.sonatype.flexmojos:flexmoj
> > os-maven-plugin:4.0-SNAPSHOT or one of its dependencies could not be
> > resolved: M
> > issing:
> > ----------
> > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0-
> > SNAPSHOT
>
> > Try downloading the file manually from the project website.
>
> > Then, install it using the command:
> > mvn install:install-file -DgroupId=org.sonatype.flexmojos -
> > DartifactId=fle
> > xmojos-maven-plugin -Dversion=4.0-SNAPSHOT -Dpackaging=maven-plugin -
> > Dfile=/path
> > /to/file
>
> > Alternatively, if you host your own repository you can deploy the
> > file there:
>
> > mvn deploy:deploy-file -DgroupId=org.sonatype.flexmojos -
> > DartifactId=flexm
> > ojos-maven-plugin -Dversion=4.0-SNAPSHOT -Dpackaging=maven-plugin -
> > Dfile=/path/t
> > o/file -Durl=[url] -DrepositoryId=[id]
>
> > ----------
> > 1 required artifact is missing.
>
> > for artifact:
> > org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0-
> > SNAPSHOT
>
> > from the specified remote repositories:
> > local (http://repository.sonatype.org/content/groups/flexgroup/,
> > releases=true
> > , snapshots=false),
> > jboss-plugins (http://repository.jboss.com/maven2, releases=true,
> > snapshots=fa
> > lse),
> > central (http://repo1.maven.org/maven2, releases=true,
> > snapshots=false)
> > -> [Help 2]
> > [ERROR] Unknown packaging: swc
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with
> > the -e swit
> > ch.
> > [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 rea
> > d the following articles:
> > [ERROR] [Help
> > 1]http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
> > gException
> > [ERROR] [Help
> > 2]http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
> > onException
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Flex Mojos" group.
> > T...
>
> > --
> > 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
> > athttp://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 athttp://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/