Hi,
We meet one unpleasant issue with current XEclipse (standalone version
<http://forge.objectweb.org/project/download.php?group_id=170&file_id=11944>
xwiki-eclipse-rcp-win32-win32-x86-1.2-rc-1.zip)
We tried to use XEclipse for our xwiki based application browsing. But when
we are trying to find some object stored in a page we are getting error
"This data manager is connected to an XWiki that does not support object
management."
After deep investigation we found problem place in XEclipse code.
There is hardcoded "expectation" of "xwiki" string in URL of
connection in
DataNamager.Connect()
http://svn.xwiki.org/svnroot/xwiki/xeclipse/trunk/plugins/org.xwiki.eclipse.
core/src/main/java/org/xwiki/eclipse/core/DataManager.java.
public void connect() throws XWikiEclipseException, CoreException
{
.....
if (serverInfo.getBaseUrl().contains("xwiki")) {
......
} else {
/* We are talking to a confluence server */
....
supportedFunctionalities.remove(Functionality.OBJECTS);
.....
}
....
}
So, simple fixing of problem is renaming of web context on xwiki web server
(e.g. war file renaming) with adding "xwiki" string.
Are there plans to move this "hardcoding" on the connection configuration
level (UI options like version selections - xwiki, confluence etc.)?
Thanks,
Andriy V.