Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 628
  • Last Modified:

syntax on XML file: Element type "sun-appserv-deploy" must be followed by either attribute specifications ">" or "/>"

Hello I am unable to make this work:

 <target name="deploy.war.to.glassfish" depends="deploy.create.glassfish.password.file">
    <sun-appserv-deploy
        user="${deployment.glassfish.server.username}"
        passwordfile="${deploy.glassfish.password.file.path}"
        host="${deployment.glassfish.server}"
        port="${deployment.glassfish.admin.port}"
            
            <!--11/30/2010  Fileset used below to list all the files that were needed to be deployed. -->
            <fileset dir="d:/NHINC">
                  <include name="AdapterDocRetrieveProxyEJB.jar"/>
                  <include name="AggregatorEJB.jar"/>
                  <include name="AuditRepositoryEJB.jar"/>
                  <include name="ConnectionManagerEJB.jar"/>
                  <include name="DocumentTransformEJB.jar"/>
                  <include name="EntityAuditLogQueryEJB.jar"/>
                  <include name="EntityDocQueryProxyEJB.jar"/>
                  <include name="EntityHiemSubscriptionEJB.jar"/>
                  <include name="NhincDocQueryEJB.jar"/>
                  <include name="NhincDocRetrieveEJB.jar"/>
                  <include name="NhincHiemSubscriptionEJB.jar"/>
                  <include name="AdapterPolicyEngineProxyEJB.jar"/>
                  <include name="NhincAuditQueryEJB.jar"/>
                  <include name="GatewaySubscriptionRepositoryEJB.jar"/>
                  <include name="AdapterDocQueryProxyEJB.jar"/>
                  <include name="EntityDocRetrieveEJB.jar"/>
                  <include name="PropAssessorEJB.jar"/>
            </fileset>
            
            asinstalldir="${glassfish.home}"
            />
  </target>


I receive the error listed above.

Please help out.

Thank you,
Midani
0
midani222
Asked:
midani222
1 Solution
 
Justin MathewsCommented:
Try this:

<target name="deploy.war.to.glassfish" depends="deploy.create.glassfish.password.file">
    <sun-appserv-deploy
        user="${deployment.glassfish.server.username}"
        passwordfile="${deploy.glassfish.password.file.path}"
        host="${deployment.glassfish.server}"
        port="${deployment.glassfish.admin.port}"
        asinstalldir="${glassfish.home}">  
            <!--11/30/2010  Fileset used below to list all the files that were needed to be deployed. -->
            <fileset dir="d:/NHINC">
                  <include name="AdapterDocRetrieveProxyEJB.jar"/>
                  <include name="AggregatorEJB.jar"/>
                  <include name="AuditRepositoryEJB.jar"/>
                  <include name="ConnectionManagerEJB.jar"/>
                  <include name="DocumentTransformEJB.jar"/>
                  <include name="EntityAuditLogQueryEJB.jar"/>
                  <include name="EntityDocQueryProxyEJB.jar"/>
                  <include name="EntityHiemSubscriptionEJB.jar"/>
                  <include name="NhincDocQueryEJB.jar"/>
                  <include name="NhincDocRetrieveEJB.jar"/>
                  <include name="NhincHiemSubscriptionEJB.jar"/>
                  <include name="AdapterPolicyEngineProxyEJB.jar"/>
                  <include name="NhincAuditQueryEJB.jar"/>
                  <include name="GatewaySubscriptionRepositoryEJB.jar"/>
                  <include name="AdapterDocQueryProxyEJB.jar"/>
                  <include name="EntityDocRetrieveEJB.jar"/>
                  <include name="PropAssessorEJB.jar"/>
            </fileset>
            </sun-appserv-deploy>
</target>

Open in new window

0
 
midani222Author Commented:
Thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now