Menu

#4 Alternate Working Path for files

v0.6
open
general (4)
5
2002-12-12
2002-12-12
Anonymous
No

We are setup as follows:

At the root level of the project, we have the following:

src
com
x
File.java

The working directory for dealing with
the files on disk is:

E:\Project\WEB-INF

So, when File.java gets checked out, it
goes to

E:\Project\WEB-INF\src\com\x\File.java

The problem is, the actual java files are
marked as having the path:

WEB-INF/src/com/x/File.java

So, if i put the WEB-INF in the directory-alist
then the List Directory function works fine, but
I cannot check out files because it tries to checkout
to:
E:\Project\WEB-INF\WEB-INF\src\com\x\File.java

Then, if i leave out the WEB-INF from the directory-alist,
I cannot do directory listings, because it looks for

WEB-INF/src/com/x

in StarTeam.

Is there a solution to this problem that doesn't
involve altering the repository, which I do not have
access to do.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I forgot to log in. My e-mail address is

    inger@synygy.com

     
  • Nobody/Anonymous

    Logged In: NO

    Actually, what's happening is that in dired mode, even though
    the directory name: src/com/x
    is being queried, I end up with the following in my dired:

    Working Folder: E:\\Project\WEB-INF\WEB-INF\src\com\x

    It's all very confusing.

     
  • Matt Inger

    Matt Inger - 2002-12-12

    Logged In: YES
    user_id=83032

    What i've noticed is that the "-rp" flag is causing this
    problem. I executed on the command line with and without
    this flag, and without it, I got the proper results. With it, i get
    the bad results. There must be something that can be done
    to account for this alternate path thing.

     
  • Matt Inger

    Matt Inger - 2002-12-12

    Logged In: YES
    user_id=83032

    SOrry for the plethora of comments, but i'm learning as i go.
    If i change the working path inside of the actual starteam gui
    from WEB-INF/src to src

    for the src directory, then everything works fine.

    Of course, if i want stuff that's not in src, i'm going to have a
    problem....

     
  • Matthew O. Smith

    Logged In: YES
    user_id=539130

    Allow for a Folder to have a Working Folder other than the
    default. Probably by using -f

     

Log in to post a comment.

MongoDB Logo MongoDB