Commit dbb23972 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

Starting reengineering servlet package

parent 2d01055a
This is supposed to generate the BibServ.war servlet.
through:
$ ./make-war.sh
To my opinion, some stuff is missing:
- we should bring the libs with us in the WEB-INF/lib
- we should bring the xslt with us in the WEB-INF/xslt
It is sure that the libs are used.
It is not sure how to use the xslt (currently we use the barbara server, should be replaced at least by exmo/papers/WEB-INF/xslt)
It is not sure that this will compile in Java 1.4.1.
......@@ -7,12 +7,12 @@
</head>
<body BGCOLOR="ffffff">
<h1><a HREF=".."><img SRC="/BiblioServlet/img/exmo-small.gif" ALT=" [EXMO] " BORDER="0" ALIGN="BOTTOM"/></a> bibliography</h1>
<h1><a HREF=".."><img SRC="img/exmo-small.gif" ALT=" [EXMO] " BORDER="0" ALIGN="BOTTOM"/></a> bibliography</h1>
This refers to the bibliography of the Exmo action since 1/1/2000.<br />
For ancient references, look at the <a HREF="http://www.inrialpes.fr/exmo/papers/exmo1995.html">Exmo before exmo (1995-1999)
selected bibliography</a>. A <a HREF="http://www.inrialpes.fr/sherpa/publi.html">wider bibliography</a>
is that of the Sherpa project.</p>
<form ACTION="/BiblioServlet/BibrefServlet" method="post">
<form ACTION="BibrefServlet" method="post">
<input TYPE="HIDDEN" NAME="file" VALUE="bibexmo.xml"/>
<input TYPE="HIDDEN" NAME="abstract" VALUE="false" />
<input TYPE="HIDDEN" NAME="layout" VALUE="exmo" />
......
......@@ -12,7 +12,7 @@ This refers to the bibliography of the Exmo action since 1/1/2000.<br />
For ancient references, look at the <a HREF="http://www.inrialpes.fr/exmo/papers/exmo1995.html">Exmo before exmo (1995-1999)
selected bibliography</a>. A <a HREF="http://www.inrialpes.fr/sherpa/publi.html">wider bibliography</a>
is that of the Sherpa project.</p>
<form ACTION="/BiblioServlet/BiblioServlet" method="post">
<form ACTION="BiblioServlet" method="post">
<table WIDTH="100%">
<tr BORDER="0">
......
echo Building servlet war file
echo Building BibServ war file
cd WAR
echo code generation
java -jar ../../../lib/transmo.jar ../process.xml -compile
......@@ -7,5 +7,5 @@ echo code compilation
javac -d WEB-INF/classes -classpath ${CATALINA_HOME}/common/lib/servlet.jar:../../../lib/transmo.jar:../../../lib/xml-apis.jar WEB-INF/output/BiblioServlet.java
javac -d WEB-INF/classes -classpath ${CATALINA_HOME}/common/lib/servlet.jar:../../../lib/transmo.jar:../../../lib/xml-apis.jar WEB-INF/output/BibrefServlet.java
echo war creation
jar -cMf ../BiblioServlet.war .
jar -cMf ../BibServ.war .
cd ..
......@@ -6,22 +6,21 @@
<web-app>
<servlet>
<servlet-name>bibserv</servlet-name>
<servlet-name>biblist</servlet-name>
<servlet-class>BiblioServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>bib</servlet-name>
<servlet-name>bibref</servlet-name>
<servlet-class>BibrefServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>bibserv</servlet-name>
<servlet-name>biblist</servlet-name>
<url-pattern>/BiblioServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>bib</servlet-name>
<servlet-name>bibref</servlet-name>
<url-pattern>/BibrefServlet/*</url-pattern>
</servlet-mapping>
</web-app>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment