deployment

adding artifacts to standard maven deploy

故事扮演 提交于 2020-01-01 05:49:06
问题 I was hoping someone could help me with maven deployments (typically run through the release plugin). I want to deploy files other than just the packaged jar to the repo upon release, such as specific instruction documents and generated SQL files. It would be good if i did not have to use deploy:deploy-file for each one. it would be best if I could just add each file to a list within my POM file and it would be picked up automatically for me upon release. 回答1: Either use the Maven Assembly

Problems deploying a WinForms app that uses Microsoft ReportViewer

三世轮回 提交于 2020-01-01 05:06:20
问题 I have published a WinForms application from Visual Studio 2010. It uses .NET 4.0. in the prerequisite dialog in Publish pane I selected .NET 4.0 Client Profile and Windows Installer 3.0. After publishing application to disk, I migrated it to client's computer which first installed .NET Client Profile and after reboot it gave following error message: Unable to Install or run application. The application requires that assembly, Microsoft.ReportViewer.Common version 10.0.0 in global assembly

Failed to launch JavaFX application with native bundle exe

人走茶凉 提交于 2020-01-01 05:00:06
问题 I have created a JavaFX application, and created its native bundle using Ant . When I am trying to launch application using Jar from bundle created with double click, it successfully launching my application. But when I am trying double click on MyApplication.exe (say), it throwing JavaFX Launcher Error "Exception while running Application" . I have compared both jre, there are many missing jar, exe, dll and some properties files I found. I have these environment settings - JAVA_HOME -- C:

Application Error after deploying Meteor 1.0 app on heroku

蹲街弑〆低调 提交于 2020-01-01 04:55:08
问题 I'm trying to deploy a meteor.js app (v 1.0) on heroku using the following buildpack: https://github.com/AdmitHub/meteor-buildpack-horse and following along this tutorial: http://www.growthux.com/ux-html-css-js-growth-hack/installing-meteor-on-heroku My app is more like a static website, i'm using the database to build a simple back office: - storing the admin user and image paths which are then dynamically rendered in my templates. After having created my app on Heroku, set ROOT_URL variable

gradle-release plugin + maven publishing plugin

大憨熊 提交于 2020-01-01 04:49:09
问题 I'm creating gradle builds as a new gradle user, but I have worked with maven in the past. I'm trying to reproduce actions of the maven release plugin: Change branch version to Release number (commit at svn) Create a tag (at svn) Deploy the release tag in Nexus OSS Change branch version to new Snapshot number (commit at svn) As you can see, I'm using: Nexus OSS as versioning repository SVN as scm Gradle (2.8) I'm trying to achieve my objectives with these two plugins: Gradle-release Plugin:

Why the snapshot name always has date in its jar file name ? How to remove it

孤街浪徒 提交于 2020-01-01 04:37:08
问题 When I deploy jar, maven always add date in its file name, this make the file name repository different from the file in my local. How can I remove the date in file name ? Thanks 回答1: About why, it's because being it a SNAPSHOT package, each time you deploy it you are de-facto deploying a new version of it, so the timestamp is added to differentiate them in the remote repository. When Maven downloads it, it removes the timestamp because on your local repository there can only be one version,

Deployment Concepts: Packaging JAR Dependencies, When & Why

一笑奈何 提交于 2020-01-01 03:27:04
问题 So I'm relatively new to Java EE and I am having a tough time understanding when, where and why Java deployment files are packaged with their dependencies. Say I build my project into myapp.jar , and it depends on fizz.jar, buzz.jar and JODA ( joda-time-2.0.jar ). I've heard that the default classloader doesn't package jars inside of other jars, so I have to assume that if I called a jar task from Ant, then the default classloader would get invoked and myapp.jar would be created without those

Is MSDeploy “friendly” enough, or can it be wrapped up in an MSI file

只愿长相守 提交于 2020-01-01 03:23:09
问题 In your opinion, are MSDeploy packages a good option for giving to an end user to install a webapplication on their system. How does it compare with, say, the experience of using an MSI file to install a web app? Has anybody tried wrapping up an MSDeploy package inside an MSI package? Would it work? 回答1: MSDeploy was described to me as a tool that helps synchronize web sites between machines, much in the way that AppCenter used to replicate a well configured master to many machines. The

Uninstall out-of-browser silverlight application programmatically

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 03:14:23
问题 How to uninstall out-of-browser silverlight 4 application programmatically instead of using the contextmenu (e.g. if I want to replace the context menu)? Edit I have found in "Installing Silverlight applications without the browser involved" how to uninstall by calling the command-line: "%ProgramFiles%\Microsoft Silverlight\sllauncher.exe" /uninstall /origin:silverlight.net/content/samples/apps/… This can be used in:- dynamic cmd = AutomationFactory.CreateObject("WScript.Shell"); cmd.Run(run,

Where do you put your app-config-files when deploying rails with capistrano and svn

浪尽此生 提交于 2020-01-01 03:04:30
问题 I have two config-files /app/config/database.yml and /app/config/userconfig.yml i don't want to put the database credentials and userconfig in the svn-repository, so i have database.yml.dist and userconfig.yml.dist checked in. What is the best way to get copys of the dist-files in the shared-directory when deploying the app for the first time? For later deploys i'll link to them from /app/current/config 回答1: You should place your config files in /path/to/deployed_app/shared Then in a