Thread: [SourceJammer-users] Re: little prb with sourcejammer
Brought to you by:
robertmacgrogan
From: Robert M. <rob...@ya...> - 2005-07-26 01:11:02
|
Hi, Riccardo. First of all, you can "unlock" the project by restarting your SJ server. It sounds like you need to set the encoding type in your SJ config files. There's a FAQ entry that explains this: http://www.sourcejammer.org/psjs_faqs/08282386.html#08280317 Thanks. --Rob > 3) file with accent : > I added a directory which has a file called : "champs vides à traiter.txt" > It seems that the accent is a problem, each time I try to get the file, see the folder content, > remove the folder etc... I have the following error : > > org.sourcejammer.project.NodeExistsException: This project already contains a child node with > the na > me: champs vides à traiter.txt. > at org.sourcejammer.project.controller.ProjectNode.addChildNode(Unknown Source) > at org.sourcejammer.project.model.filesys.ProjectNodeDeserializer.setChildren(Unknown > Source > ) > at org.sourcejammer.project.model.filesys.ProjectNodeDeserializer.deserialize(Unknown > Source > ) > at org.sourcejammer.project.model.filesys.XMLUtilFS.xmlToProject(Unknown Source) > at org.sourcejammer.project.model.filesys.Util.readProjectNode(Unknown Source) > at org.sourcejammer.project.model.filesys.NodeLibraryFS.getProjectNode(Unknown Source) > at org.sourcejammer.project.controller.ProjectController.projectNodeToProject(Unknown > Source > ) > at org.sourcejammer.project.controller.ProjectController.getProject(Unknown Source) > at org.sourcejammer.project.view.MasterControlProgram.getProjectInfo(Unknown Source) > at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compile > d Code)) > at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) > at org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:146) > at org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129) > at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:354) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:154) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) > at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) > at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:188) > at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) > at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) > at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) > at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363) > at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) > at com.caucho.util.ThreadPool.run(ThreadPool.java:423) > at java.lang.Thread.run(Thread.java:568) > > This project is now completely locked, and I cannot modify it... What shall I do > Thanks > > -- > Riccardo Cohen > > Articque > Les Roches > 37230 Fondettes > France > web = http://www.articque.com > tel: +33 02 47 49 90 49 > fax: +33 02 47 49 91 49 > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs |
From: Riccardo C. <rc...@ar...> - 2005-07-26 07:44:57
|
thanks a lot Robert MacGrogan wrote: > Hi, Riccardo. >=20 > First of all, you can "unlock" the project by restarting your SJ server= .=20 >=20 > It sounds like you need to set the encoding type in your SJ config file= s. There's a FAQ entry that > explains this: >=20 > http://www.sourcejammer.org/psjs_faqs/08282386.html#08280317 >=20 > Thanks. >=20 > --Rob >=20 >=20 >>3) file with accent : >>I added a directory which has a file called : "champs vides =E0 traiter= .txt" >>It seems that the accent is a problem, each time I try to get the file,= see the folder content,=20 >>remove the folder etc... I have the following error : >> >>org.sourcejammer.project.NodeExistsException: This project already cont= ains a child node with >>the na >>me: champs vides =C3 traiter.txt. >> at org.sourcejammer.project.controller.ProjectNode.addChildNod= e(Unknown Source) >> at org.sourcejammer.project.model.filesys.ProjectNodeDeseriali= zer.setChildren(Unknown >>Source >>) >> at org.sourcejammer.project.model.filesys.ProjectNodeDeseriali= zer.deserialize(Unknown >>Source >>) >> at org.sourcejammer.project.model.filesys.XMLUtilFS.xmlToProje= ct(Unknown Source) >> at org.sourcejammer.project.model.filesys.Util.readProjectNode= (Unknown Source) >> at org.sourcejammer.project.model.filesys.NodeLibraryFS.getPro= jectNode(Unknown Source) >> at org.sourcejammer.project.controller.ProjectController.proje= ctNodeToProject(Unknown >>Source >>) >> at org.sourcejammer.project.controller.ProjectController.getPr= oject(Unknown Source) >> at org.sourcejammer.project.view.MasterControlProgram.getProje= ctInfo(Unknown Source) >> at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source= ) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java(Compile >>d Code)) >> at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) >> at org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:146) >> at org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaPro= vider.java:129) >> at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRout= erServlet.java:354) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:154= ) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) >> at com.caucho.server.dispatch.ServletFilterChain.doFilter(Serv= letFilterChain.java:99) >> at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilt= erChain.java:188) >> at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppF= ilterChain.java:163) >> at com.caucho.server.dispatch.ServletInvocation.service(Servle= tInvocation.java:208) >> at com.caucho.server.http.HttpRequest.handleRequest(HttpReques= t.java:259) >> at com.caucho.server.port.TcpConnection.run(TcpConnection.java= :363) >> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) >> at com.caucho.util.ThreadPool.run(ThreadPool.java:423) >> at java.lang.Thread.run(Thread.java:568) >> >>This project is now completely locked, and I cannot modify it... What s= hall I do >>Thanks >> >>--=20 >>Riccardo Cohen >> >>Articque >>Les Roches >>37230 Fondettes >>France >>web =3D http://www.articque.com >>tel: +33 02 47 49 90 49 >>fax: +33 02 47 49 91 49 >> >> >=20 >=20 >=20 >=20 > =09 > ____________________________________________________ > Start your day with Yahoo! - make it your home page=20 > http://www.yahoo.com/r/hs=20 > =20 >=20 --=20 Riccardo Cohen Articque Les Roches 37230 Fondettes France web =3D http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49 |
From: Riccardo C. <rc...@ar...> - 2005-07-26 10:06:44
|
Hi Thanks first for your answer about encoding. It works now. I just wanted to know if there is a way of having a list of files that ar= e not sync with the=20 server... 5 developers modify the source, and I want to have the up-to-da= te source on my pc (and=20 check what they've done!) Thanks Robert MacGrogan wrote: > Hi, Riccardo. >=20 > First of all, you can "unlock" the project by restarting your SJ server= .=20 >=20 > It sounds like you need to set the encoding type in your SJ config file= s. There's a FAQ entry that > explains this: >=20 > http://www.sourcejammer.org/psjs_faqs/08282386.html#08280317 >=20 > Thanks. >=20 > --Rob >=20 >=20 >>3) file with accent : >>I added a directory which has a file called : "champs vides =E0 traiter= .txt" >>It seems that the accent is a problem, each time I try to get the file,= see the folder content,=20 >>remove the folder etc... I have the following error : >> >>org.sourcejammer.project.NodeExistsException: This project already cont= ains a child node with >>the na >>me: champs vides =C3 traiter.txt. >> at org.sourcejammer.project.controller.ProjectNode.addChildNod= e(Unknown Source) >> at org.sourcejammer.project.model.filesys.ProjectNodeDeseriali= zer.setChildren(Unknown >>Source >>) >> at org.sourcejammer.project.model.filesys.ProjectNodeDeseriali= zer.deserialize(Unknown >>Source >>) >> at org.sourcejammer.project.model.filesys.XMLUtilFS.xmlToProje= ct(Unknown Source) >> at org.sourcejammer.project.model.filesys.Util.readProjectNode= (Unknown Source) >> at org.sourcejammer.project.model.filesys.NodeLibraryFS.getPro= jectNode(Unknown Source) >> at org.sourcejammer.project.controller.ProjectController.proje= ctNodeToProject(Unknown >>Source >>) >> at org.sourcejammer.project.controller.ProjectController.getPr= oject(Unknown Source) >> at org.sourcejammer.project.view.MasterControlProgram.getProje= ctInfo(Unknown Source) >> at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source= ) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java(Compile >>d Code)) >> at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) >> at org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:146) >> at org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaPro= vider.java:129) >> at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRout= erServlet.java:354) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:154= ) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) >> at com.caucho.server.dispatch.ServletFilterChain.doFilter(Serv= letFilterChain.java:99) >> at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilt= erChain.java:188) >> at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppF= ilterChain.java:163) >> at com.caucho.server.dispatch.ServletInvocation.service(Servle= tInvocation.java:208) >> at com.caucho.server.http.HttpRequest.handleRequest(HttpReques= t.java:259) >> at com.caucho.server.port.TcpConnection.run(TcpConnection.java= :363) >> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) >> at com.caucho.util.ThreadPool.run(ThreadPool.java:423) >> at java.lang.Thread.run(Thread.java:568) >> >>This project is now completely locked, and I cannot modify it... What s= hall I do >>Thanks >> >>--=20 >>Riccardo Cohen >> >>Articque >>Les Roches >>37230 Fondettes >>France >>web =3D http://www.articque.com >>tel: +33 02 47 49 90 49 >>fax: +33 02 47 49 91 49 >> >> >=20 >=20 >=20 >=20 > =09 > ____________________________________________________ > Start your day with Yahoo! - make it your home page=20 > http://www.yahoo.com/r/hs=20 > =20 >=20 --=20 Riccardo Cohen Articque Les Roches 37230 Fondettes France web =3D http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49 |
From: Albert M. <amo...@ev...> - 2005-07-26 10:33:16
|
Hi, Riccardo. You can either: a) Use the built-in logging plugin that writes a row for each operation performed in a file in the server (WEB-INF\server\archives\<<projectname>>\plugin-work\event-logger), and either write a program to parse it or try to get the data manually. b) Use the notifier plugin, which will send an email every time someone checks something in, or any other action. Ask me if you want some more details on this. c) Write your own plugin that alerts you about any change. d) Get the whole project to your disk, and SJ will only download the changed files (you can know which they are by reading the panel at the bottom of the screen). Not advisable if the project is big. So, you see that you can choose... You can't complain! ;-) Albert. ----- Original Message ----- From: "Riccardo Cohen" <rc...@ar...> Cc: "SourceJammer Users" <sou...@li...> Sent: Tuesday, July 26, 2005 12:05 PM Subject: [SourceJammer-users] Re: little prb with sourcejammer Hi Thanks first for your answer about encoding. It works now. I just wanted to know if there is a way of having a list of files that are not sync with the server... 5 developers modify the source, and I want to have the up-to-date source on my pc (and check what they've done!) Thanks |
From: Albert M. <amo...@ev...> - 2005-07-26 11:56:37
|
Mmm, not exactly. Plugins act as listeners of events, but cannot currently modify the repository in any way (I like that behaviour). To prevent the binary/text problem from happening from now on, you'll have to add the extensions to the clients through the Preferences menu, or copy the configuration file that stores the types in all the clients (although the published files will remain with the wrong type). To write your own plugin, check the framework API at http://www.sourcejammer.org/specs/plugins/ To get the notion of how you could write your own, take a look at the extensions/notify files in the SourceJammer repository (the host is dev.sourcejammer.org, and I think there's a guest access, Rob knows better about it). That's very simple, the docs under resources were pretty complete, and will probably help you to start up (itf it does not fit your needs per se). Let me know if you want more support, I'm just being short now to avoid boring you. Hope it helps, Albert. ----- Original Message ----- From: "Riccardo Cohen" <rc...@ar...> To: "Albert Moliner" <amo...@ev...> Sent: Tuesday, July 26, 2005 1:17 PM Subject: Re: [SourceJammer-users] Re: little prb with sourcejammer > I'm quite interested in writing a plugin... For that and maybe more. > For instance I just discovered that all my files.hxx were considered as binary (I did not think > about adding this extension at project startup), and I cannot see any diff ! Maybe I can change that > with a plugin ? > > Albert Moliner wrote: > > Hi, Riccardo. > > > > You can either: > > a) Use the built-in logging plugin that writes a row for each operation > > performed in a file in the server > > (WEB-INF\server\archives\<<projectname>>\plugin-work\event-logger), and either > > write a program to parse it or try to get the data manually. > > b) Use the notifier plugin, which will send an email every time someone checks > > something in, or any other action. Ask me if you want some more details on this. > > c) Write your own plugin that alerts you about any change. > > d) Get the whole project to your disk, and SJ will only download the changed > > files (you can know which they are by reading the panel at the bottom of the > > screen). Not advisable if the project is big. > > > > So, you see that you can choose... You can't complain! ;-) > > > > Albert. > > > > > > > > ----- Original Message ----- > > From: "Riccardo Cohen" <rc...@ar...> > > Cc: "SourceJammer Users" <sou...@li...> > > Sent: Tuesday, July 26, 2005 12:05 PM > > Subject: [SourceJammer-users] Re: little prb with sourcejammer > > > > > > Hi > > Thanks first for your answer about encoding. It works now. > > > > I just wanted to know if there is a way of having a list of files that are not > > sync with the > > server... 5 developers modify the source, and I want to have the up-to-date > > source on my pc (and > > check what they've done!) > > > > Thanks > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > SourceJammer-users mailing list > > Sou...@li... > > https://lists.sourceforge.net/lists/listinfo/sourcejammer-users > > > > -- > Riccardo Cohen > > Articque > Les Roches > 37230 Fondettes > France > web = http://www.articque.com > tel: +33 02 47 49 90 49 > fax: +33 02 47 49 91 49 > |
From: Riccardo C. <rc...@ar...> - 2005-07-26 15:00:37
|
Server side is quite all right for me, except that I often have to restart the jsp server due to locks pb (??) maybe it is because the server is not very powerful (celeron 500Mhz) My main problem is client side : do you think possible that I write a little java class (client side) that walks through all files of an archive and get their attributes (checkedout or not, different from local or not, date) ? Albert Moliner wrote: > Mmm, not exactly. > Plugins act as listeners of events, but cannot currently modify the repository > in any way (I like that behaviour). > To prevent the binary/text problem from happening from now on, you'll have to > add the extensions to the clients through the Preferences menu, or copy the > configuration file that stores the types in all the clients (although the > published files will remain with the wrong type). > > To write your own plugin, check the framework API at > > http://www.sourcejammer.org/specs/plugins/ > > To get the notion of how you could write your own, take a look at the > extensions/notify files in the SourceJammer repository (the host is > dev.sourcejammer.org, and I think there's a guest access, Rob knows better about > it). That's very simple, the docs under resources were pretty complete, and will > probably help you to start up (itf it does not fit your needs per se). > Let me know if you want more support, I'm just being short now to avoid boring > you. > > Hope it helps, > Albert. > > > > ----- Original Message ----- > From: "Riccardo Cohen" <rc...@ar...> > To: "Albert Moliner" <amo...@ev...> > Sent: Tuesday, July 26, 2005 1:17 PM > Subject: Re: [SourceJammer-users] Re: little prb with sourcejammer > > > >>I'm quite interested in writing a plugin... For that and maybe more. >>For instance I just discovered that all my files.hxx were considered as binary > > (I did not think > >>about adding this extension at project startup), and I cannot see any diff ! > > Maybe I can change that > >>with a plugin ? >> >>Albert Moliner wrote: >> >>>Hi, Riccardo. >>> >>>You can either: >>>a) Use the built-in logging plugin that writes a row for each operation >>>performed in a file in the server >>>(WEB-INF\server\archives\<<projectname>>\plugin-work\event-logger), and > > either > >>>write a program to parse it or try to get the data manually. >>>b) Use the notifier plugin, which will send an email every time someone > > checks > >>>something in, or any other action. Ask me if you want some more details on > > this. > >>>c) Write your own plugin that alerts you about any change. >>>d) Get the whole project to your disk, and SJ will only download the changed >>>files (you can know which they are by reading the panel at the bottom of the >>>screen). Not advisable if the project is big. >>> >>>So, you see that you can choose... You can't complain! ;-) >>> >>>Albert. >>> >>> >>> >>>----- Original Message ----- >>>From: "Riccardo Cohen" <rc...@ar...> >>>Cc: "SourceJammer Users" <sou...@li...> >>>Sent: Tuesday, July 26, 2005 12:05 PM >>>Subject: [SourceJammer-users] Re: little prb with sourcejammer >>> >>> >>>Hi >>>Thanks first for your answer about encoding. It works now. >>> >>>I just wanted to know if there is a way of having a list of files that are > > not > >>>sync with the >>>server... 5 developers modify the source, and I want to have the up-to-date >>>source on my pc (and >>>check what they've done!) >>> >>>Thanks >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>>from IBM. Find simple to follow Roadmaps, straightforward articles, >>>informative Webcasts and more! Get everything you need to get up to >>>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>>_______________________________________________ >>>SourceJammer-users mailing list >>>Sou...@li... >>>https://lists.sourceforge.net/lists/listinfo/sourcejammer-users >>> >> >>-- >>Riccardo Cohen >> >>Articque >>Les Roches >>37230 Fondettes >>France >>web = http://www.articque.com >>tel: +33 02 47 49 90 49 >>fax: +33 02 47 49 91 49 >> > > > -- Riccardo Cohen Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49 |
From: Riccardo C. <rc...@ar...> - 2005-07-28 07:58:13
|
Hi Does anyone know how to do that : do you think possible that I write a little java class (client side) that walks through all files of an archive and get their attributes (checkedout or not, different from local or not, date) ? I want to do that because there is no "search" function in jammer client. I need to search all .hxx or all checked out (by anyone not only me) etc. Thanks -- Riccardo Cohen Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49 |