Title: .gitignore files not deleted before re-deployment · Issue #11 · microsoft/WindowsAzureToolkitForEclipseWithJava · GitHub
Open Graph Title: .gitignore files not deleted before re-deployment · Issue #11 · microsoft/WindowsAzureToolkitForEclipseWithJava
X Title: .gitignore files not deleted before re-deployment · Issue #11 · microsoft/WindowsAzureToolkitForEclipseWithJava
Description: When deploying (and re-deploying) a tomcat web application in the emulator, I had trouble deploying an application as ROOT. The problem turned out to be that my project contained a .gitignore file under the WebContent folder. This file w...
Open Graph Description: When deploying (and re-deploying) a tomcat web application in the emulator, I had trouble deploying an application as ROOT. The problem turned out to be that my project contained a .gitignore file ...
X Description: When deploying (and re-deploying) a tomcat web application in the emulator, I had trouble deploying an application as ROOT. The problem turned out to be that my project contained a .gitignore file ...
Opengraph URL: https://github.com/microsoft/WindowsAzureToolkitForEclipseWithJava/issues/11
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":".gitignore files not deleted before re-deployment","articleBody":"When deploying (and re-deploying) a tomcat web application in the emulator, I had trouble deploying an application as ROOT. The problem turned out to be that my project contained a .gitignore file under the WebContent folder. This file wasn't deleted between re-deployments, so the entire webapps/ROOT folder remained undeleted. When the application was re-deployed, tomcat didn't redeploy ROOT.war since it already existed.\n\nMy solution was to add `\u003cdefaultexcludes remove=\"**/.gitignore\"/\u003e` to package.xml under taskdef windowsazurepackage\n\nThis might happen not just git users since ant ignores other dot files as well - http://ant.apache.org/manual/dirtasks.html#defaultexcludes.\n\nNote that leaving the deployment directory dirty might cause all kinds of problems, not just the issue I experienced. I suggest modifying the default package.xml template to account for that (or adding a convenient GUI option for doing so), plus documenting this issue.\n","author":{"url":"https://github.com/maltalex","@type":"Person","name":"maltalex"},"datePublished":"2014-12-18T10:36:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/11/WindowsAzureToolkitForEclipseWithJava/issues/11"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aff27146-6f99-2cb1-b5af-f7f0fdc45885 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CBC:8E553:3B1ECB:53C344:6978B4EB |
| html-safe-nonce | b6a3822a84fe896c2e342c605d008e7c3787eda9b9a0ccda6cd987e842a8f665 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0JDOjhFNTUzOjNCMUVDQjo1M0MzNDQ6Njk3OEI0RUIiLCJ2aXNpdG9yX2lkIjoiNzM3MTM1ODk3MjI4MTI5NTE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5bd48a21d43aa85d2b3628a7505071a8b1811c303512a6246dfc480cc3c7759b |
| hovercard-subject-tag | issue:52348075 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/WindowsAzureToolkitForEclipseWithJava/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0797da04c7b344b31be55dade8669ad43e63cf0a0ef2824fe9e30a55b4cb387a/microsoft/WindowsAzureToolkitForEclipseWithJava/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0797da04c7b344b31be55dade8669ad43e63cf0a0ef2824fe9e30a55b4cb387a/microsoft/WindowsAzureToolkitForEclipseWithJava/issues/11 |
| og:image:alt | When deploying (and re-deploying) a tomcat web application in the emulator, I had trouble deploying an application as ROOT. The problem turned out to be that my project contained a .gitignore file ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maltalex |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/WindowsAzureToolkitForEclipseWithJava git https://github.com/microsoft/WindowsAzureToolkitForEclipseWithJava.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 5590199 |
| octolytics-dimension-repository_nwo | microsoft/WindowsAzureToolkitForEclipseWithJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5590199 |
| octolytics-dimension-repository_network_root_nwo | microsoft/WindowsAzureToolkitForEclipseWithJava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8aa86d87c47054170094daaf9699b27a28a8448 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width