Questions tagged [codebase]

The term codebase, or code base, is used in software development to mean the whole collection of source code used to build a particular application or component.

The codebase for a project is typically stored in a source control repository. A source code repository is a place where large amounts of source code are kept, either publicly or privately. They are often used by multi-developer projects to handle various versions and developers submitting various patches of code in an organized fashion. Subversion and Mercurial are popular tools used to handle this workflow, and are common in open source projects.

152 questions
5
votes
1 answer

What exactly is the point of the codebase in Java RMI?

Im currently learning about RMI. I dont really understand the concept of the codebase. Every paper i read suggests, that the client, which calls the Remote object can load the Method definitions from the codebase. The Problem is now: Dont I need…
Simiil
  • 2,281
  • 1
  • 22
  • 32
4
votes
3 answers

Is it common to have example values for compile-time checking and where should they go in the code?

I have a reasonably complex structure of data types and records, which is not so easy to make sense of by just looking at production code for someone not familiar with the codebase. To make sense of it, I created this kind of dummy functions that…
Jivan
  • 21,522
  • 15
  • 80
  • 131
4
votes
0 answers

Java policy file cannot assign permissions to a codebase jar

I have written my java policy file to give allPermission to a jar say "xyz.jar" grant codebase "file:lib/xyz.jar" { permission java.security.AllPermission; }; But while executing the program I get a AccessControlException for a property…
Sanket Patel
  • 71
  • 1
  • 3
4
votes
1 answer

How to merge two seperate - yet similar - codebases into one SVN rep?

I have /var/www/cool_codebase on www.example.com AND I have /var/www/cool_codebase on www.example.net The codebases are for the same web app running on different servers. There is some specialisation between the codebases (client-specific bits and…
Dougal
  • 1,047
  • 2
  • 13
  • 18
4
votes
4 answers

Resources for learning how to better read code

I recently inherited a large codebase and am having to read it. The thing is, I've usually been the dev starting a project. As a result, I don't have a lot of experience reading code. My reaction to having to read a lot of code is, well, umm to…
rsteckly
  • 1,952
  • 3
  • 23
  • 35
4
votes
1 answer

Azure external GIT deployment wont ask for credentials

I just create a website in Azure but i have problems while setting up the GIT deployment. I selected the "Set up deployment from source control" in the menu and picked type "External repository". At the moment i have all my repos at "codebase". So…
Dirkos
  • 488
  • 1
  • 10
  • 33
4
votes
1 answer

Multiple codebase in applet

OK so I'm a complete newby when it comes to Java applets so forgive my lack of knowledge. Is it possible to run multiple codebase locations in the same applet? Basically I have an applet up and running which sources it's class files from an external…
4
votes
3 answers

Compare multiple files for common code

I have two projects each with a massive code base. I'd like to run a tool to go through all the files in every project and show me which files across the projects have similar code. I'm not even sure if anything like this exists but I remember been…
mikesl
  • 2,133
  • 20
  • 25
4
votes
1 answer

Cassandra compression codebase

I want to know how many bytes are exactly stored on disk when I insert a new column in a Column Family of Cassandra. My main problem is that I need to know this information when columns are compressed with Snappy, I know the calculation of raw bytes…
Amanda
  • 941
  • 2
  • 12
  • 28
4
votes
7 answers

How is duplicate HTML represented in your codebase, in a non-duplicate way?

Most HTML in a large website is duplicated across pages (the header, footer, navigation menus, etc.). How do you design your code so that all this duplicate HTML is not actually duplicated in your code? For example, if I want to change my navigation…
Steve
  • 4,033
  • 5
  • 32
  • 29
3
votes
1 answer

How to you measure lines of front-end code (HTML, CSS, JS, JSP)?

The company I work for is being audited and I have to provide some metrics on our codebase. I have provided some statistics on our Java code using some plugins for Eclipse. But I also need to measure lines of front-end code: HTML, CSS, JS, JSP. Is…
Farsak
  • 31
  • 2
3
votes
5 answers

Best ways to become familiar with a Perl codebase?

I recently joined a Perl project and I need to start being productive with the codebase fairly quickly. However, I'm finding that I'm getting stuck because I don't know where I need to change or how all the parts of the code fit together. What are…
Sean
  • 5,244
  • 6
  • 28
  • 27
3
votes
9 answers

Is changing a variable name throughout your entire codebase just asking for disaster?

Let’s say that you decide to change the name of Stack Overflow to Frack Overflow. Now, in your code you already have dozens of objects and variables and selectors with some variation of the name "Stack". You want them to now be replaced with…
James
3
votes
1 answer

One WorkSpace for multiple applications

I want to create one code base for multiple applications. I know that in ecllipse,we can have multiple applications and library project in one workspace.In this way we had a benefit that we have all our applications in single place(workspace) and…
Developer
  • 103
  • 12
3
votes
0 answers

Modify SecurityManager

Hey stackoverflow community! I'm writing a small program. In this program code, written in a Web-Interface, is compiled and run. Now I want the written code from the web-interface to have just a few permissions, like reading a file in a specific…
MofaSofa
  • 131
  • 3
1
2
3
10 11