Ok, I'm so dumb.
<UserExtensions>
D:/_AUDIENS/workspace/trunk/agepro-prototype/src/test/resources/user-extensions.js
</UserExtensions>

Instead of :
<userExtensions>
D:/_AUDIENS/workspace/trunk/agepro-prototype/src/test/resources/user-extensions.js
</userExtensions>


So this works. (but defaultUserExtensionsEnabled must true because the file
is appended)

2012/4/27 Paul Lhussiez <paul.lhuss...@gmail.com>

> Thanks for your advice Mirko, I'll give it a try.
> After trying :
> <UserExtensions>/user-extensions.js</UserExtensions>
>
> It seems that it still doesn't work. This is really weird.
> Must I activate the <defaultUserExtensionsEnabled> ? (true or false)
>
> I'll search about that... But that's hard to find how it works...
>
> Thanks for your help everyone.
>
>
> 2012/4/26 Mirko Friedenhagen <mfriedenha...@gmail.com>
>
>> Hello Paul,
>>
>> you could give:
>>
>> <UserExtensions>/user-extensions.js</UserExtensions>
>>
>> a try, all resources in src/test/resources should be in the test class
>> path and as you put it into the upmost directory you should be able to
>> access it via "/" as resource.
>>
>> Regards Mirko
>> --
>> http://illegalstateexception.blogspot.com/
>> https://github.com/mfriedenhagen/
>> https://bitbucket.org/mfriedenhagen/
>>
>>
>> On Thu, Apr 26, 2012 at 16:59, Paul Lhussiez <paul.lhuss...@gmail.com>
>> wrote:
>> > I managed to get my user-extensions-loaded.
>> > <defaultUserExtensionsEnabled>true</defaultUserExtensionsEnabled>
>> >
>> <UserExtensions>D:/_AUDIENS/workspace/trunk/agepro-prototype/src/test/resources/user-extensions.js</UserExtensions>
>> >
>> > Simpler than I thought... Thanks a lot :)
>> >
>> > 2012/4/26 Olivier Lamy <ol...@apache.org>
>> >>
>> >>
>> >>
>> http://mojo.codehaus.org/selenium-maven-plugin/start-server-mojo.html#defaultUserExtensions
>> >>
>> >> Point it to a resource available (check is done in the following
>> order):
>> >> * as a File
>> >> * as an URL
>> >> * as a resource available in classloader (the mojo use
>> >> Thread.currentThread().contextClassLoader.getResource(name) )
>> >>
>> >> HTH,
>> >> --
>> >> Olivier Lamy
>> >> Talend: http://coders.talend.com
>> >> http://twitter.com/olamy | http://linkedin.com/in/olamy
>> >>
>> >> 2012/4/26 Paul Lhussiez <paul.lhuss...@gmail.com>:
>> >> > Oh ok, that's why I was afraid of mailing lists.
>> >> > It's about maven-selenium-plugin.
>> >> >
>> >> > Sorry for my mistake ^^
>> >> >
>> >> >
>> >> > 2012/4/26 Wayne Fay <wayne...@gmail.com>
>> >> >>
>> >> >> > I'm not familiar with mailing list, I hope I'm not doing a
>> mistake ^^
>> >> >> > So I have a problem with the <defaultUserExtension> tag. How am I
>> >> >> > supposed
>> >> >> > to use it ?
>> >> >>
>> >> >> This mailing list is a general bucket which supports lots of
>> plugins.
>> >> >> Which plugin in particular are you looking for help with?
>> >> >>
>> >> >> It is common for people to include the name of the plugin in the
>> >> >> subject line of the email and then again in the body. I didn't see
>> the
>> >> >> plugin name mentioned anywhere in your email so I have no idea which
>> >> >> one you are asking about...
>> >> >>
>> >> >> Wayne
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe from this list, please visit:
>> >> >>
>> >> >>    http://xircles.codehaus.org/manage_email
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Paul Lhussiez
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe from this list, please visit:
>> >>
>> >>    http://xircles.codehaus.org/manage_email
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Paul Lhussiez
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
> --
> Paul Lhussiez
>



-- 
Paul Lhussiez

Reply via email to