could you try an absolute path?

"/img/file.jpg"

The path is relative to src/main/resources


VELO

On Mon, Mar 29, 2010 at 2:49 PM, alpduhuez <[email protected]> wrote:

> Yep, just verified it.  If I remove all the [Embed] tags the project
> compiles.
>
> This is a sample style we are using.
>
> SaveDialog
> {
>        headerIconSkin: Embed(source="../resources/img/confirm.png");
> }
>
> On Mar 29, 10:29 am, Marvin Froeder <[email protected]> wrote:
> > And just removing the Embed prevents the problem from happening?
> >
> > VELO
> >
> > On Mon, Mar 29, 2010 at 2:21 PM, alpduhuez <[email protected]> wrote:
> > > I am using a [Embed] tag in our .css referencing assets in the
> > > resources directory.  Looks like there is not one in Ice.css.
> >
> > > I can send you the 2 config dumps if you like.
> >
> > > -al
> >
> > > On Mar 29, 4:40 am, Marvin Froeder <[email protected]> wrote:
> > > > FWIW, I did try a css, worked finehttp://
> > > svn.sonatype.org/flexmojos/branches/flexmojos-4.x/flexmojos-te...
> >
> > > > VELO
> >
> > > > On Mon, Mar 29, 2010 at 1:50 AM, alpduhuez <[email protected]>
> wrote:
> > > > > I did a diff the config.xml and compared the Flexmojos 3.5.0 and
> 4.0
> > > > > output....
> >
> > > > >
> http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw.
> > > ..
> >
> > > > >
> http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS.
> > > ..
> >
> > > > > The resources directory is not being included in the source path.
>  It
> > > > > looks like the 4.0 is missing a lot of stuff as well, lIke rsl's
> have
> > > > > a url of just "string" instead of the actual.
> >
> > > > > On Mar 28, 6:52 pm, Marvin Froeder <[email protected]> wrote:
> > > > > > Ow dear... can't read the stack.... send me directly attached....
> >
> > > > > > Also attach the console output for the IStyleModule
> >
> > > > > > On Sun, Mar 28, 2010 at 10:50 PM, alpduhuez <[email protected]
> >
> > > wrote:
> > > > > > > Your fix did the trick, new error now.
> >
> > > > > > > Error: Interface IStyleModule was not found. [Generated code
> (use -
> > > > > > > keep to save): Path:
> > > /Source/depot/Service/ui/java/projects/Tsunami/
> >
> > > short/flex/components-styles/src/main/flex/generated/componentStyles-
> > > > > > > generated.as, Line: 16, Column: 67]
> >
> > > > > > > Here is the stacktrace for the missing languageRange:
> >
> > > > > > > [ERROR] Failed to execute goal
> > > org.sonatype.flexmojos:flexmojos-maven-
> > > > > > > plugin:4.0-SNAPSHOT:compile-swf (default-compile-swf) on
> project
> > > pl-
> > > > > > > console-flex-components-styles:
> > > > > > > java.lang.reflect.InvocationTargetException:
> NullPointerException
> > > ->
> > > > > > > [Help 1]
> > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed
> to
> > > > > > > execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-
> > > > > > > SNAPSHOT:compile-swf (default-compile-swf) on project
> > > pl-console-flex-
> > > > > > > components-styles: java.lang.reflect.InvocationTargetException
> > > > > > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> > > > > > > 584)
> > > > > > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> > > > > > > 323)
> > > > > > >        at
> > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
> > > > > > >         at
> > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
> > > > > > >        at
> org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
> > > > > > >        at
> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
> > > > > > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
> > > > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > > > > >        at
> >
> > >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > > > > > 39)
> > > > > > >        at
> >
> > >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> > > > > > > 25)
> > > > > > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > >        at
> >
> > >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
> > > > > > > 290)
> > > > > > >         at
> >
> > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
> > > > > > > 230)
> > > > > > >         at
> >
> > >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
> > > > > > > 409)
> > > > > > >         at
> >
> > > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> > > > > > > 352)
> > > > > > > Caused by: org.apache.maven.plugin.MojoExecutionException:
> > > > > > > java.lang.reflect.InvocationTargetException
> > > > > > >         at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.executeCompiler(AbstractMavenFlexCompilerConfiguration.java:
> > > > > > > 1444)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute(MxmlcMojo.java:
> > > > > > > 142)
> > > > > > >        at
> >
> > >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
> > > > > > > 105)
> > > > > > >        at
> >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> > > > > > > 576)
> > > > > > >        ... 14 more
> > > > > > > Caused by: java.lang.RuntimeException:
> > > > > > > java.lang.reflect.InvocationTargetException
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.getArgumentsList(FlexCompilerArgumentParser.java:
> > > > > > > 41)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.compiler.DefaultFlexCompiler.compileSwf(DefaultFlexCompiler.java:
> > > > > > > 47)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.doCompile(MxmlcMojo.java:
> > > > > > > 121)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.doCompile(MxmlcMojo.java:
> > > > > > > 1)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.executeCompiler(AbstractMavenFlexCompilerConfiguration.java:
> > > > > > > 1440)
> > > > > > >        ... 17 more
> > > > > > > Caused by: java.lang.reflect.InvocationTargetException
> > > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > > > > >        at
> >
> > >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > > > > > 39)
> > > > > > >        at
> >
> > >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> > > > > > > 25)
> > > > > > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
> > > > > > > 74)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
> > > > > > > 85)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
> > > > > > > 85)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.doGetArgs(FlexCompilerArgumentParser.java:
> > > > > > > 85)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.compiler.util.FlexCompilerArgumentParser.getArgumentsList(FlexCompilerArgumentParser.java:
> > > > > > > 37)
> > > > > > >        ... 21 more
> > > > > > > Caused by: java.lang.NullPointerException
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.getLanguageRange_aroundBody122(AbstractMavenFlexCompilerConfiguration.java:
> > > > > > > 2066)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.getLanguageRange_aroundBody123$advice(AbstractMavenFlexCompilerConfiguration.java:
> > > > > > > 40)
> > > > > > >        at
> >
> > >
> org.sonatype.flexmojos.plugin.compiler.AbstractMavenFlexCompilerConfiguration.getLanguageRange(AbstractMavenFlexCompilerConfiguration.java:
> > > > > > > 1)
> > > > > > >        ... 30 more
> >
> > > > > > > On Mar 28, 4:40 pm, Marvin Froeder <[email protected]> wrote:
> > > > > > > > On Sun, Mar 28, 2010 at 8:07 PM, alpduhuez <
> [email protected]>
> > > > > wrote:
> > > > > > > > > Okay, good news that change got the style swf build
> farther,
> > > but is
> > > > > a
> > > > > > > > > couple more issues.
> >
> > > > > > > > > 1.  There needs to be a languageRange configuration option
> else
> > > it
> > > > > > > > > blows up w/ a null pointer.  I have an empty option for now
> > > (e.g.
> > > > > > > > > <languageRange/>)
> >
> > > > > > > > Could you give me the stack trace? Run mvn -e
> >
> > > > > > > > > 2.  I seem to get a bad parameter exception to the mxmlc
> > > compiler:
> >
> > > > > > > > > [ERROR] Failed to execute goal
> > > > > org.sonatype.flexmojos:flexmojos-maven-
> > > > > > > > > plugin:4.0-SNAPSHOT:compile-swf (default-compile-swf) on
> > > project
> > > > > pl-
> > > > > > > > > console-flex-components-styles: Got 1 errors building
> project,
> > > > > check
> > > > > > > > > logs -> [Help 1]
> > > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> Failed
> > > to
> > > > > > > > > execute goal
> org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-
> > > > > > > > > SNAPSHOT:compile-swf (default-compile-swf) on project
> > > > > pl-console-flex-
> > > > > > > > > components-styles: Got 1 errors building project, check
> logs
> >
> > > > > > > > > There error is: command line: Error: unknown configuration
> > > variable
> > > > > > > > > 'tools-locale'.
> >
> > > > > > > > I put a fix for that just a few minutes after I put 3.5 fix
> in
> > > place,
> > > > > > > could
> > > > > > > > you try mvn -U?
> >
> > > > > > > > VELO
> >
> > > > > > > > > There is a '-tools-locale=en_US' option being included in
> the
> > > > > compiler
> > > > > > > > > out.  Seems like a left over from 4.0.
> >
> > > > > > > > > Thanks for the quick responses.
> > > > > > > > > -al
> >
> > > > > > > > > On Mar 28, 10:51 am, Marvin Froeder <[email protected]>
> wrote:
> > > > > > > > > > No problem, flexmojos 4 will be flex 3 compatible.
> >
> > > > > > > > > > Sent from DROID
> >
> > > > > > > > > > Em 28/03/2010 14:47, "alpduhuez" <[email protected]
> > > >escreveu:
> >
> > > > > > > > > > Awesome, thank you very much.   I will try it later
> today.
> >
> > > > > > > > > > Yea, we are stuck on flex 3 for a bit till we update our
> > > custom
> > > > > > > > > > controls to the style/control changes in flex 4.
> >
> > > > > > > > > > On Mar 28, 8:05 am, Marvin Froeder <[email protected]>
> > > wrote:>
> > > > > Ok, I
> > > > > > > > > made a fix for it....
> >
> > > > > > > > > > > But you have to add the extra dependency
> manuallyhttps://
> >
> > ...
> >
> > read more ยป
>
> --
> 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/
>
> To unsubscribe from this group, send email to flex-mojos+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

-- 
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/

To unsubscribe from this group, send email to 
flex-mojos+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to