Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-11-30
2
Medium Priority
?
625 Views
Last Modified: 2012-05-10
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
Comment
Question by:midani222
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Justin Mathews earned 2000 total points
ID: 34240831
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
 

Author Closing Comment

by:midani222
ID: 34241111
Thanks!
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
A solution for Fortify Path Manipulation.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question