Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 572192 Details for
Bug 806214
deploy.xml fails when uploaded as recipe
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
deploy.xml file that can be used to reproduce the issue - just change the value of rhq:url-file
deploy.xml (text/xml), 2.69 KB, created by
bkramer
on 2012-03-23 08:33:10 UTC
(
hide
)
Description:
deploy.xml file that can be used to reproduce the issue - just change the value of rhq:url-file
Filename:
MIME Type:
Creator:
bkramer
Created:
2012-03-23 08:33:10 UTC
Size:
2.69 KB
patch
obsolete
><?xml version="1.0"?> ><!-- the root project element also contains the project main and everything should match. otherwise deployment versioning will not be reliably maintained --> ><project name="jboss-as-helloworld" default="main" xmlns:rhq="antlib:org.rhq.bundle"> > > <!-- the bundle has the project name and the project version as well as a short description--> > <rhq:bundle name="jboss-as-helloworld" version="1.0.5" description="JBoss Hello World Web Application"> > > <!-- this has the project name as well as any additional targets to run --> > <rhq:deployment-unit name="jboss-as-helloworld" preinstallTarget="preinstall" postinstallTarget="postinstall" manageRootDir="false"> > > <!-- ignore all files not in this bundle, without this line JON tries to undeploy other files (read: only one app per location) --> > <rhq:ignore> > <rhq:fileset includes="**/*"/> > </rhq:ignore> > <!-- properties files must be individually referenced to be deployed --> > <!-- example: --> > <!-- > <rhq:file name="conf/props/some.properties.file" destinationFile="${rhq.deploy.dir}/conf/props/some.properties.file" replace="true"/> > --> > > <!-- this is the actual project artifact. you can use the packaging variable or you can use .ear/.war/.jar or whatever else needs to be deployed. --> > <rhq:url-file url="http://10.33.1.120/HelloWorld.war" destinationFile="${rhq.deploy.dir}/deploy/apps/HelloWorld.war" replace="false"/> > </rhq:deployment-unit> > </rhq:bundle> > > <target name="main" /> > > <target name="preinstall"> > > <echo>Deploying HelloWorld.war to ${rhq.deploy.dir}...</echo> > > <!-- > delete old versions, because the file name contains the version and the bundle is ignoring other resources there is an > issue where old versions will hang around and not be undeployed. this is a problem where multiple apps are concerend. > because old apps will not get deleted. > --> ><!-- > <delete includeemptydirs="true"> > <fileset dir="${rhq.deploy.dir}/deploy/apps" includes="HelloWorld*" /> > </delete> > > <rhq:audit status="SUCCESS" action="Deleted old versions" info="Deleting old versions of jboss-as-helloworld from deploy directory." message="Deleting old versions of jboss-as-helloworld from deploy directory."> > </rhq:audit> >--> > <property name="preinstallTargetExecuted" value="true"/> > </target> > > > <target name="postinstall"> > <echo>Done deploying HelloWorld.war to ${rhq.deploy.dir}.</echo> > <property name="postinstallTargetExecuted" value="true"/> > </target> ></project>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 806214
: 572192