Questions tagged [code-sharing]

100 questions
2
votes
2 answers

how to share resources between multiple website?

I have three different websites that uses some base classes, usercontrols. And my questions here is that it possible to share these resources between this sites from single physical location? And also want to use single web.config for all three…
Safran Ali
  • 4,477
  • 9
  • 40
  • 57
2
votes
0 answers

After Upgrading Native script ERROR in Entry module not found: Error: Can't resolve '@nativescript/webpack/android-app-components-loader'

I am using Code-sharing project Native-Script with Angular After Upgrading Native script to the latest version I got ERROR in Entry module not found: Error: Can't resolve '@nativescript/webpack/android-app-components-loader' My Angular Project…
Medhat Mahmoud
  • 512
  • 1
  • 5
  • 25
2
votes
1 answer

Native Script Angular code share project does not create node module directory and cannot create components

I have been trying to create an Angular code sharing project with Native Script. Here is my current system specs: nativescript -version 6.8.0-rc.4 Angular CLI: 10.0.2 Node: 10.22.0 OS: darwin x6 @nativescript/schematics@10.0.2 When I run tns…
2
votes
0 answers

Trying to share code from Hyperapp with Bit.dev

I'm trying to share my code from my front (hyperapp) to my admin (hyperapp to) to make "preview" button. The setup of these projects was made by an other dev, so i had to learn hyperapp workflow on the job, i'm not expert. From what i know he was…
Georgio
  • 87
  • 18
2
votes
0 answers

Code sharing between Angular apps using ngrx

Is it ever a good idea to share a single ngrx store encapsulated in a library between two separate Angular apps? Our business logic layer is extremely calculation-oriented (spreadsheet-like), and so it fits naturally into a reactive model. The…
Christopher R
  • 305
  • 3
  • 8
2
votes
1 answer

How do I allow read access only to the master branch of a bitbucket repo

We have a private repo on bitbucket for a client and as part of their disaster recovery strategy, they'd like to be able to access the codebase. Is there a way to make the master branch of the repo available to them without giving access to all of…
Bat
  • 255
  • 3
  • 12
2
votes
1 answer

The type '...' exists in both 'Util.dll" and 'Util (Silverlight).dll'

I'm attempting to follow David Betz' wonderful advice on how to use a library project in both your .NET and Silverlight code. In particular, I'm using his File-Level technique: I have a .NET library project already set up, so I created a Silverlight…
frank
  • 1,322
  • 1
  • 10
  • 28
2
votes
4 answers

Where to post code for open source usage?

I've been working for a few weeks now with the Google Maps API v3, and have done a good bit of development for the map I've been creating. Some of the things I've done have had to be done to add usability where there previously was not any, at…
2
votes
4 answers

Code sharing in GWT app engine

I have an Employee class @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Employee { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent …
iftee
  • 369
  • 1
  • 13
2
votes
1 answer

Difference between linking files and adding another project as a reference?

I have a situation where I have functionality that I want to use across more than 1 application. In particular, I have a Repository taking the form of a C# class library containing things like a EF .edmx, repository, and UnitOfWork that are generic…
atconway
  • 20,624
  • 30
  • 159
  • 229
2
votes
1 answer

Preventing creep and dependencies in shared code

At work we have several C# projects and occasionally we share classes and functions between them. However sometimes that code is embedded in classes that bring along dependencies that people don't want to deal with for the sake of one function. So…
Cymon
  • 107
  • 1
  • 11
1
vote
2 answers

How to program collaboratively with Eclipse

I'm in a team programming project with 2 other students and we're all using Eclipse. It seems to have sharing features which would could be a big help to us. I started to setup a CVN, but then it got all confusing when I had to enter a host name.…
node ninja
  • 31,796
  • 59
  • 166
  • 254
1
vote
2 answers

How can i share an Xcode 4 project with multiple developers using Subversion

We are multiple developers working on the same Xcode 4 iOS project. We are trying to commit to use Subversion but we keep getting conflicts with project.pbxproj when 2 developers add a new target or change the project structure. What is the proper…
Hulk_SMASH
  • 553
  • 1
  • 7
  • 13
1
vote
2 answers

How to share code between Python internals projects?

Let's say I am building an event-driven architecture, with Python microservices. I have a stream package handling all interactions with the streaming platform. It is supposed to be used internally only, in the company. stream __init__.py …
acmoune
  • 2,981
  • 3
  • 24
  • 41
1
vote
1 answer

Nodes js, Microservices and share app.listen?

My company has started with a relatively small project using microservices. As one can imagine the hot topic of code sharing came up, and what to and not to share. One point of contention was sharing the actual express server listen() code in a lib…
Apextek
  • 45
  • 5