Bonjour
Je lance un script ant en ligne de commande dos, j'obtiens l'erreur suivante
Citation :
build.xml:49
A Sun Java System Application Server 9 admin CLI class could not be found (com
un.enterprise.util.SystemPropertyConstants). Use the asinstalldir attribute,
t the asinstall.dir property, or add the appropriate JARs to the classpath.
|
Mon script est :
Citation :
...
<taskdef name="sun-appserv-deploy" classname="org.apache.tools.ant.taskdefs.optional.sun.appserv.DeployTask">
<classpath>
<fileset dir="../ant-lib">
<include name="sun-appserv-ant.jar" />
</fileset>
</classpath>
</taskdef>
..
<target name="undeploy-glassfish" >
<sun-appserv-undeploy name="${project.name}"
passwordfile="${deployement.server.passord.file}" host="${deployement.host}"
asinstalldir="${glassfish.root.dir}/appserv-admin.jar" />
</target>
|
J'ai cherché sur internet et j'ai vu que c'était certainement une libraries glassfish qui me manquait
Glassfish Source 2.0.0 >> com.sun.enterprise.util.SystemPropertyConstants V 0.09
J'ai consulté le site findjar mais
No result found for:
com.sun.enterprise.util.SystemPropertyConstants
est ce une libray de j2EE? Ou chercher? J'ai dezipper des jar masi rien trouvé. Pourtant j'ai bien telechagé la version 2 de glassfish? Dans quel jar se trouve cette classe com.sun.enterprise.util.SystemPropertyConstants?
Merci