Hi,
I'd like to suggest removing the maximum number of parameters in our
default xwiki.cfg file. Right now it makes XWiki too complex. When
someone looks at that file it's daunting.
I'd prefer the following strategy:
* Minimal xwiki.cfg file (we could leave some parameters that we know
have to be changed frequently)
* Full reference documentation on all parameters in the Admin guide
on xwiki.org
* We reference the xwiki.org from inside the xwiki.cfg file telling
the user to go there to get the full list of parameters
* Always have default values for parameters in our code so that we
can leave the parameter empty in xwiki.cfg
WDYT?
Thanks
-Vincent
Hi,
Just noticed that XWiki logging-in currently depends on the Database:
* On most databases it's case sensitive
* On MySQL it's case insensitive (as MySQL is by default case-
insensitive)
Do we want to keep this behavior or do we standardize on one strategy
across all databases, like doing case-sensitive logins all the time?
Thanks
-Vincent
There are many properties stored in VARCHAR(255) fields, which sometimes
isn't enough. This already causes
http://jira.xwiki.org/jira/browse/XWIKI-883 . Changing to variable length
field doesn't have any major side effects, as I know.
As pro arguments:
1. The size of the database will not increase
2. There are already some fields stored as mediumtext and longblob, so it's
not something new in the database
3. The fewer limits there are, the better
4. Issues like XWIKI-883 will be fixed
... and maybe more
Is there something I'm missing that prevents this?
--
http://purl.org/net/sergiu
Hi,
I see in JIRA that the XWiki Watch 1.0M1 version hasn't been
released. I think 1.0M1 has been released so the version should be
released in JIRA too. I can do it if that's ok.
Also I see that 1.1M2 is planned for the 29th of June in JIRA. Has it
been released? If not, what is the new date?
Thanks
-Vincent
Hello.
I have a strange bug then building xwiki-enterprise-database by maven2
indirectly (by pom <modules>):
$ cd xwiki-product-enterprise
$ mvn clean; mvn install
result:
database files in xwiki-product-enterprise/target/database but not in
xwiki-product-enterprise/database/target/database
so xwiki-enterprise-database-1.1-SNAPSHOT-hsqldb.zip is empty
(if I directly building database (`cd xwiki-product-enterprise/database;
mvn install;`) - all is fine)
environment:
maven-2.1-SNAPSHOT(29 june)
sun-jdk-1.6
xwiki trank (29 june), unchanged
gentoo linux
all configs looks normally
I looked all configs, looked at mvn -X and found nothing strange.
I created simple m2 project like xwiki-product-enterprise but with only
the database as m2 module - the same error.
Why it can be?
--
Artem Melentyev
Hi.
I found some duplicate resources. I don't understand, why it are needed.
Please explain why it are needed.
1. hibernate mappings
where:
xwiki-platform-core/src/main/resources
xwiki-platform-web/standard/src/main/webapp/WEB-INF/classes
what:
xwiki*.hbm.xml
feeds*.hbm.xml
seems that xwiki-platform-web/standard override xwiki-platform-core.
I think core hibernate mappings should be in xwiki-platform-core only.
2. hibernate.cfg.hbm.xml
xwiki-product-enterprise/distribution/src/main/resources/hibernate.cfg.hsql.xml
= filtered xwiki-platform-web/standard/src/main/resources/hibernate.cfg.xml
Because of
xwiki-product-enterprise/distribution/src/main/resources/xwiki.cfg
(xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.hsql.xml)
xwiki standalone distribution still builds only for hsqldb. (XWIKI-1417)
So, if I correct (all duplicates is not needed), I propose:
1. remove
xwiki-platform-web/standard/src/main/webapp/WEB-INF/classes/*.hbm.xml
2. remove hibernate.cfg.hsql.xml and xwiki.cfg (or remove hsql from
xwiki.cfg) from xwiki-product-enterprise/distribution/src/main/resources/
3. remove or modify 2nd <fileSet> in
xwiki-product-enterprise/distribution/src/assemble/application.xml
(For now it is also coping jetty distribution in
webapp/xwiki/WEB-INF/jetty, so xwiki distribution contains 2 jetty's)
Tell me where I am wrong.
I performed this proposal on my svn trank workcopy, and everything is
fine. Functional tests pass on all databases.
--
Artem Melentyev, UralSU
Sorry for the billions of messages, everyone. The lists were
pretending not to like my mail.. of course now I see that they're all
piling through..
--
'Waste of a good apple' -Samwise Gamgee
From http://www.xwiki.org/xwiki/bin/view/Community/Building:
"If you wish to build all the modules required for XWiki Enterprise
and not the ones required by other products you can go at the top
level and type mvn install -Pxe"
-Vincent
On Jul 6, 2007, at 11:12 AM, Gaurav Upadhyaya wrote:
> Hi
>
> I liked this wiki so much that i want to customize its look per my
> choice and run it on my database. I have the code with me and want
> to know few things :
>
> 1) How can I configure the database to Oracle, (before building the
> archive, to avoid repetitive work).I have tried over writing the
> hibernate files with my config, but the moment i use "mvn install",
> it sets back to the default HSQL db. Where do i need to make a
> change for hibernate files to use my DB properties.
I've already answered that (at least 2 or 3 times)
> 2) How can I change the default user (XWIKI / XWIKI).
I've already answered that too.
> I would be really thankful for any help.
Gaurav there's no point in repeating over and over the same question.
I have spent some of my own time to answer you. The least you could
do is read my answers and try them out and let me know how it goes... :(
Thanks
-Vincent