deployment

Why are some Azure-specific assemblies not present on Azure instances?

走远了吗. 提交于 2019-12-13 14:43:24
问题 An Azure role will likely need a set of Azure-specific .NET assemblies like Microsoft.WindowsAzure.ServiceRuntime and Microsoft.WindowsAzure.StorageClient . Turns out the latter is not in the GAC on Azure instances and so I have to set "Copy Local" to "True" in the Visual Studio project so that it gets into the service package and deployed to Azure. If I don't do that the assembly is not there and the missing dependency will prevent my role from starting. This doesn't make any sense to me.

TeamCity - Where is the automation

♀尐吖头ヾ 提交于 2019-12-13 14:28:25
问题 We installed TeamCity and TFS and they work fine. My question is how are these two supposed to make our workflow efficient? Once I make changes to code on my dev machine, I have to go to TeamCity UI to run the builds and tests? Where is the automation in this.. I am manually doing it anyway... am I missing an important piece here? I can run builds and unit tests on my dev machine too. All developers making changes, need to go to TeamCity UI to build with updated code? I was kind of expecting

How to deploy a Java Swing application with an embedded JavaDB database?

删除回忆录丶 提交于 2019-12-13 14:10:40
问题 I have implemented an Java Swing application that uses an embedded JavaDB database. The database need to be stored somewhere and the database tables need to be created at the first run. What is the preferred way to do these procedures? Should I always create the database in the local directory, and first check if the database file exist, and if it doesn't exist let the user create the tables (or at least show a message that the tables will be created). Or should I let the user choose a path?

Clickonce publish - “The file 'default.htm' already exists in this Web site”

时间秒杀一切 提交于 2019-12-13 14:01:26
问题 When I try to (re)publish my clickonce app, I am getting this: Failed to copy file 'E:*path*\default.htm' to '\ path \default.htm'. Unable to add 'default.htm' to the Web site. The file 'default.htm' already exists in this Web site. There are three files with the same error message - default.htm, setup.exe and my app's .application file. What's going on? I've published this before, many times - although it's been a few months since the last publish. 回答1: You might wanna post this on UserVoice

SQL Dacpac Deploy using SqlPackage and DropObjectsNotInSource with DoNotDropUsers

浪尽此生 提交于 2019-12-13 13:54:11
问题 I am running SqlPackage in my CI build to deploy dacpacs and pass in a publish.xml file using the /Profile switch. I have the following three options set in the profile: <DropObjectsNotInSource>True</DropObjectsNotInSource> <DoNotDropPermissions>True</DoNotDropPermissions> <DoNotDropUsers>True</DoNotDropUsers> However when I run the dacpac deploy it still tries to drop my users. Any ideas? 回答1: There is (unfortunately) a bug in SqlPackage.exe's handling of publish profiles, whereby the

Version control of deliverables

感情迁移 提交于 2019-12-13 13:24:33
问题 We need to regularly synchronize many dozens of binary files (project executables and DLLs) between many developers at several different locations, so that every developer has an up to date environment to build and test at. Due to nature of the project, updates must be done often and on-demand (overnight updates are not sufficient). This is not pretty, but we are stuck with it for a time. We settled on using a regular version (source) control system: put everything into it as binary files,

Configuring a Rails 4 app for production in a subdirectory under Apache

家住魔仙堡 提交于 2019-12-13 13:13:29
问题 There are three major issues I'm struggling with, I appreciate any help for any of them. 1) How do I configure the Rails app to have myurl.com/myapp/ as the root? I tried in routes.rb : scope '/myapp' || '/' do # all resources and routes go here root :to => "papers#index" resources :papers end and in environment.rb , i added this to the top ENV['RAILS_RELATIVE_URL_ROOT'] = "/myapp" This nearly works, except that rake routes doesn't print any route for "/", and GET myurl.com/myapp/ produces

Error deploying an app to JBoss 5 that was working fine on JBoss 4.2

非 Y 不嫁゛ 提交于 2019-12-13 12:27:25
问题 Im trying to deploy an application (.ear file) to JBoss 5, and I'm receiving the following error. The app deploys fine under 4.2.2. 15:31:33,172 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/ASE/ext/jboss-5.0.0.GA/server/all/dep loy/UGC-WS.ear state=PreReal mode=Manual requiredState=Real org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/ASE/ext/jboss-5.0.0.GA/server/all/deploy/UGC-WS. ear/ugc-ws.war at org.jboss.deployers.spi

Qt sqlite deploy exe

僤鯓⒐⒋嵵緔 提交于 2019-12-13 12:16:00
问题 I have a Qt .exe built from Visual Studio 2005 (after taking the .cpp , .h , .moc , ui_ files) I have done some simple QSqlite queries. It works fine in my development pc. But in another pc it crashes for the line below: QSqlDatabase mSqlDb How can I run the .exe so that it can interact with sqlite on another PC? [Other GUI application run just fine.] What things are necessary to deploy a sqlite-qt application? 回答1: I'd give you a better answer, but you tend to not accept answers, so here is

deploying to a test server before production on heroku

放肆的年华 提交于 2019-12-13 12:15:04
问题 As I am new at this, I am not sure if this is how it should be - I am making a webapp and using heroku for hosting I want to have several developers working on the same code on github. I'd like to have 2 servers on heroku - one for production and one for testing(is it also called staging?) problem is I know what by doing git push heroku master from the webapp folder it will send it to the application to the heroku server which was setup in the first place. How do I deploy to 2 different