deployment

ClassFormatError - Surefire?

心已入冬 提交于 2019-12-11 23:51:51
问题 When I attempt to deploy artifacts, I get a ClassFormatError for my projects that do have tests: [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ ssh-exec --- [INFO] Concurrency config is {threadCount=10, parallel=methods, configurableParallelComputerPresent=false} [INFO] Surefire report directory: /home/walterjwhite/storage/projects/software/active/stable/task/impl/ssh-exec/target/surefire-reports org.apache.maven.surefire.booter.SurefireExecutionException: Incompatible magic value

How to make Windows autoview a file with my program, and how to make the program read it?

两盒软妹~` 提交于 2019-12-11 23:45:36
问题 I want it like when we do "open with" and then choose Notepad. So that when I "open with" a file there will be my program in the list. How to associate a file type with my program? How to make the program handle the file? 回答1: Deploy the app. using Java Web Start. Java Web Start (JWS) is the Oracle Corporation technology used to launch rich client (Swing, AWT, SWT) desktop applications directly from a network or internet link. It offers 'one click' installation for platforms that support Java

Renaming Web.config to run transforms breaks nuget package installation

一世执手 提交于 2019-12-11 23:23:52
问题 I have a simple scenario where I have my Web.config and then a Web.Release.config that I want to use to transform the Web.config when I deploy to production. Transforms only automatically run if you publish within VS, and I am not using VS for deployment, I'm using outside source control along with cruise control to build and deploy. I've seen several solutions to this problem: 1) use a base web.config file (Web.base.config) so that the Web.config file can be overwritten during the build

If a node module is written in C, and I install it on Mac, do I have to reinstall it to deploy to Linux?

人盡茶涼 提交于 2019-12-11 23:10:59
问题 I frequently hear from experienced node developers that checking in node_modules is good practice. But most developers write on Mac/Darwin x64, but deploy on Linux x64. If a node module happens to be written in C, and I install it on OS X, wouldn't I have to rebuild it on Linux? 回答1: The answer is: it depends on the package Most packages do require reinstall, as node gyp the compiler does not cross compile by default - thanks @tkone. Some packages like node-sass dynamically download prebuilt

Deploying .net 4 apps on .net 2 machines

寵の児 提交于 2019-12-11 20:37:28
问题 Our organisation only runs .net 2.0 on desktops. It would be nice to upgrade all machines to .net 4.0, but that is not going to happen. I wish to use .net 4.0 features. Is there a way to statically link .net 4.0 runtime libraries into my .net 4.0 executables so they will run on a .net 2.0 environment? 回答1: Just in case Marc's comment wasn't explicit enough: no way in hell. The assembly metadata format was changed in .NET 4.0, the 2.0 CLR doesn't know how to read it. You got the 2.0 version of

how to deploy servlet in Web browser?

可紊 提交于 2019-12-11 20:37:21
问题 I have create My First "Hello World" Servlet in Eclipse. It is running properly in Eclipse Browser. I'm using Apache Tomcat, and it is also running properly. How can I deploy my Servlet in Web browser like Internet Explorer, Chrome, Mozilla Firefox etc? I don't want to deploy my servlet in Eclipse browser. 回答1: You don't deploy to a browser. You deploy to a server. Just deploy to server and start the server the usual way (as you did in Eclipse). Then, just enter the servlet's URL in the

XCode - Images and XML Deployment

…衆ロ難τιáo~ 提交于 2019-12-11 19:57:35
问题 My company is currently writing an iOS app whereby we will display some of the projects which we have done. I understand that all the Images and XML files will be compiled into the App Package file. Would like to know if it is possible to call a web service and update the image and XML files whenever we have updates to our projects. Are we able to access the app package contents directly when we want to do update instead of recompiling everything? This is because we don't think we should

Getting “ImproperlyConfigured: The SECRET_KEY setting must not be empty.” error when deploying mezzanine 3.0.9 on openshift

爱⌒轻易说出口 提交于 2019-12-11 19:49:24
问题 I have been following this (http://appsembler.com/blog/django-deployment-using-openshift/) tutorial to deploy mezzanine 3.0.9 with python 2.7 and mysql 5.1 After deploy when I make the http request I am getting following error logs: [Sat Mar 22 00:44:31 2014] [error] /var/lib/openshift/532c9876e0b8cdcdeb0001c8/python/virtenv/lib/python2.7/site-packages/Mezzanine-3.0.9-py2.7.egg/mezzanine/utils/conf.py:51: UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django 1.5 requires.

ClickOnce - Overwriting content files

寵の児 提交于 2019-12-11 19:32:34
问题 I have a solution that is deployed using ClickOnce. It consists of an application, several referenced assemblies and a SQL Server Compact database. There is also an assembly which is not referenced by the main application, but simply loaded at runtime. This assembly needs to be deployed along with the application, in the same directory as the application binaries. I set up Visual Studio to copy the "plugin" assembly to the \bin\debug (or \bin\release) directory of the UI project after

app data path during development versus deployment

时光总嘲笑我的痴心妄想 提交于 2019-12-11 19:30:01
问题 I have an old Windows Forms .Net application that on Windows XP was "deployed" by copying all the files to the application folder. Now I plan to deploy to newer windows OS's using either InstallShield or Advanced Installer, and will be placing the dlls in app install folder, and the content files in ProgramData and/or user's AppData. So the content files will be in one location during debugging under Visual Studio 2010 (probably just keep them where they are now, in app's bin/debug folder),