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 6751391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:55:18+00:00 2026-05-26T12:55:18+00:00

I am having a doubt regarding a project structure. I am having a project

  • 0

project structure

I am having a doubt regarding a project structure.

I am having a project PROJ-1 that makes use of SWCs created by an another project PROJ-2
The PROJ-2 make use of some classes (diagram:- A, B, C ) present at some other location on my desktop ( I actually make use of those classes ( A,B,C) , as i generally need them in all projects) .

But now, i am facing a situation, where PROJ-1 too needs those classes. I fear if i make use of those classes again in PROJ-1, then it would mess up ( As the swcs coming from PROJ-2 are already using those classes (A,B,C) )

What should i do now ??

Thanks.
Vishwas.

  • 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-05-26T12:55:19+00:00Added an answer on May 26, 2026 at 12:55 pm

    You should fragment the “shared” classes to a separate swc lib altogether, that can be used by both proj1 and proj2.

    It is a VERY bad idea to compile the same classes directly into proj1 that are already inside the swc generated from proj2. It won’t give CTE’s or RTE’s since the FP will automatically use the class definitions that it encounters first but the big problem is in usage.
    If anything changes in one of those classes, but you forget to re-compile one of both projects, you’ll be running into very erratic behaviour. For instance proj2 compiles and runs perfectly on it’s own, but the moment you run the binary of proj1 it will behave differently since it will use the definition of the class as it was compiled into proj1.

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

Sidebar

Related Questions

i m having a doubt regarding which one is better option to use ?
I am having one doubt regarding the use of static variable in Asp.net pages.
I'm having some trouble with this statement, owing no doubt to my ignorance of
I am having following doubt regarding int flavors (unsigned int, long int, long long
I am writing an app and having some doubt while doing it. I save
Just want to clear a very basic doubt am having for quite some time.
I'm having a debate with some developers on another forum about accurately generating MIDI
I'm having the following doubt about contexts in entity framework: Suppose that there are
I am having doubt in whether to use string or string builder to append
I'm having a doubt regarding the memmory allocation for anonymous type variable. if 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.