migration

Moving from Enterprise to World Wide Web

I am going to change my working sphere from Enterprise Web Applications written for concrete business process to Public Web Sites that will be accessible to all users around. What is difference between this two spheres at the most top level? What specific characters I need to know about modern web sites development? ...

Is there an option to generate scaffolding without generating migrations?

One of the things that bothers me in Rails is that scaffolding generates migrations that I don't always need. Is there a way to generate the scaffold without the corresponding migration? ...

Is there a (necessary) redundancy in the migration format Add x to y?

To add the phone column to the tickets table, I can write: ruby script/generate migration AddPhoneToTickets phone:string There seems to be a redundancy here. But is it necessary? Aren't we repeating ourselves by being required to specify "phone" both in the name of the migration (AddPhoneToTickets) as well as in the column definiti...

how linked files in vss repository can be migrated to svn repository

how linked files in vss repository can be migrated to svn repository ...

Simple way of moving root web application to child application of another site?

We have an IIS 7 site that is really very complicated, and also undocumented (lots of virtual directories, child applications etc). We want to move it from its current position (www.xyz.com) to be a child folder of another site (www.abc.com), effectively making something like www.abc.com/xyz/<site files> Obviously you cant drag and dr...

Multiple Project in 1 solution vs 2008

I have various individual projects in VS 2003 with some common files(Admin) in each of them. Now I want to migrate all these projects into VS 2008. I also want all the projects to be under 1 single solution so that I have 1 common admin section in the main project and each project as subproject Ex Main Project    - Admin Section ...

Compelling Reasons to Migrate from ASP.NET 2.0 to ASP.NET 3.5

Forgive me if this is a repeat question. I've searched StackOverflow and did not find the answer to my question, so here goes. We currently have a web application running ASP.NET 2.0 with AJAX Extensions 1.0 and SQL Server 2005 running, is deployed on IIS 6 and developing in VS2005. All works great, but I'm trying to find compelling rea...

NHibernate SchemaUpdate

From personal experience, as well as everything I've read, NHibernate's SchemaUpdate doesn't support removing columns and tables. I'd like to use SchemaUpdate to generate migration DDL, but not having the deletes is making it more difficult. How do you get around this? Are there other tools that would help to keep the focus on the dom...

SVN folder to new repository root

I have an existing SVN repository which contains a folder that holds my project. I wish to know if there's a way of creating a new repository with my project's folder set as its root and preserve all subversion history (log) along with it. Notice that I do not mind loosing the original repository revision numbers. Thanks. ...

Running an ASP.NET 1.1 application under 2.0

I have an application written in ASP.NET 1.1. If I switch IIS to use 2.0 what issues am I likely to see? Initial tests have thrown no problems, but I was wondering if anyone had experience of running ASP.NET 1.1 applications under 2.0 and could maybe point out some areas to watch out for? Thanks for any advice. ...

Do Fluent NHibernate and migratordotnet play nicely together?

I love Fluent NHibernate for building my DBs and so far haven't found a restriction that has halted me in my tracks. However on my current project I expect to release to production very early in the product lifecycle and hence expect there to be many small changes in the db schema as we progress. I'd like to track these DDL amd DML cha...

MyFaces to JSF RI migration issue

I'm migration from MyFaces 1.2.6 to JSF RI 1.2. My application also use Facelets, Tomahawk and Richfaces. Using MyFaces 1.2.6, it works without problemas. Using JSF RI 1.2, I got some problems. It keeps printing this error: This page contains the following errors: error on line 141 at column 36: xmlParseEntityRef: no name Below is a ...

Migrating from Trac to Redmine on another computer

Is it possible to migrate a Trac database to Redmine if the two systems are in different machines any other way than by copying Trac to the other machine? Migration within the same box is easy: http://www.redmine.org/wiki/redmine/RedmineMigrate, but since the migration requires access to Trac files, I can't see how this could be done. ...

Migrating application to use Guice - how to inject transactions into existing objects?

I'm new to Guice, and I'm working it in to an application with a large amount of legacy code. It has several classes that look like this: public final class DataAccessClass { private Transaction txn; @Inject //This was just added public DataAccessClass(/* injectable parameters */, Transaction txn) { this.txn = tx...

Is there a way to control column order in ActiveRecord migrations?

I'd like to add a column to a table using a migration. Is there a way to add it in a particular position, rather than as the last column? I could find any "order" option in the API docs. ...

Why does rake db:migrate in Rails not add functions to the schema file?

I recently added some SQL functions to my database via a migrate, and they work perfectly fine. Code works, database works, tests don't. The schema.rb file is telling me that it's at the latest version (and it's correct), but it only contains definitions for tables and indexes, not the functions I added. I added the functions via the ...

Migrating complex SVN branch hierarchy to Mercurial

Our team has been using SVN for managing an application of decent size and over time a rather complex hierarchy of branches and tags has built up, which is following the basic standard layout for SVN repositories, but is more nested: |-trunk |-branches | |-releases | | |-releaseA | | `-releaseB | `-features | ...

missing ; before identifier while compiling VC6 code in VC9

The following code compiles fine in VC6 but when I compile the same project in VS2008 it gives the following error error C2146: syntax error : missing ';' before identifier 'm_pItr' template <class pKey, class Data, class pCompare, class hKey = int, class hCompare = less<hKey>, class sKey = int, class sCompare = less<sKey...

Building a case to migrate away from the use of tools or technologies in ways they were never intended to be used

I've seen some pretty strange use of technology. For example, one place I worked was using Microsoft Message Queuing to send real time streaming VoIP data between servers. I work as a consultant and many times the person responsible for these decisions is no longer at the company. The problem is that from the perspective of non-technic...

How to partially migrate a database to a new system over time?

We are in the process of a multi-year project where we're building a new system and a new database to eventually replace the old system and database. The users are using the new and old systems as we're changing them. The problem we keep running into is when an object in one system is dependent on an object in the other system. We've b...