Re: [xwiki-users] XWiki Web 1.8.1

2010-01-09 Thread Thomas Mortagne
On Fri, Jan 8, 2010 at 23:17, J. Allen Santos  wrote:
>
> Hi,
> I tried using other version of maven. I can't seem to find 2.2.0 from the 
> maven site so I used 2.0.10. And it worked (terminal and netbeans)! Thank you 
> very much!

You should use last stable version which is 2.2.1 (very close to 2.2.0
;)). See http://maven.apache.org/download.html

>
> Allen
>
>> Date: Thu, 7 Jan 2010 12:57:02 +0200
>> From: mariusdumitru.flo...@xwiki.com
>> To: users@xwiki.org
>> Subject: Re: [xwiki-users] XWiki Web 1.8.1
>>
>> J. Allen Santos wrote:
>> > I was able to build gwt module. I got the same error when I tried building 
>> > the entire web. But, when I tried building wysiwyg module, no error at 
>> > all. Any ideas?
>>
>> Maybe it's a maven issue. I'm using 2.2.0
>>
>> Hope this helps,
>> Marius
>>
>> >
>> >> Date: Thu, 7 Jan 2010 10:11:20 +0200
>> >> From: mariusdumitru.flo...@xwiki.com
>> >> To: users@xwiki.org
>> >> Subject: Re: [xwiki-users] XWiki Web 1.8.1
>> >>
>> >> Hi,
>> >>
>> >> The platform/web/wysiwyg module depends on the platform/web/gwt module.
>> >> For some reason in your case the jars generated by the gwt module are
>> >> not available when building the wysiwyg module. Can you try to build the
>> >> gwt module manually first and then rebuild the entire web?
>> >>
>> >> Hope this helps,
>> >> Marius
>> >>
>> >> J. Allen Santos wrote:
>> >>> Hi
>> >>> I'm trying to build XWiki Web 1.8.1. It fails. I'm using Ubuntu 9.10 and 
>> >>> tried building it in the terminal and in Netbeans. Both failed with the 
>> >>> same error message. I know i'm using the right settings.xml.
>> >>>
>> >>> ThanksAllen
>> >>>
>> >>> Here is part of the message:
>> >>> Building
>> >>>  XWiki Platform - Web - WYSIWYG   task-segment: 
>> >>> [install][enforcer:enforce][remote-resources:process
>> >>>  {execution: xwiki-license-resources}][resources:resources]Using default 
>> >>> encoding to copy filtered resources.[compiler:compile]Nothing to compile 
>> >>> - all classes are up to date[dependency:unpack]Configured Artifact: 
>> >>> com.google.gwt:gwt-dev:linux-libs:1.5.3:zipgwt-dev-1.5.3-linux-libs.zip 
>> >>> already unpacked.[gwt:compile]establishing classpath list 
>> >>> (buildClaspathList - scope = COMPILE)google.webtoolkit.home (gwtHome) 
>> >>> *not* set, using project POM for GWT dependenciesRemoving units with 
>> >>> errors   [ERROR] Errors in 
>> >>> 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java'
>> >>>       [ERROR] Line 48: No source code is available for type 
>> >>> com.xpn.xwiki.gwt.api.client.app.XWikiGWTDefaultA
>> pp
>> >> ; did you forget to inherit a required module?      [ERROR] Line 61: No 
>> >> source code is available for type 
>> >> com.xpn.xwiki.gwt.api.client.app.XWikiAsyncCallback; did you forget to 
>> >> inherit a required module?   [ERROR] Errors in 
>> >> 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java'
>> >>       [ERROR] Line 137: No source code is available for type 
>> >> com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit 
>> >> a required module?   [ERROR] Errors in 
>> >> 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java'
>> >>       [ERROR] Line 438: No source code is available for type 
>> >> com.xpn.xwiki.gwt.api.client.dialog.MessageDialog; did you forget to 
>> >> inherit a required module?      [ERROR] Line 438: No source code is 
>> >> available for type com.xpn.xwiki.gwt.api.client.dialog.Dialog; did you 
>> >> forget to inherit a required module?      [ERROR] Line 452: No sourc
>> e c
>> >> ode is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; 
>> >> did you forget to inherit a required module?Removing invalidated units   
>> >> [WARN] Compilation unit 
>> >> 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ui/ImageSelector.java'
>> >>  is removed due to invalid reference(s):      [WARN] 
>> >> file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java
>> >>    [WARN] Compilation unit 
>> >> 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/valign/VerticalAlignPlugin.java'
>> >>  is removed due to invalid reference(s):      [WARN] 
>> >> file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java
>> >>    [WARN] Compilation unit 
>> >> 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/DefaultPluginManager.java'
>> is
>> >> removed due to invalid reference(s):      [W

Re: [xwiki-users] Migrate to Mysql

2010-01-09 Thread Thomas Mortagne
On Sat, Jan 9, 2010 at 02:19, Aplamon  wrote:
>
> I have been using the standalone package (2.04) for some time and now our
> wiki is starting to grow. So I wanted to migrate over to a Mysql database. I
> have setup the default wiki in Mysql, that works. Now I want to move over
> all the content. I thought I could just export a xar file and then import it
> into my Mysql instance. But first off the xar file is only like 6megs big
> and second when I try to import it the tool says there are no documents in
> it.

Could you check if the generated xar is valid ? It's supposed to be a
zip file containing each page as XML files, you can simply rename it
to .zip to open it.

The is some issues to export/import big wikis in the default
distribution, we are working on it. In the meantime you can use
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeWikiExportSnippet
(first script) and
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippet

>
> Also, are attachment exported? We have a few rather large files as
> attachments so 6 megs seems really small.

Yes attachments are exported.

>
> Thank you
> Daniel
> --
> View this message in context: 
> http://n2.nabble.com/Migrate-to-Mysql-tp4275838p4275838.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Link to a file in local file system

2010-01-09 Thread Arnaud bourree
If you limit browser list to IE, you can used URL like
file://C:/somewehre/somefile.doc
Or else store your file file in webapps/xwiki but not in WEB-INF folder

Arnaud

2010/1/9 Ziggy :
> Hi,
>
> Isnt there a way to link to a file on the local file system? I tried using
> both the WYSIWYG editor and the creole syntax and both dont work. I know i
> can link to an attachment but thats not what i want. I want to add a
> hyperlink to a document that links to a file that is somewhere on the C:
> drive. Is this possible?
>
> Im using the latest version of xwiki downloaded yesterday.
>
> Thanks
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Link to a file in local file system

2010-01-09 Thread Ziggy
Hi,

Isnt there a way to link to a file on the local file system? I tried using
both the WYSIWYG editor and the creole syntax and both dont work. I know i
can link to an attachment but thats not what i want. I want to add a
hyperlink to a document that links to a file that is somewhere on the C:
drive. Is this possible?

Im using the latest version of xwiki downloaded yesterday.

Thanks
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Migrate to Mysql

2010-01-09 Thread Arnaud bourree
Standalone XWiki used Hsqldb.
Find file .script, rename it .sql and run it in MySql.

Arnaud.

2010/1/9 Aplamon :
>
> I have been using the standalone package (2.04) for some time and now our
> wiki is starting to grow. So I wanted to migrate over to a Mysql database. I
> have setup the default wiki in Mysql, that works. Now I want to move over
> all the content. I thought I could just export a xar file and then import it
> into my Mysql instance. But first off the xar file is only like 6megs big
> and second when I try to import it the tool says there are no documents in
> it.
>
> Also, are attachment exported? We have a few rather large files as
> attachments so 6 megs seems really small.
>
> Thank you
> Daniel
> --
> View this message in context: 
> http://n2.nabble.com/Migrate-to-Mysql-tp4275838p4275838.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki attachements

2010-01-09 Thread Arnaud bourree
I like Restfull API
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
Depends of your other tool capabilities

Arnaud.

2010/1/8 Ziggy :
> Ok i will look into this WEBDAV option. If anyone has more suggestions
> please do let me know.
>
> Thanks
>
> On Fri, Jan 8, 2010 at 3:08 AM, Sergiu Dumitriu  wrote:
>
>> On 01/07/2010 06:12 PM, Ziggy wrote:
>> > HI,
>> >
>> > Could you give me some more information on where xwiki attachements are
>> > stored and how i can access them directly. I just attached a file to a
>> wiki
>> > page but i havent got a clue where that files is saved in the filesystem.
>> > And most importantly how can i access it?
>> >
>> > The reason i ask is i want to use another tool to have access to that
>> same
>> > file. If i know where in teh filesystem it is it would be usefull.
>>
>> You could access the files through WebDAV, see
>> http://platform.xwiki.org/xwiki/bin/view/Features/WebDAV
>>
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users