[xwiki-users] Problem building xwatch

2010-09-02 Thread Simerpreet Singh
Hi,

When i build the project iam getting following error

[INFO] Unpacking C:\Documents and Settings\xxx\.m2\repository\com\g
oogle\gwt\gwt-dev\2.0.3\gwt-dev-2.0.3-windows-libs.zip to
  C:\Documents and Settings\xxx\.m2\repository\com\google\gwt\gwt-d
ev\2.0.3
   with includes null and excludes:null
org.codehaus.plexus.archiver.ArchiverException: Error while expanding 
C:\Documen
ts and Settings\xxx\.m2\repository\com\google\gwt\gwt-dev\2.0.3\gwt
-dev-2.0.3-windows-libs.zip
at 
org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.execute(Abstra
ctZipUnArchiver.java:132)
at 
org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArc
hiver.java:108)
at 
org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(Abst
ractDependencyMojo.java:260)
at 
org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpac
kArtifact(UnpackMojo.java:122)
at 
org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execu
te(UnpackMojo.java:95)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:454)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:500)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:479)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:331)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:292)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:290)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.io.IOException: Negative seek offset
at java.io.RandomAccessFile.seek(Native Method)
at 
org.codehaus.plexus.archiver.zip.ZipFile.positionAtCentralDirectory(Z
ipFile.java:383)
at 
org.codehaus.plexus.archiver.zip.ZipFile.populateFromCentralDirectory
(ZipFile.java:254)
at org.codehaus.plexus.archiver.zip.ZipFile.(ZipFile.java:148)
at 
org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.execute(Abstra
ctZipUnArchiver.java:113)
... 22 more
[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[INFO] Error unpacking file: C:\Documents and Settings\x\.m2\repo
sitory\com\google\gwt\gwt-dev\2.0.3\gwt-dev-2.0.3-windows-libs.zip to: 
C:\Docume
nts and Settings\xxx\.m2\repository\com\google\gwt\gwt-dev\2.0.3
org.codehaus.plexus.archiver.ArchiverException: Error while expanding 
C:\Documen
ts and Settings\xxx\.m2\repository\com\google\gwt\gwt-dev\2.0.3\gwt
-dev-2.0.3-windows-libs.zip

Negative seek offset

Please help.


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


Re: [xwiki-users] Problem Building xwatch with maven

2010-08-23 Thread Simerpreet Singh
/view/XWiki/CalendarSheet ?
>
> Ramon Gomes Brand?o
>
>
> -Mensagem original-
> De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Em nome de 
> Raluca Stavro
> Enviada em: ter?a-feira, 17 de agosto de 2010 10:32
> Para: XWiki Users
> Assunto: Re: [xwiki-users] Calendar Application on XE 2.4 not workingproperly
>
> Hello Ramon,
>
> The current calendar application has no custom styles applied on it.
> See http://jira.xwiki.org/jira/browse/XACALENDAR-14 .
> I added a patch to it and I hope that it will be applied very soon.
>
> Raluca.
>
> 2010/8/13 Ramon Gomes Brand?o - SERINT :
>   
>> Hi,
>>
>>
>>
>> I've Just installed Calendar Plugin and Calendar Application on my XE 2.4 
>> instance. It works when I point to xwiki/bin/view/Main/EventCalendar/, but 
>> its look and feel is far away of that smooth one shown in the Calendar 
>> Application home page 
>> (http://code.xwiki.org/xwiki/bin/view/Applications/CalendarApplication).
>>
>>
>>
>> The calendar appears as a very simple and rough table, its cells don't have 
>> a prefixed size (nothing more than just the length of the two digits number 
>> of the day) and it does not show the PDF creation link. It also doesn't mark 
>> the "today" day on the calendar. I've checked the source code and it seems 
>> that the $cview.getHTMLCalendar($cparams, "") method isn't building a smooth 
>> calendar. How can I fix this?
>>
>>
>>
>> Doesn't XE 2.4 contain an event calendar by default? If so, how can I access 
>> it?
>>
>>
>>
>> I'm using the colibri skin.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Ramon Gomes Brand?o
>>
>>
>>
>> ___
>> 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
>
>
> --
>
> Message: 4
> Date: Tue, 17 Aug 2010 20:30:29 +0300
> From: Anca Luca 
> Subject: Re: [xwiki-users] Problem building code for xwatch with maven
> To: users@xwiki.org
> Message-ID: <4c6ac735.5030...@xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Simer,
>
> On 08/16/2010 01:28 PM, Simerpreet Singh wrote:
>   
>> Hi,
>>
>> Iam using xwiki 2.3.1 and trying to install xwatch on in.According to
>> instructions given in
>> http://watch.xwiki.org/xwiki/bin/view/Main/Installation#HBuildingandinstallinganXWikiWatchSnapshotoveranexistingXWikiEnterprise
>> 
>
> Setup your settings.xml file as indicated in the general xwiki build 
> instructions in here: 
> http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven .
>
> The issue you're encountering is caused by the fact that your maven it's 
> trying to download the xwiki artefacts needed to build watch only from 
> the maven central repository, where they are not.
>
> Have fun,
> Anca
>
>   
>> i downloaded code from svn http://svn.xwiki.org/svnroot/xwiki/watch/trunk/#
>> but when i try to build it using following commands
>> mvn clean install
>>   or
>> mvn clean
>>
>> its giving below mentioned error
>>
>>
>>
>> [INFO] Scanning for projects...
>> Downloading:
>> http://repo1.maven.org/maven2/com/xpn/xwiki/platform/xwiki/22/xwiki
>> -22.pom
>> [ERROR] The build could not read 1 project ->  [Help 1]
>> [ERROR]   The project
>> com.xpn.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT (E:
>> \SVN MAIN\Xwatch\pom.xml) has 1 error
>> [ERROR] Non-resolvable parent POM com.xpn.xwiki.platform:xwiki:22
>> for com.xp
>> n.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT: Failed to resolve POM
>> for com.
>> xpn.xwiki.platform:xwiki:22 due to Missing:
>> --
>> 1) com.xpn.xwiki.platform:xwiki:pom:22
>> --
>> 1 required artifact is missing.
>>
>> for artifact:
>> com.xpn.xwiki.platform:xwiki:pom:22
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>>->  [Help 2]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e swit
>> ch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please rea
>> d the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
>> gException
>> [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
>> delException
>>
>>
>>
>> can you please correct me if i am doing anything wrong?
>>
>>
>> Thanks,
>> Simer
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
>
>
> --
>
> Message: 5
> Date: Tue, 17 Aug 2010 18:30:47 -0700 (PDT)
> From: Lockie 
> Subject: Re: [xwiki-users] RES: Calendar Application on XE 2.4 not
>   workingproperly
> To: users@xwiki.org
> Message-ID: <1282095047208-5434752.p...@n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> I am also eagerly awaiting a more functional and better looking calendar, I
> hope your patch gets through soon. I tried the 
> http://dev.xwiki.org/xwiki/bin/view/Drafts/XWiki-Calendar GWT-Calendar 
> aswell but I get a lot of errors, so either I'm doing something wrong or its
> not functional yet...
>
> Lockie.
>   

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


Re: [xwiki-users] Problem building xWatch Code with Maven

2010-08-17 Thread Simerpreet Singh
Hi,

Please provide a resolution on issue i had posted yesterday regarding 
maven  build of xwatch.


Thank,
Simerpreet Singh



users-requ...@xwiki.org wrote:
> Send users mailing list submissions to
>   users@xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>   users-requ...@xwiki.org
>
> You can reach the person managing the list at
>   users-ow...@xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
>1. Problem building code for xwatch with maven (Simerpreet Singh)
>2. Re: ldap-integration / Active Directory /   sAMAcountName
>   (Dalluege, Pierre (extern))
>3. Re: ldap-integration / Active Directory /   sAMAcountName
>   (Thomas Mortagne)
>4. R:  LightBox Macro does not work on XE 2.4 (Andrea Belli)
>5. Re: R: LightBox Macro does not work on XE 2.4 (Thomas Mortagne)
>6. question about Last modifications feed of a userwatchlist
>   (Andrea Belli)
>7. R: R: user name with stressed characters is encoded as XML
>   entity (Andrea Belli)
>8. Re: R: R: user name with stressed characters is encoded as
>   XML entity (Alex Busenius)
>
>
> ------
>
> Message: 1
> Date: Mon, 16 Aug 2010 15:58:07 +0530
> From: Simerpreet Singh 
> Subject: [xwiki-users] Problem building code for xwatch with maven
> To: users@xwiki.org
> Message-ID: <4c6912b7.1050...@netsolutionsindia.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> Iam using xwiki 2.3.1 and trying to install xwatch on in.According to 
> instructions given in
> http://watch.xwiki.org/xwiki/bin/view/Main/Installation#HBuildingandinstallinganXWikiWatchSnapshotoveranexistingXWikiEnterprise
>  
>
> i downloaded code from svn http://svn.xwiki.org/svnroot/xwiki/watch/trunk/#
> but when i try to build it using following commands
> mvn clean install
>  or
> mvn clean
>
> its giving below mentioned error
>
>
>
> [INFO] Scanning for projects...
> Downloading: 
> http://repo1.maven.org/maven2/com/xpn/xwiki/platform/xwiki/22/xwiki
> -22.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   The project 
> com.xpn.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT (E:
> \SVN MAIN\Xwatch\pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM com.xpn.xwiki.platform:xwiki:22 
> for com.xp
> n.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT: Failed to resolve POM 
> for com.
> xpn.xwiki.platform:xwiki:22 due to Missing:
> --
> 1) com.xpn.xwiki.platform:xwiki:pom:22
> --
> 1 required artifact is missing.
>
> for artifact:
> com.xpn.xwiki.platform:xwiki:pom:22
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>   -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the 
> -e swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, 
> please rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
> gException
> [ERROR] [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
> delException
>
>
>
> can you please correct me if i am doing anything wrong?
>
>
> Thanks,
> Simer
>
>
>
> --
>
> Message: 2
> Date: Mon, 16 Aug 2010 15:55:33 +0200
> From: "Dalluege, Pierre (extern)" 
> Subject: Re: [xwiki-users] ldap-integration / Active Directory/
>   sAMAcountName
> To: 'XWiki Users' 
> Message-ID:
>   <4a19ab2a76a6ce4294ab09e23491ed1af17ea...@qeo40075.de.t-online.corp>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Tom,
>
> I reviewed the faq in respect to ldap, the link you provided had the missing 
> information, pretty cool, thank you very much! In respect to user name 
> "p.dalluege" gets to "pdalluege", probably because it will be used for page 
> names and links?
>
> Best regards
>
> Pierre 
>
> -Original Message-
> From: Thomas Mortagne [mailto:thomas.morta...@xwiki.com] 
> Sent: Monday, August 16, 2010 8:49 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] ldap-integration / Active Directory / sAMAcoun

[xwiki-users] Problem building code for xwatch with maven

2010-08-16 Thread Simerpreet Singh
Hi,

Iam using xwiki 2.3.1 and trying to install xwatch on in.According to 
instructions given in
http://watch.xwiki.org/xwiki/bin/view/Main/Installation#HBuildingandinstallinganXWikiWatchSnapshotoveranexistingXWikiEnterprise
 

i downloaded code from svn http://svn.xwiki.org/svnroot/xwiki/watch/trunk/#
but when i try to build it using following commands
mvn clean install
 or
mvn clean

its giving below mentioned error



[INFO] Scanning for projects...
Downloading: 
http://repo1.maven.org/maven2/com/xpn/xwiki/platform/xwiki/22/xwiki
-22.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   The project 
com.xpn.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT (E:
\SVN MAIN\Xwatch\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM com.xpn.xwiki.platform:xwiki:22 
for com.xp
n.xwiki.products:xwiki-watch-parent:1.1-SNAPSHOT: Failed to resolve POM 
for com.
xpn.xwiki.platform:xwiki:22 due to Missing:
--
1) com.xpn.xwiki.platform:xwiki:pom:22
--
1 required artifact is missing.

for artifact:
com.xpn.xwiki.platform:xwiki:pom:22

from the specified remote repositories:
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
  -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please rea
d the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
delException



can you please correct me if i am doing anything wrong?


Thanks,
Simer

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


[xwiki-users] Problem installing xwatch.xar

2010-08-12 Thread Simerpreet Singh
Hi,

I am installing xwiki-application-invitation-1.1.xar in my xwiki .it 
installs all the extracted file except it shows one error

List of documents with errors
WatchCode.GWT 

I also added gwt-client and gwt server jar files in my xwiki lib file 
and did modifications in web.xml  as follows


XWatchService
com.xpn.xwiki.watch.server.XWatchServiceImpl
  
  
XWatchService
/XWatchService


but nothing works.Please explain if it needs some more configuration to run it.




Thanks,
Simer


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


[xwiki-users] Developing Custom login

2010-08-10 Thread Simerpreet Singh
Hi,

Iam working on creating a custom login page but did't find any help 
regarding backend login functionality.i copied HTML from login.vm on my 
new page,set action of form to $xwiki.getURL("XWiki.XWikiLogin")  but 
how can i redirect bact to my space if login details are incorrect or 
how can i redirect to next page if login succesfull.
I used below script on top of login page.changed url's according but 
did't work

#if($context.user!="XWiki.XWikiGuest")
#if($request.xredirect)
$response.sendRedirect($request.xredirect)
#else
$response.sendRedirect($xwiki.getURL("Main.WebHome"))
#end
#elseif($doc.fullName != "XWiki.XWikiLogin")
#set($qs = "")
#set($qs = $request.queryString)
#if(!$request.getParameter("xredirect"))
#set($qs = "xredirect=$util.encodeURI($doc.getURL('view'))&${qs}")
#end
$response.sendRedirect($xwiki.getURL("XWiki.XWikiLogin", "login", $qs))
#else
###
### Login page
###
###



Please help.


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