On Fri, Mar 29, 2013 at 4:56 PM, Thomas Mortagne <[email protected]> wrote:
On Fri, Mar 29, 2013 at 4:47 PM, Jeremie BOUSQUET <[email protected]> wrote:
Mmmm, what could explain that standard login for "Admin" user does not work in the xwiki created by the packager plugin ? ("invalid credentials"). It used to work, maybe when I had dependency on xwiki-enterprise-ui-all ... ?
It's not really standard XWiki login, the Admin user come from adminitsrtion-ui, if you have that xar then you have the user.
administration-ui
Br, Jeremie
2013/3/29 Thomas Mortagne <[email protected]>
On Fri, Mar 29, 2013 at 3:05 PM, Jeremie BOUSQUET <[email protected]> wrote:
Ok found it in xwiki-rendering-macro-message. That's nice, looking into it, just realized that there existed a {{success}} macro ! Seems nice, is it intended that it's not described on extensions wiki as info/warning/error are ?
Probably been forgotten by the dev who introduced it.
Thanks, Jeremie
2013/3/29 Jeremie BOUSQUET <[email protected]>
Thanks ! I'm progressing, but it seems I have a hard time finding what to declare to get the info/warning/error macros ...
BR, Jeremie
2013/3/29 Vincent Massol <[email protected]>
On Mar 29, 2013, at 12:21 PM, Vincent Massol <[email protected]>
wrote:
> > On Mar 29, 2013, at 11:03 AM, Jeremie BOUSQUET < [email protected]> wrote: > >> Hello, >> >> Me again ... :-) >> With fixed version of packager plugin, things go better now. XWiki
is
>> downloaded and launched, my test browses to the page as I expect. >> >> Problem is that when browsing to my page, I can see the following in the >> html content logged by the build: >> >> <div id="xwikicontent"> >> <div class="xwikirenderingerror" style="cursor: pointer;" title="Read >> technical information related to this error">Unknown macro: velocity[...] >> >> In fact, it seems wiki is running, but can't find any macro ... I tried to >> add a dependency on xwiki-enterprise-ui-all xar, but with same result. I'm >> not sure of what could be missing ? > > I think I've noticed a bug related to this. For ex in my contrib project I depend on org.xwiki.platform:xwiki-platform-administration-ui. I was surprised when running my func test that the admin screen was missing the velocity and include macros for example. The reason I think is because in xwiki-platform-administration-ui the deps on velocity and include macros are of scope "runtime". > > So IMO there's a bug in PackageMojo: it should draw transitive dependencies for the "runtime" scope. > > I'll look into this.
Fixed in http://jira.xwiki.org/jira/browse/XWIKI-8983
Thanks -Vincent
> However as Thomas said, you need to add the **direct** deps you need at runtime. > > Thanks > -Vincent > > [snip]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne