Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8247719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:56:43+00:00 2026-06-07T22:56:43+00:00

I’m trying out Plastic SCM but I’m struggling with one particular issue. I would

  • 0

I’m trying out Plastic SCM but I’m struggling with one particular issue. I would like to include code some general code in another project. I finally figured out how to make an xlink but then discovered that you can’t pick a subfolder from the other repository but have to include the whole thing. When I do that Visual Studio throws a fit over the second AssemblyInfo and probably a few other things.

Now I could just put bare code files into the “module” repo but I would like to have it as a VS project to conveniently manage and develop it.

What I’ve came up with for now is this:

  • Program Repo
    • Solution
      • Project
        • XLink to “Module Incl Repo”
  • Module Dev Repo
    • Solution
      • Project
        • XLink to “Module Incl Repo”
  • Module Incl Repo
    • The files to be included

This should work but requires a separate repository for every group of files I want to include. Is there no better way to achieve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:56:45+00:00Added an answer on June 7, 2026 at 10:56 pm

    According to your comments, what you need is to take advantage of Xlinks.

    Xlinks in Plastic SCM are basically special directory entries to a path on a given changeset, so that the “cset immutability” is preserved.

    There are two kind of xlinks:

    • Readonly xlinks: which means you just use the linked code to build but you won’t modify it while working on the source tree linking it.
    • Writable xlinks: which means you’ll be modifying the linked code while working on the project. They’re similar to git submodules but “done right”, which means, plastic deals with all the plumbing to update the parent to the new cset created on the child.

    Answering your question: yes, right now you’ll need 3 repositories to set up the project you’re working on:
    1) Program Repo
    2) Module Dev Repo
    3) Module Incl Repo (which is the one the other two will be referencing)

    The workflow with readonly xlinks is:

    • You create the xlink to you “module incl repo” on “program repo”, something like:

    cm xlink src\incl / 23@ModuleIncl@yourserver:8087

    Which means you’re creating an xlink at src\incl pointing to the changeset 23 in repo “ModuleIncl”.

    • You checkin to commit your newly created xlink

    • Update your wk to get the code from the xlink (it is not done upon ci)

    • Then, if at some point you need to update to, let’s say, cset 30, you’ll edit the xlink (from CLI or GUI) to point to the new one:

    cm xlink -e src\incl / 30@ModuleIncl@yourserver:8087

    And this will be enough for the readonly workflow.

    You can find more info about Xlinks here http://www.plasticscm.com/releases/4.1/manuals/en/xlinksguide.pdf

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.