codebase

Adding a field to a structure without breaking existing code

So I'm working with this huge repository of code and have realized that one of the structs lack an important field. I looked at the code (which uses the struct) as closely as I could and concluded that adding an extra field isn't going to break it. Any ideas on where I could've screwed up? Also: design advice is welcome - what's the be...

List used PHP modules in code base

I need to list all PHP extensions that's required by a given code base. What would be the best way to tackle this problem? My initial thought is to write a script that goes through all files and find all functions and compare them to a given extension/function database. Any other suggestions? Update: I already did some Bash script w...

If I install Flash player 10 plugin, will this effect codebase in object tag?

We are trying to upload flash plugin version 10, but not sure if that has an effect on previously added object and embed tags. Does any one know if there is a conflect in using version 10 while having the following code: < object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com /pub/shockw...

Resources for learning how to better read code

Hi, 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 rewrite it. But I need to bring myself up to speed quickly and build on top of an exi...

Alternatives to commented out code for historical purposes

Does anyone have a valid alternative for using commented out code checked into the repository for findability reasons? The reason I ask is because I had a discussion with a fellow developer recently on checking in code that is commented out. My stance is that commented out code should never be checked into our VCS since it is not techn...

Applet in different directory than .html page

Hello all, I'm trying to use a different directory to contain the applets and other directory with .html pages. Both are in the same level, that is, none is a sub-directory of the other. For that I was trying to use the parameter codebase, however, no matter what I put in codebase value (relative, absolute path) I always get a class no...

Open CodeBase 6.5 Files

Hello, I encountered some CodeBase 6.5 files in some shareware app. I'd like to extract data from then. Are there some freeware programs to do it? Is the format reverse-engineered? Do I have to buy CodeBase to be able to do so? Best Regards ...

Where to start to build a real codebase from scratch?

Hi, Currently, I have a more or less organized set of projects I work or worked on. Some are refactored, documented and unit-tested, others are not. When I want to reuse a code I've written before, I spend a few minutes searching for the project where I've written this code, than copy-paste this code to a new one, refactoring, document...

Source Control system for not-so-smart programmers

Greetings! Problem: A huge code base spanning to several million SLoC, maintained(support/active enhancements etc) by a horde of second/third rate programmers(most of them who do not really care). Decades ago, few smart guys had put in place a wrapper that uses CVS underneath and this system is being used by current...

Versioning and common code-bases with Eclipse

Hi there, I'd like to bring out an Android app in the near future, so I was wondering how to support a couple of funcitonalities I have got used whilst developing for J2ME and iPhone first the versioning. With J2ME (using NetBeans as IDE) I had the option to auto-increment the softwwares version every time I compiled it. I was wonderin...

Specifying remote codeBase for Java security policy

I have a client-side security policy, with a statement that grants permissions. I want to be able to specify it to grant the set of permissions for an RMI server only. For example this works: grant{ //my permissions }; But I cant figure out how to link the set of permissions so that they apply to my codebase on the server....

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

Hi guys, 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 bobs etc) - but not too much. One codebase has files that the other doesn't an...