154 questions
0
votes
1
answer
287
views
Does Junit test classes available which are used for jdk 1.6 or 1.7
Is there any way to get junit test classes used to test jdk1.6 code base.
JDK is coming with src.zip, in the same way can I get test.zip which contains all test cases for all jdk classes.
0
votes
2
answers
317
views
performance of a group of small libraries versus a single big one java [closed]
I collecting up many of my older projects and random code fragments and organizing them in a codebase. I'm trying to figure out if smaller libraries would be more efficient than a large one.
The ...
1
vote
2
answers
799
views
How to find the code related to a small UI component quickly in a large Android codebase?
I just started my work as an Android developer. My first assignment is to fix several bugs of an App call DailyFinance.
One bug is UI related, if you click a button on a certain page, a dialog will ...
14
votes
3
answers
8k
views
Navigating a big Python codebase faster
As programmers we read more than we write. I've started working at a company that uses a couple of "big" Python packages; packages or package-families that have a high KLOC. Case in point: Zope.
My ...
1
vote
1
answer
488
views
Merge without Branching from the same code-base?
We had this small development project which hadn't been managed using version control system.
Two people were working on the original code-base,so that there were two slightly different copies of the ...
1
vote
3
answers
1k
views
Share code base for WP7 and WP8
I'm working on architecture of new business application targeting WP7 and WP8. For WP7 we will use silverlight app model and want to be prepared to reuse the code while moving to WP8 (we will want to ...
0
votes
1
answer
2k
views
RMI rebind JRMP error
Since a few days i get the following error when I try to run my java server application:
SEVERE: Stratego server exception: java.rmi.ConnectIOException: error during JRMP connection establishment; ...
0
votes
2
answers
186
views
How to separate ArrayCollection's into seperate files in Flex?
I build Adobe Air applications using Flex. After you introduce a few things like list of countries and list of nationalities in ArrayCollection format code gets messy and incredibly long.
Is it ...
5
votes
1
answer
3k
views
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 ...
0
votes
2
answers
957
views
Possible to use one codebase for a subdomain for multiple sites?
I don't even know if this is even possible, but I thought I'd ask.
I am creating a small CRUD application but I have multiple sites. Each site would use the CRUD. The application would have common ...
-1
votes
3
answers
3k
views
RMI codebase, connecting to local codebase
I am trying to do some testing using RMI.
I have a .jar file having the classes with methods I need to call. On my netbeans projects I have a class TestClient which has to connect to ShareBroker ...
0
votes
2
answers
1k
views
DB2 Import with pipe delimeter and codebase is japanese script
I m using following import command for importing japanese script into db2 table.
Import from './data/product attributes to be uploaded_20120124.txt' of del modified by coldel| CODEPAGE=932 INSERT INTO ...
6
votes
1
answer
13k
views
Using Codebase to load assembly
Based on this question, I tried using <codebase> to locate an external assembly. Now, when I run the program, I get an error message saying that the private assembly was located outside the ...
1
vote
1
answer
492
views
Tomcat Deploy fail in free.hostingjava.it
I am using free.hostingjava.it for my application, but when try to deploy the web app, it gives me an exception:
Caused by: java.security.AccessControlException: access denied (java.lang....
0
votes
1
answer
868
views
COM CLSID CodeBase key
When .net assemblies are registered for COM Interop, there is a CodeBase key in the registry that points to the executable.
My question is: is the CodeBase key something specific to .NET, or is this ...
2
votes
1
answer
566
views
Can you use environment variables to replace hardcoded path for href attribute in codebase element
I was curious if CLR could load assemblies from a specific location and this is what I found which basically loads the assembly from C:\MyAssemblies folder.
Now, my question is - Is it possible to ...
8
votes
4
answers
4k
views
How do I handle two separate yet very similar code-bases with git /github?
What is the best method to handle two separate, but very similar code-bases in git and git-hub?
Background
I have a git repository for a small shell script project. It only has 2 or 3 files of code ...
1
vote
1
answer
239
views
How to create website specific configuration files while running multiple ASP.NET websites on a single code base?
I want to create 2 websites on a single code base in asp.net.
lets for say :
www.domain1.com
www.domain2.com
I need to keep all the appsetting key name sames but with different values for each of ...
3
votes
1
answer
1k
views
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 ...
1
vote
1
answer
678
views
Firefox codebase checkout hangs
I'm planning to study Firefox codebase. I tried to checkout repository as follows:
C:\mozilla\firefox> hg clone http://hg.mozilla.org/mozilla-central
destination directory: mozilla-central
...
1
vote
1
answer
4k
views
RMI with multiple JAR inclusion
I am coding a RMI program with 3 JAR:
RMIServer, contains server-side classes
RMIClient contains client-side classes
RMIResource contains server & client shared content (interfaces, custom ...
0
votes
2
answers
190
views
one code base for iphone generic application?
I have built a generic application which can handle different content data - but for each content data, it will be a different iphone application (with a different name).
I would like of couse to ...
0
votes
4
answers
684
views
How to administer a core code base centrally for many iPhone apps
The situation:
I have a basic app with some central functionality.
My clients (potentially many dozens) all want their own customized apps in the app store.
The problem
If I have dozens of apps in ...
3
votes
5
answers
338
views
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 ...
12
votes
3
answers
9k
views
How to determine what is making Eclipse slow?
We have rather large code base (150+ projects, 400000+ lines of Java code, some Groovy and Gradle code, some Perl code, some XML, a lot of JSPs etc.). I managed to open all those projects in Spring ...
4
votes
0
answers
3k
views
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 ...
72
votes
5
answers
23k
views
How can I convert Assembly.CodeBase into a filesystem path in C#?
I have a project that stores templates in a \Templates folder next to the DLLs and EXE.
I want to determine this file path at runtime, but using a technique that will work inside a unit test as well ...
4
votes
1
answer
2k
views
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 ...
0
votes
2
answers
1k
views
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{ ...
0
votes
1
answer
438
views
Versioning and common code-bases with Eclipse
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 ...
5
votes
5
answers
426
views
Source Control system for not-so-smart programmers
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). ...
1
vote
3
answers
366
views
Where to start to build a real codebase from scratch?
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 ...
11
votes
7
answers
356
views
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 ...
4
votes
4
answers
1k
views
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 ...
4
votes
10
answers
5k
views
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 ...
2
votes
1
answer
316
views
RMI Activation Strange problem
I am trying to get an RMI activatable server to work - but no luck so far. Actually the server seems to run, but the client triggers a strange exception.
I have 3 projects:
client
common
server
...
6
votes
2
answers
7k
views
Using <codebase> element in app.config
I intend to keep few dll's in a folder other than the bin folder for my .NET 3.5 Windows application. I am unsure of how would I use the codebase element or the probing element to specify the right ...
1
vote
2
answers
2k
views
java.rmi.UnmarshalException: unable to pull client classes by server
I have an RMI client/server set-up on two machines that works fine in a simple situation when the server doesn't require a client-side defned class. However, when I need to use a class defined on the ...
1
vote
4
answers
652
views
how to use C# debugger (or anything else) to examine what happens during a GUI event in an open source app?
imagine that you are given a big nice app in C#, with full source code. So you want to figure out what methods are executed when you do a user event, e.g. press a button or press a hotkey or whatever. ...
22
votes
4
answers
5k
views
Running multiple sites from the same rails codebase?
I have a client that wants to take their Rails app that has been successful in one niche and apply it to another similar niche. This new instance of the app is going to start out very similar: all the ...
2
votes
2
answers
7k
views
Can't get AllPermission configured for intranet applet. Can anyone help?
After doing a lot of reading and testing I've been unable to give all permissions to an intranet applet through the codeBase grant option.
This applet need full permissions because it will have to ...
1
vote
2
answers
938
views
How do you sync changes between multiple codebases?
Let's say I want to create a spinoff of a chat application branded under a different name, different UI, and some changed features. How would one sync changes between these to codebases which are 80% ...
3
votes
2
answers
1k
views
Assembly.Load(Byte[]) and Assembly.Location/Assembly.Codebase
I'm trying to load an assembly without locking the file. These assemblies could be third party assemblies so we don't necessarily have access to the code and one or two of them make use of Assembly....
2
votes
3
answers
7k
views
rmi class can not found exception
I wrote an simple project using java rmi and exported to an executable jar file. When I tries to run it, sometimes i got exceptions and sometimes it works. When I specify -Djava.rmi.server.codebase=...
4
votes
7
answers
687
views
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 ...
1
vote
1
answer
1k
views
Javascript_Java_Interaction applet "Codebase" problem
I saw an article about Javascript_Java_Interaction today at :
http://www.rgagnon.com/javadetails/java-0184.html
[ You can try the working version on that site ]
So I tried it on my PC, after some ...
2
votes
2
answers
140
views
Merging Core Libraries
About a year ago our company rolled a relatively large software package written primarily by two senior developers. For ease of demonstration, I'll call it "project A". Since then, we have been ...
2
votes
2
answers
568
views
Remote Codebase
I have a dll. That dll is uploaded on a server. I want that each time the application starts to get the "latest" dll from the server, so I've used the following code in my app.config. Why isn't it ...
1
vote
2
answers
5k
views
Why does my App.Config codebase not help .NET locate my assembly?
I have the following client application and its corresponding config file:
namespace Chapter9
{
class Program
{
static void Main(string[] args)
{
AppDomain....
17
votes
11
answers
7k
views
Understanding a Large, Undocumented Set of Source Code? [closed]
I have always been astonished by Wine. Sometimes I want to hack on it, fix little things and generally understand how it works. So, I download the Wine source code and right after that I feel ...