Home » Eclipse Projects » Technology Project and PMC » issues with svc - 2002-07-18
issues with svc - 2002-07-18 [message #9972] |
Thu, 18 July 2002 21:28  |
Eclipse User |
|
|
|
Hello,
I have succesfully checked-out stellation and installed it
as a server. I have encountered some problems in setting up
an environment.
Here is a session transcript:
florin@bee:~/work/projects$ mkdir new-browser
florin@bee:~/work/projects$ svc create new-browser/
Enter a comment:
My new browser
new-browser/
florin@bee:~/work/projects$ cd new-browser/
florin@bee:~/work/projects/new-browser$ svc co new-browser/
florin@bee:~/work/projects/new-browser$ ls
SVC
florin@bee:~/work/projects/new-browser$ mkdir dtds
florin@bee:~/work/projects/new-browser$ svc add dtds/
1. stripping trailing / from dtds/
florin@bee:~/work/projects/new-browser$ ls dtds/
florin@bee:~/work/projects/new-browser$ svc add dtds
florin@bee:~/work/projects/new-browser$ svc add dtds
2. unexpected null workspace state for 2256050678
florin@bee:~/work/projects/new-browser$ svc add dtds
unexpected null workspace state for 2256050678
florin@bee:~/work/projects/new-browser$ cd dtds/
florin@bee:~/work/projects/new-browser/dtds$ cp \
.../../smart-browser.save/smart-browser/*.dtd .
florin@bee:~/work/projects/new-browser/dtds$ ls -la
total 9
drwxr-xr-x 2 florin florin 128 Jul 18 20:22 .
drwxr-xr-x 4 florin florin 96 Jul 18 20:16 ..
-rw-r--r-- 1 florin florin 262 Jul 18 20:22
form_contents.dtd
-rw-r--r-- 1 florin florin 923 Jul 18 20:22
form_definition.dtd
3. florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd
This directory contains no project files.
You need to check out a project version before issuing this command.
4. florin@bee:~/work/projects/new-browser/dtds$ cd ..
florin@bee:~/work/projects/new-browser$ svc checkin
Enter a comment:
added a dir
florin@bee:~/work/projects/new-browser$ ls dtds/
form_contents.dtd form_definition.dtd
florin@bee:~/work/projects/new-browser$ cd dtds/
florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd
This directory contains no project files.
You need to check out a project version before issuing this command.
florin@bee:~/work/projects/new-browser/dtds$ cd ..
florin@bee:~/work/projects/new-browser$ svc co dtds
org.eclipse.stellation.repos.util.StellationException: unable to
locate artifact for ID -1
1. It appears that when you give a directory with a trailing /,
stellation succesfully removes it but it unable to do anything
with the resulting directory.
2. Adding the same directory twice confuses stellation. At least it
is consistent in its confusion.
3. Now I'm stuck. What am I supposed to do to get those files in?
4. I checkin the project hoping it will allow me to add files to
the subdirectory... No success.
Another very bad thing is that the four threads of the stellation
"server" are eating 100% of the CPU time on a PIII/700 .
Thank you,
florin
|
|
|
Re: issues with svc - 2002-07-18 [message #9995 is a reply to message #9972] |
Thu, 18 July 2002 21:42   |
Eclipse User |
|
|
|
On Thu, 18 Jul 2002 21:28:11 -0400, Florin Iucha wrote:
> Hello,
>
> I have succesfully checked-out stellation and installed it as a server.
> I have encountered some problems in setting up an environment.
>
> Here is a session transcript:
> florin@bee:~/work/projects$ mkdir new-browser
> florin@bee:~/work/projects$ svc create new-browser/ Enter a comment: My
> new browser
> new-browser/
> florin@bee:~/work/projects$ cd new-browser/
> florin@bee:~/work/projects/new-browser$ svc co new-browser/
> florin@bee:~/work/projects/new-browser$ ls SVC
> florin@bee:~/work/projects/new-browser$ mkdir dtds
> florin@bee:~/work/projects/new-browser$ svc add dtds/
> 1. stripping trailing / from dtds/
> florin@bee:~/work/projects/new-browser$ ls dtds/
> florin@bee:~/work/projects/new-browser$ svc add dtds
> florin@bee:~/work/projects/new-browser$ svc add dtds
> 2. unexpected null workspace state for 2256050678
> florin@bee:~/work/projects/new-browser$ svc add dtds unexpected null
> workspace state for 2256050678 florin@bee:~/work/projects/new-browser$
> cd dtds/ florin@bee:~/work/projects/new-browser/dtds$ cp \
> ../../smart-browser.save/smart-browser/*.dtd .
> florin@bee:~/work/projects/new-browser/dtds$ ls -la total 9 drwxr-xr-x
> 2 florin florin 128 Jul 18 20:22 . drwxr-xr-x 4 florin
> florin 96 Jul 18 20:16 .. -rw-r--r-- 1 florin florin
> 262 Jul 18 20:22
> form_contents.dtd
> -rw-r--r-- 1 florin florin 923 Jul 18 20:22
> form_definition.dtd
> 3. florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd
> This directory contains no project files. You need to check out a
> project version before issuing this command.
> 4. florin@bee:~/work/projects/new-browser/dtds$ cd ..
> florin@bee:~/work/projects/new-browser$ svc checkin Enter a comment:
> added a dir
> florin@bee:~/work/projects/new-browser$ ls dtds/ form_contents.dtd
> form_definition.dtd florin@bee:~/work/projects/new-browser$ cd dtds/
> florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd This
> directory contains no project files. You need to check out a project
> version before issuing this command.
> florin@bee:~/work/projects/new-browser/dtds$ cd ..
> florin@bee:~/work/projects/new-browser$ svc co dtds
> org.eclipse.stellation.repos.util.StellationException: unable to
> locate artifact for ID -1
>
> 1. It appears that when you give a directory with a trailing /,
> stellation succesfully removes it but it unable to do anything with the
> resulting directory.
Not quite... It's doing just fine with the trailing "/" - although
I recommend not putting the "/" into the project name. (Stellation
isn't like CVS: the name of the project is not the name of the
directory.)
The problem is that the svc command-line tool doesn't know how to
find the workspace metadata. All of the commands will work from
the directory containing the "SVC" metadata directory - so, for
example, doing "svc add dtds/*.dtd" from the "new-browser" directory
would work.
As an alternative, running "svc --within add *.dtd" from the dtds
directory would work: "--within" tells the SVC command-line that
the current directory is in a workspace, and to search upwards
through the directories for the metadata directory.
> 2. Adding the same directory twice confuses stellation. At least it is
> consistent in its confusion.
That looks like a bug. Would you mind reporting it in bugzilla? (If
it's a problem, I'll add it, but it's useful to us to have the users
that find a bug be the ones to report it, when possible.)
> 3. Now I'm stuck. What am I supposed to do to get those files in?
See above. Either run the command from the root directory of the
workspace, or use "--within".
> 4. I checkin the project hoping it will allow me to add files to the
> subdirectory... No success.
>
> Another very bad thing is that the four threads of the stellation
> "server" are eating 100% of the CPU time on a PIII/700.
I haven't seen that on our server, except when the server is actively
processing a checkin. The diff computation that goes on during a checkin
really is a CPU intensive thing. Are you seeing that CPU usage even when
the server is idle? (I'm running a server on my machine right now,
and I'm seeing *no* CPU usage when there's no client talking to it. It
spikes pretty high during a checkin, but during idle, it doesn't
even show up in "top".)
I'd like to try to figure out what's going on that's causing it to do
that, so that we can fix it. Can you give me any more data? (i.e., what
JVM? what version of linux? Anything else you can think of that might
help me reproduce it would help.)
-Mark
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: mcc@watson.ibm.com ------- Personal Email: markcc@bestweb.net
|
|
| |
Re: issues with svc - 2002-07-18 [message #10087 is a reply to message #9995] |
Thu, 18 July 2002 23:33   |
Eclipse User |
|
|
|
Mark C. Chu-Carroll wrote:
> On Thu, 18 Jul 2002 21:28:11 -0400, Florin Iucha wrote:
>
>
>>Hello,
>>
>>I have succesfully checked-out stellation and installed it as a server.
>>I have encountered some problems in setting up an environment.
>>
>>Here is a session transcript:
>> florin@bee:~/work/projects$ mkdir new-browser
>> florin@bee:~/work/projects$ svc create new-browser/ Enter a comment: My
>> new browser
>> new-browser/
>> florin@bee:~/work/projects$ cd new-browser/
>> florin@bee:~/work/projects/new-browser$ svc co new-browser/
>> florin@bee:~/work/projects/new-browser$ ls SVC
>> florin@bee:~/work/projects/new-browser$ mkdir dtds
>> florin@bee:~/work/projects/new-browser$ svc add dtds/
>>1. stripping trailing / from dtds/
>> florin@bee:~/work/projects/new-browser$ ls dtds/
>> florin@bee:~/work/projects/new-browser$ svc add dtds
>> florin@bee:~/work/projects/new-browser$ svc add dtds
>>2. unexpected null workspace state for 2256050678
>> florin@bee:~/work/projects/new-browser$ svc add dtds unexpected null
>> workspace state for 2256050678 florin@bee:~/work/projects/new-browser$
>> cd dtds/ florin@bee:~/work/projects/new-browser/dtds$ cp \
>>../../smart-browser.save/smart-browser/*.dtd .
>> florin@bee:~/work/projects/new-browser/dtds$ ls -la total 9 drwxr-xr-x
>> 2 florin florin 128 Jul 18 20:22 . drwxr-xr-x 4 florin
>> florin 96 Jul 18 20:16 .. -rw-r--r-- 1 florin florin
>> 262 Jul 18 20:22
>> form_contents.dtd
>> -rw-r--r-- 1 florin florin 923 Jul 18 20:22
>> form_definition.dtd
>>3. florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd
>> This directory contains no project files. You need to check out a
>> project version before issuing this command.
>>4. florin@bee:~/work/projects/new-browser/dtds$ cd ..
>> florin@bee:~/work/projects/new-browser$ svc checkin Enter a comment:
>> added a dir
>> florin@bee:~/work/projects/new-browser$ ls dtds/ form_contents.dtd
>> form_definition.dtd florin@bee:~/work/projects/new-browser$ cd dtds/
>> florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd This
>> directory contains no project files. You need to check out a project
>> version before issuing this command.
>> florin@bee:~/work/projects/new-browser/dtds$ cd ..
>> florin@bee:~/work/projects/new-browser$ svc co dtds
>> org.eclipse.stellation.repos.util.StellationException: unable to
>>locate artifact for ID -1
>>
>>1. It appears that when you give a directory with a trailing /,
>>stellation succesfully removes it but it unable to do anything with the
>>resulting directory.
>
> Not quite... It's doing just fine with the trailing "/" - although
> I recommend not putting the "/" into the project name. (Stellation
> isn't like CVS: the name of the project is not the name of the
> directory.)
I dont't think so: look again at the transcript. The "unexpected null"
error message doesn't appear after "svc add dtds/; svc add dtds",
it only appears after "svc add dtds; svc add dtds", which leads me
to believe that the first time it didn't create the entry.
> The problem is that the svc command-line tool doesn't know how to
> find the workspace metadata. All of the commands will work from
> the directory containing the "SVC" metadata directory - so, for
> example, doing "svc add dtds/*.dtd" from the "new-browser" directory
> would work.
>
> As an alternative, running "svc --within add *.dtd" from the dtds
> directory would work: "--within" tells the SVC command-line that
> the current directory is in a workspace, and to search upwards
> through the directories for the metadata directory.
Shouldn't that be the default case? I mean, most of the time when
I try a checkin/out/whatever I am in a repository - or at least I
*think* I am. If not, I expect an error message.
Optimize for the most frequent case.
>>2. Adding the same directory twice confuses stellation. At least it is
>>consistent in its confusion.
>
> That looks like a bug. Would you mind reporting it in bugzilla? (If
> it's a problem, I'll add it, but it's useful to us to have the users
> that find a bug be the ones to report it, when possible.)
Here it is: #21724
Thank you,
florin
|
|
| |
Re: issues with svc - 2002-07-18 [message #10174 is a reply to message #10110] |
Fri, 19 July 2002 07:47   |
Eclipse User |
|
|
|
On Thu, 18 Jul 2002 23:53:11 -0400, Florin Iucha wrote:
> Florin Iucha wrote:
>> Mark C. Chu-Carroll wrote:
>>
>>>> Another very bad thing is that the four threads of the stellation
>>>> "server" are eating 100% of the CPU time on a PIII/700.
>
>> OS: Debian GNU/Linux "woody"
>> Kernel: linux-2.4.19-rc2-ac2
>> Java:
>> java version "1.4.0"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java
>> HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) Postgresql: 7.2.1-3
>> JDBC driver: 7.2-1
>>
>> I am downloading IBM JDK 1.3.1 right now and I will try again with it.
>
> I can confirm that IBM JDK
> java version "1.3.1"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) Classic
> VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020410 (JIT enabled:
> jitc))
>
> doesn't exhibit the same problem.
Thank you! That should be a huge help. I doubt I'll have time today, but
over the weekend, I'll try to download the Sun JDK, and see if I can
reproduce it, and figure out what's wrong.
-Mark
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: mcc@watson.ibm.com ------- Personal Email: markcc@bestweb.net
|
|
|
Re: issues with svc - 2002-07-18 [message #11234 is a reply to message #10087] |
Fri, 19 July 2002 08:02   |
Eclipse User |
|
|
|
On Thu, 18 Jul 2002 23:33:35 -0400, Florin Iucha wrote:
> Mark C. Chu-Carroll wrote:
>> On Thu, 18 Jul 2002 21:28:11 -0400, Florin Iucha wrote:
>>>
>>>1. It appears that when you give a directory with a trailing /,
>>>stellation succesfully removes it but it unable to do anything with the
>>>resulting directory.
>>
>> Not quite... It's doing just fine with the trailing "/" - although I
>> recommend not putting the "/" into the project name. (Stellation isn't
>> like CVS: the name of the project is not the name of the directory.)
>
> I dont't think so: look again at the transcript. The "unexpected null"
> error message doesn't appear after "svc add dtds/; svc add dtds", it
> only appears after "svc add dtds; svc add dtds", which leads me to
> believe that the first time it didn't create the entry.
I'll take a look at it when I get in to my office. If I can reproduce it,
it should be a pretty trivial thing to fix.
>> The problem is that the svc command-line tool doesn't know how to find
>> the workspace metadata. All of the commands will work from the
>> directory containing the "SVC" metadata directory - so, for example,
>> doing "svc add dtds/*.dtd" from the "new-browser" directory would work.
>>
>> As an alternative, running "svc --within add *.dtd" from the dtds
>> directory would work: "--within" tells the SVC command-line that the
>> current directory is in a workspace, and to search upwards through the
>> directories for the metadata directory.
>
> Shouldn't that be the default case? I mean, most of the time when I try
> a checkin/out/whatever I am in a repository - or at least I *think* I
> am. If not, I expect an error message.
This was actually a point of debate in the group. I wanted it automatic;
others disagreed. In the end, our decision was to leave it an option, but
one which could be put into your configuration file to make it appear
as if it was a real default.
Look at the section of the tutorial about "configure within" to see
how to make it the default.
>
> Optimize for the most frequent case.
>
>>>2. Adding the same directory twice confuses stellation. At least it is
>>>consistent in its confusion.
>>
>> That looks like a bug. Would you mind reporting it in bugzilla? (If
>> it's a problem, I'll add it, but it's useful to us to have the users
>> that find a bug be the ones to report it, when possible.)
>
> Here it is: #21724
Thanks. We'll try to fix it ASAP.
-Mark
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: mcc@watson.ibm.com ------- Personal Email: markcc@bestweb.net
|
|
|
Re: issues with svc - 2002-07-18 [message #11270 is a reply to message #11234] |
Fri, 19 July 2002 08:45  |
Eclipse User |
|
|
|
Mark C. Chu-Carroll wrote:
> On Thu, 18 Jul 2002 23:33:35 -0400, Florin Iucha wrote:
>>Shouldn't that be the default case? I mean, most of the time when I try
>>a checkin/out/whatever I am in a repository - or at least I *think* I
>>am. If not, I expect an error message.
>
> This was actually a point of debate in the group. I wanted it automatic;
> others disagreed. In the end, our decision was to leave it an option, but
> one which could be put into your configuration file to make it appear
> as if it was a real default.
>
> Look at the section of the tutorial about "configure within" to see
> how to make it the default.
That is good enough.
florin
|
|
|
Re: issues with svc - 2002-07-18 [message #569048 is a reply to message #9972] |
Thu, 18 July 2002 21:42  |
Eclipse User |
|
|
|
On Thu, 18 Jul 2002 21:28:11 -0400, Florin Iucha wrote:
> Hello,
>
> I have succesfully checked-out stellation and installed it as a server.
> I have encountered some problems in setting up an environment.
>
> Here is a session transcript:
> florin@bee:~/work/projects$ mkdir new-browser
> florin@bee:~/work/projects$ svc create new-browser/ Enter a comment: My
> new browser
> new-browser/
> florin@bee:~/work/projects$ cd new-browser/
> florin@bee:~/work/projects/new-browser$ svc co new-browser/
> florin@bee:~/work/projects/new-browser$ ls SVC
> florin@bee:~/work/projects/new-browser$ mkdir dtds
> florin@bee:~/work/projects/new-browser$ svc add dtds/
> 1. stripping trailing / from dtds/
> florin@bee:~/work/projects/new-browser$ ls dtds/
> florin@bee:~/work/projects/new-browser$ svc add dtds
> florin@bee:~/work/projects/new-browser$ svc add dtds
> 2. unexpected null workspace state for 2256050678
> florin@bee:~/work/projects/new-browser$ svc add dtds unexpected null
> workspace state for 2256050678 florin@bee:~/work/projects/new-browser$
> cd dtds/ florin@bee:~/work/projects/new-browser/dtds$ cp \
> ../../smart-browser.save/smart-browser/*.dtd .
> florin@bee:~/work/projects/new-browser/dtds$ ls -la total 9 drwxr-xr-x
> 2 florin florin 128 Jul 18 20:22 . drwxr-xr-x 4 florin
> florin 96 Jul 18 20:16 .. -rw-r--r-- 1 florin florin
> 262 Jul 18 20:22
> form_contents.dtd
> -rw-r--r-- 1 florin florin 923 Jul 18 20:22
> form_definition.dtd
> 3. florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd
> This directory contains no project files. You need to check out a
> project version before issuing this command.
> 4. florin@bee:~/work/projects/new-browser/dtds$ cd ..
> florin@bee:~/work/projects/new-browser$ svc checkin Enter a comment:
> added a dir
> florin@bee:~/work/projects/new-browser$ ls dtds/ form_contents.dtd
> form_definition.dtd florin@bee:~/work/projects/new-browser$ cd dtds/
> florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd This
> directory contains no project files. You need to check out a project
> version before issuing this command.
> florin@bee:~/work/projects/new-browser/dtds$ cd ..
> florin@bee:~/work/projects/new-browser$ svc co dtds
> org.eclipse.stellation.repos.util.StellationException: unable to
> locate artifact for ID -1
>
> 1. It appears that when you give a directory with a trailing /,
> stellation succesfully removes it but it unable to do anything with the
> resulting directory.
Not quite... It's doing just fine with the trailing "/" - although
I recommend not putting the "/" into the project name. (Stellation
isn't like CVS: the name of the project is not the name of the
directory.)
The problem is that the svc command-line tool doesn't know how to
find the workspace metadata. All of the commands will work from
the directory containing the "SVC" metadata directory - so, for
example, doing "svc add dtds/*.dtd" from the "new-browser" directory
would work.
As an alternative, running "svc --within add *.dtd" from the dtds
directory would work: "--within" tells the SVC command-line that
the current directory is in a workspace, and to search upwards
through the directories for the metadata directory.
> 2. Adding the same directory twice confuses stellation. At least it is
> consistent in its confusion.
That looks like a bug. Would you mind reporting it in bugzilla? (If
it's a problem, I'll add it, but it's useful to us to have the users
that find a bug be the ones to report it, when possible.)
> 3. Now I'm stuck. What am I supposed to do to get those files in?
See above. Either run the command from the root directory of the
workspace, or use "--within".
> 4. I checkin the project hoping it will allow me to add files to the
> subdirectory... No success.
>
> Another very bad thing is that the four threads of the stellation
> "server" are eating 100% of the CPU time on a PIII/700.
I haven't seen that on our server, except when the server is actively
processing a checkin. The diff computation that goes on during a checkin
really is a CPU intensive thing. Are you seeing that CPU usage even when
the server is idle? (I'm running a server on my machine right now,
and I'm seeing *no* CPU usage when there's no client talking to it. It
spikes pretty high during a checkin, but during idle, it doesn't
even show up in "top".)
I'd like to try to figure out what's going on that's causing it to do
that, so that we can fix it. Can you give me any more data? (i.e., what
JVM? what version of linux? Anything else you can think of that might
help me reproduce it would help.)
-Mark
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: mcc@watson.ibm.com ------- Personal Email: markcc@bestweb.net
|
|
|
Re: issues with svc - 2002-07-18 [message #569069 is a reply to message #9995] |
Thu, 18 July 2002 23:21  |
Eclipse User |
|
|
|
Mark C. Chu-Carroll wrote:
>>Another very bad thing is that the four threads of the stellation
>>"server" are eating 100% of the CPU time on a PIII/700.
>
>
> I haven't seen that on our server, except when the server is actively
> processing a checkin. The diff computation that goes on during a checkin
> really is a CPU intensive thing. Are you seeing that CPU usage even when
> the server is idle? (I'm running a server on my machine right now,
> and I'm seeing *no* CPU usage when there's no client talking to it. It
> spikes pretty high during a checkin, but during idle, it doesn't
> even show up in "top".)
>
> I'd like to try to figure out what's going on that's causing it to do
> that, so that we can fix it. Can you give me any more data? (i.e., what
> JVM? what version of linux? Anything else you can think of that might
> help me reproduce it would help.)
As soon as I pressed "Send" I realized I should have given you more
info about it.
Here it is:
OS: Debian GNU/Linux "woody"
Kernel: linux-2.4.19-rc2-ac2
Java:
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
Postgresql: 7.2.1-3
JDBC driver: 7.2-1
I am downloading IBM JDK 1.3.1 right now and I will try again with it.
florin
|
|
|
Re: issues with svc - 2002-07-18 [message #569176 is a reply to message #9995] |
Thu, 18 July 2002 23:33  |
Eclipse User |
|
|
|
Mark C. Chu-Carroll wrote:
> On Thu, 18 Jul 2002 21:28:11 -0400, Florin Iucha wrote:
>
>
>>Hello,
>>
>>I have succesfully checked-out stellation and installed it as a server.
>>I have encountered some problems in setting up an environment.
>>
>>Here is a session transcript:
>> florin@bee:~/work/projects$ mkdir new-browser
>> florin@bee:~/work/projects$ svc create new-browser/ Enter a comment: My
>> new browser
>> new-browser/
>> florin@bee:~/work/projects$ cd new-browser/
>> florin@bee:~/work/projects/new-browser$ svc co new-browser/
>> florin@bee:~/work/projects/new-browser$ ls SVC
>> florin@bee:~/work/projects/new-browser$ mkdir dtds
>> florin@bee:~/work/projects/new-browser$ svc add dtds/
>>1. stripping trailing / from dtds/
>> florin@bee:~/work/projects/new-browser$ ls dtds/
>> florin@bee:~/work/projects/new-browser$ svc add dtds
>> florin@bee:~/work/projects/new-browser$ svc add dtds
>>2. unexpected null workspace state for 2256050678
>> florin@bee:~/work/projects/new-browser$ svc add dtds unexpected null
>> workspace state for 2256050678 florin@bee:~/work/projects/new-browser$
>> cd dtds/ florin@bee:~/work/projects/new-browser/dtds$ cp \
>>../../smart-browser.save/smart-browser/*.dtd .
>> florin@bee:~/work/projects/new-browser/dtds$ ls -la total 9 drwxr-xr-x
>> 2 florin florin 128 Jul 18 20:22 . drwxr-xr-x 4 florin
>> florin 96 Jul 18 20:16 .. -rw-r--r-- 1 florin florin
>> 262 Jul 18 20:22
>> form_contents.dtd
>> -rw-r--r-- 1 florin florin 923 Jul 18 20:22
>> form_definition.dtd
>>3. florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd
>> This directory contains no project files. You need to check out a
>> project version before issuing this command.
>>4. florin@bee:~/work/projects/new-browser/dtds$ cd ..
>> florin@bee:~/work/projects/new-browser$ svc checkin Enter a comment:
>> added a dir
>> florin@bee:~/work/projects/new-browser$ ls dtds/ form_contents.dtd
>> form_definition.dtd florin@bee:~/work/projects/new-browser$ cd dtds/
>> florin@bee:~/work/projects/new-browser/dtds$ svc add *.dtd This
>> directory contains no project files. You need to check out a project
>> version before issuing this command.
>> florin@bee:~/work/projects/new-browser/dtds$ cd ..
>> florin@bee:~/work/projects/new-browser$ svc co dtds
>> org.eclipse.stellation.repos.util.StellationException: unable to
>>locate artifact for ID -1
>>
>>1. It appears that when you give a directory with a trailing /,
>>stellation succesfully removes it but it unable to do anything with the
>>resulting directory.
>
> Not quite... It's doing just fine with the trailing "/" - although
> I recommend not putting the "/" into the project name. (Stellation
> isn't like CVS: the name of the project is not the name of the
> directory.)
I dont't think so: look again at the transcript. The "unexpected null"
error message doesn't appear after "svc add dtds/; svc add dtds",
it only appears after "svc add dtds; svc add dtds", which leads me
to believe that the first time it didn't create the entry.
> The problem is that the svc command-line tool doesn't know how to
> find the workspace metadata. All of the commands will work from
> the directory containing the "SVC" metadata directory - so, for
> example, doing "svc add dtds/*.dtd" from the "new-browser" directory
> would work.
>
> As an alternative, running "svc --within add *.dtd" from the dtds
> directory would work: "--within" tells the SVC command-line that
> the current directory is in a workspace, and to search upwards
> through the directories for the metadata directory.
Shouldn't that be the default case? I mean, most of the time when
I try a checkin/out/whatever I am in a repository - or at least I
*think* I am. If not, I expect an error message.
Optimize for the most frequent case.
>>2. Adding the same directory twice confuses stellation. At least it is
>>consistent in its confusion.
>
> That looks like a bug. Would you mind reporting it in bugzilla? (If
> it's a problem, I'll add it, but it's useful to us to have the users
> that find a bug be the ones to report it, when possible.)
Here it is: #21724
Thank you,
florin
|
|
|
Re: issues with svc - 2002-07-18 [message #569201 is a reply to message #10018] |
Thu, 18 July 2002 23:53  |
Eclipse User |
|
|
|
Florin Iucha wrote:
> Mark C. Chu-Carroll wrote:
>
>>> Another very bad thing is that the four threads of the stellation
>>> "server" are eating 100% of the CPU time on a PIII/700.
> OS: Debian GNU/Linux "woody"
> Kernel: linux-2.4.19-rc2-ac2
> Java:
> java version "1.4.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
> Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
> Postgresql: 7.2.1-3
> JDBC driver: 7.2-1
>
> I am downloading IBM JDK 1.3.1 right now and I will try again with it.
I can confirm that IBM JDK
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020410 (JIT
enabled: jitc))
doesn't exhibit the same problem.
florin
|
|
|
Re: issues with svc - 2002-07-18 [message #569295 is a reply to message #10110] |
Fri, 19 July 2002 07:47  |
Eclipse User |
|
|
|
On Thu, 18 Jul 2002 23:53:11 -0400, Florin Iucha wrote:
> Florin Iucha wrote:
>> Mark C. Chu-Carroll wrote:
>>
>>>> Another very bad thing is that the four threads of the stellation
>>>> "server" are eating 100% of the CPU time on a PIII/700.
>
>> OS: Debian GNU/Linux "woody"
>> Kernel: linux-2.4.19-rc2-ac2
>> Java:
>> java version "1.4.0"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java
>> HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) Postgresql: 7.2.1-3
>> JDBC driver: 7.2-1
>>
>> I am downloading IBM JDK 1.3.1 right now and I will try again with it.
>
> I can confirm that IBM JDK
> java version "1.3.1"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1) Classic
> VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020410 (JIT enabled:
> jitc))
>
> doesn't exhibit the same problem.
Thank you! That should be a huge help. I doubt I'll have time today, but
over the weekend, I'll try to download the Sun JDK, and see if I can
reproduce it, and figure out what's wrong.
-Mark
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: mcc@watson.ibm.com ------- Personal Email: markcc@bestweb.net
|
|
|
Re: issues with svc - 2002-07-18 [message #569324 is a reply to message #10087] |
Fri, 19 July 2002 08:02  |
Eclipse User |
|
|
|
On Thu, 18 Jul 2002 23:33:35 -0400, Florin Iucha wrote:
> Mark C. Chu-Carroll wrote:
>> On Thu, 18 Jul 2002 21:28:11 -0400, Florin Iucha wrote:
>>>
>>>1. It appears that when you give a directory with a trailing /,
>>>stellation succesfully removes it but it unable to do anything with the
>>>resulting directory.
>>
>> Not quite... It's doing just fine with the trailing "/" - although I
>> recommend not putting the "/" into the project name. (Stellation isn't
>> like CVS: the name of the project is not the name of the directory.)
>
> I dont't think so: look again at the transcript. The "unexpected null"
> error message doesn't appear after "svc add dtds/; svc add dtds", it
> only appears after "svc add dtds; svc add dtds", which leads me to
> believe that the first time it didn't create the entry.
I'll take a look at it when I get in to my office. If I can reproduce it,
it should be a pretty trivial thing to fix.
>> The problem is that the svc command-line tool doesn't know how to find
>> the workspace metadata. All of the commands will work from the
>> directory containing the "SVC" metadata directory - so, for example,
>> doing "svc add dtds/*.dtd" from the "new-browser" directory would work.
>>
>> As an alternative, running "svc --within add *.dtd" from the dtds
>> directory would work: "--within" tells the SVC command-line that the
>> current directory is in a workspace, and to search upwards through the
>> directories for the metadata directory.
>
> Shouldn't that be the default case? I mean, most of the time when I try
> a checkin/out/whatever I am in a repository - or at least I *think* I
> am. If not, I expect an error message.
This was actually a point of debate in the group. I wanted it automatic;
others disagreed. In the end, our decision was to leave it an option, but
one which could be put into your configuration file to make it appear
as if it was a real default.
Look at the section of the tutorial about "configure within" to see
how to make it the default.
>
> Optimize for the most frequent case.
>
>>>2. Adding the same directory twice confuses stellation. At least it is
>>>consistent in its confusion.
>>
>> That looks like a bug. Would you mind reporting it in bugzilla? (If
>> it's a problem, I'll add it, but it's useful to us to have the users
>> that find a bug be the ones to report it, when possible.)
>
> Here it is: #21724
Thanks. We'll try to fix it ASAP.
-Mark
--
Mark Craig Chu-Carroll, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: mcc@watson.ibm.com ------- Personal Email: markcc@bestweb.net
|
|
|
Re: issues with svc - 2002-07-18 [message #569347 is a reply to message #11234] |
Fri, 19 July 2002 08:45  |
Eclipse User |
|
|
|
Mark C. Chu-Carroll wrote:
> On Thu, 18 Jul 2002 23:33:35 -0400, Florin Iucha wrote:
>>Shouldn't that be the default case? I mean, most of the time when I try
>>a checkin/out/whatever I am in a repository - or at least I *think* I
>>am. If not, I expect an error message.
>
> This was actually a point of debate in the group. I wanted it automatic;
> others disagreed. In the end, our decision was to leave it an option, but
> one which could be put into your configuration file to make it appear
> as if it was a real default.
>
> Look at the section of the tutorial about "configure within" to see
> how to make it the default.
That is good enough.
florin
|
|
|
Goto Forum:
Current Time: Tue Jul 22 02:22:34 EDT 2025
Powered by FUDForum. Page generated in 1.46184 seconds
|