perfsonar-dev - Re: [pS-dev] WAR file creation
Subject: perfsonar development work
List archive
- From: Stijn Melis <>
- To: Roman Lapacz <>
- Cc: Guilherme Fernandes <>, "" <>
- Subject: Re: [pS-dev] WAR file creation
- Date: Tue, 22 Apr 2008 15:02:57 +0200
Roman Lapacz wrote:
Stijn Melis wrote:
Yes, that is the name of the file. I based my ant target on the one you created for the RRD-MA, but it does not seem to work.As Loukik and Michael have pointed, could you check if you got server-config.wsdd in WEB-INF (after the war has been deployed)?
I don't have that file in my WEB-INF directory. Where can I create this?
You can copy mine and change the service name inside. Should work.
https://svn.perfsonar.net/svn/perfsonar/trunk/geant2-java-rrd-ma/conf/axis-1.4/WEB-INF/server-config.wsdd
I copied yours, but it didn't help.
How did you install your WAR file? Did you just place it in the webapps directory?
I attached the ant target I use, maybe there is something wrong in that file.
Cheers,
Stijn
<?xml version="1.0"?> <!-- <description> $Id$ project: perfSONAR date: 2008/03/26 author: romradz </description> --> <project name="webapp-package-targets" basedir=".."> <property name="tmpdir" value="tmp" /> <!-- ================================================================================================== --> <!-- Targets which are generic for all java services --> <target name="war-package-create" depends="webapp-package-directory-prepare"> <zip destfile="${service.name}.war" basedir="${tmpdir}/" excludes=".svn/**" /> <delete dir="${tmpdir}"/> </target> <target name="webapp-package-create" xmlns:psbase="psbase:/base.perfsonar.org" depends="webapp-package-directory-prepare"> <move todir="${tmpdir}-webapps/webapps/${service.name}"> <fileset dir="${tmpdir}"/> </move> </target> <target name="webapp-package-directory-prepare" xmlns:psbase="psbase:/base.perfsonar.org"> <psbase:webapp-package-directory-init-phase-1 tmpdir="${tmpdir}"/> <antcall target="webapp-package-directory-init-phase-2" /> <psbase:webapp-package-directory-init-phase-3 tmpdir="${tmpdir}" service.name="${service.name}" version="${version}" wsdd.file.deploy="${wsdd.file.deploy}" wsdd.file.undeploy="${wsdd.file.undeploy}"/> <!-- ======= below it is a spece for optional additional actions ======== --> <antcall target="webapp-package-directory-extension-init-phase" /> </target> <!-- ================================================================================================== --> <!-- Targets to be populated by a service developer --> <!-- They are specific for a certain service --> <target name="webapp-package-directory-init-phase-2"> <!-- rrd ma specific stuff --> <!-- prepare conf files --> <copy file="${basedir}/conf/service.properties.template" tofile="${basedir}/conf/service.properties"/> <copy file="${basedir}/conf/components.properties.template" tofile="${basedir}/conf/components.properties"/> <copy file="${basedir}/conf/log4j.properties.template" tofile="${basedir}/conf/log4j.properties"/> <copy file="${basedir}/conf/servlet.properties.template" tofile="${basedir}/conf/servlet.properties"/> <!-- copy jar files --> <copy file="${basedir}/${build}/${jarfilename}-${version}.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/nmwg/nmwg/1.0.20071008/nmwg-1.0.20071008.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/perfsonar/perfsonar-base/1.0.20080310/perfsonar-base-1.0.20080310.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/perfsonar/perfsonar-web-admin/0.8.3b/perfsonar-web-admin-0.8.3b.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/remote/j2ssh-ant.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/remote/j2ssh-common.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/remote/j2ssh-core.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/remote/jsch-0.1.25.jar" todir="${tmpdir}/WEB-INF/lib"/> <copy file="${basedir}/lib/repository/remote/jta20.jar" todir="${tmpdir}/WEB-INF/lib"/> <!-- copy conf files --> <copy file="${basedir}/conf/wizard.properties" todir="${tmpdir}/WEB-INF/classes/perfsonar/conf"/> <copy file="${basedir}/conf/service.properties" todir="${tmpdir}/WEB-INF/classes/perfsonar/conf"/> <copy file="${basedir}/conf/servlet.properties" todir="${tmpdir}/WEB-INF/classes/perfsonar/conf"/> <copy file="${basedir}/conf/log4j.properties" todir="${tmpdir}/WEB-INF/classes/perfsonar/conf"/> <copy file="${basedir}/conf/components.properties" todir="${tmpdir}/WEB-INF/classes/perfsonar/conf"/> </target> <target name="webapp-package-directory-extension-init-phase"> </target> </project>
- WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Loukik Kudarimoti, 04/22/2008
- Re: [pS-dev] WAR file creation, Michael Bischoff, 04/22/2008
- Re: [pS-dev] WAR file creation, Michael Bischoff, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Guilherme Fernandes, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Michael Bischoff, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Stijn Melis, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
- Re: [pS-dev] WAR file creation, Guilherme Fernandes, 04/22/2008
- Re: [pS-dev] WAR file creation, Loukik Kudarimoti, 04/22/2008
- Re: [pS-dev] WAR file creation, Roman Lapacz, 04/22/2008
Archive powered by MHonArc 2.6.16.