deployment

Sharepoint WebPart, include additional assembly in wsp package

青春壹個敷衍的年華 提交于 2019-12-13 03:19:18
问题 I created a utility library for my Sharepoint WebParts. Now when I reference this library from my WebPart project, it compiles fine, but the library is not included in the .wsp package. This means the library assembly is not deployed to the target system, causign the WebPart to fail. Is there any way to fix this? I am using Visual Studio 08 & VseWSS 1.2. 回答1: Brij's answer is partially correct, your VSeWSS version is the problem. This feature only came in version 1.3 (I recommend the March

Deploy Spring Boot app to Heroku with a particular application.properties file

99封情书 提交于 2019-12-13 03:06:35
问题 I want to define different application.properties file for each environment. When working locally, I want to define a H2 database. For test environment (Heroku) I have a MySQL database configuration. Thus, I want to define completly different files for such working cases. Currently I have application.properties for local porpouse, and application-tst.properties to be use in Heroku. But I don't know how to pick the proper one when deploying. My goal is to have different configuration for my

Unable to deploy Angular 5 using dist folder in WAMP server

只愿长相守 提交于 2019-12-13 02:50:36
问题 I am unable to make my angular 5 app work in WAMP server. I have read many other stack overflow posts and tried a few options. Steps to produce dist folder : step 1 - ng build --prod --base-href "/dist/". step 2 : Copy the dist/* files to DOCUMENT_ROOT. dist in root folder enter image description here step 3 - restarted WAMP server Step 4 - localhost . dist folder shows in WAMP enter image description here step 5 :localhost/dist and localhost/dist/index.html - nothing works step 6: I changed

VS 2008 Database Project - During Deploy 'DatabaseName' undefined

老子叫甜甜 提交于 2019-12-13 02:43:55
问题 I am using VS 2008 and have inhertied a database project that I am trying to deploy. The deploy I am doing is to a new database. (as if I were setting up a new installation) The Deploy Action is: Create Scrip and deploy to Database. I get the following error: Schema.dbschema(0,0)Error TSD01268: SQL Execution error: A fatal error occurred. The variable DatabaseName could not be found. The DatabaseName is defined in the project properties. If I look a the deployment script I see the declaration

Capistrano throws /usr/bin/env: ruby: No such file or directory when performing a deploy:migration

倾然丶 夕夏残阳落幕 提交于 2019-12-13 02:37:33
问题 I set up Capistrano to make the deploy of my app. I made it in steps, so first I set up the code deployment, so I commented all the roles but :app . I'm using rvm and I had some problems with it. The biggest problem was an error that said /usr/bin/env: ruby: No such file or directory . I solved them using the gem capistrano/rvm and requiring it in the Capfile and adding the following line to the deploy.rb file: set :default_env, { path: "/usr/local/rvm/gems/ruby-2.0.0-p247@global/bin:$PATH" }

.NET stand alone executable

╄→尐↘猪︶ㄣ 提交于 2019-12-13 02:37:29
问题 I'm using C# Express 2010. I made a WPF application with free VIBlend Edit controls, these controls uses the corresponding dlls, is it possible to create a stand alone executable? I want to copy only the exe to another machine (the framework is installed of course), but I don't want to copy the dll! 回答1: Try using ILMerge 回答2: ILMerge Here are a couple of resources regarding ILMerge that you might find helpfull: Merging .NET assemblies using ILMerge When & How to use ILMerge ILMerge Tasks for

java.sql.SQLException: Opening db:'DB-NAME.sqlite' : Permission denied

余生长醉 提交于 2019-12-13 02:36:19
问题 I had developed a Java Application Project using Netbeans IDE 8.2 on Ubuntu14. How can I have its installers for Linux Systems using Netbeans IDE(.deb) Native Packaging. I had packaged it by following instruction in this link But, this tutorial above mentioned is NetBeans 7.4 native packaging in Windows. But I followed this tutorial in Netbeans8.2 in Ubuntu(my system). And I got .deb file in specified folder in the tutorial mentioned above. The Project-name-1.0.deb file could be successfully

How can I deploy code 'on-demand' using chef client-server architecture?

孤街浪徒 提交于 2019-12-13 02:35:23
问题 Here's the scenario: I can SSH into my Chef-Server . But I can't SSH into any of the Chef-Clients. So this is how I work : I have a workstation to change or create Roles . All the chef-clients are running as daemons , so when they wake up , they notice state changes and start updating themselves . Now , I need to configure code deployments on these clients . I was thinking I could use application cookbook for that , and add recipes to the roles using my workstation . But won't that result in

Ant publish stuff to different locations

a 夏天 提交于 2019-12-13 02:33:43
问题 I have a java project and an ANT script to build and then distribute the project to other projects with a simple copy command. I would like to only name the place where to copy to files to once in the header of the ant script, and not have an explicit copy-task for every project that is dependent on this project. I can't find anything like arrays in ANT, so what would be the cleanest way of distributing something to multiple directories? 回答1: According to what I commented under Martin's

No supported Visual C/C++ compiler found. Check your installation of Visual C/C++

给你一囗甜甜゛ 提交于 2019-12-13 02:26:10
问题 I am using Matlab R2013a. The problem appears when I try to use Simulink Coder to generate Visual C++ code. I've got this error even though I have Visual Studio 2013 installed on my computer already. When I look at list of programs that are installed on my computer I see Visual C++ 2008, 2010 and 2012. When I type the command mex -setup Matlab just can see a compiler LCC. But I need a Visual C++ compiler (which , technically, I already have) seen by Matlab. How can I do that? Isn't mex -setup